File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sun java application server start up failure

 
pallavi nakka
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello every one,
Iam trying to Install Netbeans 5.0 IDE with sun java application bundle. I am able to install the IDE & sun java server and also registered the server with IDE but i am unable to start the server. I have googled a lot n couldnt find the same problem iam getting in any forum. I am pasting the contents of the SERVER log file below, if any one gets the root cause kindly let me know,

Thanks in advance,

Pallavi


am getting th follwing message in command prompt

Starting Domain domain1, please wait.
Log redirected to c:\sun1\appserver\domain\domain1\logs\server.log.
Domain domain1 is ready to receive client requests.additional services are being started in background.
press any key to continue...

and the following are the contents of server log file:


C:/SUN1/AppServer/lib/appserv-rt.jar;C:/j2sdk1.4.2_11/lib/tools.jar;
C:/SUN1/AppServer/lib\activation.jar;C:/SUN1/AppServer/lib\admin-cli.jar;
C:/SUN1/AppServer/lib\appserv-admin.jar;
C:/SUN1/AppServer/lib\appserv-cmp.jar;
C:/SUN1/AppServer/lib\appserv-ext.jar;
C:/SUN1/AppServer/lib\appserv-jstl.jar;
C:/SUN1/AppServer/lib\appserv-upgrade.jar;C:/SUN1/AppServer/lib\commons-launcher.jar;C:/SUN1/AppServer/lib\commons-logging.jar;C:/SUN1/AppServer/lib\dom.jar;C:/SUN1/AppServer/lib\j2ee-svc.jar;C:/SUN1/AppServer/lib\j2ee.jar;C:/SUN1/AppServer/lib\jax-qname.jar;C:/SUN1/AppServer/lib\jaxr-api.jar;C:/SUN1/AppServer/lib\jaxr-impl.jar;C:/SUN1/AppServer/lib\jaxrpc-api.jar;C:/SUN1/AppServer/lib\jaxrpc-impl.jar;C:/SUN1/AppServer/lib\jmxremote.jar;C:/SUN1/AppServer/lib\jmxremote_optional.jar;C:/SUN1/AppSer ver/lib\jsf-api.jar;C:/SUN1/AppServer/lib\jsf-impl.jar;C:/SUN1/AppServer/lib\mail.jar;C:/SUN1/AppServer/lib\relaxngDatatype.jar;C:/SUN1/AppServer/lib\rmissl.jar;C:/SUN1/AppServer/lib\saaj-api.jar;C:/SUN1/AppServer/lib\saaj-impl.jar;C:/SUN1/AppServer/lib\xalan.jar;C:/SUN1/AppServer/lib\xercesImpl.jar;C:/SUN1/AppServer/lib\xsdlib.jar;C:/SUN1/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/SUN1/AppServer/imq/lib/jaxm-api.jar;
C:/SUN1/AppServer/imq/lib/fscontext.jar;C:/SUN1/AppServer/lib/ant/lib/ant.jar

com.sun.enterprise.server.PEMain

start

display

native|#]

