• Post Reply Bookmark Topic Watch Topic
  • New Topic

error in weblogic.ejbc

 
V RK
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I deployeed my ejb example as helloworld.jar.It contains examples(Hello.class,HelloHome.class and HelloRemote.class) folder and META-INF(ejb-jar.xml,weblogic-ejb-jar.xml and MANIFEST.MF).

After that i used

java weblogic.ejbc Helloworld.jar HelloTarget.jar

then
it is giving

C:\BEAN>java weblogic.ejbc HelloWorld.jar HelloTarget.jar
Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Handler
at weblogic.ejbc20.<init>(ejbc20.java:82)
at weblogic.ejbc.main(ejbc.java:29)

C:\BEAN>


please give me your feed back.

Thanks And Regards
V.RK
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

What JDK version are you using when you are coding and what version of the JDK is weblogic running off? Also, are you using JDK1.4 Logging in your code?

Karianna
 
V RK
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My JDK is jdk141_02.It is located in my bea(weblogic8.1) folder.
I set in classpath as
C:\bea\jdk141_02\lib;C:\bea\jdk141_02\bin;C:\bea\jdk141_02\lib\tools.jar;C:\bea\weblogic81\server\lib;C:\bea\weblogic81\server\bin;C:\bea\weblogic81\server\lib\weblogic.jar;
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by V RK:
My JDK is jdk141_02.It is located in my bea(weblogic8.1) folder.
Do you have another JDK installed that your PATH is pointing to? Try doing "java -version" to see what version is being run.
 
V RK
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I observed jdk and jre vertions.I identified the problem.The problem is two JRE vertions are pointed in my PATH.i removed one vertion(older).Now My application is running successfully.
Thanks for all
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!