-
1. Re: EJB- java.lang.NoClassDefFoundError: org/jboss/logging/L
prabhakar Oct 19, 2002 10:51 AM (in response to lalmon)You need to include the "jboss-common-client.jar" from the client directory on your classpath. Take a look at all the jars in that dir. Your client will need at least some of them on the classpath.
To do hot deployment in jboss, copy the jar,war,ear, *-service.xml file to the deploy dir. That's all!!
-prabhakar -
2. Re: EJB- java.lang.NoClassDefFoundError: org/jboss/logging/L
lalmon Oct 21, 2002 1:25 AM (in response to lalmon)Thanx a lot Mr Prabhakar
Well, that error is solved now.but I am getting some error as shown below.
-------------
E:\ejb>java Client
Connecting to Lalmon
log4j:WARN No appenders could be found for logger (org.jnp.interfaces.NamingContext).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" javax.naming.CommunicationException: Receive timed out. Root
exception is java.io.InterruptedIOException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(Unknown Source)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:930)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1017)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:447)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:440)
at javax.naming.InitialContext.lookup(Unknown Source)
at Client.amethod(Client.java:19)
at Client.main(Client.java:13)
--------------------------------------------------
after deploymnt , server is showing this message. I hope the deployment is fine...
-----------
04:04:55,391 INFO [MainDeployer] Starting deployment of package: file:/E:/jBoss3.2/jboss
-3.0.2/server/default/deploy/testejb.jar
04:04:55,511 INFO [EjbModule] Creating
04:04:55,541 INFO [EjbModule] Deploying MyBean
04:04:55,571 INFO [EjbModule] Created
04:04:55,571 INFO [EjbModule] Starting
04:04:55,581 INFO [EjbModule] Started
04:04:55,581 INFO [MainDeployer] Deployed package: file:/E:/jBoss3.2/jboss-3.0.2/server/
default/deploy/testejb.jar
-------------------------------------------
hope to hear from u.....
regds
Lalmon