[General] PEtALS user experience
sandre
petals-features at ebmwebsourcing.com
Wed Mar 16 10:19:41 CET 2011
Hi petals community :)
I'm new to PEtALS, and as a dummy I have basic questions about it.
First, when trying a new software, I always wanna check if it's been installed the right way by printing its "version number".
Here is what I get for PEtALS:
$ java -server -jar server.jar version
-----------------------------------------------------------
| |
| OW2 PEtALS Enterprise Service Bus |
| http://petals.ow2.org |
| |
-----------------------------------------------------------
Command processing error : version
org.ow2.petals.jmx.exception.ConnectionErrorException: Can not connect using URI : service:jmx:rmi:///jndi/rmi://localhost:7700/jmxRmiConnector with petals/petals
at org.ow2.petals.jmx.PetalsJMXConnection.<init>(PetalsJMXConnection.java:114)
at org.ow2.petals.jmx.PetalsJMXClient.<init>(PetalsJMXClient.java:68)
at org.ow2.petals.launcher.StandaloneLauncher.getPetalsJmxClient(StandaloneLauncher.java:91)
at org.ow2.petals.launcher.AbstractLauncher.version(AbstractLauncher.java:219)
at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:143)
at org.ow2.petals.distribution.standalone.Main.main(Main.java:42)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at org.ow2.petals.jmx.PetalsJMXConnection.<init>(PetalsJMXConnection.java:110)
... 5 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1817)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1787)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:259)
... 7 more
Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93)
... 12 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:180)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
... 17 more
I was expecting something like "PEtALS standalone 2.2" to be printed on stdout
[Idea]
Is it possible for the PEtaLS development team to provide a simple "version command" that works even if the ESB is not started?
PS: does anyone know if it's possible to upload files on this forum? I'd like to submit new startup scripts and get feedbacks about it
[Question]
-------------------- m2f --------------------
Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=206#206
-------------------- m2f --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/general/attachments/20110316/abc1e5d4/attachment.htm>
More information about the General
mailing list