Tried this and didn't quite get it to work. Probably because I'm not an jboss-expert but anyways...
I made a .sar file with a file META-INF/jboss-service.xml, which contained the following: <server> | <mbean code="TestInterceptor" | name="portal:service=Interceptor,type=Cms,name=Test" xmbean-dd="" | xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean"> | <xmbean /> | </mbean> | </server> If I put this .sar in the deploy directory I get the following errors: 20:48:23,468 INFO [EjbModule] Deploying Sequence | 20:48:23,531 WARN [EjbModule] Could not load the org.jboss.resource.connectionmanager.CachedConnectionInterceptor interceptor for this cont | ainer | javax.management.InstanceNotFoundException: jboss.jca:service=CachedConnectionManager is not registered. | and a bit later ble: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.portal.jems.as.system.JBossServiceModelMBean) If I put jboss-jars in the lib folder of my jar I can get rid of the ClassNotFoundException, or if I put the .sar under deploy/jboss-portal.sar it also only complains about the following: | 20:50:27,421 INFO [EjbModule] Deploying Sequence | 20:50:27,484 WARN [EjbModule] Could not load the org.jboss.resource.connectionmanager.CachedConnectionInterceptor interceptor for this cont | ainer | javax.management.InstanceNotFoundException: jboss.jca:service=CachedConnectionManager is not registered. Any ideas or pointers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083598#4083598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083598 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
