Re: registry service problem in OpenJMS
Tim Anderson <[email protected]> Wed, 06 Dec 2006 23:04:46 +1100
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
If you have security enabled, you need to specify the user name and
password to shut down the server e.g
> shutdown.sh -u admin -p openjms
-Tim
Randy Locklair wrote:
> Hey Guys:
>
> New to the list, but I've used OpenJMS for a while (but not for a few
> years so I'm a bit rusty).
>
> I set up a new OpenJMS service on a CentOS linux box--having some
> trouble with communications it seems.
>
> When trying to shut down the server, I get the following:
>
> # sh bin/shutdown.sh
> Using OPENJMS_HOME: /opt/openjms-0.7.7-alpha-3
> Using JAVA_HOME: /opt/jdk1.5.0_10
> org.exolab.jms.tools.admin.OnlineConnectionException: Failed to connect:
> javax.jms.JMSException: Failed to get registry service for URL:
> rmi://hq0.eightspot.com:1099/
> at
> org.exolab.jms.tools.admin.OnlineConnection.<init>(OnlineConnection.java:146)
> at org.exolab.jms.tools.admin.AdminMgr.main(AdminMgr.java:646)
> Failed to initialize AdminMgr.
> Exiting....
>
> It happens with RMI and TCP. It is with the basic config file with just
> some small changes (including mysql db setup). Anyone ever seen this
> before?
>
> Config file is below..I X'd and removed some sensitive info but it is
> for the most part as-is.
>
> Thanks!!
>
> Randy
>
> ---- config file -----
> <Configuration>
>
> <!-- Optional. This represents the default configuration -->
> <ServerConfiguration host="XXXXXXXX" embeddedJNDI="true" />
>
> <Connectors>
> <!--<Connector scheme="tcp">
> <ConnectionFactories>
> <ConnectionFactory name="ConnectionFactory" />
> </ConnectionFactories>
> </Connector>-->
> <Connector scheme="rmi">
> <ConnectionFactories>
> <QueueConnectionFactory name="JmsQueueConnectionFactory" />
> <TopicConnectionFactory name="JmsTopicConnectionFactory" />
> </ConnectionFactories>
> </Connector>
> </Connectors>
>
> <!-- Required -->
> <DatabaseConfiguration>
> <RdbmsDatabaseConfiguration
> driver="com.mysql.jdbc.Driver"
> url="jdbc:mysql://localhost/openjms"
> user="openjms"
> password="XXXXXXXX"
> maxActive="10"
> maxIdle="5"
> evictionInterval="3600"
> testQuery="select current_date" />
> </DatabaseConfiguration>
>
> <AdminConfiguration script="${openjms.home}\bin\startup.bat" />
>
> <AdministeredDestinations>
> <AdministeredTopic name="t2">
> <Subscriber name="s1" />
> </AdministeredTopic>
> <AdministeredTopic name="t1">
> </AdministeredTopic>
>
> </AdministeredDestinations>
>
> <!-- <SecurityConfiguration securityEnabled="true" /> -->
>
>
> <Users>
> <!-- yes there are normally some users listed here. :) -->
> </Users>
>
> </Configuration>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> openjms-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openjms-user
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV