Re: Failed to create connection, URL=http://localhost:80/openjms/OpenJMSServer
Felipe Palma Dias <palmadias-/E1597aS9LRfJ/[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
I find out the problem. I configured the element <HttpConfiguration host="localhost" port="8080" /> in the openjms.xml. This is a bug, because the documentation show that default value to the port is 8080. (http://openjms.sourceforge.net/config/reference.html#HttpConfiguration) --- Felipe Palma Dias <palmadias-/E1597aS9LRfJ/[email protected]> escreveu: > Failed to create connection, > URL=http://localhost:80/openjms/OpenJMSServer > > This exception is a bug? The InitialContext is > configured with the provider URL > http://localhost:8080/, but the method > org.exolab.jms.client.http.HttpJmsServerStub.createConnection > throws the exception: > > Caused by: javax.jms.JMSException: Failed to create > connection, > URL=http://localhost:80/openjms/OpenJMSServer: > java.net.ConnectException: Connection refused: > connect > > at > org.exolab.jms.client.http.HttpJmsServerStub.createConnection(HttpJmsServerStub.java:145) > > at > org.exolab.jms.client.JmsConnection.<init>(JmsConnection.java:189) > > at > org.exolab.jms.client.JmsTopicConnection.<init>(JmsTopicConnection.java:81) > > at > org.exolab.jms.client.JmsTopicConnectionFactory.createTopicConnection(JmsTopicConnectionFactory.java:113) > > at > com.pakprint.pakcon.client.pakserver.PakprintJMSServer.getNewTopicConnection(PakprintJMSServer.java:163) > > at > com.pakprint.pakcon.client.pakserver.RegistrySubscriber.<init>(RegistrySubscriber.java:55) > > at > com.pakprint.pakcon.client.pakserver.PakprintJMSServer.connect(PakprintJMSServer.java:146) > > at > com.pakprint.pakcon.client.service.PCAgent.start(PCAgent.java:142) > > > ===== > ------------------------------------------------------- > > Felipe F. Palma Dias > http://geocities.yahoo.com.br/palmadias/ > > > > > > _______________________________________________________ > > Yahoo! Acesso Grátis - Instale o discador do Yahoo! > agora. http://br.acesso.yahoo.com/ - Internet rápida > e grátis > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > openjms-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openjms-user > ===== ------------------------------------------------------- Felipe F. Palma Dias http://geocities.yahoo.com.br/palmadias/ _______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click