Server not starting in Eclipse Gallileo IDE with WAS7.
I run the server from outside of Eclipse but I want to start it from within the eclipse
Below are the details of my Workspace configurations :
Eclipse Java EE IDE for Web Developers.
WAS 7.0
An alert is coming saying "Cannot connect to VM socket closed".
I got the following exception in console :
JVMSHRC154E Escape character g not valid for cache name
<JIT: FullSpeedDebug: ignoring countString>
<JIT: FullSpeedDebug: ignoring countString>
JVMJ9VM015W Initialization error for library j9shr24(13): JVMJ9VM009E J9VMDllMain failed
Per the JVMSHRC154E, it appears that somehow -Xshareclasses:name=...%g... is being added to your server JVM command line. I do not know why there would be a difference between Eclipse and the command-line (perhaps a product issue that should be reported to IBM), but you could try working around the issue by adding -Xshareclasses:nonfatal to your server's generic JVM arguments.
IBM has released development tools for WebSphere Application Server (WAS).
You can download it from eclipse market place.
There are tools for the WAS7 and up. (IBM Information page)
You probably need WAS 7 Tools - marketplace page.
The short instruction is:
In the eclipse click Help->Eclipse Market Place->Search WebSphere Application Server Tools.
Inside eclipse installation folder go to \plugins.....\cdcla\eclipse\launch\simple.
Open the file websphere70.properties.
You will see the following content and remove the
"_%g"
part and save it
shareclasses=webspherev70_%g,groupAccess,nonfatal
Related
Executing the installation program for a 64-bit Windows client, I'm confronted with a failure when a required JRE is missing and I choose to let it download the JRE from a remote service (which the client, when installed, will communicate with).
My install4j version is 7.0.12 (build 7368).
The install program is configured to bundle with the JRE labelled "Windows (amd64) 12.0.1".
I selected "Dynamic bundle" and an HTTP download from "${compiler:sys.publisherUrl}/jres/windows-amd64-12.0.1.tar.gz".
At the end of the build process, install4j tells me to
make sure that the file
C:\Users\ME.install4j7\jres\windows-amd64-12.0.1.tar.gz can be
downloaded from
https://www.NN.de/jres/windows-amd64-12.0.1.tar.gz
I followed this instruction and to confirm that I did it correctly, I entered https://www.NN.de/jres/windows-amd64-12.0.1.tar.gz in a browser and found that I could download the archive successfully.
When I run the installer, it doesn't find a suitable JRE, offers to download the JRE and tries to get it, but its attempts aren't successful: after a while it times out and then shows an error dialog, informing me about a problem and asking me to check my internet connection and try again. It also points me to a log file, which says
[0:368] Searching for a JVM
(...)
[0:393] Search sequence finished
[0:394] ERROR: No JVM found
[0:395] Download location: https://www.NN.de/jres/windows-amd64-12.0.1.tar.gz
[7:325] Downloading JRE
[7:536] ERROR: HttpQueryInfo (try 1) failed with error code 12150
(...)
[15:805] ERROR: HttpQueryInfo (try 20) failed with error code 12150
[16:255] ERROR: Giving up
My questions are obvious:
What can cause this error? What does "error code 12150" mean? Can a firewall be blocking the request?
What can I do?
I have big problem to run activiti-explorer when i try access: http://localhost:8080/activiti-explorer/ tomcat shows me HTTP Status 404 - The requested resource is not available. I'm really don't have any idea why that dosen't work. Can you help me?
This what have I done on my PC:
I'm using 5.19.0 version of activiti-explorer
7.0.63 tomcat
JDK 1.8.0.77 (i think there is no point to downgrade java to previous versions (<=1.7) becouse my main application using this version)
I'm sure I have correctly configured environment variables (JAVA_HOME,JRE_HOME,PATH,CATALINA_HOME)
I configured data base connection (db.properties, context.xml) in activiti-explorer.war and i moved this file to tomcat/webapps
I don't have any errors about activiti during tomcat start
Check if activiti explorer is deployed to tomcat in manager.
http://{host}:{port}/manager/html
More info in https://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html
Check the catalina.out log. There will be something in there that leads you to the solution.
Check Admin Console (cmd that runs behind) after hitting the link. most recent exception occurred will be displayed there.
When i try to install new software using Eclispe Market place, I always getting the below error.
The version of eclispe I am using is Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2
MarketplaceDiscoveryStrategy failed with an error
Unable to read repository at http://marketplace.eclipse.org/featured/api/p?product=org.eclipse.epp.package.jee.product&os=win32&java.version=1.8.0_05&client=org.eclipse.epp.mpc.core&product.version=1.4.2.20120131-1457&runtime.version=3.7.0.v20110110&ws=win32&nl=en_US.
Read timed out
I know this problem occurs because of the proxy setting.
When I searched in google and found that we need to set proxy settings in Pereference --> General --> Internet Connection.
Even I tried the other way by setting proxy information in eclipse.ini file
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=****
-Dhttp.proxyHost=proxy.****.com
-Dhttp.proxyUser=******
-Dhttp.proxyPassword=******
-Dhttp.nonProxyHosts=localhost|127.0.0.1
Can I know where I have made a mistake in making the porxy setting in eclispe.
Can any one help me please.
Try to set the proxies to manual AND set it before AND after -vmargs in your eclipse.ini
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
-Dhttp.proxyPort=****
-Dhttp.proxyHost=proxy.****.com
-Dhttp.proxyUser=******
-Dhttp.proxyPassword=******
-vmargs
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
-Dhttp.proxyPort=****
-Dhttp.proxyHost=proxy.****.com
-Dhttp.proxyUser=******
-Dhttp.proxyPassword=******
due to some company requirement I have enable the asadmin> create-service and set the GlassFish Server as a windows service while setting it to Start in a Automatic way. I am using Netbean 8.0.
However after I enable the Glassfish server service in auto method and when I try to deploy a Try sample project (Java Web) in Netbeans, after I RUN the project I got the following error in the Internet explorer.
HTTP Status 500 - Internal Server Error
Exception report
Internal Server Error
The server encountered an internal error that prevented it from fulfilling this request.
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs.
However when I remove the Glassfish server from windows service list and when I run the project back, then it successful.
since I have no idea on java and all, can kindly help me to find the root cause of this or what is the workaround?
Thanks
Hasitha
I have a web application running on tomcat. I want to deploy it on a weblogic server but i get some problems.
Error(s) found in module 'BatchMonitoring'. Publish was cancelled. See "Problems" view for details.
Target runtime SpringSource dm Server (Runtime) v1.0 is not defined. at BatchMonitoring
Java compiler level does not match the version of the installed Java project facet. at BatchMonitoring
java.lang.IllegalArgumentException: Cannot find state with id 'displayError' in flow 'admin_main' -- Known state ids are 'array<String>['queryAll', 'mainForm', 'register']'
at org.springframework.webflow.engine.Flow.getStateInstance(Flow.java:348)
at org.springframework.webflow.engine.support.DefaultTargetStateResolver.resolveTargetState(DefaultTargetStateResolver.java:60)
at org.springframework.webflow.engine.Transition.execute(Transition.java:217)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:391)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.support.TransitionExecutingFlowExecutionExceptionHandler.handle(TransitionExecutingFlowExecutionExceptionHandler.java:110)
at org.springframework.webflow.engine.FlowExecutionExceptionHandlerSet.handleException
Seems like you had problems with Java versions of what Tomcat is using(points to JAVA_HOME) at environmental variable and JDK of Weblogic. Also it would be good if you send some logs and exception messages.