- This topic has 4 replies, 3 voices, and was last updated 12 years, 4 months ago by support-tony.
-
AuthorPosts
-
tdevosMemberHi all,
I installed upgraded to MyEclipse Blue 10.5 and upgraded our WAS environment to version 8.5 (full profile). On the WAS server I installed the Java 7 add-on and made this the default via the IBM WAS console. The server is working fine with Java 7.
However, if I start the server from MyEclipse Blue 10.5 I got the follwing error:
From what I can see from the XML files it seems that MyEclipse is trying to start the server via Java 6. However, I double checked that WebSphere JDK Name points to the Java 7 reference called “Websphere 8.5 JDK”. If I take a look at this via Preferences->Installed JREs adn choose edit the JRE home points to D:\Programs\IBM\WebSphere_85\AppServer\java_1.7_64.
If I start websphere via the windows Service, the eclipse console gives me the output of the server so it seems that the launching process from my Eclipse uses a wrong JRE.
Does anybody have an idea about what i’m doing wrong.
The XLM files contains the following usefull information:
<?xml version="1.0" encoding="UTF-16"?> <WERReportMetadata> <OSVersionInformation> <WindowsNTVersion>6.1</WindowsNTVersion> <Build>7601 Service Pack 1</Build> <Product>(0x30): Windows 7 Professional</Product> <Edition>Professional</Edition> <BuildString>7601.17835.amd64fre.win7sp1_gdr.120503-2030</BuildString> <Revision>1130</Revision> <Flavor>Multiprocessor Free</Flavor> <Architecture>X64</Architecture> <LCID>1033</LCID> </OSVersionInformation> <ParentProcessInformation> <ParentProcessId>3912</ParentProcessId> <ParentProcessPath>C:\Windows\System32\cmd.exe</ParentProcessPath> <ParentProcessCmdLine>cmd /c D:\Programs\IBM\WebSphere_85\AppServer\profiles\AppSrv01\bin\runConfigActions.bat -startServer</ParentProcessCmdLine> </ParentProcessInformation> <ProblemSignatures> <EventType>APPCRASH</EventType> <Parameter0>java.exe</Parameter0> <Parameter1>6.0.0.0</Parameter1> <Parameter2>4f63367e</Parameter2> <Parameter3>StackHash_ef27</Parameter3> <Parameter4>6.1.7601.17725</Parameter4> <Parameter5>4ec4aa8e</Parameter5> <Parameter6>c0000374</Parameter6> <Parameter7>00000000000c40f2</Parameter7> </ProblemSignatures> <DynamicSignatures> <Parameter1>6.1.7601.2.1.0.256.48</Parameter1> <Parameter2>2067</Parameter2> <Parameter22>ef27</Parameter22> <Parameter23>ef27a0eee46820b64d284c3900c821c6</Parameter23> <Parameter24>2229</Parameter24> <Parameter25>222940393f0c37808b1fc49284299680</Parameter25> </DynamicSignatures> <SystemInformation> ... </SystemInformation> </WERReportMetadata>
[
Attachments:
You must be logged in to view attached files.
tdevosMemberHi,
I found a workaround. By changing the following line in the file setupCmdLine.bat:
REM SET JAVA_HOME=%WAS_HOME%\java
to
SET JAVA_HOME=%WAS_HOME%\java_1.7_64
it solved the issue. It seems that MyEclipse is passing the wrong JAVA_HOME to this script although it is correctly in the settings.
Brian FernandesModeratortdevos,
Thanks for reporting your workaround. To make sure we get the right fixes in for this, I have a few questions:
On the WAS server I installed the Java 7 add-on and made this the default via the IBM WAS console. The server is working fine with Java 7.
Did you configure the WAS server in MyEclipse Blue before or after you upgraded it to Java 7?
If you go to the profile configuration wizard in Blue, on page 3 of the instance wizard, we do allow you to specify a JDK. It appears that you configured and selected the default JRE for the workspace but may have not updated the JDK on this preference page. Can you confirm? If you undo your changes to the batch file but make a change here instead, does it work as expected?
My team is attempting to replicate your scenario internally. Thanks again for writing in.
tdevosMemberSorry for the late reply, apparently I didn’t receive the notification e-mail.
I first installed WAS 8.5 with Java 7 and after that configured MyEclipse Blue.
In the profile config wizard on page 3 we have selected the WAS 8.5 7 JDK which points to my JRE home: D:\Programs\IBM\WebSphere_85\AppServer\java_1.7_64
If I undo the changes to the cmd file the problem re-appears.
Thank you for your follow up.
Regards,
Tim De Vos
support-tonyKeymasterTim,
Thanks for the information and sorry about the lack of notification; I’m not aware of problems with that facility and hopefully, you’ll get notification of this post.
If we need more information, we’ll be in touch.
-
AuthorPosts