J2EE Installation

Please help with the following problem that occurs when attempting to start the application server immediately after an apparently successful installation. Thanks.

Starting J2EETM 1.4 Application Server Beta 2 ...

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:28:843 PST][CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.4.1_05] from [Sun Microsystems Inc.]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:687 PST][ADM0020:Following is the information about the JMX MBeanServer used:]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:703 PST][ADM0021:MBeanServer Implementation Name:[JMX]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:703 PST][ADM0022:MBeanServer Implementation Vendor:[Sun Microsystems]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:703 PST][ADM023:JMX Implementation Version:[1.2_r08]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:703 PST][ADM024:MBeanServer ID:[SMTFM203_1067370571609]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:703 PST][ADM025:MBeanServer Implementation Classname:[com.sun.jmx.mbeanserver.JmxMBeanServer]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:765 PST][ADM0002:System MBean initialized:[ias:type=controller]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:781 PST][ADM0002:System MBean initialized:[ias:type=configurator]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:781 PST][ADM0001:MBeanServer initialized successfully]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:812 PST][ADM0005:Timestamp files for configuration created for:[server]]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:31:812 PST][ADM0102: Starting a thread for tracking manual changes]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.resource.jms][28.October.2003 11:49:44:515 PST][JMS5023: JMS service successfully started. Instance Name = domain1_server, Home = [E:/NODELETE/Sun/j2eesdk1.4_beta2/imq/bin].]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:45:640 PST][S1AS AVK Instrumentation disabled]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core.security][28.October.2003 11:49:45:656 PST][SEC1143: Loading policy provider com.sun.enterprise.security.provider.util.PolicyWrapper.]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core.transaction][28.October.2003 11:49:47:171 PST][JTS5014: Recoverable JTS instance, serverId = [100]]>

<[WARNING][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core.transaction][28.October.2003 11:49:47:453 PST][JTS5015: Unexpected error occurred when creating portable object adaptors

org.omg.CORBA.INTERNAL:vmcid: SUN minor code: 209 completed: No

at com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl.initialize(SocketFactoryAcceptorImpl.java:74)

at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:117)

at com.sun.corba.ee.impl.legacy.connection.LegacyServerSocketManagerImpl.getAcceptorIterator(LegacyServerSocketManagerImpl.java:209)

at com.sun.corba.ee.impl.legacy.connection.LegacyServerSocketManagerImpl.legacyGetEndpoint(LegacyServerSocketManagerImpl.java:129)

at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase.<init>(POAPolicyMediatorBase.java:113)

at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase_R.<init>(POAPolicyMediatorBase_R.java:31)

at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorImpl_R_AOM.<init>(POAPolicyMediatorImpl_R_AOM.java:38)

at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorFactory.create(POAPolicyMediatorFactory.java:21)

at com.sun.corba.ee.impl.oa.poa.POAImpl.initialize(POAImpl.java:230)

at com.sun.corba.ee.impl.oa.poa.POAFactory$1.evaluate(POAFactory.java:154)

at com.sun.corba.ee.impl.orbutil.closure.Future.evaluate(Future.java:28)

at com.sun.corba.ee.impl.resolver.LocalResolverImpl.resolve(LocalResolverImpl.java:22)

at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:20)

at com.sun.corba.ee.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:1128)

at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:317)

at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:183)

at com.sun.enterprise.iiop.PEORBConfigurator.configure(PEORBConfigurator.java:97)

at com.sun.corba.ee.impl.orb.ORBConfiguratorImpl.runUserConfigurators(ORBConfiguratorImpl.java:132)

at com.sun.corba.ee.impl.orb.ORBConfiguratorImpl.configure(ORBConfiguratorImpl.java:117)

at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:465)

at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:513)

at org.omg.CORBA.ORB.init(ORB.java:337)

at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:293)

at com.sun.enterprise.util.ORBManager.init(ORBManager.java:179)

at com.sun.enterprise.server.J2EEServer.createORB(J2EEServer.java:396)

at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:191)

at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)

at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:221)

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

Caused by: java.net.BindException: Address already in use: JVM_Bind

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)

at java.net.ServerSocket.bind(ServerSocket.java:318)

at java.net.ServerSocket.<init>(ServerSocket.java:185)

at java.net.ServerSocket.<init>(ServerSocket.java:141)

at javax.net.ssl.SSLServerSocket.<init>(DashoA6275)

at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(DashoA6275)

at com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSocket(DashoA6275)

at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSSLServerSocket(IIOPSSLSocketFactory.java:211)

at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:185)

at com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl.initialize(SocketFactoryAcceptorImpl.java:70)

... 34 more

]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:828 PST][CORE5081: Exception while creating ORB: [java.lang.NullPointerException]]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:828 PST][CORE5082: Exception running j2ee services: [java.lang.RuntimeException: Unable to create ORB]]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:828 PST][CORE5091: Error executing J2EE server ...

java.lang.RuntimeException: Unable to create ORB

at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:376)

