- This topic has 16 replies, 3 voices, and was last updated 19 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
memadhuMemberWhen i configure websphere5, set Home directory as D:/Websphere/Appserver, and then if i try to start my server in debug mode it is not at all responding. there is no change in myeclipse usually when we start the server, it will got o debug mode. also if is try to user websphere4 plugin, it is responding but it gives the following error:
ws.ext.main.class=com.ibm.ws.runtime.StandardServer
java.lang.ClassNotFoundException: com.ibm.ws.runtime.StandardServer
at java.net.URLClassLoader.findClass(URLClassLoader.java:240)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:3
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:79)
Scott AndersonParticipantIt may be related to the version of WebSphere you’re using. Please have a look at:
https://www.genuitec.com/forums/topic/websphere-advanced-edition-4-0-5/&highlight=standardserver
memadhuMemberIam Using Websphere 5.0 Application server, & myEclipse 2.7.101. I have enabled Websphere 5, set home directory, HostName as my computer name, server name. But when i click Start there is no response. Please guide me how to go about this.
Scott AndersonParticipantFirst thing is to check the log file at <workspace>/.metadata/.log. It should have an entry in it that points to what the problem is.
Was this installation working before and suddenly broke or is this a new setup?
Can you also post your full configuration information as we request in the ‘Posting Guidelines’ post at the top of this forum? That will provide us some additional context for research.
memadhuMemberya i checked the same & this is the log:
!MESSAGE com/genuitec/eclipse/easie/websphere5/A (Illegal Field name “Ș”)
!STACK 0
java.lang.ClassFormatError: com/genuitec/eclipse/easie/websphere5/A (Illegal Field name “Ș”)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClass(DelegatingURLClassLoader.java:922)
at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:166)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.genuitec.eclipse.easie.websphere5.C.ĉ(Unknown Source)
at com.genuitec.eclipse.easie.core.ui.action.ServerStartAction.basicRun(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)No this plugin is not wroking from the beginning.
Which configuration are you asking?Pls expln.thnx,
Madhu
Riyad KallaMemberMadhu,
This thread: https://www.genuitec.com/forums/topic/starting-websphere-v5-results-in-classformaterror-closed/&highlight=easie talks about your problem, I believe you might need to run WebSphere with an IBM JDK, not a Sun JDK.
memadhuMemberNo, iam pointing to IBM jdk. I checked in the element JDk below Websphere 5 of MyEclipse tab in preferences
Riyad KallaMemberDid you read the rest of that thread, the gentleman had to readjust his paths to get everything working eventually. It was the exact same exception you are getting.
memadhuMemberIn that thread, gentleman hasnt told what fixes or changes he made in classpath or path. I dont have any entry in Path dialog of Websphere 5. If you can tell me what path we have specify, i can work on it.
thx,
Madhu
Riyad KallaMemberMadhu,
Please post your configuration settings for us that we ask for in the posting guidelines at the top of this forum. TIP: Hit “Post Reply” and then click “Insert” and answer the questions. Also please tell us what each field for the WebSphere 5 connector is set to.Also you can copy-paste the result of Help > About > Configuration Details into a message here, that will contain all your system information for us, try and just copy the top part of it (don’t include the log).
I am a bit confused by this problem, so the more info we have, the better.
memadhuMemberok
memadhuMember*** System properties:
awt.toolkit=sun.awt.windows.WToolkit
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.fonts=
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=D:\eclipse2.3\startup.jar
java.class.version=47.0
java.ext.dirs=C:\Program Files\Oracle\jre\1.3.1\lib\ext
java.home=C:\Program Files\Oracle\jre\1.3.1
java.io.tmpdir=C:\DOCUME~1\madhusl\LOCALS~1\Temp\
java.library.path=C:\Program Files\Oracle\jre\1.3.1\bin;.;C:\WINNT\system32;C:\WINNT;D:\IBM\WebSphere MQ\Java\lib;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\asp\5.1\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D:\Program Files\Rational\common;D:\Program Files\Rational\ClearCase\bin;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\WEMPS\bin;D:\jdk1.4\bin;
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.3.1_01
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.3
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.3.1_01
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.3.1_01
line.separator=org.eclipse.jdt.debug.ui.scrapbookActive=false
os.arch=x86
os.name=Windows 2000
os.version=5.0
path.separator=;
sun.boot.class.path=C:\Program Files\Oracle\jre\1.3.1\lib\rt.jar;C:\Program Files\Oracle\jre\1.3.1\lib\i18n.jar;C:\Program Files\Oracle\jre\1.3.1\lib\sunrsasign.jar;C:\Program Files\Oracle\jre\1.3.1\classes
sun.boot.library.path=C:\Program Files\Oracle\jre\1.3.1\bin
sun.cpu.endian=little
sun.cpu.isalist=pentium i486 i386
sun.io.unicode.encoding=UnicodeLittle
user.dir=D:\eclipse2.3
user.home=C:\Documents and Settings\madhusl
user.language=en
user.name=madhusl
user.region=US
user.timezone=Asia/CalcuttaIn the Above configuration, my eclipse is showing java.home = C:\Program Files\Oracle\jre\1.3.1. I checked my eclipse to change this but no where this is mentioned. Installed JREs is set to “D:\WebSphere\AppServer\java”.
Scott AndersonParticipantIn the Above configuration, my eclipse is showing java.home = C:\Program Files\Oracle\jre\1.3.1. I checked my eclipse to change this but no where this is mentioned.
Using this ancient Oracle JRE is most likely at least part of the problem. You can tell Eclipse which VM to use to start the workbench by modifying the shortcut you use to be something like this:
<path-to-eclipse>\eclipse.exe -vm <full-path-to-javaw.exe>
Riyad KallaMemberYes, Scott beat me to it. You need to launch Eclipse with a newer JDK just like he said, and then adjust your “Installed JRE” in Eclipse to point to your JDK that you want to use (which it sounds like you did already).
memadhuMemberWhere to spcify this <pathg-toeclipse> in eclipse directory. Iam not clear.
Sorry for bothering you. Thanks for the help rkalla, scott.
thx,
Madhu -
AuthorPosts