[jboss-user] [Beginners Corner] - Problem with JBoss Examples

Hirschniesel do-not-reply at jboss.com
Sat Sep 8 06:12:02 EDT 2007


Hi,

I just tried to execute the JBoss example application found in org.jboss.book.jms.ex3.SendRecvClient. I executed the build.xml found in the example root directory and got a BUILD SUCCESSFULLY. So I think, everything needed is installed on the jboss. I changed the "jboss.dist" property within the build.xml to my local jboss directory. Now I tried to execute the SendRecvClient application using the java command from the shell. I also added the concurrent.jar and the jboss-j2ee.jar to my classpath. But now I got hte following exception:
anonymous wrote : Exception in thread "main" javax.naming.CommunicationException: Can't find SerialContextProvider
  | at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:63)
  | at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at org.jboss.book.jms.ex3.SendRecvClient.setupPubSub(SendRecvClient.java:55)
  | at org.jboss.book.jms.ex3.SendRecvClient.sendRecvAsync(SendRecvClient.java:71)
  | at org.jboss.book.jms.ex3.SendRecvClient.main(SendRecvClient.java:95)
  | 

Can someone tell me, what is going wrong here? Thanks for your help and best reagrds,
Andreas

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082335#4082335

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082335



More information about the jboss-user mailing list