Title: signature UBx
Hi

Here is the stack from the stuck instance:

Attaching to process ID 29814, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 20.14-b01
Deadlock Detection:

No deadlocks found.

Thread 29857: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
 - com.webobjects.appserver.WOApplication$_LifebeatThread.run() @bci=233, line=1233 (Interpreted frame)


Thread 29856: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
 - com.webobjects.appserver.WOSessionStore$_SessionTimeoutManager.run() @bci=16, line=110 (Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)


Thread 29852: (state = BLOCKED)


Thread 29851: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=118 (Interpreted frame)
 - java.lang.ref.ReferenceQueue.remove() @bci=2, line=134 (Interpreted frame)
 - java.lang.ref.Finalizer$FinalizerThread.run() @bci=3, line=159 (Interpreted frame)


Thread 29850: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.Object.wait() @bci=2, line=485 (Interpreted frame)
 - java.lang.ref.Reference$ReferenceHandler.run() @bci=46, line=116 (Interpreted frame)


Thread 29848: (state = IN_NATIVE)
 - java.io.FileInputStream.readBytes(byte[], int, int) @bci=0 (Compiled frame; information may be imprecise)
Error occurred during stack walking:
java.lang.NullPointerException
        at sun.jvm.hotspot.runtime.Frame.addressOfStackSlot(Frame.java:224)
        at sun.jvm.hotspot.runtime.x86.X86Frame.senderForCompiledFrame(X86Frame.java:342)
        at sun.jvm.hotspot.runtime.x86.X86Frame.sender(X86Frame.java:283)
        at sun.jvm.hotspot.runtime.Frame.sender(Frame.java:194)
        at sun.jvm.hotspot.runtime.Frame.realSender(Frame.java:199)
        at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:119)
        at sun.jvm.hotspot.runtime.CompiledVFrame.sender(CompiledVFrame.java:178)
        at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:146)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:76)
        at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
        at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
        at sun.jvm.hotspot.tools.JStack.main(JStack.java:86)
        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:597)
        at sun.tools.jstack.JStack.runJStackTool(JStack.java:118)
        at sun.tools.jstack.JStack.main(JStack.java:84)







And a stack from one that start correctly:

Attaching to process ID 14614, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 20.14-b01
Deadlock Detection:

No deadlocks found.

Thread 27762: (state = BLOCKED)
 - java.net.PlainSocketImpl.accept(java.net.SocketImpl) @bci=0, line=406 (Interpreted frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=462 (Interpreted frame)
 - java.net.ServerSocket.accept() @bci=48, line=430 (Interpreted frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=238 (Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)

... same threads..


Thread 27741: (state = BLOCKED)
 - java.net.PlainSocketImpl.accept(java.net.SocketImpl) @bci=0, line=406 (Interpreted frame)
 - java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=462 (Interpreted frame)
 - java.net.ServerSocket.accept() @bci=48, line=430 (Interpreted frame)
 - com.webobjects.appserver._private.WOWorkerThread.run() @bci=26, line=238 (Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)


Thread 21798: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
 - com.webobjects.appserver.WOApplication$_LifebeatThread.run() @bci=233, line=1233 (Interpreted frame)


Thread 20783: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
 - com.webobjects.appserver.WOSessionStore$_SessionTimeoutManager.run() @bci=16, line=110 (Interpreted frame)
 - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)


Thread 15402: (state = BLOCKED)


Thread 15279: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=118 (Interpreted frame)
 - java.lang.ref.ReferenceQueue.remove() @bci=2, line=134 (Interpreted frame)
 - java.lang.ref.Finalizer$FinalizerThread.run() @bci=3, line=159 (Interpreted frame)


Thread 15264: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - java.lang.Object.wait() @bci=2, line=485 (Interpreted frame)
 - java.lang.ref.Reference$ReferenceHandler.run() @bci=46, line=116 (Interpreted frame)


Thread 15117: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - com.webobjects.appserver._WORunLoop._acceptInputBeforeDate(com.webobjects.foundation.NSTimestamp) @bci=98, line=217 (Interpreted frame)
 - com.webobjects.appserver._WORunLoop.runBeforeDate(com.webobjects.foundation.NSTimestamp) @bci=39, line=71 (Interpreted frame)
 - com.webobjects.appserver.WOApplication._runOnce() @bci=17, line=775 (Interpreted frame)
 - com.webobjects.appserver.WOApplication.run() @bci=99, line=900 (Interpreted frame)
 - fr.univlr.cri.webapp.CRIWebApplication.run() @bci=5, line=354 (Interpreted frame)
 - com.webobjects.appserver.WOApplication.main(java.lang.String[], java.lang.Class) @bci=24, line=324 (Interpreted frame)
 - Application.main(java.lang.String[]) @bci=33, line=52 (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=39 (Interpreted frame)
 - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=25 (Interpreted frame)
 - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=161, line=597 (Interpreted frame)
 - com.webobjects._bootstrap.WOBootstrap.main(java.lang.String[]) @bci=136, line=71 (Interpreted frame)


Le 13/03/2013 19:03, Chuck Hill a écrit :
It sounds like it is stuck waiting for a timeout.  Can you start the app, wait for it to get stuck and then use

jstack -F <process ID>

to get a stack trace?  That may suggest what is wrong.

Chuck


On 2013-03-13, at 10:57 AM, TIC-Caristan-W wrote:

Hi Aaron

I said that some instance can't start but I misspoke. I should have said some isntance don't start "correctly", it starts and just stuck. The only difference when running from command line is  a few jars loading order

ojdbc14.jar working:
...
 /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/ojdbc14.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/antlr.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/jdt-compiler-3.1.1.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/commons-logging-1.0.4.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/log4j-1.2.4.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/jca_1.0.jar
...
Log:
[2013-03-12 11:55:11 CET] <main> Creating LifebeatThread now with: ServAutB2F 52200 servername/ip 1085 30000
[12/03/13 11:55:11] Demarrage du service d'authentification...
  Date de lancement : 12/03/13 11:55:11
  Version : 2.0.0
[12/03/13 10:56:04] Le service d'authentification demarre
[2013-03-12 11:56:05 CET] <main> The URL for webserver connect is:
http://cocktailbx2.univ-bordeaux.fr/cgi-bin/WebObjects/ServAutB2F.woa/-52200
[2013-03-12 11:56:05 CET] <main> null
[2013-03-12 11:56:05 CET] <main> Waiting for requests...


ojdbc5.jar:
...
/opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/antlr.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/jdt-compiler-3.1.1.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/commons-logging-1.0.4.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/log4j-1.2.4.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/jca_1.0.jar
  /opt/webobjects_5.3.3/Local/Library/WebObjects/Extensions/ojdbc5.jar
...

Log:
[2013-03-13 18:48:00 CET] <main> Creating LifebeatThread now with: ServAutB2F 52200  servername/ip 1085 30000
[13/03/13 18:48:00] Demarrage du service d'authentification...
  Date de lancement : 13/03/13 18:48:00
  Version : 2.0.0

<stuck here>



I even  tried to rename ojdbc5.jar ojdbc14.jar whenever the jar loading order may do something, but no chance.



Le 13/03/2013 14:35, Aaron Rosenzweig a écrit :
Hi Caristan,

I would open up a terminal and try to launch from the command line. Jump inside the ".woa" and run the executable. You'll see log messages in standard out. Depending on how far it got check the WO logging directory.

It's possible, depending on how it is installed, that the new drivers are in a new place that can't be found by WO or the permissions are messed up. 

Anyway, launching from terminal will give you more clues.
AARON ROSENZWEIG / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319                   
	
On Mar 13, 2013, at 5:27 AM, TIC-Caristan-W wrote:

Hi all
I'm running WebObjects instances that connect to Oracle 10g and 11g databases on linux with Java 1.5/ojdbc14.jar
All is working fine.

But when I try to ugrade the jdbc driver to ojdbc5.jar or to ojdbc6.jar+Java 1.6, most instaces can't start. Some can randomly start. When sniffing network, connection to database start, theer is a reply but it's quickly seems stuck compared to a working connection.
I can manage to get it work with jst a few instace but not when enabling all.
Database is in shared but I also tried in dedicated. I have check database session count, and anyway it's working with ojdbc14.jar so I thnik there is enough.
I also tried java i586 and x86_64.

Do you have some idea what I could check?

Thanks

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/aaron%40chatnbike.com

This email sent to aa...@chatnbike.com

        

-- 

Cordialement,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net

This email sent to ch...@global-village.net

    


--

Cordialement,
Université de Bordeaux
William CARISTAN
cellule bases de données & exploitation

département technologies de l’information et de la communication
Domaine du Haut-Carré - bât. C4 - 2ème étage
43 rue Pierre Noailles - 33400 TALENCE
T 33 (0)5 40 00 60 11 - F 33 (0)5 40 00 26 21
www.univ-bordeaux.fr/tic

www.univ-bordeaux.fr
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to