• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error while starting oc4j

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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
 
Jyothi Kamatham
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,

I have updated my profile accordingly and sorry for the inconvenience.

Thanks
Jyothi
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Avi,

Thanks for the clue...

I got the solution and now its working fine.

Thanks
Jyothi
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jyothi Kamatham:
I got the solution and now its working fine.
Jyothi


And the solution you found was ...?
 
Jyothi Kamatham
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The dms.jar was missing in lib folder and I have added the same.
 
reply
    Bookmark Topic Watch Topic
  • New Topic