Hi Asankha,

here is my full log from the console.
Sorry but were can I see the available rmi adresses on the ESB?


INFO: Server startup in 1403 ms
java.io.IOException: Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 10.33.46.78; nested
exception is:
      java.net.ConnectException: Connection timed out: connect]
      at javax.management.remote.rmi.RMIConnector.connect(
RMIConnector.java:317)
      at javax.management.remote.JMXConnectorFactory.connect(
JMXConnectorFactory.java:248)
      at org.wso2.esb.ext.manage.ESBManager$NodeManager.connect(
ESBManager.java:115)
      at org.wso2.esb.ext.manage.ESBManager$NodeManager.access$0(
ESBManager.java:107)
      at org.wso2.esb.ext.manage.ESBManager.addServer(ESBManager.java:38)
      at org.apache.jsp.resources.index_jsp._jspService(index_jsp.java:179)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:331)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(
JspServlet.java:329)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:874)
      at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 10.33.46.78; nested
exception is:
      java.net.ConnectException: Connection timed out: connect]
      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:1807)
      at javax.management.remote.rmi.RMIConnector.findRMIServer(
RMIConnector.java:1777)
      at javax.management.remote.rmi.RMIConnector.connect(
RMIConnector.java:259)
      ... 25 more
Caused by: java.rmi.ConnectException: Connection refused to host:
10.33.46.78; nested exception is:
      java.net.ConnectException: Connection timed out: connect
      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)
      ... 30 more
Caused by: java.net.ConnectException: Connection timed out: connect
      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:364)
      at java.net.Socket.connect(Socket.java:507)
      at java.net.Socket.connect(Socket.java:457)
      at java.net.Socket.<init>(Socket.java:365)
      at java.net.Socket.<init>(Socket.java:178)
      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)
      ... 35 more



Hartmut Zimmermann


Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany


www.basf-it-services.com


BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike




                                                                       
             "Asankha C.                                               
             Perera"                                                   
             <[EMAIL PROTECTED]                                          An
             >                          [email protected]         
             Gesendet von:                                           Kopie
             esb-java-user-bou                                         
             [EMAIL PROTECTED]                                           Thema
                                        Re: Antwort: Re: Antwort: Re:  
                                        Antwort: Re: Antwort:  Re:     
             11.02.2008 11:51           [esb-java-user] Basicquestions!!!
                                                                       
                                                                       
              Bitte antworten                                          
                    an                                                 
             [EMAIL PROTECTED]                                         
                   2.org                                               
                                                                       
                                                                       




Hi Hartmut

Can you paste or attach the full log? Also, it may be the case that your
JMX URL is different from whats in the web.xml of the bundled
application, thus if you edit that to match your environment, it should
work.

asankha

[EMAIL PROTECTED] wrote:
> Hi Asankha,
>
> you got a solution, that pretty good :-)
>
> I tried it out and I run in an connection problem. :-(
> I do configure the wrapper.conf and run your sample as an webapplication.
>
> Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException
> [Root exception is java.rmi.ConnectException: Connection refused to host:
> ...
>
>
>
> Hartmut Zimmermann
>
>
> Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
> [EMAIL PROTECTED]
> Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
> Germany
>
>
> www.basf-it-services.com
>
>
> BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
> Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
> Managing Directors:
> Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
> Chairman of the Supervisory Board: Andrew Pike
>
>
>
>
>

>              "Asankha C.

>              Perera"

>              <[EMAIL PROTECTED]
An
>              >                          [email protected]

>              Gesendet von:
Kopie
>              esb-java-user-bou

>              [EMAIL PROTECTED]
Thema
>                                         Re: Antwort: Re: Antwort: Re:

>                                         Antwort: Re:     [esb-java-user]

>              06.02.2008 11:06           Basicquestions!!!

>

>

>               Bitte antworten

>                     an

>              [EMAIL PROTECTED]

>                    2.org

>

>

>
>
>
>
> Alex, Hubert and Hartmut
>
> I have attached a sample WAR application with code that can connect to
one
> or more ESB nodes on a cluster and do basic management via JMX.. please
> note that as this is an illustrative sample at the moment, logging and
> error handling etc are at basic levels
>
> asankha
>
> Alex Reis wrote:
>       Created JIRA ESBJAVA-425, https://wso2.org/jira/browse/ESBJAVA-425
>
>       Paul, Asankha, is voting necessary?
>
>       Alex
>
>       2008/1/31 Asankha C. Perera <[EMAIL PROTECTED]>:
>
>              Hi Alex, Hubert and Hartmut
>
>              When our users ask for any feature we always give higher
>             priority to them
>             :-)
>
>              So please file a JIRA for this against the ESB
>             http://wso2.org/jira/browse/ESBJAVA and I will get it done
>             probably around
>             next week
>
>              asankha
>
>
>              Alex Reis wrote:
>              +1 for adding the feature... Probably we should file a JIRA
>             for the
>             commons project?
>
>             On Jan 31, 2008 9:42 AM, Hubert, Eric <[EMAIL PROTECTED]>
>             wrote:
>
>
>              Hi,
>
>             Paul, I really like your idea of such an example. I think
this
>             will be
>             very useful for a lot of users - maybe including us. ;-)
>
>             --
>             Eric Hubert
>             Software Architect
>             Associate Director Research & Development
>
>
>
>
>              -----Original Message-----
>             Asankha
>
>             How about we write a sample that shows how to do this? For
>             example a
>             portlet that can be used to control an ESB instance and then
a
>             user
>             could just double it up to build a page of monitoring/control
>             for a
>             cluster of WSO2 engines?
>
>             Paul
>
>              _______________________________________________
>             Esb-java-user mailing list
>             [email protected]
>             http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
>
>
>
>
>             _______________________________________________
>             Esb-java-user mailing list
>             [email protected]
>             http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
>
>
>
>
>         _______________________________________________
>       Esb-java-user mailing list
>       [email protected]
>       http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user



_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to