Guys,

I am learning JMS using the example server provided. However, I am able to
compile the queuebrowse.java example but when I run the example, it says the
following error:

java first.QueueBrowse http://localhost:7001

Exception in thread "main" javax.naming.CommunicationException.  Root
exception
is java.net.ConnectException: No server found at HTTP://localhost:7001
        at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
        at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:207)
        at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:261)
        at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:203)
        at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:124)
        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
62)
        at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
        at javax.naming.InitialContext.init(InitialContext.java:219)
        at javax.naming.InitialContext.<init>(InitialContext.java:195)
        at first.QueueBrowse.getInitialContext(QueueBrowse.java:144)
        at first.QueueBrowse.main(QueueBrowse.java:131)



        HOWEVER I AM RUNNING THE SERVER AT THIS POINT OF TIME, STILL IT SAYS
COMMUNICATION EXCEPTION. could someone tell me whats missing here and why
the queuebrowse.java file is not able to communicate to the server.

Thnx in advance.
Srinivas.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to