• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Help!!

 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am following an example given at
http://www.fawcette.com/javapro/2003_01/online/j2ee_bkurniawan_01_09_03/page4.asp
All the ejfiles and client has compiled but when I
run the client
java -classpath C:\jboss-3.0.6\client\jboss-client.jar;C:\jboss-3.0.6\client\jnp-client.jar;. Client "golden retriever"
I am getting this error

C:\Workplace>java -classpath C:\jboss-3.0.6\client\jboss-client.jar;C:\jboss-3.0
.6\client\jnp-client.jar;. Client "golden retriever"
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Log
ger
at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:95)
at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingConte
xtFactory.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
62)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at Client.main(Client.java:25)
thanks
 
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sounds like a classpath problem related to log4j.jar. configuration file related to Log4J is under \conf folder and called log4j.xml.
I don't know if this could solve the problem. Let us know when you solve the problem.
 
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic