Thread hangs java.io.BufferedInputStream.read

hi,everybody
threads often hang in socket read
stack dump like this
Thread-178 "[STUCK] ExecuteThread: '101' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
    jrockit.net.SocketNativeIO.readBytesPinned(Unknown Source)
    jrockit.net.SocketNativeIO.socketRead(Unknown Source)
    java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
    java.net.SocketInputStream.read(SocketInputStream.java:107)
    java.io.BufferedInputStream.fill(BufferedInputStream.java:189)
    java.io.BufferedInputStream.read(BufferedInputStream.java:234)
    ^-- Holding lock: java.io.BufferedInputStream@974825a[thin lock]JRockit version information as follows
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
BEA JRockit(R) (build R27.2.0-131-78843-1.5.0_10-20070320-1507-linux-x86_64, compiled mode)
who can tell me what's reason for this?
thanks in advance
:-)

The thread is waiting for incoming I/O.
-- Henrik

Similar Messages

  • Full thread dump Java HotSpot(TM) Server VM (1.4.2_05-b04 mixed mode):

    Hi All,
    I am getting below error message when i am starting JBoss
    Anyone has any idea, why it is happening?
    Full thread dump Java HotSpot(TM) Server VM (1.4.2_05-b04 mixed mode):
    "RMI ConnectionExpiration-[127.0.0.1:33030]" daemon prio=1 tid=0x2a375e90 nid=0xcf9 waiting on condition [2820d000..2820d86c]
         at java.lang.Thread.sleep(Native Method)
         at sun.rmi.transport.tcp.TCPChannel$Reaper.run(TCPChannel.java:447)
         at java.lang.Thread.run(Thread.java:534)
    "RMI TCP Connection(1681)-127.0.0.1" daemon prio=1 tid=0x2cc3e008 nid=0xcf9 runnable [27b7b000..27b7b86c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         - locked <0x2ed63640> (a java.io.BufferedInputStream)
         at java.io.FilterInputStream.read(FilterInputStream.java:66)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:442)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
    "RMI RenewClean-[127.0.0.1:33030]" daemon prio=1 tid=0x2ca76ad0 nid=0xcf9 in Object.wait() [29dcd000..29dcd86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2ed61c50> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x2ed61c50> (a java.lang.ref.ReferenceQueue$Lock)
         at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:500)
         at java.lang.Thread.run(Thread.java:534)
    "JNP Server" prio=1 tid=0x082dd9c0 nid=0xcf9 runnable [27afa000..27afa86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d145770> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.jnp.server.Main.run(Main.java:257)
         at java.lang.Thread.run(Thread.java:534)
    "RMI TCP Connection(1680)-127.0.0.1" daemon prio=1 tid=0x2ca55d80 nid=0xcf9 runnable [27f88000..27f8886c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         - locked <0x2ecd1e40> (a java.io.BufferedInputStream)
         at java.io.FilterInputStream.read(FilterInputStream.java:66)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:442)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
    "RMI ConnectionExpiration-[127.0.0.1:33030]" daemon prio=1 tid=0x2df71458 nid=0xcf9 waiting on condition [29e4e000..29e4e86c]
         at java.lang.Thread.sleep(Native Method)
         at sun.rmi.transport.tcp.TCPChannel$Reaper.run(TCPChannel.java:447)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-36" daemon prio=1 tid=0x08541f10 nid=0xcf9 runnable [279f8000..279f886c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
         - locked <0x3d8dbc38> (a java.io.BufferedInputStream)
         at com.sun.jndi.ldap.Connection.run(Connection.java:780)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-35" daemon prio=1 tid=0x0811fd00 nid=0xcf9 runnable [27a79000..27a7986c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
         - locked <0x3d8d7d50> (a java.io.BufferedInputStream)
         at com.sun.jndi.ldap.Connection.run(Connection.java:780)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-34" daemon prio=1 tid=0x08bc3588 nid=0xcf9 in Object.wait() [27e86000..27e8686c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d8d6050> (a org.jboss.mx.util.ThreadPool$Worker)
         at java.lang.Object.wait(Object.java:429)
         at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:243)
         - locked <0x3d8d6050> (a org.jboss.mx.util.ThreadPool$Worker)
    "Thread-33" daemon prio=1 tid=0x08bc47b8 nid=0xcf9 in Object.wait() [27f07000..27f0786c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d8d4780> (a org.jboss.mx.util.ThreadPool$Worker)
         at java.lang.Object.wait(Object.java:429)
         at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:243)
         - locked <0x3d8d4780> (a org.jboss.mx.util.ThreadPool$Worker)
    "Thread-32" daemon prio=1 tid=0x08407010 nid=0xcf9 in Object.wait() [2d2af000..2d2af86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d895fa8> (a org.jboss.mx.util.ThreadPool$Worker)
         at java.lang.Object.wait(Object.java:429)
         at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:243)
         - locked <0x3d895fa8> (a org.jboss.mx.util.ThreadPool$Worker)
    "Thread-31" prio=1 tid=0x084065d0 nid=0xcf9 in Object.wait() [27bfc000..27bfc86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d895bd8> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:429)
         at org.jboss.system.server.ServerImpl$LifeThread.run(ServerImpl.java:731)
         - locked <0x3d895bd8> (a java.lang.Object)
    "Thread-30" prio=1 tid=0x082ef440 nid=0xcf9 in Object.wait() [27c7d000..27c7d86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d852290> (a org.jboss.mx.util.RunnableScheduler)
         at org.jboss.mx.util.RunnableScheduler.waitOutstanding(RunnableScheduler.java:188)
         - locked <0x3d852290> (a org.jboss.mx.util.RunnableScheduler)
         at org.jboss.mx.util.RunnableScheduler.run(RunnableScheduler.java:93)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-29" prio=1 tid=0x085357c0 nid=0xcf9 in Object.wait() [27cfe000..27cfe86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d8502e8> (a org.jboss.mx.util.RunnableScheduler)
         at org.jboss.mx.util.RunnableScheduler.waitOutstanding(RunnableScheduler.java:188)
         - locked <0x3d8502e8> (a org.jboss.mx.util.RunnableScheduler)
         at org.jboss.mx.util.RunnableScheduler.run(RunnableScheduler.java:93)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-28" prio=1 tid=0x08fc8d58 nid=0xcf9 in Object.wait() [27d7f000..27d7f86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d84d6b0> (a org.jboss.mx.util.RunnableScheduler)
         at org.jboss.mx.util.RunnableScheduler.waitOutstanding(RunnableScheduler.java:188)
         - locked <0x3d84d6b0> (a org.jboss.mx.util.RunnableScheduler)
         at org.jboss.mx.util.RunnableScheduler.run(RunnableScheduler.java:93)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-27" daemon prio=1 tid=0x08a3c5f0 nid=0xcf9 runnable [27e05000..27e0586c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
         - locked <0x3d8494b8> (a java.io.BufferedInputStream)
         at com.sun.jndi.ldap.Connection.run(Connection.java:780)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-26" daemon prio=1 tid=0x08829d80 nid=0xcf9 in Object.wait() [2bf3a000..2bf3a86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d83f190> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x3d83f190> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "RMI LeaseChecker" daemon prio=1 tid=0x08d475b0 nid=0xcf9 waiting on condition [29bff000..29bff86c]
         at java.lang.Thread.sleep(Native Method)
         at sun.rmi.transport.DGCImpl$LeaseChecker.run(DGCImpl.java:307)
         at java.lang.Thread.run(Thread.java:534)
    "SessionScavenger" daemon prio=1 tid=0x08b8c420 nid=0xcf9 waiting on condition [2a1ff000..2a1ff86c]
         at java.lang.Thread.sleep(Native Method)
         at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:428)
    "SessionScavenger" daemon prio=1 tid=0x082f2760 nid=0xcf9 waiting on condition [2ab72000..2ab7286c]
         at java.lang.Thread.sleep(Native Method)
         at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:428)
    "UILServerILService Accept Thread" prio=1 tid=0x2cc3e9c0 nid=0xcf9 runnable [2abfb000..2abfb86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d63d830> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:118)
         at java.lang.Thread.run(Thread.java:534)
    "OIL2 Worker Server" prio=1 tid=0x2dfe0df0 nid=0xcf9 runnable [2ac7c000..2ac7c86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d63d958> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.jboss.mq.il.oil2.OIL2ServerILService.run(OIL2ServerILService.java:366)
         at java.lang.Thread.run(Thread.java:534)
    "UIL Worker" prio=1 tid=0x2ccfca90 nid=0xcf9 runnable [2acfd000..2acfd86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d63da18> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:184)
         at java.lang.Thread.run(Thread.java:534)
    "OIL Worker Server" prio=1 tid=0x2bab0a70 nid=0xcf9 runnable [2ad7e000..2ad7e86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d63dad8> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:471)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-25" prio=1 tid=0x2cc9ef88 nid=0xcf9 in Object.wait() [2adff000..2adff86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d63db88> (a java.util.LinkedList)
         at java.lang.Object.wait(Object.java:429)
         at org.jboss.resource.connectionmanager.PoolFiller$1.run(PoolFiller.java:75)
         - locked <0x3d63db88> (a java.util.LinkedList)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-24" prio=1 tid=0x2dfe0268 nid=0xcf9 in Object.wait() [2afc4000..2afc486c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d52f320> (a java.util.ArrayList)
         at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:66)
         - locked <0x3d52f320> (a java.util.ArrayList)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-23" daemon prio=1 tid=0x2dfce680 nid=0xcf9 in Object.wait() [2b045000..2b04586c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d52f390> (a org.jboss.util.timeout.TimeoutFactory)
         at org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:503)
         - locked <0x3d52f390> (a org.jboss.util.timeout.TimeoutFactory)
         at org.jboss.util.timeout.TimeoutFactory.access$300(TimeoutFactory.java:27)
         at org.jboss.util.timeout.TimeoutFactory$1.run(TimeoutFactory.java:542)
    "Thread-22" prio=1 tid=0x2ccef150 nid=0xcf9 runnable [2b0c6000..2b0c686c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d52f400> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.java:216)
         at java.lang.Thread.run(Thread.java:534)
    "JBossMQ Cache Reference Softner" daemon prio=1 tid=0x2dfe1a28 nid=0xcf9 in Object.wait() [2b147000..2b14786c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d411a00> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x3d411a00> (a java.lang.ref.ReferenceQueue$Lock)
         at org.jboss.mq.server.MessageCache.run(MessageCache.java:233)
         at java.lang.Thread.run(Thread.java:534)
    "RMI TCP Accept-0" daemon prio=1 tid=0x2c388ff0 nid=0xcf9 runnable [2b1ef000..2b1ef86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d2c0f90> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
         at java.lang.Thread.run(Thread.java:534)
    "SessionScavenger" daemon prio=1 tid=0x2c3864e0 nid=0xcf9 waiting on condition [2b270000..2b27086c]
         at java.lang.Thread.sleep(Native Method)
         at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:428)
    "PoolThread-4" prio=1 tid=0x2c384e10 nid=0xcf9 in Object.wait() [2b2f1000..2b2f186c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c10c8> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c10c8> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-3" prio=1 tid=0x2ba1d4b0 nid=0xcf9 in Object.wait() [2b372000..2b37286c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1120> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1120> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-2" prio=1 tid=0x2ba1c960 nid=0xcf9 in Object.wait() [2b3f3000..2b3f386c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1178> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1178> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-1" prio=1 tid=0x2ba1be10 nid=0xcf9 in Object.wait() [2b474000..2b47486c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c11d0> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c11d0> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-0" prio=1 tid=0x2ba1b2c0 nid=0xcf9 in Object.wait() [2b4f5000..2b4f586c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1228> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1228> (a org.mortbay.util.ThreadPool$PoolThread)
    "Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8009]" prio=1 tid=0x2ba1af70 nid=0xcf9 runnable [2b576000..2b57686c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d2c12d8> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.mortbay.util.ThreadedServer.acceptSocket(ThreadedServer.java:346)
         at org.mortbay.util.ThreadedServer$Acceptor.run(ThreadedServer.java:507)
    "PoolThread-9" prio=1 tid=0x2ba1a420 nid=0xcf9 in Object.wait() [2b5f7000..2b5f786c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c13a8> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c13a8> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-8" prio=1 tid=0x2ba198d0 nid=0xcf9 in Object.wait() [2b678000..2b67886c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1400> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1400> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-7" prio=1 tid=0x2c3a4ad8 nid=0xcf9 in Object.wait() [2b6f9000..2b6f986c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1458> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1458> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-6" prio=1 tid=0x2c3a4788 nid=0xcf9 in Object.wait() [2b77a000..2b77a86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c14b0> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c14b0> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-5" prio=1 tid=0x2c3a3c58 nid=0xcf9 in Object.wait() [2b7fb000..2b7fb86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1508> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1508> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-4" prio=1 tid=0x2ba8bfe8 nid=0xcf9 in Object.wait() [2b87c000..2b87c86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1560> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1560> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-3" prio=1 tid=0x2ba78040 nid=0xcf9 in Object.wait() [2b8fd000..2b8fd86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c15b8> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c15b8> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-2" prio=1 tid=0x2ba69c18 nid=0xcf9 in Object.wait() [2b97e000..2b97e86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1610> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1610> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-1" prio=1 tid=0x2ba69a08 nid=0xcf9 in Object.wait() [2b9ff000..2b9ff86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c1668> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c1668> (a org.mortbay.util.ThreadPool$PoolThread)
    "PoolThread-0" prio=1 tid=0x2ba7ebc8 nid=0xcf9 in Object.wait() [2bb8e000..2bb8e86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d2c16c0> (a org.mortbay.util.ThreadPool$PoolThread)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:450)
         - locked <0x3d2c16c0> (a org.mortbay.util.ThreadPool$PoolThread)
    "Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8020]" prio=1 tid=0x2ba7ea18 nid=0xcf9 runnable [2bc0f000..2bc0f86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d2c1770> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.mortbay.util.ThreadedServer.acceptSocket(ThreadedServer.java:346)
         at org.mortbay.util.ThreadedServer$Acceptor.run(ThreadedServer.java:507)
    "SessionScavenger" daemon prio=1 tid=0x2ba8bb18 nid=0xcf9 waiting on condition [2bd90000..2bd9086c]
         at java.lang.Thread.sleep(Native Method)
         at org.mortbay.jetty.servlet.AbstractSessionManager$SessionScavenger.run(AbstractSessionManager.java:428)
    "Thread-4" daemon prio=1 tid=0x2ba8c6f0 nid=0xcf9 in Object.wait() [2beb9000..2beb986c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d23d438> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x3d23d438> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "GC Daemon" daemon prio=1 tid=0x2c32cd20 nid=0xcf9 in Object.wait() [2bfbb000..2bfbb86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d0b4b28> (a sun.misc.GC$LatencyLock)
         at sun.misc.GC$Daemon.run(GC.java:100)
         - locked <0x3d0b4b28> (a sun.misc.GC$LatencyLock)
    "RMI Reaper" prio=1 tid=0x2c325c88 nid=0xcf9 in Object.wait() [2c03c000..2c03c86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d0b4078> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x3d0b4078> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
         at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:330)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-3" daemon prio=1 tid=0x2c33be48 nid=0xcf9 in Object.wait() [2c0bd000..2c0bd86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d0b4378> (a java.util.TaskQueue)
         at java.lang.Object.wait(Object.java:429)
         at java.util.TimerThread.mainLoop(Timer.java:403)
         - locked <0x3d0b4378> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "RMI TCP Accept-0" daemon prio=1 tid=0x2c33b8e0 nid=0xcf9 runnable [2c13e000..2c13e86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d0b40d8> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-2" daemon prio=1 tid=0x2c340060 nid=0xcf9 runnable [2c1bf000..2c1bf86c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x3d0b1730> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at org.jboss.web.WebServer.run(WebServer.java:258)
         at org.jboss.web.ThreadPool$Worker.run(ThreadPool.java:163)
    "ScannerThread" daemon prio=1 tid=0x2c3403d8 nid=0xcf9 waiting on condition [2cdc7000..2cdc786c]
         at java.lang.Thread.sleep(Native Method)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:217)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
    "Thread-0" daemon prio=1 tid=0x2c327b00 nid=0xcf9 in Object.wait() [2c240000..2c24086c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d05d2d0> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x3d05d2d0> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "DestroyJavaVM" prio=1 tid=0x2df28218 nid=0xcf9 waiting on condition [0..bfffccc4]
    "Signal Dispatcher" daemon prio=1 tid=0x080c33f8 nid=0xcf9 waiting on condition [0..0]
    "Finalizer" daemon prio=1 tid=0x080bed60 nid=0xcf9 in Object.wait() [2e3fc000..2e3fc86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d0b5930> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x3d0b5930> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=1 tid=0x080be9d0 nid=0xcf9 in Object.wait() [2e47d000..2e47d86c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x3d0b52f8> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Object.java:429)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
         - locked <0x3d0b52f8> (a java.lang.ref.Reference$Lock)

    have you checked bugs.sun.com to see if this has been reported?
    And if not, file one and attach your dump for them to look into it.

  • Event Dispatch Thread Hangs, what is wrong?

    The Event Dispatch Thread Hangs when showing a modal dialog while running a
    SwingWorker Thread.
    I have included my code at the bottom of the page. There are three classes. I have posted a bug report to red hat. But I want to make sure my code is correct.
    My test case just puts the SwingWorker to sleep
    but the problem occurs if I do something real, like connect to a database, etc.
    Also I have tried little different variations of the logic calling
    setVisible(true)/(false) in different places and the same problem occurs.
    It seems to work with Sun JDK, note I am using IcedTea with Fedora Core 8.
    Version-Release number of selected component (if applicable):
    [szakrews@tuxtel ~]$ java -version
    java version "1.7.0"
    IcedTea Runtime Environment (build 1.7.0-b21)
    IcedTea Client VM (build 1.7.0-b21, mixed mode)How reproducible:
    Every couple times.
    javac TestClass2
    java TestClass2eventually it will hang. If it doesn't try again.
    You don't have to wait for the program to finish either.
    The program runs the Dialog 10 times but it never works or fails in the middle, it will either work or fail from the first dialog displayed.
    I have included a thread dump. That is about the most informative information I can get. Neither tracing nor writing a custom ThreadQueue or Drawing Manager to trace events produces any helpful information.
    Actual results:
    The JProccessBar won't move, and the SwingWorker finishes but the done() method is never run. The PROGRAM is not hung however because if I close the dialog then it will continue.
    Expected results:
    The JProccessBar should always move and the SwingWorker should always run the done() method.
    Additional info:
    java thread dump after freeze, taken with kill -s SIGQUIT <pid>
    2008-06-25 12:25:50
    Full thread dump IcedTea Client VM (1.7.0-b21 mixed mode):
    "DestroyJavaVM" prio=10 tid=0x938afc00 nid=0x1419 waiting on condition
    [0x00000000..0x0018a074]
       java.lang.Thread.State: RUNNABLE
    "AWT-EventQueue-0" prio=10 tid=0x938ae400 nid=0x1429 in Object.wait()
    [0x07f96000..0x07f96f04]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x96748f80> (a java.awt.EventQueue)
            at java.lang.Object.wait(Object.java:503)
            at java.awt.EventQueue.getNextEvent(EventQueue.java:485)
            - locked <0x96748f80> (a java.awt.EventQueue)
            at
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:248)
            at
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
            at
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
            at java.awt.Dialog$1.run(Dialog.java:1073)
            at java.awt.Dialog$3.run(Dialog.java:1127)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Dialog.java:1125)
            at java.awt.Component.show(Component.java:1456)
            at java.awt.Component.setVisible(Component.java:1408)
            at java.awt.Window.setVisible(Window.java:871)
            at java.awt.Dialog.setVisible(Dialog.java:1012)
            at net.xtel.production.WaitDialog.showWaitDialog(WaitDialog.java:72)
            at net.xtel.production.WaitDialog.showWaitDialog(WaitDialog.java:102)
            at TestClass2.showWait(TestClass2.java:79)
            at TestClass2.createAndShowGUI(TestClass2.java:126)
            at TestClass2.access$0(TestClass2.java:114)
            at TestClass2$3.run(TestClass2.java:138)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:227)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:603)
            at
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:276)
            at
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
            at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:139)
    "AWT-Shutdown" prio=10 tid=0x938ad000 nid=0x1428 in Object.wait()
    [0x03ea7000..0x03ea7f84]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x96749268> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:503)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:281)
            - locked <0x96749268> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:675)
    "AWT-XAWT" daemon prio=10 tid=0x938a8400 nid=0x1423 runnable
    [0x02ccc000..0x02ccd104]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.X11.XToolkit.waitForEvents(Native Method)
            at sun.awt.X11.XToolkit.run(XToolkit.java:550)
            at sun.awt.X11.XToolkit.run(XToolkit.java:525)
            at java.lang.Thread.run(Thread.java:675)
    "Java2D Disposer" daemon prio=10 tid=0x93854000 nid=0x1421 in Object.wait()
    [0x07aea000..0x07aead84]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x966e7010> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
            - locked <0x966e7010> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150)
            at sun.java2d.Disposer.run(Disposer.java:143)
            at java.lang.Thread.run(Thread.java:675)
    "Low Memory Detector" daemon prio=10 tid=0x93c15000 nid=0x141f runnable
    [0x00000000..0x00000000]
       java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x93c13400 nid=0x141e waiting on condition
    [0x00000000..0x03a8a954]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x93c11c00 nid=0x141d waiting on
    condition [0x00000000..0x00000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=10 tid=0x095e7000 nid=0x141c in Object.wait()
    [0x005d2000..0x005d3004]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x966e71d8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
            - locked <0x966e71d8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
    "Reference Handler" daemon prio=10 tid=0x095e2400 nid=0x141b in Object.wait()
    [0x00581000..0x00582084]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x966e7260> (a java.lang.ref.Reference$Lock)
            at java.lang.Object.wait(Object.java:503)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:134)
            - locked <0x966e7260> (a java.lang.ref.Reference$Lock)
    "VM Thread" prio=10 tid=0x095dec00 nid=0x141a runnable
    "VM Periodic Task Thread" prio=10 tid=0x93c17400 nid=0x1420 waiting on condition
    JNI global references: 836
    Heap
    def new generation   total 960K, used 152K [0x93f40000, 0x94040000, 0x966a0000)
      eden space 896K,   9% used [0x93f40000, 0x93f56148, 0x94020000)
      from space 64K, 100% used [0x94020000, 0x94030000, 0x94030000)
      to   space 64K,   0% used [0x94030000, 0x94030000, 0x94040000)
    tenured generation   total 4096K, used 1088K [0x966a0000, 0x96aa0000, 0xb3f40000)
       the space 4096K,  26% used [0x966a0000, 0x967b01b0, 0x967b0200, 0x96aa0000)
    compacting perm gen  total 12288K, used 9169K [0xb3f40000, 0xb4b40000, 0xb7f40000)
       the space 12288K,  74% used [0xb3f40000, 0xb4834740, 0xb4834800, 0xb4b40000)
    No shared spaces configured.CLASS1:
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.sql.SQLException;
    import java.util.concurrent.ExecutionException;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.RepaintManager;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    public class TestClass2 extends JFrame implements ActionListener {
            /** Action Command for <code>searchbtn</code> */
            public static final String SEARCH_BTN_ACTION = "search_btn_action";
             * Constructor.
            public TestClass2() {
                    setSize(650, 350);
                    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
                    setLocation(screenSize.width / 2 - getSize().width / 2,
                                    screenSize.height / 2 - getSize().height / 2);
                    setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                    addWindowListener(new WindowAdapter() {
                            @Override
                            public void windowClosing(WindowEvent e) {
                                    exit();
                    JPanel panel = new JPanel();
                    add(panel);
                    setVisible(true);
            @Override
            public void actionPerformed(ActionEvent e) {
                    if (e.getActionCommand().equals(SEARCH_BTN_ACTION)) {
                            JOptionPane.showMessageDialog(this, "Button Pressed");
            public void showWait() {
                    try {
                            WaitDialog.showWaitDialog(this, "Testing...", new SwingWorkerInterface(){
                                    @Override
                                    public Object workToDo() throws Throwable {
                                            Thread.currentThread().sleep(3000);
                                            return null;
                    } catch (InterruptedException e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
                    } catch (ExecutionException e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
             * Exits the program.
            public void exit(){
                    System.exit(0);
             * Create the GUI and show it. For thread safety, this method should be
             * invoked from the event-dispatching thread.
             * @throws UnsupportedLookAndFeelException
             * @throws IllegalAccessException
             * @throws InstantiationException
             * @throws ClassNotFoundException
             * @throws NullInstanceVariableException
             * @throws SQLException
            private static void createAndShowGUI() {
                    // set look and feel
                    try{
                            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                            // Create instance of the ProductCatalog
                            TestClass2 root = new TestClass2();
                            for(int i = 0; i < 10; i++){
                                    root.showWait();
                    }catch(Exception e){
                            e.printStackTrace();
             * @param args
             *            this program does not use arguments
            public static void main(String[] args) {
                    SwingUtilities.invokeLater(new Runnable() {
                            public void run() {
                                    createAndShowGUI();
    }CLASS 2:
    import java.awt.Component;
    import java.awt.Frame;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.util.concurrent.ExecutionException;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JProgressBar;
    import javax.swing.SwingWorker;
    public class WaitDialog extends JDialog {
            private boolean disposed = false;
            private boolean displayed = false;
            private WorkerThread worker = null;
            WaitDialog(Frame parent, String text, SwingWorkerInterface in){
                    super(parent, true);
                    worker = new WorkerThread(in);
                    setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                    addWindowListener(new WindowAdapter() {
                            @Override
                            public void windowOpened(WindowEvent e) {
                                    worker.execute();
                            @Override
                            public void windowClosing(WindowEvent e) {
                                    disposeWaitDialog();
                    this.setResizable(false);
                    JLabel message = new JLabel();
                    message.setText(text);
                    JProgressBar pb = new JProgressBar();
                    pb.setIndeterminate(true);
                    // set size and location
                    setSize(200, 100);
                    setLocationRelativeTo(parent);
                    JPanel panel = new JPanel();
                    panel.add(message);
                    panel.add(pb);
                    add(panel);
            public void showWaitDialog(){
                    if(displayed == true){
                            return;
                    if(disposed == true){
                            disposed = false;
                            return;
                    disposed = false;
                    displayed = true;
                    setVisible(true);
            public void disposeWaitDialog(){
                    if(disposed == true){
                            return;
                    if(displayed == true){
                            displayed = false;
                            setVisible(false);
                            return;
                    disposed = true;
                    displayed = false;
            public static Object showWaitDialog(Component parent, String text, SwingWorkerInterface in) throws InterruptedException, ExecutionException {
                    WaitDialog waitDialog = null;
                    if (parent == null) {
                            waitDialog = new WaitDialog(JOptionPane.getRootFrame(), text, in);
                    } else {
                            waitDialog = new WaitDialog(JOptionPane.getFrameForComponent(parent), text, in);
                    while(!waitDialog.worker.isDone()){
                            System.out.println("about to show");
                            waitDialog.showWaitDialog();
                            System.out.println("done showing");
                    waitDialog.dispose();
                    return waitDialog.worker.get();
            class WorkerThread extends SwingWorker<Throwable, Void> {
                    private SwingWorkerInterface in = null;
                    WorkerThread(SwingWorkerInterface in){
                            this.in = in;
                    public Throwable doInBackground(){
                                    try {
                                            System.out.println("about to do work");
                                            in.workToDo();
                                            System.out.println("done work no exception");
                                    } catch (Throwable e) {
                                            System.out.println("done work with exception");
                                            return e;
                                    return null;
                    public void done(){
                                    System.out.println("about to dispose");
                                    disposeWaitDialog();
                                    System.out.println("disposed");
    }CLASS 3:
    public interface SwingWorkerInterface {
            public Object workToDo() throws Throwable;
    }

    There's nothing directly wrong with it, but it will
    prevent other threads acquiring the class lock - but
    that may be what you want.True. Although the typical case for code that looks like this would be to use wait--usually the various threads in question require the same lock, so you have to use wait in order for the waiting thread to give it up and allow the other thread to do its work. Hard to say for sure though what he's doing.
    Also, if loading is all that the other thread does, and you're waiting for that thread to die, use join. But then, if that's the case, and you're only waiting for a single other thread, then you might as well just put it all in one thread, as already indicated.

  • Thread hang during call EJB 3.0 with Weblogic 10.3 (Urgent)

    Hello,
    We have a java client application call Weblogic Appserver 10.3, EJB 3.0 Service. Occasionally, client application, some step will get hang when try to invoking EJB. When we restart the application server and re-run the client application, it may work or hang on any other step. (Totally, we have around 40 steps to invoking EJB service)
    We did check Google and find similar issue happen on the IBM Websphere appserver. They post a patch to fix this issue (http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg1PK74719), but not Weblogic.
    Is there any Weblogic expert who can help me to solve this issue?
    I have attached two thread dumps (different steps) when they got hang.
    Appreciate your quick help.
    Best wishes,
    Feelyn
    ==========================================================================================================================================
    Thread Dump files.
    NULL ------------------------------------------------------------------------
    0SECTION THREADS subcomponent dump routine
    NULL =================================
    NULL
    1XMCURTHDINFO Current Thread Details
    NULL ----------------------
    NULL
    1XMTHDINFO All Thread Details
    NULL ------------------
    NULL
    2XMFULLTHDDUMP Full thread dump J9 VM (J2RE 6.0 IBM J9 2.4 AIX ppc64-64 build jvmap6460-20090215_2988320090215_029883_BHdSMr, native threads):
    3XMTHREADINFO "main" TID:0x0000000110A64600, j9thread_t:0x000000011011F420, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x125009, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/util/HashMap.findNonNullKeyEntry(HashMap.java:526(Compiled Code))
    4XESTACKTRACE at java/util/HashMap.getEntry(HashMap.java:511(Compiled Code))
    4XESTACKTRACE at java/util/HashMap.get(HashMap.java:497(Compiled Code))
    4XESTACKTRACE at weblogic/utils/collections/SoftHashMap.get(SoftHashMap.java:194(Compiled Code))
    4XESTACKTRACE at weblogic/ejb/container/internal/RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:125(Compiled Code))
    4XESTACKTRACE at weblogic/ejb/container/internal/RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53(Compiled Code))
    4XESTACKTRACE at $Proxy0.cleanBx001(Bytecode PC:18)
    4XESTACKTRACE at com/tesco/eod/exec/thred/CleanZBx001Thead.cleanBx001(CleanZBx001Thead.java:38)
    4XESTACKTRACE at com/tesco/eod/exec/MainClass.cleanBx001(MainClass.java:1033)
    4XESTACKTRACE at com/tesco/eod/exec/MainClass.main(MainClass.java:1239)
    3XMTHREADINFO "JIT Compilation Thread" TID:0x0000000111CBE200, j9thread_t:0x000000011011FE20, state:CW, prio=10
    3XMTHREADINFO1 (native thread ID:0x127073, native priority:0xB, native policy:UNKNOWN)
    3XMTHREADINFO "Signal Dispatcher" TID:0x0000000111EBEB00, j9thread_t:0x0000000111D5B940, state:R, prio=5
    3XMTHREADINFO1 (native thread ID:0xA4165, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at com/ibm/misc/SignalDispatcher.waitForSignal(Native Method)
    4XESTACKTRACE at com/ibm/misc/SignalDispatcher.run(SignalDispatcher.java:54)
    3XMTHREADINFO "Gc Slave Thread" TID:0x0000000111EFED00, j9thread_t:0x0000000111EC8340, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0xDC0CD, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "Gc Slave Thread" TID:0x0000000111FBBA00, j9thread_t:0x0000000111EC8840, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x27C1D9, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "Gc Slave Thread" TID:0x000000011209AB00, j9thread_t:0x0000000112055AE0, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x1EA0D5, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "Gc Slave Thread" TID:0x000000011209FD00, j9thread_t:0x0000000112055FE0, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x282155, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "Gc Slave Thread" TID:0x0000000112107E00, j9thread_t:0x00000001120564E0, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0xFF037, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "Gc Slave Thread" TID:0x0000000112122700, j9thread_t:0x000000011211DD80, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x10B1BF, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "Gc Slave Thread" TID:0x00000001123E4200, j9thread_t:0x000000011211E280, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x119025, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "Finalizer thread" TID:0x0000000112D5A000, j9thread_t:0x000000011211E780, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0xDE109, native priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO "ExecuteThread: '0' for queue: 'default'" TID:0x0000000112DEE600, j9thread_t:0x0000000112DD8B80, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x25412D, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/lang/Object.wait(Native Method)
    4XESTACKTRACE at java/lang/Object.wait(Object.java:167)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.waitForRequest(ExecuteThread.java:91)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:115)
    3XMTHREADINFO "ExecuteThread: '1' for queue: 'default'" TID:0x0000000112E23F00, j9thread_t:0x0000000112DD9080, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x2DC15F, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/lang/Object.wait(Native Method)
    4XESTACKTRACE at java/lang/Object.wait(Object.java:167)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.waitForRequest(ExecuteThread.java:91)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:115)
    3XMTHREADINFO "ExecuteThread: '2' for queue: 'default'" TID:0x0000000112F65E00, j9thread_t:0x0000000112DD9580, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x275171, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/lang/Object.wait(Native Method)
    4XESTACKTRACE at java/lang/Object.wait(Object.java:167)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.waitForRequest(ExecuteThread.java:91)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:115)
    3XMTHREADINFO "ExecuteThread: '3' for queue: 'default'" TID:0x0000000112FF2D00, j9thread_t:0x0000000112FBAF80, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x1B4199, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/lang/Object.wait(Native Method)
    4XESTACKTRACE at java/lang/Object.wait(Object.java:167(Compiled Code))
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.waitForRequest(ExecuteThread.java:89(Compiled Code))
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:115)
    3XMTHREADINFO "ExecuteThread: '4' for queue: 'default'" TID:0x00000001130DD800, j9thread_t:0x0000000112FBB480, state:R, prio=5
    3XMTHREADINFO1 (native thread ID:0x245133, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/net/SocketInputStream.socketRead0(Native Method)
    4XESTACKTRACE at java/net/SocketInputStream.read(SocketInputStream.java:140(Compiled Code))
    4XESTACKTRACE at weblogic/socket/SocketMuxer.readReadySocketOnce(SocketMuxer.java:887(Compiled Code))
    4XESTACKTRACE at weblogic/socket/SocketMuxer.readReadySocket(SocketMuxer.java:849(Compiled Code))
    4XESTACKTRACE at weblogic/socket/JavaSocketMuxer.processSockets(JavaSocketMuxer.java:283)
    4XESTACKTRACE at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
    4XESTACKTRACE at weblogic/work/ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
    4XESTACKTRACE at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
    3XMTHREADINFO "weblogic.timers.TimerThread" TID:0x0000000111DACF00, j9thread_t:0x0000000112FBB980, state:CW, prio=9
    3XMTHREADINFO1 (native thread ID:0xFE11F, native priority:0x9, native policy:UNKNOWN)
    4XESTACKTRACE at java/lang/Object.wait(Native Method)
    4XESTACKTRACE at java/lang/Object.wait(Object.java:196(Compiled Code))
    4XESTACKTRACE at weblogic/timers/internal/TimerThread$Thread.run(TimerThread.java:267)
    3XMTHREADINFO "Thread-5" TID:0x00000001130E2900, j9thread_t:0x00000001130DC700, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x1E61A9, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/lang/Object.wait(Native Method)
    4XESTACKTRACE at java/lang/Object.wait(Object.java:167)
    4XESTACKTRACE at java/util/Timer$TimerImpl.run(Timer.java:210)
    3XMTHREADINFO "weblogic.transaction.TxTimer: '1'" TID:0x00000001132FA300, j9thread_t:0x00000001130DCC00, state:CW, prio=5
    3XMTHREADINFO1 (native thread ID:0x20E10F, native priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE at java/lang/Object.wait(Native Method)
    4XESTACKTRACE at java/lang/Object.wait(Object.java:196(Compiled Code))
    4XESTACKTRACE at weblogic/transaction/internal/GenericTimer.run(GenericTimer.java:15)
    4XESTACKTRACE at java/lang/Thread.run(Thread.java:735)
    NULL ------------------------------------------------------------------------

    Here has more details:
    java weblogic.version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
    SERVICE NAME VERSION INFORMATION
    ============ ===================
    Kernel Commonj WorkManager v1.1
    TimerService Commonj TimerManager v1.1
    CorbaService CORBA 2.3, IIOP 1.2, RMI-IIOP SFV2, OTS 1.2, CSIv2 Level 0 + Stateful
    XMLService XML 1.1
    Transaction Service JTA 1.0.1B
    JDBCService JSR-114, JDBC 3.0
    CustomResourceServerService 1.0.0.0
    Servlet Container Servlet 2.5, JSP 2.1
    WebServices JSR-173, JAX-RPC, JSR-109, WSDL, WS-Addressing, WS-Policy, JAX-B, JAX-R, UDDI, WS-Management(HP), JAXP-1.3, WS-Security
    Pre Admin Singleton Services S 1.0
    Singleton Services Batch Manag 1.0
    EJB Container EJB 3.0
    MDBService EJB 3.0
    EJBTimerService EJB 3.0
    J2EE Connector 1.5
    JMS Service JMS 1.1

  • JDBC Thread Hangs

    Why would this thread hang? (it was in two consecutive dumps several minutes
    apart).
    "ExecuteThread-61" daemon prio=5 tid=0x7b8450 nid=0x21f waiting for monitor
    entry [0x1e04f000..0x1e04fdc0]
    at
    COM.rsa.jsafe.JA_ParseTransformation.getClassList(JA_ParseTransformation.jav
    a)
    at COM.rsa.jsafe.JSAFE_MessageDigest.getInstance(JSAFE_MessageDigest.java)
    at COM.rsa.jsafe.JSAFE_MessageDigest.getInstance(JSAFE_MessageDigest.java)
    at weblogic.security.provider.MD5.<init>(MD5.java:15)
    at weblogic.security.WLMessageDigest.getInstance(WLMessageDigest.java:60)
    at
    weblogic.security.acl.internal.AuthenticatedUser.digest(AuthenticatedUser.ja
    va:77)
    at
    weblogic.security.acl.internal.AuthenticatedUser.verify(AuthenticatedUser.ja
    va:70)
    at weblogic.security.acl.internal.ClusterRealm.getUser(ClusterRealm.java:76)
    at weblogic.jdbcbase.pool.Driver.connect(Driver.java:143)
    at weblogic.jms.server.JDBCStore.getConnectionNoTx(JDBCStore.java:878)
    at weblogic.jms.server.JDBCStore.purgeMessages(JDBCStore.java:822)
    at weblogic.jms.server.JDBCStore.trigger(JDBCStore.java:625)
    at
    weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigg
    er.java:205)
    at
    weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java
    :199)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:60)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    Thanks,
    Mica Cooper

    Hi. Please post this to the security newsgroup and also email it to
    [email protected] Although triggered by JDBC it's waiting
    for jsafe stuff to return...
    Joe
    Mica Cooper wrote:
    >
    Why would this thread hang? (it was in two consecutive dumps several minutes
    apart).
    "ExecuteThread-61" daemon prio=5 tid=0x7b8450 nid=0x21f waiting for monitor
    entry [0x1e04f000..0x1e04fdc0]
    at
    COM.rsa.jsafe.JA_ParseTransformation.getClassList(JA_ParseTransformation.jav
    a)
    at COM.rsa.jsafe.JSAFE_MessageDigest.getInstance(JSAFE_MessageDigest.java)
    at COM.rsa.jsafe.JSAFE_MessageDigest.getInstance(JSAFE_MessageDigest.java)
    at weblogic.security.provider.MD5.<init>(MD5.java:15)
    at weblogic.security.WLMessageDigest.getInstance(WLMessageDigest.java:60)
    at
    weblogic.security.acl.internal.AuthenticatedUser.digest(AuthenticatedUser.ja
    va:77)
    at
    weblogic.security.acl.internal.AuthenticatedUser.verify(AuthenticatedUser.ja
    va:70)
    at weblogic.security.acl.internal.ClusterRealm.getUser(ClusterRealm.java:76)
    at weblogic.jdbcbase.pool.Driver.connect(Driver.java:143)
    at weblogic.jms.server.JDBCStore.getConnectionNoTx(JDBCStore.java:878)
    at weblogic.jms.server.JDBCStore.purgeMessages(JDBCStore.java:822)
    at weblogic.jms.server.JDBCStore.trigger(JDBCStore.java:625)
    at
    weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigg
    er.java:205)
    at
    weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java
    :199)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:60)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    Thanks,
    Mica Cooper--
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced positions
    for people who want to work with Java, XML, SOAP and E-Commerce infrastructure products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose CA.
    Send resumes to [email protected]

  • Thread hangs in windows XP with JRE 1.5

    My java application hangs in a windows xp machine with jre 1.5. But it works fine in windows 2000 and in some other windows xp machine.
    I am doing UI updates(like custom listmodels) inside the user spawn thread. I read from forums that we need to use SwingUtilities.invokeLater() in such cases. But how it then works in some windows xp machines and windows 2000 ? Am I missing anything.
    Here is the thread dump :
    Full thread dump Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing):
    "Image Animator 3" daemon prio=4 tid=0x038bab90 nid=0x9cc waiting on condition [
    0x0378f000..0x0378fbe8]
    at java.lang.Thread.sleep(Native Method)
    at sun.awt.image.GifFrame.dispose(Unknown Source)
    at sun.awt.image.GifImageDecoder.readImage(Unknown Source)
    at sun.awt.image.GifImageDecoder.produceImage(Unknown Source)
    at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
    at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
    at sun.awt.image.ImageFetcher.run(Unknown Source)
    "Thread-17" prio=7 tid=0x038baa10 nid=0x9a4 waiting for monitor entry [0x0311f00
    0..0x0311fc68]
    at java.awt.Component.setFont(Unknown Source)
    - waiting to lock <0x17e98810> (a java.awt.Component$AWTTreeLock)
    at java.awt.Container.setFont(Unknown Source)
    at javax.swing.JComponent.setFont(Unknown Source)
    at javax.swing.plaf.basic.BasicComboBoxRenderer.getListCellRendererCompo
    nent(Unknown Source)
    at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
    at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Sou
    rce)

    Crosspost:
    http://forum.java.sun.com/thread.jspa?threadID=761152&messageID=4345269#4345269

  • Exception in thread "main" java.lang.NoClassDefFoundError

    Am using java 1.3.1 on Red Hat Linux 7.1
    i get this error
    Exception in thread "main" java.lang.NoClassDefFoundError
    while running a simple program HelloWorld.java
    help

    When you use the "java" command, the only required argument is the name of the class that you want to execute. This argument must be a class name, not a file name, and class names are case sensitive. For example, "java HelloWorld.java" won't work because the class name isn't HelloWorld.java, it's HelloWorld. Similarly, "java helloworld" won't work because a class defined as "public class HelloWorld {" is not named helloworld due to case sensitivity. Finally, the .class file must be in a directory that is in the Classpath - that's where java.exe searches to find the file that contains the class.

  • Help with "Exception in thread "Thread-4" java.lang.NullPointerException"

    I am new to Java and I am trying a simple bouncing ball example from Stanford. Here is their simple example that works.
    import acm.program.*;
    import acm.graphics.*;
    import java.awt.*;
    public class BouncingBallWorking extends GraphicsProgram {
    /** sets diameter */
    private static final int DIAM_BALL = 30;
    /** amount y velocity is increased each cycle */
    private static final double GRAVITY = 3;
    /** Animation delay or pause time between ball moves */
    private static final int DELAY = 50;
    /** Initial X and Y location ball*/
    private static final double X_START = DIAM_BALL / 2;
    private static final double Y_START = 100;
    private static final double X_VEL = 3;
    private static final double BOUNCE_REDUCE = 0.9;
    private double xVel = X_VEL;
    private double yVel = 0.0;
    private GOval BallA;
    public void run() {
    setup(X_START,Y_START);
    //         Simulation ends when ball goes off right hand
    //         end of screen
    while (BallA.getX() < getWidth()) {
    moveBall(BallA);
    checkForCollision(BallA);
    pause(DELAY);
    private void setup(double X_coor, double Y_coor) {
    BallA = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
    add(BallA);
    private void moveBall(GOval BallObject) {
    yVel += GRAVITY;
    BallObject.move(xVel,yVel);
    private void checkForCollision(GOval BallObject) {
    if(BallObject.getY() > getHeight() - DIAM_BALL){
    yVel = - yVel * BOUNCE_REDUCE;
    double diff = BallObject.getY() - (getHeight() - DIAM_BALL);
    BallObject.move(0, -2 * diff);
    } Now I am trying to modify "setup" so it I can create several balls. I made a simple modification to "setup" and now I am getting an error.
    "Exception in thread "Thread-4" java.lang.NullPointerException
    at BouncingBallNotWorking.run(BouncingBallNotWorking.java:36)
    at acm.program.Program.runHook(Program.java:1592)
    at acm.program.Program.startRun(Program.java:1581)
    at acm.program.AppletStarter.run(Program.java:1939)
    at java.lang.Thread.run(Unknown Source)"
    Can you describe why I am getting an error? Thanks.
    Here is what I changed.
    Before:
         private void setup(double X_coor, double Y_coor) {
              BallA = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
              add(BallA);
         }After:
         private void setup(double X_coor, double Y_coor, GOval BallObject) {
              BallObject = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
              add(BallObject);
         }Here is the complete code.
    * File:BouncingBall.java
    * This program graphically simulates a bouncing ball
    import acm.program.*;
    import acm.graphics.*;
    import java.awt.*;
    public class BouncingBallNotWorking extends GraphicsProgram {
    /** sets diameter */
    private static final int DIAM_BALL = 30;
    /** amount y velocity is increased each cycle */
    private static final double GRAVITY = 3;
    /** Animation delay or pause time between ball moves */
    private static final int DELAY = 50;
    /** Initial X and Y location ball*/
    private static final double X_START = DIAM_BALL / 2;
    private static final double Y_START = 100;
    private static final double X_VEL = 3;
    private static final double BOUNCE_REDUCE = 0.9;
    private double xVel = X_VEL;
    private double yVel = 0.0;
    private GOval BallA;
    public void run() {
    setup(X_START,Y_START, BallA);
    //         Simulation ends when ball goes off right hand
    //         end of screen
    while (BallA.getX() < getWidth()) {
    moveBall(BallA);
    checkForCollision(BallA);
    pause(DELAY);
    private void setup(double X_coor, double Y_coor, GOval BallObject) {
    BallObject = new GOval(X_coor, Y_coor, DIAM_BALL, DIAM_BALL);
    add(BallObject);
    private void moveBall(GOval BallObject) {
    yVel += GRAVITY;
    BallObject.move(xVel,yVel);
    private void checkForCollision(GOval BallObject) {
    if(BallObject.getY() > getHeight() - DIAM_BALL){
    yVel = - yVel * BOUNCE_REDUCE;
    double diff = BallObject.getY() - (getHeight() - DIAM_BALL);
    BallObject.move(0, -2 * diff);
    } Edited by: TiredRyan on Mar 19, 2010 1:47 AM

    TiredRyan wrote:
    That is great! Thanks. I've got two question though.
    1.) Now I want to have 100 bouncing balls. Is the best way to achieve this is through an array of GOvals? I haven't gotten to the lecture on arrays on Stanford's ITunesU site yet so I am not sure what is possible with what I know now.An array would work, or a List. But it doesn't matter much in this case.
    2.) Are references being passed by value only applicable to Java or is that common to object-oriented programming? Also is there a way to force Java to pass in "BallA" instead of the value "null"?I can't say about all OO languages as a whole, but at least C++ can pass by reference.
    And no, there's no way to pass a reference to the BallA variable, so the method would initialize it and it wouldn't be null anymore.
    When you call the method with your BallA variable, the value of the variable is examined and it's passed to the method. So you can't pass the name of a variable where you'd want to store some object you created in the method.
    But you don't need to either, so there's no harm done.

  • HELP Needed with this error:   Exception in thread "main" java.lang.NoClass

    Folks,
    I am having a problem connecting to my MSDE SQL 2000 DB on a WindowsXP pro. environment. I am learning Java and writing a small test prgm to connect the the database. The code compiles ok, but when I try to execute it i keep getting this error:
    "Exception in thread "main" java.lang.NoClassDefFoundError: Test1"
    I am using the Microsoft jdbc driver and my CLASSPATH is setup correctly, I've also noticed that several people have complained about this error, but have not seen any solutions....can someone help ?
    Here is the one of the test programs that I am using:
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Test1 {
    public Test1() throws Exception {
    // Get connection
    DriverManager.registerDriver(new
    com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://LAPTOP01:1433","sa","sqladmin");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    } // Test
    public static void main (String args[]) throws Exception {
    Test1 test = new Test1();

    I want to say that there was nothing wrong
    with my classpath config., I am still not sure why
    that didn't work, there is what I did to resolved
    this issue.You can say that all you like but if you are getting NoClassDefFound errors, that's because the class associated with the error is not in your classpath.
    (For future reference: you will find it easier to solve problems if you assume that the problem is your fault, instead of trying to blame something else. It almost always is your fault -- at least that's been my experience.)
    1. I had to set my DB connection protocol to TCP/IP
    (this was not the default), this was done by running
    the
    file "svrnetcn.exe" and then in the SQL Server Network
    Utility window, enable TCP/IP and set the port to
    1433.Irrelevant to the classpath problem.
    2. I then copied all three of the Microsoft JDBC
    driver files to the ..\jre\lib\ext dir of my jdk
    installed dir.The classpath always includes all jar files in this directory. That's why doing that fixed your problem. My bet is that you didn't have the jar file containing the driver in your classpath before, you just had the directory containing that jar file.
    3. Updated my OS path to located these files
    and....BINGO! (that simple)Unnecessary for solving classpath problems.
    4. Took a crash course on JDBC & basic Java and now I
    have created my database, all tables, scripts,
    stored procedures and can read/write and do all kinds
    of neat stuff.All's well that ends well. After a few months you'll wonder what all the fuss was about.

  • Exception in thread "main" java.lang.NullPointerException

    hi
    I am new to Java, and taking an introductory course in java. I wrote the code given bellow and get following error "C:\java\assingment2>java test123
    Exception in thread "main" java.lang.NullPointerException
    at PartCatalog.Add(test123.java:56)
    at test123.main(test123.java:102)"
    Can any body help me please
    import java.util.*;
    class PartRecord
    public String PartName;
    public String PartNumber;
    public float Cost;
    public int Quantity;
    public static int counter ;
    public PartRecord()
    { PartName ="";
         PartNumber="";
    Cost = 0;
         Quantity = 0;
         counter = 0;
    public void Set(String name, final String num,
    float cost, int quantity)
         PartName = name;
    PartNumber= num;
    Cost = cost;
    Quantity = quantity;
    counter++;
    public float Get()
                   return Cost*Quantity;
    public static int Counter() {return counter;}
    class PartCatalog
    public PartCatalog()
    npart=0;
    public void Add(String name, String num,
    float cost, int quantity)
    if(npart>=1000) return;
    Parts[npart++].Set(name,num,cost,quantity);
    public float ShowInventory()
    int inventory = 0;
    for(int i=0; i<npart; i++)
    inventory+= Parts.Get();
    return inventory;
    public PartRecord[] Parts = new PartRecord[1000];
    public int npart;
    class ExtPartCatalog extends PartCatalog
    public void Sort()
    Arrays.sort(Parts);
    public void Print()
    for(int i=0; i<npart; i++)
    System.out.println ( Parts[i].PartName + "\t "
    + Parts[i].PartNumber + "\t "
    + Parts[i].Cost + "\t "
    + Parts[i].Quantity + "\n");
    class test123{
    public static void main(String args[])          
         ExtPartCatalog catalog = new ExtPartCatalog();
         catalog.Add("tire ", "1", 45, 200);
         catalog.Add("microwave", "2", 95, 10);
         catalog.Add("CD Player", "3", 215, 11);
         catalog.Add("Chair ", "4", 65, 10);
         catalog.Sort();
    catalog.Print();
    System.out.println("Inventory is " + catalog.ShowInventory());
    ExtPartCatalog catalog2 = new ExtPartCatalog();
    catalog2.Add("ttt ", "1", 45, 200);
    System.out.print("\n\nTotally there are " + PartRecord.Counter() );
    System.out.println(" Parts being set" );

    Thank you for your reply. I think i used
    public PartRecord[] Parts = new PartRecord[1000];
    so i have created the reference. I tries what you told me but it still did not work. I am putting the code again, but now in the formatted form so that you can read it more easily. I will appreciate your help. Thanks
    <code>
    import java.util.*;
    class PartRecord
    {      public String PartName;
    public String PartNumber;
    public float Cost;
    public int Quantity;
    public static int counter ;
         public PartRecord()
              PartName ="";
              PartNumber="";
              Cost = 0;
              Quantity = 0;
              //counter = 0;
         public void Set(String name, final String num,
    float cost, int quantity)
         PartName = name;
         PartNumber= num;
         Cost = cost;
         Quantity = quantity;
         counter++;
         public float Get()
         return Cost*Quantity;
         public static int Counter() {return counter;}
    class PartCatalog
    {      public PartRecord[] Parts = new PartRecord[1000];
         public int npart;
    public PartCatalog()
    npart=0;
         public void Add(String name, String num,
         float cost, int quantity)
         if(npart>=1000) return;
         Parts[npart++].Set(name,num,cost,quantity);
         public float ShowInventory()
              float inventory = 0;
              for(int i=0; i<npart; i++)
              inventory= Parts[npart].Get();
              return inventory;
    /*class ExtPartCatalog extends PartCatalog
         public void Sort()
         Arrays.sort(Parts);
         public void Print()
                   for(int i=0; i<npart; i++)
                   System.out.println ( Parts.PartName + "\t "
                                  + Parts[i].PartNumber + "\t "
                                  + Parts[i].Cost + "\t "
                             + Parts[i].Quantity + "\n");
    class azimi_a{
    public static void main(String args[])
    PartCatalog c = new PartCatalog() ;//= new PartCatalog[4];
    c.Add("tire ", "1", 45, 200);
    c.Add("microwave", "2", 95, 10);
    c.Add("CD Player", "3", 215, 11);
    c.Add("Chair ", "4", 65, 10);
    <code>

  • Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1

    hi to all.
    iam getting this error: could any one give me the solution.
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
    at DinosaursDataLoader.getData(DinosaursDataLoader.java:49)
    at DinosaursPack.load(DinosaursPack.java:22)
    at DinosaursPack.<init>(DinosaursPack.java:18)
    at myproject.main(myproject.java:17)
    import java.util.*;
    import java.io.*;
    import javax.swing.ImageIcon;
    public class Driver {
        public static void main (String[] args) {
              // create a Scanner and grab the data . . .
                 File f=new File("C:\\Users\\hariprasad koineni\\Desktop\\r.txt");// my text file containes 12 dinosuor card info
              Scanner scanner = null;
              try {
                    scanner = new Scanner(f);
              } catch (FileNotFoundException fnf) {
                    System.out.println(fnf.getMessage());
                    System.exit(0);
            // scan file line-by-line
              scanner.useDelimiter("------------------------------------------------------------------");
              int y=0;
              while (scanner.hasNext()) {
                String line = scanner.next().trim();
                System.out.println(line);
                String bits[]= new String[19];
                String[] bit = line.split("\n");       // Regex available since Java 5
                for(int j=0;j<=(bit.length-1);j++){
                        String[] bis = bit[j].split(":");
                        System.out.println(bis[0]);
                        String t=bis[1].trim();
                        bits[j]=t;
                        System.out.println(bits[j]);
                        System.out.println(j);
                String t = bits[0];                        // title
                String imgFileName = bits[1];          // image file name
                float  h = Float.parseFloat(bits[2]);    // height
                String  w = bits[3];    // weight
                String  l = bits[4];    // length
                int  kr = Integer.parseInt(bits[5]);    // killer rating
                String  i = bits[6];     // intelligence
                int  a = Integer.parseInt(bits[7]);     // age
                String df = bits[8];                      // dino file
                // create the image
               y++;
             System.out.println(line);
             System.out.println(y);
    }

    h_koineni wrote:
    sorry
    iam getting the error:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
    at Driver.main(Driver.java:38)So meaning this line cause the exception:
    String t=bis[1].trim(); // hard-coded int literal 1That happens because, in line 36,
    String[] bis = bit[j].split(":");What will happen if the delimiter ':' is not found? It will return an array with a size of 1, and at this time referencing index 1 is out of bound, remember that the upper bound of an array is its size-1. One workaround is to put a selection structure after line 36.
    if (bis != null && bis.length == 2) {
        String t=bis[1].trim();
        bits[j]=t;
    }Then, recompile your code and try again.

  • Exception in thread "main" java.lang.NumberFormatException:For input String

    this is a code about arrylist. but when I debug it.it metion:Exception in thread "main" java.lang.NumberFormatException:For input String at java.lang.NumberFormatException.forInputString(numberFomatExceptionio java:48)
    at java.lang.Integer.parseInt(integer.java:468)
    at java.lang.Integer.parseInt(integer.java:497)
    at Get.getInt(manerger.java:208)
    at LinkList.insertFirst(manager.java:94)
    at manager.main(manager.java;20)
    this is my code:
    import java.io.*;
    import java.lang.*;
    public class manager
         public static void main(String args[]) throws IOException
         LinkList list=new LinkList();
         System.out.println("input S can scan the grade\ninput D can delete one entry\ninput U can update the entry\ninput A can add one entry\ninput E can end");
         int cr=System.in.read();
    switch(cr)
         case 'A':
         list.insertFirst();break;//this is 20 row
         case 'S':
         System.out.println("input the s");break;
         case 'D':
         System.out.println("input the d");break;
         case 'U':
         System.out.println("input the u");break;
    class Link
    public int number;
    public String name=new String();
    public int chs;
    public int eng;
    public int math;
    public Link next;
    public Link(int number,String name, int chs,int eng,int math)
    this.number=number;
    this.name=name;
    this.chs=chs;
    this.eng=eng;
    this.math=math;
    public Link()
         this(0,"",0,0,0);
    public void displayLink()
    System.out.println(number + " "+name+ " "+chs+ " "+eng+ " "+math+ " ");
    class LinkList
    public Link first;
    public LinkList()
    first = null;
    public boolean isEmpty()
    return first==null;
    public void displayList()
         System.out.println("");
         Link current=first;
         while(current!=null)
              current.displayLink();
              current=current.next;
         System.out.println("");
    public Link insertFirst() throws IOException
         Get getdata=new Get();
         int number=getdata.getInt();//this is 94 row
         String name=getdata.getString();
         int chs=getdata.getInt();
         int eng=getdata.getInt();
         int math=getdata.getInt();
         Link newLink = new Link(number,name,chs,eng,math);
         first=newLink;
         return first;
    public Link find(int key)
         Link current=first;
         while(current.number!=key)
              if(current.next==null)
              return null;
              else
              current=current.next;
         return current;
    public Link update(int key) throws IOException
         Link current=first;
         while(current.number!=key)
         if(current.next==null)
         return null;
         else
              System.out.println("Input the first letter of the subject:");
         int c=System.in.read();
         Get get=new Get();
              switch(c)
                   case 'c':
                   current.chs=get.getInt();break;
                   case 'e':
                   current.eng=get.getInt();break;
                   case 'm':
                   current.math=get.getInt();break;
         return current;
    public float average(char key)
         Link current=first;
         float total=0;
         float average=0;
         float counter=0;
         if(current==null)
         return 0;
         while(current!=null)
              switch(key)
                   case 'c':
                   total=current.chs+current.next.chs;break;
                   case 'e':
                   total=current.eng+current.next.eng;break;
                   case 'm':
                   total=current.math+current.next.math;break;
              current=current.next.next;
              counter++;
         average=total/counter;
         return average;
    public Link delete(int key)
         Link current=first;
         Link previous=first;
         while(current.number!=key)
              if(current.next==null)
              return null;
              else
                   previous=current;
                   current=current.next;
              if(current==first)
              first=first.next;
              else
              previous.next=current.next;
              return current;
    class Get
    public static String getString() throws IOException
    System.out.println("Input your name:");
    InputStreamReader str = new InputStreamReader(System.in);
    BufferedReader br = new BufferedReader(str);
    String s = br.readLine();
    return s;
    public static int getInt() throws IOException
    System.out.println("Input your data:");
    String st = getString();
    return Integer.parseInt(st);//this is 208 row
    }

    It may be that the code in getString() returns a
    String that ends with a newline. If that is the
    problem, you can use
    return (Integer.parseInt(st)).trim();1. getString will never return a String ending in newline. BufferedReader.readLine strips off the newline.
    2. Even if you had a newline, String.trim doesn't trim newlines.
    3. You would need to trim the String, not the int:
    return (Integer.parseInt(st.trim()));As JimDinosaur said, you are passing bad data (the value of "st").
    In getInt, add this before trying to parse "st":
    System.out.println("###"+st+"###");What does it print?

  • Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5

    I am getting error:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
    Pls tell me where I am wrong:
    import javax.swing.JOptionPane;
    import java.io.File;
    import java.io.*;
    import java.io.IOException;
    import java.util.*;
    class Test {
    String lname, fname, finalLetterGrade, LetterGrade, sub1,sub2,sub3,sub4,sub5,sub;
    int testone = 0;
         int a=0,b,c,d,e, count= 0, abs = 0,j;
    int testtwo = 0;
    int testthree = 0;
    int testfour = 0;
    int testfive = 0;
    int finalExamGrade = 0;
      int i=0;
    int participation = 0;
    int lowScore = 0;
    int abs1,abs2,abs3,abs4,abs5;
    String s="absent";
    Character ch;
    String []name;   
    int []Mark;
    double finalNumericGrade = 0;
    public Test() {
    public void inputGrades()
    int input, row, col;
         Scanner scan = new Scanner(System.in);
         System.out.println("Enter the length of the square matrix: ");
         col = scan.nextInt(); 
    name = new String[col];
            Mark = new int[col];
            for(i = 0; i < col ; i++)
              name=JOptionPane.showInputDialog("Enter Student Name"+(i+1)+" Name: ");
    System.out.println(name[i]);
    for(j=0; j < col;j++)
    Mark[j]=Integer.parseInt(JOptionPane.showInputDialog("Marks "+(j+1)+" Mark: "));
    System.out.println(Mark[j]);
              System.out.println("Average-->"+getAverage());
              System.out.println("Student'-->"+toString());
    public double getAverage()
         if( Mark[0]==0 || Mark[1]==0 || Mark[2]==0 || Mark[3]==0 || Mark[4]==0)
    finalNumericGrade=((((float)(Mark[0])) + ((float)(Mark[1])) + ((float)(Mark[2])) + ((float)(Mark[3])) + ((float)(Mark[4])))/4);
    else
    finalNumericGrade=((((float)(Mark[0])) + ((float)(Mark[1])) + ((float)(Mark[2])) + ((float)(Mark[3])) + ((float)(Mark[4])))/5);;
    return finalNumericGrade;
    private String letterGrade(){
         //System.out.println(" +++ finalNumericGrade " + finalNumericGrade );
    if ((finalNumericGrade >= 3.50) & (finalNumericGrade <= 4))
    finalLetterGrade = "A";
    else
    if ((finalNumericGrade >= 2.50) & (finalNumericGrade < 3.50))
    finalLetterGrade = "B";
    else
    if ((finalNumericGrade >= 2) & (finalNumericGrade < 2.50))
    finalLetterGrade = "C";
    else
    if ((finalNumericGrade >= 1) & (finalNumericGrade < 2))
    finalLetterGrade = "D";
    else
    if (finalNumericGrade == 0)
    finalLetterGrade = "X";
    else finalLetterGrade ="Z";
    return finalLetterGrade;
    public int getAbsentee()
         if(testone == 0)
              abs1=1;
         if(testtwo == 0)
              abs2=1;
         if(testthree == 0)
              abs3=1;
         if(testfour == 0)
              abs4=1;
         if(testfive == 0)
              abs5=1;
         return abs=abs1+abs2+abs3+abs4+abs5;
    public String AbsentSub()
         if((testone < testtwo) & (testone < testthree) & (testone < testfour) & (testone < testfive))          
              sub=sub1;
         if((testtwo < testone) & (testtwo < testthree) & (testtwo < testfour) & (testtwo < testfive))
              sub=sub2;
         if((testthree < testone) & (testthree < testtwo) & (testthree < testfour) & (testthree < testfive))
              sub=sub3;
         if((testfour < testone) & (testfour < testthree) & (testfour < testtwo) & (testfour < testfive))
              sub=sub4;
         if((testfive < testone) & (testfive < testtwo) & (testfive < testthree) & (testfive < testfour))
              sub=sub5;
         return sub;
    public int getLowScore(){
    //Determine and return the lowest score
    lowScore = testone;
    if (testtwo < lowScore) lowScore = testtwo;
    if (testthree < lowScore) lowScore = testthree;
         if (testfour < lowScore) lowScore = testfour;
         if (testfive < lowScore) lowScore = testfive;
    return lowScore;
    public String toString() {
    String studentStringValue="\n\nStudent " sub1 " "+sub2+" "+sub3+" "+sub4+" "+sub5+ " Lowest Final Marks \n\n";
    studentStringValue+= name[i]+"\t";
    if(Mark[0]==0)
         studentStringValue+="" s "\t";
    else
         a=Mark[0];
         ch = new Character(((char) ((69-a))));
    studentStringValue+= Mark[0]+" "+ch+ "\t";
    if(Mark[1]==0)
         studentStringValue+="" s "\t";
    else
         b=Mark[1];
    ch = new Character(((char) ((69-b))));
    studentStringValue+= Mark[1]+" "+ch+ "\t";
    if(Mark[2]==0)
         studentStringValue+="" s "\t";
    else
         c=Mark[2];
    ch = new Character(((char) ((69-c))));
    studentStringValue+=Mark[2] +" "+ch+ "\t";
    if(Mark[3]==0)
         studentStringValue+="" s "\t";
    else
         d=Mark[3];
    ch = new Character(((char) ((69-d))));
    studentStringValue+= Mark[3] +" "+ch+ "\t";
    if(Mark[4]==0)
              studentStringValue+="" s "\t";
    else
         e=Mark[4];
    ch = new Character(((char) ((69-e))));
    studentStringValue+=Mark[4] +" "+ch+ "\t";
    try {
    BufferedWriter out = new BufferedWriter(new FileWriter(".//Marks3.txt", true));
    out.write(studentStringValue);
    out.close();
    } catch (IOException e) {
    //studentStringValue+=" " + abs + " ";
    //studentStringValue+=" " sub"\t";
    studentStringValue+=" " + finalNumericGrade + " \n\n";
    //studentStringValue+=" Final Letter Grade is: " + finalLetterGrade +"\n";
    return studentStringValue;
    }// toString
    public void printName(){
    System.out.print(" "+lname);
    System.out.print(" "+fname);
    public static void main(String[] args)
         Test s = new Test();
         s.inputGrades();
         System.out.println("Average-->" +s.getAverage());
         //System.out.println("Average-->" +s.setAverage());
         //System.out.println("Absent students in each Test-->" + s.getAbsentee());
         // s.getLowScore();
         //System.out.println("Final Letter Grade --> " + s.letterGrade());
         // s.AbsentSub();
         System.out.println(""+ s.toString());

    hi,
    I am getting error on line 232 n 339
    My error is :
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
    at Test.toString(Test.java:232)
    at Test.main(Test.java:339)
    my code is :
    import javax.swing.JOptionPane;
    import java.io.File;
    import java.io.*;
    import java.io.IOException;
    import java.util.*;
    class Test {
    String lname, fname, finalLetterGrade, LetterGrade, sub1,sub2,sub3,sub4,sub5,sub;
    int testone = 0;
         int a=0,b,c,d,e, count= 0, abs = 0,j,ab,abm=0,abj=0,abn=0,abd=0;
    int testtwo = 0;
    int testthree = 0;
    int testfour = 0;
    int testfive = 0;
    int finalExamGrade = 0;
      int i=0;
    int participation = 0;
    int lowScore = 0;
    int abs1,abs2,abs3,abs4,abs5;
    String s="absent";
    Character ch;
    String []name;
    String[] subj;
    int []Mark;
    double finalNumericGrade = 0;
    public Test() {
    public void inputGrades()
    int input, row, col;
         Scanner scan = new Scanner(System.in);
         System.out.println("Enter the length of Array: ");
         col = scan.nextInt(); 
    name = new String[col];
    subj = new String[5];
            Mark = new int[5];
            for(i = 0; i < col ; i++)
              name=JOptionPane.showInputDialog("Enter Student Name"+(i+1)+" Name: ");
    System.out.println(name[i]);
    for(j=0; j < 5;j++)
                        subj[j]=JOptionPane.showInputDialog("Enter Subject"+(j+1)+" Name: ");
    Mark[j]=Integer.parseInt(JOptionPane.showInputDialog("Marks "+(j+1)+" Mark: "));
                        System.out.println(subj[j]);
    System.out.println(Mark[j]);
                        System.out.println("Student'-->"+toString());
              System.out.println("Average Stu-->"+getAverage());
              getLowScore();
    public double getAverage()
         if( Mark[0]==0 || Mark[1]==0 || Mark[2]==0 || Mark[3]==0 || Mark[4]==0)
    finalNumericGrade=((((float)(Mark[0])) + ((float)(Mark[1])) + ((float)(Mark[2])) + ((float)(Mark[3])) + ((float)(Mark[4])))/4);
    else
    finalNumericGrade=((((float)(Mark[0])) + ((float)(Mark[1])) + ((float)(Mark[2])) + ((float)(Mark[3])) + ((float)(Mark[4])))/5);;
    return finalNumericGrade;
    private String letterGrade(){
         //System.out.println(" +++ finalNumericGrade " + finalNumericGrade );
    if ((finalNumericGrade >= 3.50) & (finalNumericGrade <= 4))
    finalLetterGrade = "A";
    else
    if ((finalNumericGrade >= 2.50) & (finalNumericGrade < 3.50))
    finalLetterGrade = "B";
    else
    if ((finalNumericGrade >= 2) & (finalNumericGrade < 2.50))
    finalLetterGrade = "C";
    else
    if ((finalNumericGrade >= 1) & (finalNumericGrade < 2))
    finalLetterGrade = "D";
    else
    if (finalNumericGrade == 0)
    finalLetterGrade = "X";
    else finalLetterGrade ="Z";
    return finalLetterGrade;
    /*****Java Absentee***/
    public int getAbsenteeJava()
         if((Mark[0]==0))     
              abj=abj+1;
         else
              abj=0;
              return abj;
    public void setAbsenteeJava()
              System.out.println("Absent in Java-->"+abj);
    /***Maths Absentee****/
         public int getAbsenteeMaths()
         if(Mark[1]==0)
              abm=abm+1;
         else
              abm=0;
              return abm;
         public void setAbsenteeMaths()
              System.out.println("Absent in Maths-->"+abm);
    /****Stats Absentee---*/
    public int getAbsenteeStat()
    sub3="Stats";
         if(Mark[2]==0)          
              abs=abs+1;
         else
              abs=0;
              return abs;
         public void setAbsenteeStat()
    System.out.println("Absent in Stats-->"+abs);
    /*****NEt Absentee****/
         public int getAbsenteeNet()
    sub4="Network";
         if(Mark[3]==0)          
              abn=abn+1;
         else
              abn=0;
              return abn;
    public void setAbsenteeNet()
    System.out.println("Absent in Network-->"+abn);
    /*****Database Absentee****/
         public int getAbsenteeData()
    sub5="Database";
         if(Mark[4]==0)          
              abd=abd+1;
         else
              abd=0;
              return abd;
         public void setAbsenteeData()
    System.out.println("Absent in Database-->"+abd);
    public String getLowScore(){
    //Determine and return the lowest score
    if(((subj[0].equals(sub1)) || (Mark[0]==0)))     
              sub="Java";
         else if(((subj[1].equals(sub2)) || (Mark[1]==0)))
              sub="Maths";
         else if(((subj[2].equals(sub3)) & (Mark[2]==0)))
              sub="Stats";
         else if(((subj[3].equals(sub4)) || (Mark[3]==0)))
              sub="Network";
         else if(((subj[4].equals(sub5)) || (Mark[4]==0)))
              sub="Database";
         return sub;
    public String toString() {
    String studentStringValue="\n\nStudent " subj[0] " "+subj[1]+" "+subj[2]+" "+subj[3]+" "+subj[4]+ " Lowest Final Marks \n\n";
         String nm = name[i];
    studentStringValue+= nm+"\t";
    if(Mark[0]==0)
         studentStringValue+="" s "\t";
    else
         {// 232: Line: getting ERROR here
         a=Mark[0];
         ch = new Character(((char) ((69-a))));
    studentStringValue+= Mark[0]+" "+ch+ "\t";
    if(Mark[1]==0)
         studentStringValue+="" s "\t";
    else
         b=Mark[1];
    ch = new Character(((char) ((69-b))));
    studentStringValue+= Mark[1]+" "+ch+ "\t";
    if(Mark[2]==0)
         studentStringValue+="" s "\t";
    else
         c=Mark[2];
    ch = new Character(((char) ((69-c))));
    studentStringValue+=Mark[2] +" "+ch+ "\t";
    if(Mark[3]==0)
         studentStringValue+="" s "\t";
    else
         d=Mark[3];
    ch = new Character(((char) ((69-d))));
    studentStringValue+= Mark[3] +" "+ch+ "\t";
    if(Mark[4]==0)
              studentStringValue+="" s "\t";
    else
         e=Mark[4];
    ch = new Character(((char) ((69-e))));
    studentStringValue+=Mark[4] +" "+ch+ "\t";
    //studentStringValue+=" " + abs + " ";
    studentStringValue+=" " sub"\t";
    studentStringValue+=" " + finalNumericGrade + " \n\n";
    //studentStringValue+=" Final Letter Grade is: " + finalLetterGrade +"\n";
    try {
    BufferedWriter out = new BufferedWriter(new FileWriter(".//Marks3.txt", true));
    out.write(studentStringValue);
    out.close();
    } catch (IOException e) {
    return studentStringValue;
    }// toString
    public void printName(){
    System.out.print(" "+lname);
    System.out.print(" "+fname);
    public static void main(String[] args)
         Test s = new Test();
         s.inputGrades();
         System.out.println("Average-->" +s.getAverage());
         //System.out.println("Average-->" +s.setAverage());
         s.getAbsenteeJava();
         s.setAbsenteeJava();
         s.getAbsenteeMaths();          
    s.setAbsenteeMaths();
         s.getAbsenteeStat();
         s.setAbsenteeStat();
         s.getAbsenteeNet();     
         s.setAbsenteeNet();
         s.getAbsenteeData();          
    s.setAbsenteeData();
         s.getLowScore();
         //System.out.println("Final Letter Grade --> " + s.letterGrade());
         System.out.println(""+ s.toString());

  • Hi, Could not start CC&B application "Remote JVM:1 Thread 1" java.lang.UnsatisfiedLinkError"

    E:\CCBDEV\Java\JDK15~1.0_2
    JAVA Memory arguments: -Xms1024m -Xmx1024m -XX:PermSize=300m
    WLS Start Mode=Development
    CLASSPATH=E:\WEBLOG~1\WLSERV~1.0\samples\server\examples\build\serverclasses;E:\WEBLOG~1\patch_wss110\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\WEBLOG~1\patch_wlw1021\profiles\defa
    ult\sys_manifest_classpath\weblogic_patch.jar;E:\WEBLOG~1\patch_wls1002\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\WEBLOG~1\patch_cie640\profiles\default\sys_manifest_classpath\webl
    ogic_patch.jar;E:\CCBDEV\Java\JDK15~1.0_2\lib\tools.jar;E:\WEBLOG~1\WLSERV~1.0\server\lib\weblogic_sp.jar;E:\WEBLOG~1\WLSERV~1.0\server\lib\weblogic.jar;E:\WEBLOG~1\modules\features\weblogic.server.mo
    dules_10.0.2.0.jar;E:\WEBLOG~1\modules\features\com.bea.cie.common-plugin.launch_2.1.2.0.jar;E:\WEBLOG~1\WLSERV~1.0\server\lib\webservices.jar;E:\WEBLOG~1\modules\ORGAPA~1.5/lib/ant-all.jar;E:\WEBLOG~
    1\modules\NETSFA~1.0/lib/ant-contrib.jar;;E:\WEBLOG~1\WLSERV~1.0\common\eval\pointbase\lib\pbembedded51.jar;E:\WEBLOG~1\WLSERV~1.0\common\eval\pointbase\lib\pbupgrade51.jar;E:\WEBLOG~1\WLSERV~1.0\comm
    on\eval\pointbase\lib\pbclient51.jar;E:\WEBLOG~1\WLSERV~1.0\server\lib\xqrl.jar;;;E:\CCBDEV\spl\CCBV221\splapp\standalone\lib\xalan-2.7.0.jar;E:\CCBDEV\spl\CCBV221\splapp\standalone\lib\serializer-2.7
    .0.jar;E:\CCBDEV\spl\CCBV221\splapp\standalone\lib\antlr-2.7.6.jar
    PATH=E:\WEBLOG~1\patch_wss110\profiles\default\native;E:\WEBLOG~1\patch_wlw1021\profiles\default\native;E:\WEBLOG~1\patch_wls1002\profiles\default\native;E:\WEBLOG~1\patch_cie640\profiles\default\nati
    ve;E:\WEBLOG~1\WLSERV~1.0\server\native\win\x64;E:\WEBLOG~1\WLSERV~1.0\server\bin;E:\WEBLOG~1\modules\ORGAPA~1.5\bin;E:\CCBDEV\Java\JDK15~1.0_2\jre\bin;E:\CCBDEV\Java\JDK15~1.0_2\bin;E:\MICROF~1\Bin\b
    in\Win64;E:\CCBDEV\Java\jdk1.5.0_21\bin;E:\CCBDEV\spl\CCBV221\runtime;E:\CCBDEV\spl\CCBV221\bin;E:\CCBDEV\spl\CCBV221\product\apache-ant-1.7.0\bin;E:\Perl\bin;E:\Perl\bin;C:\Windows\system32;C:\Window
    s;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CA\SharedComponentsCAUpdate\;RCU_JDBC_TRIM_BLOCKS=TRUE;E:\app\product\11.2.0\dbhome_1\bin;E:\spl\Hibernate4;E:\c
    3p0;E:\spl\Weblogic\wlserver_10.3;E:\spl\Weblogic\wlserver_10.3;%COBDIR_INPUT%;E:\MicroFocus\Bin;E:\app\product\11.2.0\dbhome_1;E:\spl\Weblogic\jdk160_29;E:\spl\Weblogic\jdk160_29;E:\Java5\jdk1.5.0_21
    \bin;;E:\WEBLOG~1\WLSERV~1.0\server\native\win\x64\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    java version "1.5.0_21"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_21-b01)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_21-b01, mixed mode)
    "Starting Weblogic with the following arguments"
    E:\CCBDEV\Java\JDK15~1.0_2\bin\java -hotspot   -Xms1024m -Xmx1024m -XX:PermSize=300m   -da -Dplatform.home=E:\WEBLOG~1\WLSERV~1.0 -Dwls.home=E:\WEBLOG~1\WLSERV~1.0\myserver -Dwli.home=E:\WEBLOG~1\WLSE
    RV~1.0\integration  -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\WEBLOG~1\patch_wss110\profiles\default\sysext_manifest_
    classpath;E:\WEBLOG~1\patch_wlw1021\profiles\default\sysext_manifest_classpath;E:\WEBLOG~1\patch_wls1002\profiles\default\sysext_manifest_classpath;E:\WEBLOG~1\patch_cie640\profiles\default\sysext_man
    ifest_classpath -Dweblogic.management.username=system -Dweblogic.management.password=spladmin -Dweblogic.Name=myserver -Djava.security.policy=E:\WEBLOG~1\WLSERV~1.0\server\lib\weblogic.policy  weblogi
    c.Server
    <Oct 20, 2014 5:22:26 PM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    E:\Weblogic10MP\wlserver_10.0\platform\lib\p13n\p13n-schemas.jar;E:\Weblogic10MP\wlserver_10.0\platform\lib\p13n\p13n_common.jar;E:\Weblogic10MP\wlserver_10.0\platform\lib\p13n\p13n_system.jar;E:\Webl
    ogic10MP\wlserver_10.0\platform\lib\p13n\wlp_services.jar;E:\Weblogic10MP\wlserver_10.0\platform\lib\wlp\netuix_common.jar;E:\Weblogic10MP\wlserver_10.0\platform\lib\wlp\netuix_schemas.jar;E:\Weblogic
    10MP\wlserver_10.0\platform\lib\wlp\netuix_system.jar;E:\Weblogic10MP\wlserver_10.0\platform\lib\wlp\wsrp-client.jar;E:\Weblogic10MP\wlserver_10.0\platform\lib\wlp\wsrp-common.jar>
    <Oct 20, 2014 5:22:26 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 1.5.0_21-b01 from Sun Microsystems Inc.>
    <Oct 20, 2014 5:22:27 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.0 MP2  Sat Apr 25 01:45:38 EDT 2009 1213942 >
    <Oct 20, 2014 5:22:29 PM IST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : E:\Weblogic10MP\license.bea>
    <Oct 20, 2014 5:22:29 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 20, 2014 5:22:29 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Oct 20, 2014 5:22:29 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file E:\CCBDEV\spl\CCBV221\logs\system\myserver.log is opened. All server side log events will be written to this f
    ile.>
    <Oct 20, 2014 5:22:32 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Oct 20, 2014 5:22:36 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Oct 20, 2014 5:22:36 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 20, 2014 5:22:40 PM IST> <Warning> <HTTP> <BEA-101304> <Webapp: weblogic.servlet.internal.WebAppServletContext@4bd66d2f - appName: 'SPLWeb', name: '/spl', context-path: '/spl', the role: cisusers
    defined in web.xml has not been mapped to principals in security-role-assignment in weblogic.xml. Will use the rolename itself as the principal-name.>
    <Oct 20, 2014 5:22:40 PM IST> <Warning> <HTTP> <BEA-101304> <Webapp: weblogic.servlet.internal.WebAppServletContext@3c954549 - appName: 'SPLWeb', name: '/spl/XAIApp', context-path: '/spl/XAIApp', the
    role: cisusers defined in web.xml has not been mapped to principals in security-role-assignment in weblogic.xml. Will use the rolename itself as the principal-name.>
    Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServletIgnoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.sch
    ema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServletIgnoring: unable to load class:java.lang.ClassNotFoundException: org.open
    spml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)INFO: Loaded log4j.properties from external file E:\CCBDEV\spl\CCBV221\etc\conf\root\WEB-I
    NF\classes\log4j.properties
    INFO: Loaded spl.properties from external file E:\CCBDEV\spl\CCBV221\etc\conf\root\WEB-INF\classes\spl.properties: {spl.ejbContainer.url=t3://SGPVORACLEUS001:9949, spl.runtime.options.isDevelopmentMod
    e=false, spl.ejbContainer.password=ENC(wghfAp68e9hBOpPz/NxYFIdBIalEx3F2ADn5bf4lsxA=), spl.runtime.service.extraInstallationServices=CILTINCP, spl.tools.loaded.applications=base,ccb,cm, spl.runtime.soc
    ket.file.dir=E:/CCBDEV/spl/CCBV221/runtime, spl.runtime.cobol.sql.fetchSize=150, spl.runtime.cobol.cobrcall=false, spl.serviceBean.jndi.name=spl/servicebean, spl.ejbContainer.contextFactory=weblogic.j
    ndi.WLInitialContextFactory, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, spl.ejbContainer.user=system, spl.runtime.utf8Database=true, spl.runtime.fusionlook=true, s
    pl.runtime.environ.init.dir=E:/CCBDEV/spl/CCBV221/etc, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.
    runtime.cobol.remote.jvm=false, spl.runtime.sql.highValue=?}
    -  2014-10-20 17:22:42,209 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.context.ApplicationMode) Application set to production mode
    -  2014-10-20 17:22:42,224 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.SPLWebStartup) Initializing SPL web application
    -  2014-10-20 17:22:42,224 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.dynamicui.TransformServletHelper) Disable UIPage Compression set to false
    -  2014-10-20 17:22:42,256 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Creating lightweight context.  This context cannot a
    ccess Java business objects.
    -  2014-10-20 17:22:42,271 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Building hibernate configuration
    -  2014-10-20 17:22:42,381 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Loaded hibernate.properties from external file E
    :\CCBDEV\spl\CCBV221\etc\conf\root\WEB-INF\classes\hibernate.properties
    -  2014-10-20 17:22:42,427 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Adding 0 hibernate mappings
    -  2014-10-20 17:22:42,646 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Done building hibernate configuration, time 376.
    062 ms
    -  2014-10-20 17:22:42,646 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Building hibernate session factory
    -  2014-10-20 17:22:42,662 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.ConnectionProviderFactory) Initializing connection provider: or
    g.hibernate.connection.C3P0ConnectionProvider
    -  2014-10-20 17:22:42,677 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.C3P0ConnectionProvider) C3P0 using driver: oracle.jdbc.driver.O
    racleDriver at URL: jdbc:oracle:thin:@SGPVORACLEUS001:1521:CCBDEMO
    -  2014-10-20 17:22:42,677 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.C3P0ConnectionProvider) Connection properties: {user=cisadm, pa
    ssword=****}
    -  2014-10-20 17:22:42,677 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.C3P0ConnectionProvider) autocommit mode: false
    -  2014-10-20 17:22:42,771 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (v2.log.MLog) MLog clients using log4j logging.
    -  2014-10-20 17:22:42,959 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (v2.c3p0.C3P0Registry) Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug?
    true; trace: 10]
    -  2014-10-20 17:22:43,068 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (c3p0.impl.AbstractPoolBackedDataSource) Initializing c3p0 pool... com.mchange.v2.c3p
    0.PoolBackedDataSource@e25e28cd [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@ec1b4ca3 [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 100
    0, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c
    3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1bqzx6i95clicv4kgia6i|31a9dc
    55, idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 150, maxStatements
    -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@2587ec43 [ description -> null, driverClass -> null, factoryClassLocation -> n
    ull, identityToken -> 1bqzx6i95clicv4kgia6i|369e58be, jdbcUrl -> jdbc:oracle:thin:@SGPVORACLEUS001:1521:CCBDEMO, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCyc
    le -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null,
    factoryClassLocation -> null, identityToken -> 1bqzx6i95clicv4kgia6i|36b29562, numHelperThreads -> 3 ]
    -  2014-10-20 17:22:43,537 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.dialect.Dialect) Using dialect: org.hibernate.dialect.Oracle10gDialect
    -  2014-10-20 17:22:43,599 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.transaction.TransactionFactoryFactory) Transaction strategy: org.hibernate
    .transaction.JDBCTransactionFactory
    -  2014-10-20 17:22:43,599 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.transaction.TransactionManagerLookupFactory) No TransactionManagerLookup c
    onfigured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    -  2014-10-20 17:22:43,693 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.impl.SessionFactoryImpl) building session factory
    -  2014-10-20 17:22:43,693 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.impl.SessionFactoryObjectFactory) Not binding factory to JNDI, no JNDI nam
    e configured
    -  2014-10-20 17:22:43,693 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Done building hibernate session factory, time 1,
    046.387 ms
    -  2014-10-20 17:22:44,131 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.sql.OracleFunctionReplacer) Oracle driver statement cache enabled with size
    of 300
    -  2014-10-20 17:22:44,178 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Database: Oracle, version: Oracle Database 11g E
    nterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    -  2014-10-20 17:22:44,178 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) JDBC driver: Oracle JDBC driver, version: 11.1.0
    .7.0-Production
    -  2014-10-20 17:22:44,209 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.sql.PreparedStatementImpl) SPL Statement result fetch size not specified by
    property spl.runtime.sql.fetchSize, defaulting to 300
    -  2014-10-20 17:22:44,271 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) System owner is: 'CM'
    -  2014-10-20 17:22:44,271 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Done creating lightweight context, time 2,019.299 ms
    -  2014-10-20 17:22:44,287 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.context.ApplicationMode) Application set to production mode
    -  2014-10-20 17:22:44,287 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.PreloadLoginInfo) Using most prevalent user language 'ENG'
    -  2014-10-20 17:22:44,287 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'NavigationInfoCache'
    -  2014-10-20 17:22:44,287 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.dynamicui.NavigationInfoCache) Calling  XSL Navigation info
    -  2014-10-20 17:22:44,584 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.dynamicui.NavigationInfoCache) Total number of navigation keys 3411
    -  2014-10-20 17:22:44,662 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.dynamicui.NavigationInfoCache) Total number of preload navigation keys 1034
    -  2014-10-20 17:22:44,662 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.dynamicui.NavigationInfoCache) Done calling XSL Navigation info, time 375.422 ms
    -  2014-10-20 17:22:44,678 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'ForeignKeyReferenceRepository'
    -  2014-10-20 17:22:44,678 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'FieldMetaDataRepository'
    -  2014-10-20 17:22:45,209 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.PreloadLoginInfo) XSLT preload for 1034 main pages
    -  2014-10-20 17:22:45,209 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'LanguageIndependentXSLPageCache'
    -  2014-10-20 17:22:45,209 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'InstallationProductRepository'
    -  2014-10-20 17:22:45,224 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'XSLTemplateCache'
    -  2014-10-20 17:22:46,943 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN  (shared.common.Dom4JHelper) Cannot cache SAXParser instances for improved performance
    (JAXP 1.3 required)
    -  2014-10-20 17:22:57,943 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.PreloadLoginInfo)     Processed 50/1034 XSL preload pages, time: 12736 m
    s
    -  2014-10-20 17:23:02,099 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.PreloadLoginInfo)     Processed 100/1034 XSL preload pages, time: 16891
    ms
    file:/E:/CCBDEV/spl/CCBV221/splapp/servers/myserver/tmp/_WL_user/SPLWeb/yge362/war/WEB-INF/uiXSL/commonGrid.xsl; Line #26; Column #19;
            Grid servicePointEquipmentGrid should only have one section, with all elements in row=1
    -  2014-10-20 17:23:04,910 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.PreloadLoginInfo)     Processed 150/1034 XSL preload pages, time: 19705
    ms
    -  2014-10-20 17:23:06,581 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.PreloadLoginInfo)     Processed 200/1034 XSL preload pages, time: 21380
    ms
    -  2014-10-20 17:23:07,721 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (web.startup.PreloadLoginInfo)     Processed 250/1034 XSL preload pages, time: 22512
    ms
    INFO: Loaded spl.properties from classpath: {spl.runtime.service.extraInstallationServices=CILTINCP, spl.runtime.cobol.remote.jvmcommand=E:/CCBDEV/Java/jdk1.5.0_21/bin/java.exe, spl.tools.loaded.appli
    cations=base,ccb,cm, spl.runtime.cobol.remote.jvmcount=2, spl.runtime.socket.file.dir=E:/CCBDEV/spl/CCBV221/runtime, spl.runtime.cobol.sql.fetchSize=50, spl.runtime.cobol.cobrcall=false, spl.runtime.c
    obol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, com.splwg.grid.online.enabled=false, spl.runtime.utf8Database=true, spl.runtime.fusionlook=true, spl.runtime.cobol.remote.jvmoptions=
    -Xmx256m -server -Dfile.encoding=ISO8859_1 -cp E:/CCBDEV/spl/CCBV221/splapp/standalone/config;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/activation_api-1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone
    /lib/coherence-3.5.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/coherence-work-3.5.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commonj-3.5.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/
    commons-beanutils-core-1.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-cli-1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-codec-1.3.jar;E:/CCBDEV/spl/CCBV221/splapp/standalo
    ne/lib/commons-collections-2.1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-fileupload-1.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-httpclient-2.0.2.jar;E:/CCBDEV/spl/CCBV2
    21/splapp/standalone/lib/commons-io-1.3.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-lang-2.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-logging-1.0.4.jar;E:/CCBDEV/spl/CCBV2
    21/splapp/standalone/lib/concurrent-1.3.4.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/dom4j-1.6.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/hibernate-3.2.7.jar;E:/CCBDEV/spl/CCBV221/splapp/s
    tandalone/lib/icu4j-3.6.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/jaxen-1.1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/jcip-annotations.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/j
    ta.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/jtds-1.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/log4j-1.2.15.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/mail_api-1.4.jar;E:/CCBDEV/spl/
    CCBV221/splapp/standalone/lib/mfcobol.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/ojdbc5-11.1.0.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/orai18n-collation.jar;E:/CCBDEV/spl/CCBV221/spla
    pp/standalone/lib/orai18n-mapping.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/orai18n-utility.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/orai18n.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/li
    b/serializer-2.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-base-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-ccb-2.3.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-serv
    icebeaninterface-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-shared-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standal
    one/lib/spl-spml-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-web-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-xai-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/stax-
    api-1.0.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/stax2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/staxmate-0.9.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/wstx-asl-3.2.1.jar;E:/CCB
    DEV/spl/CCBV221/splapp/standalone/lib/xalan-2.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/xmlparserv2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/xquery.jar;E:/CCBDEV/spl/CCBV221/splapp/st
    andalone/lib/xstream-1.2.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/yjp-controller-api-redist.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/geronimo-spec-j2ee-1.4-rc4.jar, spl.runtime.environ
    .init.dir=E:/CCBDEV/spl/CCBV221/etc, com.splwg.grid.distThreadPool.threads.DEFAULT=5, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.rem
    ote.rmiStartPort=6503, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.runtime.cobol.remote.jvm=true, com.splwg.batch.scheduler.daemon=false, spl.runtime.sql.highValue=?}
    INFO: Loaded log4j.properties from external file E:\CCBDEV\spl\CCBV221\etc\conf\service\log4j.properties
    -  2014-10-20 17:23:08,689 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.context.ApplicationMode) Application set to production mode
    -  2014-10-20 17:23:08,689 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (service.impl.ServiceBeanContext) Initializing Service Bean
    -  2014-10-20 17:23:08,705 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Creating default context
    -  2014-10-20 17:23:09,080 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Loading lookups for runtime discovery of implemented
    lookups in application
    -  2014-10-20 17:23:09,220 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Done loading lookups for discovery, time 150.605 ms
    -  2014-10-20 17:23:11,859 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.context.ContextLoader) Discovering lookups for base
    -  2014-10-20 17:23:12,968 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.context.ContextLoader) Done discovering base lookups (generated=210, manual=4
    2), time 1,115.419 ms
    -  2014-10-20 17:23:16,638 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.context.ContextLoader) Discovering lookups for ccb
    -  2014-10-20 17:23:17,856 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.context.ContextLoader) Done discovering ccb lookups (generated=486, manual=12
    6), time 1,213.088 ms
    -  2014-10-20 17:23:17,934 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN  (shared.environ.ContextManagedObjectSet) Could not load resource com/splwg/cm/domain/
    contextManagedObjects.xml on classpath.  This may be harmless but could mean a problem with the classpath.  Please verify that the classpath for application cm is correctly configured.
    -  2014-10-20 17:23:32,700 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering lookups
    -  2014-10-20 17:23:33,794 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 662 lookups registered, time 1,091.097 ms
    -  2014-10-20 17:23:33,794 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ComponentContainerLookupHelper) Initializing constants on 696 lookup
    interface classes
    -  2014-10-20 17:23:34,793 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ComponentContainerLookupHelper) Done initializing lookup constants,
    time 994.138 ms
    -  2014-10-20 17:23:34,793 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering Entities
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 898 entities registered, time 2,385.217 ms
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering Code Description queries
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 52 code/description queries registered, time 0.113 m
    s
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering algorithm spots
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 248 algorithm spots registered, time 0.506 ms
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering algorithm components
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 114 algorithm components registered, time 0.090 ms
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering batch jobs
    -  2014-10-20 17:23:37,183 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 33 batch jobs registered, time 0.081 ms
    -  2014-10-20 17:23:37,198 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering Components
    -  2014-10-20 17:23:37,198 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 757 components registered, time 10.165 ms
    -  2014-10-20 17:23:37,198 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering Change Handlers
    -  2014-10-20 17:23:37,198 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 275 handlers registered, time 1.178 ms
    -  2014-10-20 17:23:37,198 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering Services
    -  2014-10-20 17:23:37,214 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 561 services registered, time 14.798 ms
    -  2014-10-20 17:23:37,214 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering cobol programs
    -  2014-10-20 17:23:38,245 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 571 cobol copybooks registered, time 1,028.872 ms
    -  2014-10-20 17:23:38,245 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Registering cobol programs
    -  2014-10-20 17:23:38,245 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) 167 cobol programs registered, time 0.113 ms
    -  2014-10-20 17:23:38,245 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Building hibernate configuration
    -  2014-10-20 17:23:38,245 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Loaded hibernate.properties from external file E
    :\CCBDEV\spl\CCBV221\etc\conf\service\hibernate.properties
    -  2014-10-20 17:23:38,260 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Adding 898 hibernate mappings
    -  2014-10-20 17:23:40,853 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 100 mappings
    -  2014-10-20 17:23:41,743 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 200 mappings
    -  2014-10-20 17:23:42,633 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 300 mappings
    -  2014-10-20 17:23:43,273 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 400 mappings
    -  2014-10-20 17:23:43,898 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 500 mappings
    -  2014-10-20 17:23:44,601 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 600 mappings
    -  2014-10-20 17:23:45,366 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 700 mappings
    -  2014-10-20 17:23:46,007 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 800 mappings
    -  2014-10-20 17:23:46,553 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext)   Added 898 mappings
    -  2014-10-20 17:23:46,569 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Done building hibernate configuration, time 8,31
    5.014 ms
    -  2014-10-20 17:23:46,569 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Building hibernate session factory
    -  2014-10-20 17:23:47,506 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.ConnectionProviderFactory) Initializing connection provider: or
    g.hibernate.connection.C3P0ConnectionProvider
    -  2014-10-20 17:23:47,521 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.C3P0ConnectionProvider) C3P0 using driver: oracle.jdbc.driver.O
    racleDriver at URL: jdbc:oracle:thin:@SGPVORACLEUS001:1521:CCBDEMO
    -  2014-10-20 17:23:47,521 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.C3P0ConnectionProvider) Connection properties: {user=cisadm, pa
    ssword=****}
    -  2014-10-20 17:23:47,521 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.connection.C3P0ConnectionProvider) autocommit mode: false
    -  2014-10-20 17:23:47,537 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (v2.log.MLog) MLog clients using log4j logging.
    -  2014-10-20 17:23:47,678 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (v2.c3p0.C3P0Registry) Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug?
    true; trace: 10]
    -  2014-10-20 17:23:47,693 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN  (c3p0.management.ActiveManagementCoordinator) A C3P0Registry mbean is already registe
    red. This probably means that an application using c3p0 was undeployed, but not all PooledDataSources were closed prior to undeployment. This may lead to resource leaks over time. Please take care to
    close all PooledDataSources.
    -  2014-10-20 17:23:47,865 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (c3p0.impl.AbstractPoolBackedDataSource) Initializing c3p0 pool... com.mchange.v2.c3p
    0.PoolBackedDataSource@e670f49c [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@4917967a [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 100
    0, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c
    3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1bqzx6i95cljqsv16r1xpu|409c6
    134, idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 150, maxStatement
    s -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@501aa8b2 [ description -> null, driverClass -> null, factoryClassLocation ->
    null, identityToken -> 1bqzx6i95cljqsv16r1xpu|b8ab98f, jdbcUrl -> jdbc:oracle:thin:@SGPVORACLEUS001:1521:CCBDEMO, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCy
    cle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null,
    factoryClassLocation -> null, identityToken -> 1bqzx6i95cljqsv16r1xpu|2645b48a, numHelperThreads -> 3 ]
    -  2014-10-20 17:23:48,037 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.dialect.Dialect) Using dialect: org.hibernate.dialect.Oracle10gDialect
    -  2014-10-20 17:23:48,052 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.transaction.TransactionFactoryFactory) Transaction strategy: org.hibernate
    .transaction.JDBCTransactionFactory
    -  2014-10-20 17:23:48,052 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.transaction.TransactionManagerLookupFactory) No TransactionManagerLookup c
    onfigured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    -  2014-10-20 17:23:48,099 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.impl.SessionFactoryImpl) building session factory
    -  2014-10-20 17:23:55,662 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (hibernate.impl.SessionFactoryObjectFactory) Not binding factory to JNDI, no JNDI nam
    e configured
    -  2014-10-20 17:23:55,662 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Done building hibernate session factory, time 9,
    105.727 ms
    -  2014-10-20 17:23:55,771 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.sql.OracleFunctionReplacer) Oracle driver statement cache enabled with size
    of 300
    -  2014-10-20 17:23:55,802 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) Database: Oracle, version: Oracle Database 11g R
    elease 11.1.0.0.0 - Production
    -  2014-10-20 17:23:55,802 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) JDBC driver: Oracle JDBC driver, version: 10.2.0
    .2.0
    -  2014-10-20 17:23:56,052 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'ModuleInfoCache'
    -  2014-10-20 17:23:56,068 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.sql.PreparedStatementImpl) SPL Statement result fetch size not specified by
    property spl.runtime.sql.fetchSize, defaulting to 300
    -  2014-10-20 17:23:56,099 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ApplicationContext) System owner is: 'CM'
    -  2014-10-20 17:23:56,115 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (cobol.host.CobolHostStartup) Using provided java command for remote cobol execution:
    E:/CCBDEV/Java/jdk1.5.0_21/bin/java.exe
    -  2014-10-20 17:23:56,115 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (cobol.host.CobolHostStartup) Using provided java command options for remote cobol ex
    ecution: -Xmx256m -server -Dfile.encoding=ISO8859_1 -cp E:/CCBDEV/spl/CCBV221/splapp/standalone/config;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/activation_api-1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/s
    tandalone/lib/coherence-3.5.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/coherence-work-3.5.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commonj-3.5.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standa
    lone/lib/commons-beanutils-core-1.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-cli-1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-codec-1.3.jar;E:/CCBDEV/spl/CCBV221/splapp
    /standalone/lib/commons-collections-2.1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-fileupload-1.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-httpclient-2.0.2.jar;E:/CCBDEV/
    spl/CCBV221/splapp/standalone/lib/commons-io-1.3.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-lang-2.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/commons-logging-1.0.4.jar;E:/CCBDEV/
    spl/CCBV221/splapp/standalone/lib/concurrent-1.3.4.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/dom4j-1.6.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/hibernate-3.2.7.jar;E:/CCBDEV/spl/CCBV221
    /splapp/standalone/lib/icu4j-3.6.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/jaxen-1.1.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/jcip-annotations.jar;E:/CCBDEV/spl/CCBV221/splapp/standal
    one/lib/jta.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/jtds-1.2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/log4j-1.2.15.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/mail_api-1.4.jar;E:/CC
    BDEV/spl/CCBV221/splapp/standalone/lib/mfcobol.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/ojdbc5-11.1.0.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/orai18n-collation.jar;E:/CCBDEV/spl/CCB
    V221/splapp/standalone/lib/orai18n-mapping.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/orai18n-utility.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/orai18n.jar;E:/CCBDEV/spl/CCBV221/splapp/stan
    dalone/lib/serializer-2.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-base-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-ccb-2.3.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib
    /spl-servicebeaninterface-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-shared-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splap
    p/standalone/lib/spl-spml-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-web-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/spl-xai-2.2.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/
    lib/stax-api-1.0.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/stax2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/staxmate-0.9.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/wstx-asl-3.2.1.j
    ar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/xalan-2.7.0.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/xmlparserv2.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/xquery.jar;E:/CCBDEV/spl/CCBV221/
    splapp/standalone/lib/xstream-1.2.1.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/yjp-controller-api-redist.jar;E:/CCBDEV/spl/CCBV221/splapp/standalone/lib/geronimo-spec-j2ee-1.4-rc4.jar
    -  2014-10-20 17:23:56,131 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (cobol.host.CobolHostStartup) Using starting port number 6503 for remote cobol execut
    ion.
    -  2014-10-20 17:23:56,146 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (cobol.host.SocketStrategy) Socket strategy set to com.splwg.base.support.cobol.host.
    sockets.WindowsPipeSocketStrategy
    -  2014-10-20 17:23:56,177 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.environ.ApplicationProperties) Max number of simultaneous child JVM COBOL req
    uests is not specified via property spl.runtime.cobol.maxInflightRequests, defaulting to 12
    -  2014-10-20 17:23:56,177 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.environ.ApplicationProperties) Timeout for zombie JVM detection is not specif
    ied via property spl.runtime.cobol.zombieDetectSecs, defaulting to 20
    -  2014-10-20 17:23:56,177 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.environ.ApplicationProperties) Timeout to forcibly exit zombie child JVM is n
    ot specified via property spl.runtime.cobol.shunnedJVMExitSecs, defaulting to 40
    -  2014-10-20 17:23:56,177 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.environ.ApplicationProperties) Child JVM maximum lifetime (seconds) is not sp
    ecified via property spl.runtime.cobol.remote.jvmMaxLifetimeSecs, defaulting to 0
    -  2014-10-20 17:23:56,177 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (shared.environ.ApplicationProperties) Child JVM maximum COBOL requests is not specif
    ied via property spl.runtime.cobol.remote.jvmMaxRequests, defaulting to 0
    -  2014-10-20 17:23:56,193 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (cobol.host.CobolHostStartup) Using active JVM count of 2 for remote cobol execution.
    -  2014-10-20 17:23:57,615 [JVM 1 INFO logger] INFO  (cobol.host.ProcessLogger) Remote JVM 1 started with arguments:  1 6505 6506 2
    -  2014-10-20 17:23:57,724 [JVM 1 INFO logger] INFO  (cobol.host.ProcessLogger) INFO: Loaded spl.properties from classpath: {spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.tools.loaded.applicati
    ons=base,ccb,cm, spl.runtime.cobol.sql.disableQueryCache=false, spl.runtime.utf8Database=true, spl.runtime.fusionlook=true, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.cache.maxTotalEntries
    =1000, spl.runtime.cobol.cobrcall=false, spl.runtime.cobol.sql.fetchSize=150, spl.runtime.environ.init.dir=E:/CCBDEV/spl/CCBV221/etc, spl.runtime.sql.highValue=?, spl.runtime.service.extraInstallation
    Services=CILTINCP, spl.runtime.oracle.statementCacheSize=300}
    -  2014-10-20 17:23:57,849 [JVM 1 INFO logger] INFO  (cobol.host.ProcessLogger)  -  2014-10-20 17:23:57,756 [Remote JVM:1 Main ] INFO  (cobol.host.SocketStrategy) Socket strategy set to com.splwg.bas
    e.support.cobol.host.sockets.WindowsPipeSocketStrategy
    -  2014-10-20 17:23:57,943 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.ContextFactory) Done creating default context, time 49,253.030 ms
    -  2014-10-20 17:23:57,943 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (api.globalContext.GlobalContextHelper) Start initializing UI context fields
    -  2014-10-20 17:23:57,959 [JVM 1 INFO logger] INFO  (cobol.host.ProcessLogger) Remote JVM 1 listening for requests on port: 6506
    -  2014-10-20 17:23:57,959 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (api.globalContext.GlobalContextHelper) End initializing UI context fields
    -  2014-10-20 17:23:57,959 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (service.impl.ServiceBeanContext) Done initializing ServiceBean, time 49,290.612 ms
    - 763005-2-1 2014-10-20 17:23:57,990 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (api.serviceinterception.InterceptorRepository) Processing interceptor decl
    aration ServiceConfig.xml
    - 763005-2-1 2014-10-20 17:23:57,990 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN  (shared.common.Dom4JHelper) Cannot cache SAXParser instances for improved p
    erformance (JAXP 1.3 required)
    - 763005-2-1 2014-10-20 17:23:58,006 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (api.serviceinterception.ServiceInterceptors) Registering change intercepto
    r class com.splwg.wfmi.workforce.AppointmentInterceptor
    - 763005-2-1 2014-10-20 17:23:58,006 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (api.serviceinterception.ServiceInterceptors) Registering read interceptor
    class com.splwg.wfmi.workforce.AppointmentInterceptor
    - 763005-2-1 2014-10-20 17:23:58,006 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (api.serviceinterception.InterceptorRepository) Interceptor declaration CMS
    erviceConfig.xml not found on the classpath; skipping Interceptor processing
    - 763005-2-1 2014-10-20 17:23:58,068 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'MaintenanceObjectInfoCach
    e'
    - 763005-2-1 2014-10-20 17:23:58,178 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'MetaInformationRepository
    -  2014-10-20 17:23:58,381 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  (support.context.CacheManager) Registering cache 'MetaInformationRepository'
    -  2014-10-20 17:23:58,912 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger) Exception in thread "Remote JVM:1 Thread 1" java.lang.UnsatisfiedLinkError: E:\MicroFocus\Bin\CBLJVM_SUN.DLL: Can't lo
    ad IA 32-bit .dll on a AMD 64-bit platform
    -  2014-10-20 17:23:59,037 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    -  2014-10-20 17:23:59,147 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    -  2014-10-20 17:23:59,256 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
    -  2014-10-20 17:23:59,365 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    -  2014-10-20 17:23:59,475 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.System.loadLibrary(System.java:993)
    -  2014-10-20 17:23:59,584 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at com.microfocus.cobol.RuntimeSystem.<clinit>(Unknown Source)
    -  2014-10-20 17:23:59,693 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at com.splwg.base.support.cobol.host.CobolThread.run(CobolThread.java:30)
    -  2014-10-20 17:24:07,773 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger) java.lang.RuntimeException: No command runner was registered with this remote JVM after waiting 10000ms
    -  2014-10-20 17:24:07,773 [JVM 1 INFO logger] INFO  (cobol.host.ProcessLogger)  -  2014-10-20 17:24:07,773 [Remote JVM:1 Main ] INFO  (cobol.host.RemoteJVM) Shutting down loggers and exiting Remote
    JVM 1
    -  2014-10-20 17:24:07,882 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at com.splwg.base.support.cobol.host.RemoteJVM.waitForServerToRegisterRunner(RemoteJVM.java:163)
    -  2014-10-20 17:24:07,991 [JVM 1 ERROR logger] ERROR (cobol.host.ProcessLogger)       at com.splwg.base.support.cobol.host.RemoteJVM.main(RemoteJVM.java:121)
    -  2014-10-20 17:24:09,304 [pool-2-thread-1] ERROR (cobol.host.OptimizedRemoteExecuterStub) An exception occurred invoking remote command.
    -  2014-10-20 17:24:09,304 [pool-2-thread-1] INFO  (cobol.host.RemoteJVMConnectionImpl) Connection to JVM 1 being shunned
    -  2014-10-20 17:24:09,304 [pool-2-thread-1] ERROR (cobol.host.RemoteJVMConnectionImpl) An exception has occurred calling the remote JVM
    -  2014-10-20 17:24:09,304 [pool-2-thread-1] ERROR (cobol.host.RotatingCommandRunnerProvider) Caught exception in Remote JVM connection housekeeper: com.splwg.base.support.cobol.host.InputClosedExcep
    tion:
    The following stacked messages were reported as the LoggedException was rethrown:
    com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.sendRequestGetResponse(OptimizedRemoteExecuterStub.java:83): An exception has occurred calling the remote JVM
    com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.sendRequestGetResponse(OptimizedRemoteExecuterStub.java:83): An exception occurred invoking remote command.
    The root LoggedException was: The input was closed.
    -  2014-10-20 17:24:10,679 [JVM 2 INFO logger] INFO  (cobol.host.ProcessLogger) Remote JVM 2 started with arguments:  2 6505 6506 2
    -  2014-10-20 17:24:20,727 [JVM 2 INFO logger] INFO  (cobol.host.ProcessLogger) INFO: Loaded spl.properties from classpath: {spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.tools.loaded.applicati
    ons=base,ccb,cm, spl.runtime.cobol.sql.disableQueryCache=false, spl.runtime.utf8Database=true, spl.runtime.fusionlook=true, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.cache.maxTotalEntries
    =1000, spl.runtime.cobol.cobrcall=false, spl.runtime.cobol.sql.fetchSize=150, spl.runtime.environ.init.dir=E:/CCBDEV/spl/CCBV221/etc, spl.runtime.sql.highValue=?, spl.runtime.service.extraInstallation
    Services=CILTINCP, spl.runtime.oracle.statementCacheSize=300}
    -  2014-10-20 17:24:20,837 [JVM 2 INFO logger] INFO  (cobol.host.ProcessLogger)  -  2014-10-20 17:24:20,743 [Remote JVM:2 Main ] INFO  (cobol.host.SocketStrategy) Socket strategy set to com.splwg.bas
    e.support.cobol.host.sockets.WindowsPipeSocketStrategy
    -  2014-10-20 17:24:20,946 [JVM 2 INFO logger] INFO  (cobol.host.ProcessLogger) Remote JVM 2 listening for requests on port: 6506
    -  2014-10-20 17:24:21,415 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger) Exception in thread "Remote JVM:2 Thread 1" java.lang.UnsatisfiedLinkError: E:\MicroFocus\Bin\CBLJVM_SUN.DLL: Can't lo
    ad IA 32-bit .dll on a AMD 64-bit platform
    -  2014-10-20 17:24:21,540 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    -  2014-10-20 17:24:21,649 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    -  2014-10-20 17:24:21,759 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
    -  2014-10-20 17:24:21,868 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    -  2014-10-20 17:24:21,977 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger)       at java.lang.System.loadLibrary(System.java:993)
    -  2014-10-20 17:24:22,087 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger)       at com.microfocus.cobol.RuntimeSystem.<clinit>(Unknown Source)
    -  2014-10-20 17:24:22,196 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger)       at com.splwg.base.support.cobol.host.CobolThread.run(CobolThread.java:30)
    -  2014-10-20 17:24:30,776 [JVM 2 ERROR logger] ERROR (cobol.host.ProcessLogger) java.lang.RuntimeException: No command runner was registered with this remote JVM after waiting 10000ms

    Thanks for your response. I found that, when I copied the shared library to /usr/lib and
    did: ldconfig -n /usr/lib it worked
    But the problem is, this is my computer, but the computers that I am going to run my actual
    JNI application, have restrictive permission. Could anyone please let me know how I can
    do the work without ldconfig. I mean is there anyway I can configure my .so file's path without
    copying it into the /usr/lib folder and without ldconfig?
    I will appreciate any reply. Thanks.

  • I get the message Exception in thread "main" java.lang.StackOverflowError

    I'm trying to make a program for my class and when I run the program I get the error Exception in thread "main" java.lang.StackOverflowError, I have looked up what it means and I don't see where in my program would be giving the error, can someone please help me, here is the program
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    // This visual application allows users to "shop" for items,
    // maintaining a "shopping cart" of items purchased so far.
    public class ShoppingApp extends JFrame
    implements ActionListener {
    private JButton addButton, // Add item to cart
    removeButton; // Remove item from cart
    private JTextArea itemsArea, // Where list of items for sale displayed
    cartArea; // Where shopping cart displayed
    private JTextField itemField, // Where name of item entered
    messageField; // Status messages displayed
    private ShoppingCart cart; // Reference to support object representing
    // Shopping cart (that is, the business logic)
    String itemEntered;
    public ShoppingApp() {
    // This array of items is used to set up the cart
    String[] items = new String[5];
    items[0] = "Computer";
    items[1] = "Monitor";
    items[2] = "Printer";
    items[3] = "Scanner";
    items[4] = "Camera";
    // Construct the shopping cart support object
    cart = new ShoppingCart(items);
    // Contruct visual components
    addButton = new JButton("ADD");
    removeButton = new JButton("REMOVE");
    itemsArea = new JTextArea(6, 8);
    cartArea = new JTextArea(6, 20);
    itemField = new JTextField(12);
    messageField = new JTextField(20);
    // Listen for events on buttons
    addButton.addActionListener(this);
    removeButton.addActionListener(this);
    // The list of items is not editable, and is in light grey (to
    // make it distinct from the cart area -- this would be done
    // better by using the BorderFactory class).
    itemsArea.setEditable(false);
    itemsArea.setBackground(Color.lightGray);
    cartArea.setEditable(false);
    // Write the list of items into the itemsArea
    itemsArea.setText("Items for sale:");
    for (int i = 0; i < items.length; i++)
    itemsArea.append("\n" + items);
    // Write the initial state of the cart into the cartArea
    cartArea.setText("No items in cart");
    // Construct layouts and add components
    JPanel mainPanel = new JPanel(new BorderLayout());
    getContentPane().add(mainPanel);
    JPanel controlPanel = new JPanel(new GridLayout(1, 4));
    controlPanel.add(new JLabel("Item: ", JLabel.RIGHT));
    controlPanel.add(itemField);
    controlPanel.add(addButton);
    controlPanel.add(removeButton);
    mainPanel.add(controlPanel, "North");
    mainPanel.add(itemsArea, "West");
    mainPanel.add(cartArea, "Center");
    mainPanel.add(messageField, "South");
    public void actionPerformed(ActionEvent e)
    itemEntered=itemField.getText();
    if (addButton==e.getSource())
    cart.addComputer();
         messageField.setText("Computer added to the shopping cart");
    public static void main(String[] args) {
    ShoppingApp s = new ShoppingApp();
    s.setSize(360, 180);
    s.show();
    this is a seperate file called ShoppingCart
    public class ShoppingCart extends ShoppingApp
    private String[] items;
    private int[] quantity;
    public ShoppingCart (String[] inputitems)
    super();
    items=inputitems;
    quantity=new int[items.length];
    public void addComputer()
    int x;
    for (x=0; "computer".equals(itemEntered); x++)
         items[x]="computer";
    please somebody help me, this thing is due tomorrow I need help asap!

    First, whenever you post, there is a link for Formatting Help. This link takes you to here: http://forum.java.sun.com/features.jsp#Formatting and tells you how to use the code and /code tags so any code you post will be easily readable.
    Your problem is this: ShoppingApp has a ShoppingCart and ShoppingCart is a ShoppingApp - that is ShoppingCart extends ShoppintApp. You are saying that ShoppingCart is a ShoppingApp - which probably doesn't make sense. But the problem is a child class always calls one of its parent's constructors. So when you create a ShoppingApp, the ShoppingApp constructor tries to create a ShoppingCart. The ShoppingCart calls its superclass constructor, which tries to create a ShoppingCart, which calls its superclass constructor, which tries to create a ShoppingCart, which...
    It seems like ShoppingCart should not extend ShoppingApp.

Maybe you are looking for

  • Excluding Block for Payment Invoice from Correspondance list in F.62 tran

    Hi All, My requirement is Excluding those invoices for which Payment Block indicator is 'P' from Correspondance List in Transaction F.62 for SAP11 Variant. i.e. BSEG-ZLSPR = 'P'. Kindly advise me is there any BADI or User Exit or any other possibilit

  • Downloading large files with short-timed dail-up

    My dial-up account limits the amount of time I can be connected, in this case 8 hours. That's not enough time for me to upgrade my iMac OS 10.4.7 to newer updates. How can I get around this problem? There is no broadband available where I live. Thank

  • How to do online reconciliation in SAP?

    Hi All, I would be thankful to you if you guide me in this problem? How to do online reconciliation in SAP? Thanks and regards, Rajeshwari

  • How To Cut & Paste From Second Video?

    I have two videos.  They're almost identical except for one scene. I've been trying to copy that scene from the first video and paste it into the second.  It would replace the scene in there now exactly.  Both are the same length. I haven't had any s

  • Iphone video sent to email...can't open...help

    I took a video with my iphone 3gs and I can't open it in my email.  What is the problem?  How can I fix this? Thanks for any help.