Re: JMSSecurityException: Failed to authenticate user
Felipe Palma Dias <palmadias-/E1597aS9LRfJ/[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
I find out the problem. My openjms.xml was configured the follow way: <HttpConfiguration host="localhost" port="8080" /> I changed localhost to IP: <HttpConfiguration host="10.150.0.173" port="8080" /> --- Felipe Palma Dias <palmadias-/E1597aS9LRfJ/[email protected]> escreveu: > I created a new user. When I try to connect in JMS > server with this new user using > factory.createTopicConnection(klabin, klabin), > the > follow error is showed: > > java.rmi.RemoteException: Failed to authenticate > user > klabin; nested exception is: > javax.jms.JMSSecurityException: Failed to > authenticate user klabin > > > at > com.pakprint.pakcon.client.service.PCAgent.start(PCAgent.java:157) > > at > com.pakprint.pakcon.client.service.PCAgent.start(PCAgent.java:348) > > at > org.tanukisoftware.wrapper.WrapperManager.startInner(WrapperManager.java:1785) > > at > org.tanukisoftware.wrapper.WrapperManager.handleSocket(WrapperManager.java:2384) > > at > org.tanukisoftware.wrapper.WrapperManager.run(WrapperManager.java:2696) > > at java.lang.Thread.run(Thread.java:534) > > > Caused by: javax.jms.JMSSecurityException: Failed to > authenticate user klabin > > at > org.exolab.jms.server.JmsServerConnectionManager.createConnection(JmsServerConnectionManager.java:183) > at > org.exolab.jms.server.mipc.IpcJmsServerConnection.createConnection(IpcJmsServerConnection.java:184) > > at > org.exolab.jms.server.mipc.IpcJmsServerConnection.notify(IpcJmsServerConnection.java:102) > > at > org.exolab.jms.server.mipc.IpcJmsReceiver.notify(IpcJmsReceiver.java:100) > > at > org.exolab.jms.server.mipc.IpcServerChannel.run(IpcServerChannel.java:161) > > > > When I use > AdminConnectionFactory.create(http://10.150.0.173:8080/;klabin,klabin); > I connect! > > Can anyone help me? > > ===== > ------------------------------------------------------- > > Felipe F. Palma Dias > http://geocities.yahoo.com.br/palmadias/ > > __________________________________________________ > Converse com seus amigos em tempo real com o Yahoo! > Messenger > http://br.download.yahoo.com/messenger/ > > > ------------------------------------------------------- > 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