Personalize

Error UBUNTU+ WS02 ESB

Forums :

i install the wso2 esb on Ubuntu and i see this message , when a try to access to the Console ESB

 

https://localhost:9443/esb

 

HTTP Status 404 - /esb



type Status report



message /esb



description The requested resource (/esb) is not available.

Apache Tomcat/5.5.15

 

can  somebody help me ???

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Does the ESB "start"

Does the ESB "start" successfully? Did you use the shell script or the daemon script? what does the log file say? Do you have another service using any of theports 8080, 8443 or 9443?

This is the messages of the

This is the messages of the sh wso2-esb.sh

 

 

MyMachine@MyMachine-desktop:~/SOA/wso2esb-1.6/bin$ sh wso2-esb.sh

Starting WSO2 Enterprise Service Bus ...

Using ESB_HOME:        /home/MyMachine/SOA/wso2esb-1.6

Using JAVA_HOME:       /home/MyMachine/SOA/jre1.6.0_05

Using SYNAPSE_XML:     -Dsynapse.xml=/home/MyMachine/SOA/wso2esb-1.6/webapp/WEB-INF/classes/conf/synapse.xml

2008-04-14 11:00:37,732 [-] [main]  INFO ServiceBusConfiguration Configuration loaded from : /home/MyMachine/SOA/wso2esb-1.6/webapp/WEB-INF/classes/conf/server.xml

2008-04-14 11:00:37,759 [-] [main]  INFO ServiceBus [ESB] Starting WSO2 ESB  ...

2008-04-14 11:00:47,080 [-] [main]  INFO ServiceBusManager Database server started on localhost over port 1528

2008-04-14 11:00:47,092 [-] [main]  WARN ServerManager Unable to register a URLStreamHandlerFactory - Custom URL protocols may not work properly (e.g. classpath://)

2008-04-14 11:00:47,093 [-] [main]  INFO ServerManager Using the Axis2 Repository /home/MyMachine/SOA/wso2esb-1.6/repository

2008-04-14 11:00:51,100 [-] [main]  INFO SynapseInitializationModule Initializing Synapse at : Mon Apr 14 11:00:51 CDT 2008

2008-04-14 11:00:51,102 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseInitializationModule Loading mediator extensions...

2008-04-14 11:00:52,370 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseInitializationModule Initializing the Synapse configuration ...

2008-04-14 11:00:52,376 [127.0.1.1-MyMachine-desktop] [main]  INFO XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration

2008-04-14 11:00:52,738 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseConfigurationBuilder Loaded Synapse configuration from : /home/MyMachine/SOA/wso2esb-1.6/webapp/WEB-INF/classes/conf/synapse.xml

2008-04-14 11:00:52,756 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseInitializationModule Deploying the Synapse service..

2008-04-14 11:00:52,779 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseInitializationModule Initializing Sandesha 2...

2008-04-14 11:00:52,783 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseInitializationModule Synapse server name : MyMachine-desktop

2008-04-14 11:00:52,784 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseInitializationModule Deploying Proxy services...

2008-04-14 11:00:52,784 [127.0.1.1-MyMachine-desktop] [main]  INFO SynapseInitializationModule Synapse initialized successfully...!

2008-04-14 11:00:53,037 [127.0.1.1-MyMachine-desktop] [main]  INFO HttpCoreNIOSender HTTPS Sender starting

2008-04-14 11:00:53,074 [127.0.1.1-MyMachine-desktop] [main]  INFO HttpCoreNIOSender HTTP Sender starting

2008-04-14 11:00:54,661 [127.0.1.1-MyMachine-desktop] [main]  INFO ServerManager Starting transport mailto

2008-04-14 11:00:54,680 [127.0.1.1-MyMachine-desktop] [main]  INFO HttpCoreNIOListener HTTPS Listener starting on port : 8443

2008-04-14 11:00:54,681 [127.0.1.1-MyMachine-desktop] [main]  INFO ServerManager Starting transport https on port 8443

2008-04-14 11:00:54,682 [127.0.1.1-MyMachine-desktop] [main]  INFO ServerManager Starting transport admin/https

2008-04-14 11:00:54,710 [127.0.1.1-MyMachine-desktop] [main]  INFO HttpCoreNIOListener HTTP Listener starting on port : 8080

2008-04-14 11:00:54,710 [127.0.1.1-MyMachine-desktop] [main]  INFO ServerManager Starting transport http on port 8080

2008-04-14 11:00:54,740 [127.0.1.1-MyMachine-desktop] [main]  INFO ServerManager Starting transport vfs

2008-04-14 11:00:54,741 [127.0.1.1-MyMachine-desktop] [main]  INFO ServerManager Ready for processing

2008-04-14 11:01:04,667 [127.0.1.1-MyMachine-desktop] [main]  INFO ServiceBusManager Starting the JMX Connector

2008-04-14 11:01:04,806 [127.0.1.1-MyMachine-desktop] [main]  INFO ServiceBusManager JMX Service URL      : service:jmx:rmi:///jndi/rmi://127.0.0.1:1099/esb

2008-04-14 11:01:05,815 [127.0.1.1-MyMachine-desktop] [main] ERROR Http11BaseProtocol Error initializing endpoint

java.net.BindException: Address already in use:9443

        at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)

        at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:141)

        at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)

        at org.apache.catalina.startup.Embedded.start(Embedded.java:826)

        at org.wso2.esb.transport.tomcat.TomcatServer.start(TomcatServer.java:120)

        at org.wso2.esb.ServiceBusManager.start(ServiceBusManager.java:118)

        at org.wso2.esb.ServiceBus.start(ServiceBus.java:135)

        at org.wso2.esb.ServiceBus.main(ServiceBus.java:69)

