I just downloaded jboss2.2.2 to try it out. Setup and ran the "interest" example ok, but when running the upload client for "CDBean" example after compiling and deploying with ANT, I get the following output in my jboss console:
 
btw, I'm running win2000 workstation, not the server (does this matter?). I've been struggling with this for a day now. Any help is appreciated.
 
[CDCollectionBean] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
        javax.ejb.EJBException
[CDCollectionBean] javax.naming.CommunicationException.  Root exception is java.
net.MalformedURLException: no protocol: files/JBoss-2.2.2/tmp/deploy/Default/cd.
jar/ejb1004.jar
[CDCollectionBean]      at java.net.URL.<init>(Unknown Source)
[CDCollectionBean]      at java.net.URL.<init>(Unknown Source)
[CDCollectionBean]      at java.net.URL.<init>(Unknown Source)
[CDCollectionBean]      at sun.rmi.server.LoaderHandler.pathToURLs(Unknown Sourc
e)
[CDCollectionBean]      at sun.rmi.server.LoaderHandler.loadClass(Unknown Source
)
[CDCollectionBean]      at sun.rmi.server.MarshalInputStream.resolveClass(Unknow
n Source)
[CDCollectionBean]      at java.io.ObjectInputStream.inputClassDescriptor(Unknow
n Source)
[CDCollectionBean]      at java.io.ObjectInputStream.readObject(Unknown Source)
[CDCollectionBean]      at java.io.ObjectInputStream.readObject(Unknown Source)
[CDCollectionBean]      at java.io.ObjectInputStream.inputClassFields(Unknown So
urce)
[CDCollectionBean]      at java.io.ObjectInputStream.defaultReadObject(Unknown S
ource)
[CDCollectionBean]      at java.io.ObjectInputStream.inputObject(Unknown Source)
 
[CDCollectionBean]      at java.io.ObjectInputStream.readObject(Unknown Source)
[CDCollectionBean]      at java.io.ObjectInputStream.readObject(Unknown Source)
[CDCollectionBean]      at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.readE
xternal(HomeProxy.java:267)
[CDCollectionBean]      at java.io.ObjectInputStream.inputObject(Unknown Source)
 
[CDCollectionBean]      at java.io.ObjectInputStream.readObject(Unknown Source)
[CDCollectionBean]      at java.io.ObjectInputStream.inputClassFields(Unknown So
urce)
[CDCollectionBean]      at java.io.ObjectInputStream.defaultReadObject(Unknown S
ource)
[CDCollectionBean]      at java.io.ObjectInputStream.inputObject(Unknown Source)
 
[CDCollectionBean]      at java.io.ObjectInputStream.readObject(Unknown Source)
[CDCollectionBean]      at java.io.ObjectInputStream.readObject(Unknown Source)
[CDCollectionBean]      at java.rmi.MarshalledObject.get(Unknown Source)
[CDCollectionBean]      at org.jnp.interfaces.NamingContext.lookup(NamingContext
.java:353)
[CDCollectionBean]      at org.jnp.interfaces.NamingContext.lookup(NamingContext
.java:333)
[CDCollectionBean]      at javax.naming.InitialContext.lookup(Unknown Source)
[CDCollectionBean]      at org.jboss.docs.cmp.cd.bean.CDCollectionBean.getHome(C
DCollectionBean.java:32)
[CDCollectionBean]      at org.jboss.docs.cmp.cd.bean.CDCollectionBean.findAll(C
DCollectionBean.java:130)
[CDCollectionBean]      at java.lang.reflect.Method.invoke(Native Method)
[CDCollectionBean]      at org.jboss.ejb.StatelessSessionContainer$ContainerInte
rceptor.invoke(StatelessSessionContainer.java:472)
[CDCollectionBean]      at org.jboss.ejb.plugins.StatelessSessionInstanceInterce
ptor.invoke(StatelessSessionInstanceInterceptor.java:87)
[CDCollectionBean]      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxI
nterceptorCMT.java:133)
[CDCollectionBean]      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransac
tions(TxInterceptorCMT.java:263)
[CDCollectionBean]      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInter
ceptorCMT.java:99)
[CDCollectionBean]      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Secu
rityInterceptor.java:190)
[CDCollectionBean]      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterc
eptor.java:195)
[CDCollectionBean]      at org.jboss.ejb.StatelessSessionContainer.invoke(Statel
essSessionContainer.java:271)
[CDCollectionBean]      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke
r.invoke(JRMPContainerInvoker.java:392)
[CDCollectionBean]      at java.lang.reflect.Method.invoke(Native Method)
[CDCollectionBean]      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Sour
ce)
[CDCollectionBean]      at sun.rmi.transport.Transport$1.run(Unknown Source)
[CDCollectionBean]      at java.security.AccessController.doPrivileged(Native Me
thod)
[CDCollectionBean]      at sun.rmi.transport.Transport.serviceCall(Unknown Sourc
e)
[CDCollectionBean]      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unk
nown Source)
[CDCollectionBean]      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.
run(Unknown Source)
[CDCollectionBean]      at java.lang.Thread.run(Unknown Source)
 
 

Reply via email to