Hi,
yesterday I tested the interest example on JBoss2.2 on a linux
installation with jdk1.3.
The only jars I needed in the classpath were:
jboss-client.jar, jbosssx-client.jar, jnp-client.jar and the bean
classes itself (e.g. your deploy.jar).
It worked without any failure. The webpage and manual will reflect this,
too, as soon as the automated update ran through.
Please test it again with these classpath settings. Also make sure bean
deployed corretly on the server and that the jdk versions of server and
client match etc.
Please let me now if it worked like this. But please also post the
answer and further questions to jboss-user.
Thanks,
Tobias
> Harishankar Nair wrote:
>
> I need urgent help , becuz this problem is causing delays in testing
> and installation of the jBoss server for project development. Hence I
> would request sincere and urgent help on this.
>
>
>
>
>
> I tried running the sample Ejb with the sample client (on Windows
> 2000) - InterestEjb client and I get the following error - this
> despite having jta-spec1_0_1.jar in my classpath.
>
> Got context
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/transaction/TransactionManager
>
> at java.lang.Class.getMethods0(Native Method)
>
> at java.lang.Class.getDeclaredMethods(Unknown Source)
>
> at java.io.ObjectStreamClass.computeSerialVersionUID(Unknown
> Source)
>
> at java.io.ObjectStreamClass.access$200(Unknown Source)
>
> at java.io.ObjectStreamClass$2.run(Unknown Source)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at java.io.ObjectStreamClass.init(Unknown Source)
>
> at java.io.ObjectStreamClass.lookupInternal(Unknown Source)
>
> at java.io.ObjectStreamClass.lookup(Unknown Source)
>
> at java.io.ObjectStreamClass.lookupInternal(Unknown Source)
>
> at java.io.ObjectStreamClass.lookup(Unknown Source)
>
> at java.io.ObjectStreamClass.lookupInternal(Unknown Source)
>
> at java.io.ObjectStreamClass.setClass(Unknown Source)
>
> at java.io.ObjectInputStream.inputClassDescriptor(Unknown
> Source)
>
> at java.io.ObjectInputStream.readObject(Unknown Source)
>
> at java.io.ObjectInputStream.readObject(Unknown Source)
>
> at java.io.ObjectInputStream.inputObject(Unknown Source)
>
> at java.io.ObjectInputStream.readObject(Unknown Source)
>
> at java.io.ObjectInputStream.inputClassFields(Unknown Source)
>
> at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
>
> at java.io.ObjectInputStream.inputObject(Unknown Source)
>
> at java.io.ObjectInputStream.readObject(Unknown Source)
>
> at java.io.ObjectInputStream.readObject(Unknown Source)
>
> at java.rmi.MarshalledObject.get(Unknown Source)
>
> at
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
>
> at
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
>
> at javax.naming.InitialContext.lookup(Unknown Source)
>
> at InterestClient.main(InterestClient.java:44)
>
>
>
>
>
> here is my classpath :
>
>
>
> javac -classpath
>
>C:\jBoss\jboss-2.2\client\jboss-client.jar;C:\jBoss\jboss-2.2\client;C:\jBoss\jboss-2.2\client\jbosssx-client.jar;C:\jBoss\jboss-2.2\client\jnp-client.jar;C:\jBoss\jboss-2.2\client\deploy.jar;C:\jBoss\jboss-2.2\client\connector.jar;C:\jBoss\jboss-2.2\client\ejb.jar;C:\jBoss\jboss-2.2\client\jaas.jar;C:\jBoss\jboss-2.2\client\jbossmq-client.jar;C:\jBoss\jboss-2.2\client\jndi.jar;C:\jBoss\jboss-2.2\client\jta-spec1_0_1.jar;C:\jBoss\jboss-2.2\client\stop;C:\jBoss\jboss-2.2\client\TestBeanClient.jar;C:\jBoss\jbossinterestEjb\interest;d:\JavaUserClasses;jBoss\jbossinterestEjb\interest;C:\jBoss\jboss-2.2\lib\ext;C:\jBoss\jboss-2.2\deploy;C:\jBoss\jboss-2.2\bin\BeanCacheMonitorJMS.jar;C:\jBoss\jboss-2.2\bin\BeanCacheMonitorJMX.jar;C:\jBoss\jboss-2.2\bin\ejx.jar;C:\jBoss\jboss-2.2\bin\run.jar;D:\jdk1.3.1\bin;D:\jdk1.3.1\lib\dt.jar;D:\jdk1.3.1\lib\tools.jar;D:\jdk1.3.1\lib\dt.jar;D:\jdk1.3.1\lib\htmlconverter.jar;D:\jdk1.3.1\lib\tools.jar;D:\jdk1.3.1\jre\lib\rt.jar;D:\jdk1.3.1\jre\lib\sunrsasign.jar;D:\jdk1.3.1\jre\lib\jaws.jar;D:\jdk1.3.1\jre\lib\jaws.jar;.
>
>
>
>
>
> Look forward to immediate help.
>
>
>
> Thanks
>
>
>
> Harish
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development