[jboss-jira] [JBoss JIRA] Created: (JBAS-5107) jboss-aop-jdk50-client.jar missing classes

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Tue Jan 8 08:31:44 EST 2008


jboss-aop-jdk50-client.jar missing classes
------------------------------------------

                 Key: JBAS-5107
                 URL: http://jira.jboss.com/jira/browse/JBAS-5107
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: AOP
    Affects Versions:  JBossAS-5.0.0.Beta3
            Reporter: Dimitris Andreadis
         Assigned To: Kabir Khan
             Fix For: JBossAS-5.0.0.Beta4


>From the forum post:

Set up a remote stateless bean and a remote client. When the client was calling the bean i got the following
 
  | Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/aop/joinpoint/MethodExecution
  | 	at java.lang.Class.getDeclaredConstructors0(Native Method)
  | 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
  | 	at java.lang.Class.getConstructor0(Class.java:2671)
  | 	at java.lang.Class.getDeclaredConstructor(Class.java:1953)
  | 	at java.io.ObjectStreamClass.getExternalizableConstructor(ObjectStreamClass.java:1269)
  | 	at java.io.ObjectStreamClass.access$1400(ObjectStreamClass.java:52)
  | 	at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:418)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
  | 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
  | 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1035)
  | 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
  | 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
  | 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
  | 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
  | 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
  | 	at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObjectVersion2_2(JavaSerializationManager.java:120)
  | 	at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:95)
  | 	at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:120)
  | 	at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:943)
  | 	at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:586)
  | 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | 	at org.jboss.remoting.Client.invoke(Client.java:1634)
  | 	at org.jboss.remoting.Client.invoke(Client.java:548)
  | 	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:108)
  | 	at $Proxy1.getQuote(Unknown Source)
  | 
  | 
  | 

In the client package under $JBOSS_HOME/client i would expect all the right jars to be there for my remote client but it would seem that the jboss-aop-jdk50-client.jar is not packaged correctly i.e it is missing the "MethodExecution" class and what ever dependencies that has also.

To carry on i just added the jboss-aop-jdk50.jar located under $JBOSS_HOME/lib to my classpath and was able to make a remote call.

I assume that the $JBOSS_HOME/client dir should have everything needed for me to make a remote call for my remote client but looks like it doesnt



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list