[prev in list] [next in list] [prev in thread] [next in thread]
List: openjms-user
Subject: RE: [openjms-user] AdminConnectionFactory.create question
From: "Tim Anderson" <tma () netspace ! net ! au>
Date: 2004-02-13 23:22:01
Message-ID: AHEMLCHGJOKOCPPFEOIHEEIBIEAA.tma () netspace ! net ! au
[Download RAW message or body]
Sorry - I was spreading misinformation.
You should be using port 3030 (the server port),
rather than 3035 (the embedded JNDI port).
-Tim
> -----Original Message-----
> From: openjms-user-admin@lists.sourceforge.net
> [mailto:openjms-user-admin@lists.sourceforge.net]On Behalf Of Preston
> Sent: Saturday, 14 February 2004 2:19 AM
> To: openjms-user@lists.sourceforge.net
> Subject: RE: [openjms-user] AdminConnectionFactory.create question
>
>
> Ok, The RMI connector worked. I used the same username / password for
> the TCP connector and was getting the exception. Is there anything else
> that would be causing this? Have you verified that you can create a
> queue using the TCP Connector?
>
> In the mean time I'll try to do some more digging myself.
>
> Thanks for the help,
> Preston
>
> -----Original Message-----
> From: openjms-user-admin@lists.sourceforge.net
> [mailto:openjms-user-admin@lists.sourceforge.net] On Behalf Of Tim
> Anderson
> Sent: Friday, February 13, 2004 6:42 AM
> To: openjms-user@lists.sourceforge.net
> Subject: RE: [openjms-user] AdminConnectionFactory.create question
>
> Probably an invalid username/password combination.
>
> When connecting to the admin server using the tcp connector
> with an invalid username/password, the server drops the
> connection, so the JMSSecurityException doesn't get propagated.
> To verify, configure the RMI connector and try:
> AdminConnectionFactory.create("rmi://localhost:1099", "admin",
> "openjms");
>
> -Tim
>
> > -----Original Message-----
> > From: openjms-user-admin@lists.sourceforge.net
> > [mailto:openjms-user-admin@lists.sourceforge.net]On Behalf Of Preston
> > Sent: Friday, 13 February 2004 2:28 AM
> > To: openjms-user@lists.sourceforge.net
> > Subject: RE: [openjms-user] AdminConnectionFactory.create question
> >
> >
> > Hi Tim,
> >
> > I tried what you suggested and it's still generating the "Empty packet
> > was returned" exception and the same stacktrace.
> >
> > Preston
> >
> >
> > -----Original Message-----
> > From: openjms-user-admin@lists.sourceforge.net
> > [mailto:openjms-user-admin@lists.sourceforge.net] On Behalf Of Tim
> > Anderson
> > Sent: Thursday, February 12, 2004 5:00 AM
> > To: openjms-user@lists.sourceforge.net
> > Subject: RE: [openjms-user] AdminConnectionFactory.create question
> >
> > When security is enabled, you need to use the:
> > AdminConnectionFactory.create(String url, String username, String
> > password)
> > method.
> > E.g:
> > AdminConnectionFactory.create("tcp://localhost:3035", "admin",
> > "openjms");
> >
> > -Tim
> >
> > > -----Original Message-----
> > > From: openjms-user-admin@lists.sourceforge.net
> > > [mailto:openjms-user-admin@lists.sourceforge.net]On Behalf Of
> Preston
> > > Sent: Thursday, 12 February 2004 10:48 AM
> > > To: openjms-user@lists.sourceforge.net
> > > Subject: [openjms-user] AdminConnectionFactory.create question
> > >
> > >
> > > Why does AdminConnectionFactory.create(url) attempt to read a
> message
> > > from a queue and what queue is it reading from?
> > >
> > > I'm trying to add a queue, as there are none. When I make the call
> the
> > > AdminConnectionFactory.create it throws the following exception
> > >
> > > javax.jms.JMSException: Empty packet was returned
> > > at
> > >
> >
> org.exolab.jms.administration.mipc.IpcJmsAdminConnection.raise(IpcJmsAdm
> > > inConnection.java:492)
> > > at
> > >
> >
> org.exolab.jms.administration.mipc.IpcJmsAdminConnection.getReply(IpcJms
> > > AdminConnection.java:483)
> > > at
> > >
> >
> org.exolab.jms.administration.mipc.IpcJmsAdminConnection.connect(IpcJmsA
> > > dminConnection.java:373)
> > > at
> > >
> >
> org.exolab.jms.administration.mipc.IpcJmsAdminConnection.<init>(IpcJmsAd
> > > minConnection.java:134)
> > > at
> > >
> >
> org.exolab.jms.administration.AdminConnectionFactory.create(AdminConnect
> > > ionFactory.java:263)
> > > at
> > >
> >
> org.exolab.jms.administration.AdminConnectionFactory.create(AdminConnect
> > > ionFactory.java:186)
> > >
> > >
> > > Preston
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > > Build and deploy apps & Web services for Linux with
> > > a free DVD software kit from IBM. Click Now!
> > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > > _______________________________________________
> > > openjms-user mailing list
> > > openjms-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/openjms-user
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _______________________________________________
> > openjms-user mailing list
> > openjms-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openjms-user
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _______________________________________________
> > openjms-user mailing list
> > openjms-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openjms-user
> >
>
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> openjms-user mailing list
> openjms-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openjms-user
>
>
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> openjms-user mailing list
> openjms-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openjms-user
>
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
openjms-user mailing list
openjms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic