It works for me.
Change: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCAMessageInflowExample
to have
|
| public void stop()
|
| {
| log.info("Stopping", new Throwable("StackTrace"));
|
| for (Iterator i = activations.entrySet().iterator(); i.hasNext();)
|
| {
|
| etc.
|
And then I get:
| 07:13:36,969 INFO [RARDeployment] Required license terms exist, view
META-INF/r
| a.xml in .../deploy/filexmlrar.rar
| 07:13:41,206 INFO [Server] Runtime shutdown hook called, forceHalt: true
| 07:13:41,218 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
| 07:13:41,240 INFO [FileXMLResourceAdapter] Stopping
| java.lang.Throwable: StackTrace
| at
org.jboss.example.FileXMLResourceAdapter.stop(FileXMLResourceAdapter.
| java:79)
| at
org.jboss.resource.deployment.RARDeployment.stopService(RARDeployment
| .java:114)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSu
| pport.java:315)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
| eanSupport.java:247)
| at
org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBea
| nSupport.java:124)
| at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
| 64)
| at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
| ler.java:974)
| at $Proxy0.stop(Unknown Source)
| at
org.jboss.system.ServiceController.stop(ServiceController.java:508)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:262)
| at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
| at $Proxy40.stop(Unknown Source)
| at
org.jboss.deployment.SimpleSubDeployerSupport.stopService(SimpleSubDe
| ployerSupport.java:363)
| at
org.jboss.deployment.SimpleSubDeployerSupport.stop(SimpleSubDeployerS
| upport.java:141)
| at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:658)
| at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:631)
| at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:510)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920911#3920911
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920911
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user