Hi Oscar, It looks like the app is waiting for some TCP connections. The second one below is what is preventing your app from starting. Something to do with ERChangeNotifications.
Chuck On 2014-03-21, 6:33 AM, "Oscar González" wrote: Hi Chuck, This is what sudo jstack shows. Attaching to process ID 1542, please wait... Debugger attached successfully. Server compiler detected. JVM version is 24.51-b03 Deadlock Detection: No deadlocks found. Thread 1609: (state = IN_NATIVE) - java.net.PlainSocketImpl.socketConnect(java.net.InetAddress, int, int) @bci=0 (Interpreted frame) - java.net.AbstractPlainSocketImpl.doConnect(java.net.InetAddress, int, int) @bci=64, line=339 (Interpreted frame) - java.net.AbstractPlainSocketImpl.connectToAddress(java.net.InetAddress, int, int) @bci=23, line=200 (Interpreted frame) - java.net.AbstractPlainSocketImpl.connect(java.net.SocketAddress, int) @bci=78, line=182 (Interpreted frame) - java.net.SocksSocketImpl.connect(java.net.SocketAddress, int) @bci=378, line=392 (Interpreted frame) - java.net.Socket.connect(java.net.SocketAddress, int) @bci=179, line=579 (Interpreted frame) - java.net.Socket.connect(java.net.SocketAddress) @bci=3, line=528 (Interpreted frame) - java.net.Socket.<init>(java.net.SocketAddress, java.net.SocketAddress, boolean) @bci=86, line=425 (Interpreted frame) - java.net.Socket.<init>(java.lang.String, int) @bci=34, line=208 (Interpreted frame) - sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(java.lang.String, int) @bci=6, line=40 (Interpreted frame) - sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(java.lang.String, int) @bci=65, line=147 (Interpreted frame) - sun.rmi.transport.tcp.TCPEndpoint.newSocket() @bci=62, line=613 (Interpreted frame) - sun.rmi.transport.tcp.TCPChannel.createConnection() @bci=22, line=216 (Interpreted frame) - sun.rmi.transport.tcp.TCPChannel.newConnection() @bci=101, line=202 (Interpreted frame) - sun.rmi.server.UnicastRef.newCall(java.rmi.server.RemoteObject, java.rmi.server.Operation[], int, long) @bci=18, line=341 (Interpreted frame) - sun.rmi.transport.DGCImpl_Stub.dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease) @bci=12 (Interpreted frame) - sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(java.util.Set, long) @bci=64, line=360 (Interpreted frame) - sun.rmi.transport.DGCClient$EndpointEntry.access$1600(sun.rmi.transport.DGCClient$EndpointEntry, java.util.Set, long) @bci=3, line=171 (Interpreted frame) - sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run() @bci=233, line=574 (Interpreted frame) - java.lang.Thread.run() @bci=11, line=744 (Interpreted frame) Thread 1578: (state = IN_NATIVE) - java.net.PlainSocketImpl.socketConnect(java.net.InetAddress, int, int) @bci=0 (Interpreted frame) - java.net.AbstractPlainSocketImpl.doConnect(java.net.InetAddress, int, int) @bci=64, line=339 (Interpreted frame) - java.net.AbstractPlainSocketImpl.connectToAddress(java.net.InetAddress, int, int) @bci=23, line=200 (Interpreted frame) - java.net.AbstractPlainSocketImpl.connect(java.net.SocketAddress, int) @bci=78, line=182 (Interpreted frame) - java.net.SocksSocketImpl.connect(java.net.SocketAddress, int) @bci=378, line=392 (Interpreted frame) - java.net.Socket.connect(java.net.SocketAddress, int) @bci=179, line=579 (Interpreted frame) - java.net.Socket.connect(java.net.SocketAddress) @bci=3, line=528 (Interpreted frame) - java.net.Socket.<init>(java.net.SocketAddress, java.net.SocketAddress, boolean) @bci=86, line=425 (Interpreted frame) - java.net.Socket.<init>(java.lang.String, int) @bci=34, line=208 (Interpreted frame) - sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(java.lang.String, int) @bci=6, line=40 (Interpreted frame) - sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(java.lang.String, int) @bci=65, line=147 (Interpreted frame) - sun.rmi.transport.tcp.TCPEndpoint.newSocket() @bci=62, line=613 (Interpreted frame) - sun.rmi.transport.tcp.TCPChannel.createConnection() @bci=22, line=216 (Interpreted frame) - sun.rmi.transport.tcp.TCPChannel.newConnection() @bci=101, line=202 (Interpreted frame) - sun.rmi.server.UnicastRef.invoke(java.rmi.Remote, java.lang.reflect.Method, java.lang.Object[], long) @bci=65, line=129 (Interpreted frame) - org.exolab.jms.net.rmi.RMIInvokerFactoryImpl_Stub.createInvoker(java.security.Principal, org.exolab.jms.net.rmi.RMIInvoker, java.lang.String) @bci=27 (Interpreted frame) - org.exolab.jms.net.rmi.RMIManagedConnection.<init>(java.security.Principal, org.exolab.jms.net.rmi.RMIRequestInfo) @bci=275, line=180 (Interpreted frame) - org.exolab.jms.net.rmi.RMIManagedConnectionFactory.createManagedConnection(java.security.Principal, org.exolab.jms.net.connector.ConnectionRequestInfo) @bci=66, line=99 (Interpreted frame) - org.exolab.jms.net.connector.DefaultConnectionPool.createManagedConnection(java.security.Principal, org.exolab.jms.net.connector.ConnectionRequestInfo) @bci=6, line=221 (Interpreted frame) - org.exolab.jms.net.connector.AbstractConnectionManager.allocateConnection(org.exolab.jms.net.connector.ManagedConnectionFactory, java.security.Principal, org.exolab.jms.net.connector.ConnectionRequestInfo) @bci=27, line=140 (Interpreted frame) - org.exolab.jms.net.connector.AbstractConnectionFactory.getConnection(java.security.Principal, org.exolab.jms.net.uri.URI, java.util.Map) @bci=28, line=167 (Interpreted frame) - org.exolab.jms.net.connector.AbstractConnectionManager.getConnection(java.security.Principal, org.exolab.jms.net.uri.URI, java.util.Map) @bci=44, line=208 (Interpreted frame) - org.exolab.jms.net.orb.Locator.getProxy(java.rmi.server.ObjID, java.security.Principal, java.lang.String, org.exolab.jms.net.connector.ConnectionFactory, java.lang.String, java.lang.ClassLoader, java.util.Map) @bci=8, line=131 (Interpreted frame) - org.exolab.jms.net.orb.Locator.getRegistry(java.security.Principal, java.lang.String, org.exolab.jms.net.connector.ConnectionFactory, java.lang.ClassLoader, java.util.Map) @bci=25, line=103 (Interpreted frame) - org.exolab.jms.net.orb.DefaultORB.getRegistry(java.util.Map) @bci=96, line=267 (Interpreted frame) - org.exolab.jms.client.net.SharedORB.getRegistry(java.util.Map) @bci=5, line=121 (Interpreted frame) - org.exolab.jms.jndi.InitialContextFactory.getInitialContext(java.util.Hashtable) @bci=94, line=144 (Interpreted frame) - javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable) @bci=114, line=684 (Interpreted frame) - javax.naming.InitialContext.getDefaultInitCtx() @bci=12, line=307 (Interpreted frame) - javax.naming.InitialContext.init(java.util.Hashtable) @bci=21, line=242 (Interpreted frame) - javax.naming.InitialContext.<init>(java.util.Hashtable) @bci=33, line=216 (Interpreted frame) - er.changenotification.ERCNConnectionKeeper.openConnection(boolean) @bci=40, line=48 (Interpreted frame) - er.changenotification.ERCNNotificationCoordinator.initialize(com.webobjects.foundation.NSNotification) @bci=106, line=136 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87, line=57 (Interpreted frame) - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=43 (Compiled frame) - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=57, line=606 (Compiled frame) - com.webobjects.foundation.NSSelector._safeInvokeMethod(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) @bci=3, line=120 (Interpreted frame) - com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(com.webobjects.foundation.NSNotification) @bci=22, line=601 (Interpreted frame) - com.webobjects.foundation.NSNotificationCenter.postNotification(com.webobjects.foundation.NSNotification) @bci=211, line=545 (Interpreted frame) - com.webobjects.foundation.NSNotificationCenter.postNotification(java.lang.String, java.lang.Object) @bci=11, line=559 (Interpreted frame) - com.webobjects.appserver.WOApplication.run() @bci=87, line=895 (Interpreted frame) - er.extensions.appserver.ERXApplication.run() @bci=294, line=1241 (Interpreted frame) - com.webobjects.appserver.WOApplication.main(java.lang.String[], java.lang.Class) @bci=24, line=324 (Interpreted frame) - er.extensions.appserver.ERXApplication.main(java.lang.String[], java.lang.Class) @bci=6, line=726 (Interpreted frame) - com.tec.util.base.TecApplication.main(java.lang.String[], java.lang.Class) @bci=2, line=25 (Interpreted frame) - com.tec.log.Application.main(java.lang.String[]) @bci=3, line=24 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame) - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87, line=57 (Interpreted frame) - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=43 (Interpreted frame) - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=57, line=606 (Interpreted frame) - com.webobjects._bootstrap.WOBootstrap.main(java.lang.String[]) @bci=118, line=87 (Interpreted frame) Thanks. Oscar Gonzalez Perez TECH n ________________________________ From: ch...@global-village.net<mailto:ch...@global-village.net> To: racso...@hotmail.com<mailto:racso...@hotmail.com>; webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com> Subject: Re: Application not start in womonitor Date: Fri, 21 Mar 2014 02:48:51 +0000 Hi Oscar, It sounds like your app is deadlocking hanging waiting for a timeout. This can make wotaskd think that it is dead. When this happens, try doing this sudo jstack –F <process id of application instance> And post the results to the list. Chuck On 2014-03-20, 4:58 PM, "Oscar González" wrote: Hi list, I have a problem staring my application from monitor it appear dead. The process is alive in the system I have to kill it to be able try again. I don't know what is this issue. webobjects 5.3.3 ubuntu linux 12.04 apache 2.2 java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) sudo lsof -P -i tcp:1085 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 1720 appserver 116u IPv4 42087 0t0 TCP *:1085 (LISTEN) The wotaskd log throw this. 2014-03-20 17:47:03,154 WARN 79.76 MB/72.24 MB [main] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) - Application 'logistica-1' on localhost:2002 stopped running at 2014-03-20 23:47:03 Etc/GMT. The app's current state was: STARTING. The app did not respond for 63521279103seconds which is greater than the allowed threshold of 120000 seconds (Lifebeat Interval * WOAssumeApplicationIsDeadMultiplier) so it is assumed to be dead. The last successful communication occurred at: 1-04-25 00:00:00 Etc/GMT. This may be the result of a crash or an intentional shutdown from outside of wotaskd Thanks in advance. Oscar Gonzalez Perez TECH in AGRO S.A
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com