This content has been marked as final. Show 3 replies
By the way, I'm using non-clustered JBoss (all the threads about this refer something about clustering, but it is not the case)...
javax.naming.CommunicationException [Root exception is java.io.StreamCorruptedException: unexpected block data] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) at javax.naming.InitialContext.lookup(InitialContext.java:351)
I've had a similiar problem, when starting to use ejb3. as far as i remember this happens due to a missing library in classpath of your client application. Please try to add the following libraries:
The last two ones are necessary to be able to make a remote connection to JBoss. I dont remember which one it was, but without one of them i got the exception mentioned above.