[#|2006-05-25T14:59:00.734-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\SUN1\AppServer\imq\bin].|#]

[#|2006-05-25T14:59:00.750-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]

[#|2006-05-25T14:59:02.078-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0047:The Platform MBeanServer is not available. Platform MBeans will not be available for browsing while using standard JMX Console.|#]

[#|2006-05-25T14:59:02.421-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]

[#|2006-05-25T14:59:02.859-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2006-05-25T14:59:03.796-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]

[#|2006-05-25T14:59:03.796-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]

[#|2006-05-25T14:59:06.671-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]

[#|2006-05-25T14:59:06.703-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]

[#|2006-05-25T14:59:06.703-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]

[#|2006-05-25T14:59:07.937-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]

[#|2006-05-25T14:59:14.515-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]

[#|2006-05-25T14:59:17.765-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 75256503905222656|#]

[#|2006-05-25T14:59:18.156-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]

[#|2006-05-25T14:59:18.578-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 75256504702926848|#]

[#|2006-05-25T14:59:19.281-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]

[#|2006-05-25T14:59:19.281-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]

[#|2006-05-25T14:59:19.531-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]

[#|2006-05-25T14:59:19.796-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]|#]

[#|2006-05-25T14:59:20.031-0400|WARNING|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]

[#|2006-05-25T14:59:20.281-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]|#]

[#|2006-05-25T14:59:20.296-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]|#]

[#|2006-05-25T14:59:20.296-0400|WARNING|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]

[#|2006-05-25T14:59:20.296-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [/com_sun_web_ui]|#]

[#|2006-05-25T14:59:20.484-0400|INFO|sun-appserver-pe8.2|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]

[#|2006-05-25T14:59:24.125-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|Initializing Grizzly Non-Blocking Mode|#]

[#|2006-05-25T14:59:24.125-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]

[#|2006-05-25T14:59:24.156-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]

[#|2006-05-25T14:59:24.265-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|Initializing Grizzly Blocking Mode|#]

[#|2006-05-25T14:59:24.265-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]

[#|2006-05-25T14:59:24.265-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]

[#|2006-05-25T14:59:24.343-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|Initializing Grizzly Non-Blocking Mode|#]

[#|2006-05-25T14:59:24.343-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]

[#|2006-05-25T14:59:24.359-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]

[#|2006-05-25T14:59:25.906-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@1ac8c3d cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: ; nested exception is:

java.net.ConnectException: Connection refused: no further information]|#]

[#|2006-05-25T14:59:25.906-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization

com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: ; nested exception is:

java.net.ConnectException: Connection refused: no further information]

at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:104)

at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)

at com.sun.enterprise.server.PEMain.run(PEMain.java:294)

at com.sun.enterprise.server.PEMain.main(PEMain.java:220)

Caused by: java.io.IOException: Cannot bind to URL [rmi://:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: ; nested exception is:

java.net.ConnectException: Connection refused: no further information]

at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:798)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:430)

at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:177)

at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:95)

... 3 more

Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: ; nested exception is:

java.net.ConnectException: Connection refused: no further information]

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:117)

at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)

at javax.naming.InitialContext.bind(InitialContext.java:355)

at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:619)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:426)

... 5 more

Caused by: java.rmi.ConnectException: Connection refused to host: ; nested exception is:

java.net.ConnectException: Connection refused: no further information

at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)

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:313)

at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:111)

... 9 more

Caused by: java.net.ConnectException: Connection refused: no further information

at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:521)

at com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketImpl.java:181)

at java.net.Socket.connect(Socket.java:461)

at java.net.Socket.connect(Socket.java:411)

at java.net.Socket.<init>(Socket.java:310)

at java.net.Socket.<init>(Socket.java:125)

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:562)

... 14 more

|#]

[#|2006-05-25T14:59:25.906-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]

[#|2006-05-25T14:59:25.906-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]

[#|2006-05-25T14:59:25.906-0400|WARNING|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :

com.sun.appserv.server.ServerLifecycleException

at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:122)

at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)

at com.sun.enterprise.server.PEMain.run(PEMain.java:317)

at com.sun.enterprise.server.PEMain.main(PEMain.java:220)

|#]

[#|2006-05-25T14:59:25.906-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]

[#|2006-05-25T14:59:25.937-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]

[#|2006-05-25T14:59:25.937-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=11;|WEB0756: Caught exception during HTTP processing.

java.lang.ClassCastException

at com.sun.enterprise.web.connector.grizzly.SelectorThread.cancelKey(SelectorThread.java:1378)

at com.sun.enterprise.web.connector.grizzly.SelectorThread.startNonBlockingMode(SelectorThread.java:1261)

at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1126)

at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1098)

|#]

[#|2006-05-25T14:59:25.953-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]

[#|2006-05-25T14:59:25.968-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]

[#|2006-05-25T14:59:25.968-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|WEB0756: Caught exception during HTTP processing.

java.lang.ClassCastException

at com.sun.enterprise.web.connector.grizzly.SelectorThread.cancelKey(SelectorThread.java:1378)

at com.sun.enterprise.web.connector.grizzly.SelectorThread.startNonBlockingMode(SelectorThread.java:1261)

at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1126)

at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1098)

|#]

[#|2006-05-25T14:59:26.171-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5051: Shutting down all J2EE applications ...|#]

[#|2006-05-25T14:59:26.187-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5122:EJB Timer Service shutdown at [2006/05/25 14:59:26]|#]

[#|2006-05-25T14:59:26.187-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]

[#|2006-05-25T14:59:26.187-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resource.resourceadapter|_ThreadID=10;|RAR7094: __xa shutdown successfully.|#]

[#|2006-05-25T14:59:26.187-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE 5061 : Resource adapters Stop() Complete|#]

[#|2006-05-25T14:59:26.187-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5052: Application shutdown complete.|#]

[#|2006-05-25T14:59:27.109-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5025: JMS service shutting down.|#]

[#|2006-05-25T14:59:27.515-0400|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5026: JMS service shutdown complete.|#]

[#|2006-05-25T14:59:27.515-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Server stopped due to Server startup failure.|#]
[ June 01, 2006: Message edited by: pallavi nakka ]
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have some more network intefrace installed on your system.
you need to explicitly define the IP address binding in your domain.xml file , it is located inside domain1\config .

do a search for all address="0.0.0.0" and change them to address="127.0.0.1" please report back in case that this does not resolve your issue .
 
pallavi nakka
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your suggestion.
Looks like it solved my problem.

Thanks.
 
Todd Patrick
Ranch Hand
Posts: 31
Android Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you change the values for the http-listener elements only?

I don't believe you can change the iiop-listener elements, that would cause other errors.

Thanks,
 
SHAMSUDEEN SIRAJUDEEN
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried it but the server still could not start.
 
Raju Mandapati
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the sun one application server run in the background by default?
Dont we need to use nohup and & explicitly to make it run in the background?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic