0 Replies Latest reply on Nov 28, 2007 3:33 AM by Hema T

    Jboss shuts down automatically after throwing CallBackExcept

    Hema T Newbie

      Hi,

      I'm getting a callback exception in JBoss while starting a service (.sar file) and JBoss shuts down automatically after giving this exception. Can you please help me in finding out the reason for this issue.

      Here is the log in JBoss console:

      13:45:49,575 INFO [DeviceConnectivityGateway] Attempting to load plugin: com.ge.healthcare.gehcit.e
      hrae.datahandler.datacapture.DeviceMessageObserver
      13:45:49,575 INFO [DeviceConnectivityGateway] loading plugin (com.ge.healthcare.gehcit.ehrae.dataha
      ndler.datacapture.DeviceMessageObserver) ...done
      13:45:49,810 WARN [JDBCExceptionReporter] SQL Error: 16938, SQLState: S0001
      13:45:49,810 ERROR [JDBCExceptionReporter] sp_cursoropen/sp_cursorprepare: The statement parameter c
      an only be a batch or a stored procedure with a single select, without FOR BROWSE, COMPUTE BY, or va
      riable assignments.
      13:45:49,825 ERROR [DataCaptureController] org.hibernate.CallbackException: An exception occurred in
      a callback

      13:45:49,825 INFO [Server] Runtime shutdown hook called, forceHalt: true
      13:45:49,825 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      13:45:52,376 INFO [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.wa
      r/
      13:45:52,439 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=Co
      nnectionFactoryBinding,name=JmsXA' from JNDI name 'java:JmsXA'
      13:45:52,470 INFO [testTopic] Unbinding JNDI name: topic/testTopic
      13:45:52,470 INFO [securedTopic] Unbinding JNDI name: topic/securedTopic
      13:45:52,470 INFO [testDurableTopic] Unbinding JNDI name: topic/testDurableTopic
      13:45:52,486 INFO [testQueue] Unbinding JNDI name: queue/testQueue
      13:45:52,486 INFO [A] Unbinding JNDI name: queue/A
      13:45:52,486 INFO [B] Unbinding JNDI name: queue/B
      13:45:52,486 INFO [C] Unbinding JNDI name: queue/C
      13:45:52,486 INFO [D] Unbinding JNDI name: queue/D
      13:45:52,502 INFO [ex] Unbinding JNDI name: queue/ex
      13:45:52,502 INFO [DLQ] Unbinding JNDI name: queue/DLQ
      13:45:52,517 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=Da
      taSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS'
      13:45:53,644 INFO [HypersonicDatabase] Database standalone closed clean
      13:45:53,691 INFO [MailService] Mail service 'java:/Mail' removed from JNDI
      13:45:53,691 INFO [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/con
      sole-mgr.sar/web-console.war/


      This is the jboss-service.xml of my .sar file.
      <?xml version="1.0" encoding="UTF-8"?>





      Thanks in advance,
      Hema