Bookmark Topic Watch Topic
  • New Topic

jboss 3.0- org/jboss/logging/Logger class where is it

 
prashant patel
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Report post to moderator
i am getting the below exception for any client i write for a session or entity i am using jboss 3.0
i have include all necessary jar file to the classpath also looked in many jar file for the Logger class, to attach it the classpath does
someone now the location of the class or is it a diffrent problem.
[java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger
[java] at org.jboss.invocation.MarshalledValueInputStream.<clinit>(Mars
halledValueInputStream.java:25)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:120)
[java] at org.jboss.invocation.MarshalledValueOutputStream.class$(Marsh
alledValueOutputStream.java:26)
[java] at org.jboss.invocation.MarshalledValueOutputStream.<clinit>(Mar
shalledValueOutputStream.java:28)
[java] at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.j
ava:47)
[java] at org.jboss.invocation.MarshalledInvocation.writeExternal(Marsh
alledInvocation.java:317)
[java] at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.ja
va:1172)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.jav
a:366)
[java] at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:268)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:106)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unkn
own Source)
[java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(
JRMPInvokerProxy.java:128)
[java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterce
ptor.java:108)
[java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInte
rceptor.java:73)
[java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityIntercepto
r.java:76)
[java] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.ja
va:185)
[java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:7
6)
[java] at $Proxy0.create(Unknown Source)
[java] at test_ejbs.make_contract(test_ejbs.java:57)
[java] at test_ejbs.<init>(test_ejbs.java:28)
[java] at test_ejbs.main(test_ejbs.java:74)
[java] Exception in thread "main"
[java] Java Result: 1
 
prashant patel
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Report post to moderator
Ok the jboss-common-client.jar file has the necessary
Logger class after that is was able to work with entity cmp 2.0 jboss 3.o.
 
R Keshav
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
javax.naming.NameNotFoundException: examples.session.stateful.Count not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(Unknown Source)
at client.CountClient.main(CountClient.java:43)
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Keshav, welcome to JavaRanch

Please create a separate thread in this forum to discuss your issue, instead of replying to old unrelated threads. In the new thread, please provide more details including the JBoss AS version, Java version and some context about the exception stacktrace and any relevant code.

Also, while posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.
 
    Bookmark Topic Watch Topic
  • New Topic