| Author |
error while starting oc4j
|
Jyothi Kamatham
Greenhorn
Joined: May 28, 2005
Posts: 5
|
|
Hi All, I have installed oc4j and when I start the server using the command java -jar oc4j.jar I am getting the following error. D:\oc4j_extended\j2ee\home>java -jar oc4j.jar java.lang.ClassNotFoundException: oracle.dms.instrument.DMSConsole at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:115) at com.evermind.server.ApplicationServer.initConsole(ApplicationServer.java:2824) at com.evermind.server.OC4JServer.main(OC4JServer.java:198) Unable to initialize DMS racle.dms.instrument_stub.DMSConsole java.lang.NoClassDefFoundError: javax/mail/internet/AddressException at com.evermind.server.ApplicationServerLauncher.run(ApplicationServer Launcher.java:46) at java.lang.Thread.run(Thread.java:479) at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49) I have jdk1.3 and the operating system is Windows XP. Please help me out by providing the solution for the same. Thanks Jo
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26499
|
|
"Jyo", We're pleased to have you here with us in the J2EE forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it. In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Thanks, Jeanne Forum Bartender
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Jyothi Kamatham
Greenhorn
Joined: May 28, 2005
Posts: 5
|
|
Hi Jeanne, I have updated my profile accordingly and sorry for the inconvenience. Thanks Jyothi
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26499
|
|
Jyothi, Thanks for changing the display name. Now that you have a proper name, I can welcome you to JavaRanch! It's still ok to sign your posts Jo or Jyo if that's what you prefer to be called. It's just the display name that we care about. I'm going to ask for this post to be moved to the Oracle forum where someone is more likely to know the answer.
|
 |
Avi Abrami
Ranch Hand
Joined: Oct 11, 2000
Posts: 1114
|
|
Jo, First of all, are you using a version of OC4J that is compatible with JDK 1.3? Usually the FAQ for your OC4J version tells you what JDK version it is compatible with. You may find a link to the relevant FAQ from this Web page: http://www.oracle.com/technology/tech/java/oc4j/index.html Secondly, you may have a corrupt installation. I haven't verified this, but I believe your missing class is in the "dms.jar" file. I suggest you check whether this file exists (somewhere below the "D:\oc4j_extended" directory). Good Luck, Avi.
|
 |
Jyothi Kamatham
Greenhorn
Joined: May 28, 2005
Posts: 5
|
|
Hi Avi, Thanks for the response. I am using the oc4j Version 9.0.2.0.0 and it is compatible with jdk1.3. Infact I took the oc4j_extended and jdk folders from the machine where it is working and have copied the same in the new machine (where I have installed XP) and have set the path for the jdk. Regarding dms.jar, I will check the jar file for the existence of the class file ( oracle.dms.instrument.DMSConsole ). Let me know if am missing anything. Thanks Jyothi
|
 |
Jyothi Kamatham
Greenhorn
Joined: May 28, 2005
Posts: 5
|
|
Hi Avi, Thanks for the clue... I got the solution and now its working fine. Thanks Jyothi
|
 |
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
|
|
Originally posted by Jyothi Kamatham: I got the solution and now its working fine. Jyothi
And the solution you found was ...?
|
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
|
 |
Jyothi Kamatham
Greenhorn
Joined: May 28, 2005
Posts: 5
|
|
|
The dms.jar was missing in lib folder and I have added the same.
|
 |
 |
|
|
subject: error while starting oc4j
|
|
|