at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)

at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:221)

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

Caused by: java.lang.RuntimeException: Unable to create ORB

at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:207)

... 9 more

]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:828 PST][CORE5092: J2EE server reported following error: [Unable to create ORB] ]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][CORE5093: Error executing J2EE server ]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][CORE5071: An error occured during initialization

com.sun.appserv.server.ServerLifecycleException: com.sun.appserv.server.ServerLifecycleException: Unable to create ORB

at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:223)

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

Caused by: com.sun.appserv.server.ServerLifecycleException: Unable to create ORB

at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:730)

at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:221)

... 7 more

Caused by: java.lang.RuntimeException: Unable to create ORB

at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:376)

at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)

... 8 more

Caused by: java.lang.RuntimeException: Unable to create ORB

at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:207)

... 9 more

]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][Server Startup failed. Exiting...]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][Server shutdown in progress...]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.container.web][28.October.2003 11:49:47:843 PST][WEB0303: Stopping Tomcat.]>

<[WARNING][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][CORE5061: Exception :

com.sun.appserv.server.ServerLifecycleException: WEB0106: An error occured while stopping the web container

at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:280)

at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:65)

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

Caused by: LifecycleException: WEB0103: This web container has not yet been started

at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:528)

at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:272)

... 9 more

]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][CORE5051: Shutting down all J2EE applications ...]>

<[WARNING][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][CORE5049: Unexpected error occurred while shutting down applications

java.lang.NullPointerException

at com.sun.enterprise.server.AbstractMonitor.stop(AbstractMonitor.java:65)

at com.sun.enterprise.server.AbstractManager.shutdown(AbstractManager.java:307)

at com.sun.enterprise.server.ApplicationLifecycle.onShutdown(ApplicationLifecycle.java:339)

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:47:843 PST][CORE5052: Application shutdown complete.]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:47:859 PST][ADM0103: Stopping the thread for tracking manual changes]>

<[WARNING][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:47:875 PST][core.tmp_folder_deletion_failed]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.system.tools.admin][28.October.2003 11:49:47:875 PST][ADM032:The System MBeanServer released]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.resource.jms][28.October.2003 11:49:47:875 PST][JMS5025: JMS service shutting down.]>

<[INFO][j2eesdk1.4_beta2][][][10][javax.enterprise.resource.jms][28.October.2003 11:49:48:000 PST][JMS5026: JMS service shutdown complete.]>

<[SEVERE][j2eesdk1.4_beta2][][][10][javax.enterprise.system.core][28.October.2003 11:49:48:000 PST][Server stopped due to Server startup failure.]>

[15049 byte] By [MyZZR600a] at [2007-9-29 15:00:33]
# 1

One of the ports assigned to secure IIOP listener seems to be in use - while installer will perform cursory check for ports in use before they get assigned, in some situations check will return false negative.

To fix this, take a look at <install_dir>\domains\domain1\server\config\domain.xml file and look for this section:

<iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="3700" security-enabled="false"/>

<iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="1060" security-enabled="true">

<ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>

</iiop-listener>

<iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="1061" security-enabled="true">

<ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>

</iiop-listener>

One of the ports mentioned here is in use - to figure out which one, you can run 'netstat -a' command from command prompt and compare list of network connections with the ports assigned in domain.xml.

Just change the value in domain.xml to the free port value and try starting the server again.

Hope this helps...

Snjezanaa at 2007-7-15 5:59:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Thank you! That is exactly what caused the problem.

Would you be so kind as to help with the next error received. I am attempting to deploy the sample Hello.war, using deploytool.

Thanks much.

-

distribute: E:\NODELETE\Sun\j2eesdk1.4_beta2\samples\quickstart\hello.war

Deploy action running...

com.sun.enterprise.admin.common.exception.AFException: Manual changes to [server] configuration detected. Please reconfigure (Keep or Discard manual changes)

at com.sun.enterprise.admin.servermodel.controllers.VirtualServerClassController.invoke(VirtualServerClassController.java:267)

at com.sun.enterprise.admin.servermodel.controllers.VirtualServerClassController.getVirtualServers(VirtualServerClassController.java:192)

at com.sun.enterprise.admin.servermodel.beans.VirtualServerClass.getVirtualServers(VirtualServerClass.java:82)

at com.sun.enterprise.deployapi.actions.DeployAction.getVirtualServers(DeployAction.java:218)

at com.sun.enterprise.deployapi.actions.DeployAction.run(DeployAction.java:108)

at java.lang.Thread.run(Thread.java:536)

!!! Operation Failed !!!

**********************************************************************

[Completed (time=1.6sec, status=13)]

**********************************************************************

MyZZR600a at 2007-7-15 5:59:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
I found discardmanualchanges/keepmanualchanges in asadmin. Thanks anyway.
MyZZR600a at 2007-7-15 5:59:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...