Problem in SwiftMQ startup on HP-UX
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ASHOK_Chawla
Posted On:   Friday, June 21, 2002 02:53 AM

Hi , I am getting following erro while starting SwiftMQ on HP-UX Booting SwiftMQ 3.2.0 Production ... ... startup: Trace Swiftlet ... startup: Log Swiftlet ... startup: Authentication Swiftlet ... startup: Threadpool Swiftlet ... startup: Timer Swiftlet ... startup: Network Swiftlet ... startup: Store Swiftlet ... startup: Queue Manager Swiftlet ... startup: Topic Manager Swiftlet ... startup: Management Swiftlet ... startup: Routing Swiftlet (Single Connection) ... startup: XA Resource Manager Swiftlet ... startup: JNDI Swiftlet ... startup: JMS Swiftlet ... startup: Deploy Swiftlet SwiftMQ 3.2.0 Production is re   More>>

Hi ,

I am getting following erro while starting SwiftMQ on HP-UX

Booting SwiftMQ 3.2.0 Production ...
... startup: Trace Swiftlet
... startup: Log Swiftlet
... startup: Authentication Swiftlet
... startup: Threadpool Swiftlet
... startup: Timer Swiftlet
... startup: Network Swiftlet
... startup: Store Swiftlet
... startup: Queue Manager Swiftlet
... startup: Topic Manager Swiftlet
... startup: Management Swiftlet
... startup: Routing Swiftlet (Single Connection)
... startup: XA Resource Manager Swiftlet
... startup: JNDI Swiftlet
... startup: JMS Swiftlet
... startup: Deploy Swiftlet
SwiftMQ 3.2.0 Production is ready.
java.lang.IllegalArgumentException: Unknown signal: HUP
at sun.misc.Signal. (Unknown Source)
at java.lang.Terminator.setup(Unknown Source)
at java.lang.Shutdown.add(Unknown Source)
at java.lang.Runtime.addShutdownHook(Unknown Source)
at com.swiftmq.swiftlet.SwiftletManager.startRouter(SwiftletManager.java
:564)
at com.swiftmq.Router.main(Router.java:17)

I am running JDK 1.3.0.0

Cheers
Ashok Chawla

   <<Less

Re: Problem in SwiftMQ startup on HP-UX

Posted By:   Andreas_Mueller  
Posted On:   Friday, June 21, 2002 06:41 AM

Seems that your JDK has a problem with the shutdown hook. It is usually registered on the HUP signal. That's a JDK problem. However, you can disable that SwiftMQ registers a shutdown hook with the system property


-Dswiftmq.shutdown.hook=false


to be defined on the router's command line.


If the shutdown hook is disabled, the router will NOT write a final check point if it is terminated with kill or ctrl/c and will go through a recovery phase on startup. You should therefore shutdown the router only by cli or with the SwiftMQ Explorer to ensure an orderly shutdown which includes the final check point.
About | Sitemap | Contact