2008-04-14 11:01:05,821 [127.0.1.1-MyMachine-desktop] [main] FATAL TomcatServer Error starting embedded tomcat server : LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:9443

2008-04-14 11:01:05,822 [127.0.1.1-MyMachine-desktop] [main] FATAL ServiceBus Error starting the WSO2 ESB : org.wso2.esb.ServiceBusException: LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:9443

org.wso2.esb.ServiceBusException: org.wso2.esb.ServiceBusException: LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:9443

        at org.wso2.esb.ServiceBusManager.start(ServiceBusManager.java:122)

        at org.wso2.esb.ServiceBus.start(ServiceBus.java:135)

        at org.wso2.esb.ServiceBus.main(ServiceBus.java:69)

Caused by: org.wso2.esb.ServiceBusException: LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:9443

        at org.wso2.esb.transport.tomcat.TomcatServer.start(TomcatServer.java:125)

        at org.wso2.esb.ServiceBusManager.start(ServiceBusManager.java:118)

        ... 2 more

Caused by: LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:9443

        at org.apache.catalina.connector.Connector.initialize(Connector.java:1018)

        at org.apache.catalina.startup.Embedded.start(Embedded.java:826)

        at org.wso2.esb.transport.tomcat.TomcatServer.start(TomcatServer.java:120)

        ... 3 more

2008-04-14 11:01:05,826 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO ServiceBus [ESB] Shutting down WSO2 ESB ...

2008-04-14 11:01:06,024 [127.0.1.1-MyMachine-desktop] [Thread-21] ERROR Connector Coyote connector has not been started

2008-04-14 11:01:06,148 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO StartUpServlet Shutting down WSO2 ESB ...

2008-04-14 11:01:06,148 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO StatisticsReporterThread Statistics reporter thread is being stop

2008-04-14 11:01:06,294 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO ServiceBusManager Database server shutting down

2008-04-14 11:01:06,299 [127.0.1.1-MyMachine-desktop] [HttpCoreNIOListener]  INFO HttpCoreNIOListener Listener Shutdown

2008-04-14 11:01:06,300 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO HttpCoreNIOListener Listener shut down

2008-04-14 11:01:06,303 [127.0.1.1-MyMachine-desktop] [HttpCoreNIOListener]  INFO HttpCoreNIOListener Listener Shutdown

2008-04-14 11:01:06,304 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO HttpCoreNIOListener Listener shut down

2008-04-14 11:01:06,306 [127.0.1.1-MyMachine-desktop] [HttpCoreNIOSender]  INFO HttpCoreNIOSender Sender Shutdown

2008-04-14 11:01:06,307 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO HttpCoreNIOSender Sender shut down

2008-04-14 11:01:06,309 [127.0.1.1-MyMachine-desktop] [HttpCoreNIOSender]  INFO HttpCoreNIOSender Sender Shutdown

2008-04-14 11:01:06,310 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO HttpCoreNIOSender Sender shut down

2008-04-14 11:01:06,313 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO ServiceBusManager Shutting down the JMX Connector

2008-04-14 11:01:06,430 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO StartUpServlet Shutdown complete

2008-04-14 11:01:06,436 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO ServiceBusManager [ESB] Shutdown completed

2008-04-14 11:01:06,437 [127.0.1.1-MyMachine-desktop] [Thread-21]  INFO ServiceBusManager [ESB] Halting JVM

MyMachine@MyMachine-desktop:~/SOA/wso2esb-1.6/bin$




>java.net.BindException:



>java.net.BindException: Address already in use:9443

This means that you already have some process listening on port 9443... you can point your browser to http://localhost:9443 and/or https://localhost:9443 before starting the ESB to find out what it is.. Either you need to change the ESB console to run on another port by changing it in ./webapp/WEB-INF/classes/conf/server.xml and ./webapp/WEB-INF/classes/conf/axis2.xml and ./webapp/js/main.js or either stop the other process, or change it to run on another port

Thank you  !! -- Now is

Thank you  !! -- Now is working fine !!

 

 

 

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.