[jBPM Users] - Re: [jbpm 4.2] Finding a Process Instance
by mike_burton
Thanks for your reply. <environment-interceptor /> is specified in jbpm.cfg.xml. Here is my complete configuration.
<jbpm-configuration>
<process-engine-context>
<repository-service />
<repository-cache />
<execution-service />
<history-service />
<management-service />
<identity-service />
<task-service />
<command-service>
<retry-interceptor />
<environment-interceptor />
</command-service>
<hibernate-configuration>
</hibernate-configuration>
<hibernate-session-factory />
<script-manager default-expression-language="juel"
default-script-language="juel">
<script-language name="juel" factory="org.jbpm.pvm.internal.script.JuelScriptEngineFactory" />
</script-manager>
<id-generator />
<address-resolver />
</process-engine-context>
<transaction-context>
<repository-session />
<db-session />
<message-session />
<timer-session />
<history-session />
</transaction-context>
</jbpm-configuration>
Please suggest me if something wrong in this configuration.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269835#4269835
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269835
14 years, 11 months
[JNDI and Naming] - EJB (SLSB) invocation ignores read timeout, blocks indefinit
by sumitsu
I have an application which is exposed as an EJB 3 stateless session bean, and which is running on a clustered environment of JBoss 4.2.3 instances under Java 6. In some cases, the service exposed by the SLSB never returns after invocation, and in that event, it is imperative that the client time out (and fail out with an Exception) after a relatively short interval.
Clients of the SLSB invoke it via JNDI, and the behavior observed is that even though the properties used to build the JNDI context specify both jnp.timeout and jnp.sotimeout (as prescribed by the NamingContextFactory documentation: http://www.jboss.org/community/wiki/NamingContextFactory), invocations of the SLSB block, and never time out.
I have verified this behavior by deploying a test version of the application which deliberately enters an infinite loop upon invocation, and therefore the clients should encounter the read timeout every time.
Server-Side Code:
| public void postData() {
| log.info("\n" +
| "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" +
| "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" +
| "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" +
| " TIMEOUT TEST -- STALLING NOW" +
| "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" +
| "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" +
| "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
| Object nullRef = null;
| while (nullRef == null) {
| try {
| Thread.sleep(3600000);
| } catch (InterruptedException iEx) {
| // Do nothing.
| }
| }
| log.error("\n" +
| "??????????????????????????????????????????????????\n" +
| "??????????????????????????????????????????????????\n" +
| "??????????????????????????????????????????????????\n" +
| " TIMEOUT TEST -- OUT OF STALL ??" +
| " THIS SHOULD NEVER HAPPEN... TEST MUST NOT BE WORKING..." +
| "??????????????????????????????????????????????????\n" +
| "??????????????????????????????????????????????????\n" +
| "??????????????????????????????????????????????????\n");
| }
|
Client-Side Code:
| Properties jndiProps;
| jndiProps = new Properties();
| jndiProps.setProperty(Context.PROVIDER_URL, "jnp://node1:31501,jnp://node2:31601");
| jndiProps.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
| jndiProps.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
| jndiProps.setProperty("jnp.socketFactory", "org.jnp.interfaces.TimedSocketFactory");
| jndiProps.setProperty("jnp.timeout", "1000");
| jndiProps.setProperty("jnp.sotimeout", "1000");
| jndiProps.setProperty("jnp.maxRetries", "1");
| jndiProps.setProperty("jnp.disableDiscovery", "true");
|
| String relayJndiName = RELAY_JNDI_NAME;
|
| log.info("ESBT@GSC: JNDI Connection Properties: " + jndiProps);
|
| Context jndiContext = new InitialContext(jndiProps);
|
| ServiceRelay relay =
| (ServiceRelay)
| PortableRemoteObject.narrow(jndiContext.lookup(relayJndiName),
| ServiceRelay.class);
| relay.postData();
|
Server-Side Logs:
| 07:35:10.317 INFO [relay.ServiceRelayBean]
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| TIMEOUT TEST -- STALLING NOW!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
Client-Side Logs:
(actual IP addresses replaced by "(node1)"; 31516 is the EJB3 Server Bind Port specified in deploy/ejb3.deployer/META-INF/jboss-service.xml)
| 2009-12-08 21:22:43,408 INFO [(client)] ESBT@GSC: JNDI Connection Properties: {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=jnp://(node1):31500, jnp.disableDiscovery=true, jnp.timeout=1000, jnp.maxRetries=1, jnp.socketFactory=org.jnp.interfaces.TimedSocketFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, jnp.sotimeout=1000}
|
| 2009-12-08 21:22:43,580 DEBUG [org.jboss.security.SecurityAssociation] Using ThreadLocal: false
|
| 2009-12-08 21:22:43,595 TRACE [org.jboss.security.SecurityAssociation] getPrincipal, principal=null
|
| 2009-12-08 21:22:43,626 TRACE [org.jboss.util.propertyeditor.PropertyEditors] Mapping properties for bean: SocketClientInvoker[485fcf29, socket://(node1):31516]
|
| 2009-12-08 21:22:43,626 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] constructed
|
| 2009-12-08 21:22:43,626 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] connecting
|
| 2009-12-08 21:22:43,626 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] Creating semaphore with size 50
|
| 2009-12-08 21:22:43,626 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] added new pool ([]) as ServerAddress[(node1):31516, NO enableTcpNoDelay timeout 0 ms, maxPoolSize=50]
|
| 2009-12-08 21:22:43,626 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] connected
|
| 2009-12-08 21:22:43,626 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516](1) invoking InvocationRequest[409cb0f4, AOP, [advisedMethod=public abstract void com.(omitted).relay.ServiceRelay.postData(), metadata=[metaData={DISPATCHER={OID=[type=AS_ISvalue=jboss.j2ee:ear=Application.ear,jar=Application_Core.jar,name=ServiceRelay,service=EJB3]}, REMOTING={SUBSYSTEM=[type=AS_ISvalue=AOP], INVOKER_LOCATOR=[type=AS_ISvalue=InvokerLocator [socket://node1:31516/]]}, IS_LOCAL={GUID=[type=AS_ISvalue=jboss.j2ee:ear=Application.ear,jar=Application_Core.jar,name=ServiceRelay,service=EJB3,VMID=5bf119373c151ad7:621c5cda:1257036187f:-7951]}}], targetObject=null, arguments=[Ljava.lang.Object;@6f25844f]]
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] obtained semaphore: 49
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] creating socket
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] created socket: Socket[addr=/node1,port=31516,localport=4117]
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] constructing org.jboss.remoting.transport.socket.ClientSocketWrapper instance for Socket[addr=/(node1),port=31516,localport=4117], using timeout 0
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/(node1),port=31516,localport=4117].47171b26] setting timeout to 0
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.ClientSocketWrapper] ClientSocketWrapper[Socket[addr=/(node1),port=31516,localport=4117].47171b26] getting output stream from Socket[addr=/(node1),port=31516,localport=4117], org.jboss.remoting.marshal.serializable.SerializableMarshaller@3df78040
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.serialization.impl.java.JavaSerializationManager] Creating ObjectOutputStream
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.ClientSocketWrapper] ClientSocketWrapper[Socket[addr=/(node1),port=31516,localport=4117].47171b26] getting input stream from Socket[addr=/(node1),port=31516,localport=4117], org.jboss.remoting.marshal.serializable.SerializableUnMarshaller@151ca803
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.serialization.impl.java.JavaSerializationManager] Creating ObjectInputStreamWithClassLoader
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/(node1),port=31516,localport=4117].47171b26] setting timeout to 0
|
| 2009-12-08 21:22:43,642 DEBUG [org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 0
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] writing version 22 on output stream
|
| 2009-12-08 21:22:43,642 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] writing invocation to marshaller
|
| 2009-12-08 21:22:43,658 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] done writing invocation to marshaller
|
| 2009-12-08 21:22:43,658 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[485fcf29, socket://(node1):31516] reading version from input stream
|
(I note that there are two TRACE-level logs on the client-side referencing setting or resetting the timeout to zero.)
The application server nodes are running under Solaris 10. On the client side, I have tried both Solaris and Windows XP, encountering the behavior noted above in each case. I have tried both the HA-JNDI port and the standard JNDI port, as well as specifying both a single URL and a list of all in the cluster, all to no effect.
Can anyone tell me how to enforce the read timeout? Am I missing something when I create the JNDI context? Am I misunderstanding something fundamental with regard to the read timeout / socket timeout?
Thanks in advance for any assistance anyone can offer.
Branden Smith
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269814#4269814
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269814
14 years, 11 months
[JCA] - Re: RAR classloading inversion
by kukeltje
Env:
- JBoss AS 5.1.0.GA
- JDK 1.6.0_12
- Windows XP
I'm trying to create a rar for the filesystem jca example that I pointed to in my other post The rar gets deployed, but when I try to create a corresponding -service.xml file, I get classloading errors.
The error I get is :
Caused by: java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager
The logging (on level trace for the classloader) when deploying the fs-service.xml file, the fs-service.xml file itself are given below.
It does not make a difference if I deploy this either in 'deploy' or in e.g. 'deploy/fs'.
My fs-service.xml file
| <server>
| <mbean code="org.jboss.resource.connectionmanager.XATxConnectionManager"
| name="jboss.jca:service=XATxCM,name=filesystem">
| <depends>jboss.jca:service=RARDeployer</depends>
| <depends optional-attribute-name="ManagedConnectionFactoryName">
| <mbean code="org.jboss.resource.connectionmanager.RARDeployment"
| name="jboss.jca:service=XATxFS,name=filesystem">
| <depends optional-attribute-name="OldRarDeployment">
| jboss.jca:service=RARDeployment,name=jca-filesystem-1.0.0-SNAPSHOT.rar
| </depends>
| <attribute name="ManagedConnectionFactoryProperties">
| <properties>
| <config-property>
| <config-property-name>path</config-property-name>
| <config-property-type>java.lang.String</config-property-type>
| <config-property-value>/tmp/as/fs_store</config-property-value>
| </config-property>
| </properties>
| </attribute>
| <attribute name="ManagedConnectionFactoryClass">org.ewe.jca.fs.impl.FsManagedConnectionFactory</attribute>
| <!--<attribute name="JndiName">TransFS</attribute>-->
| </mbean>
| </depends>
| <depends optional-attribute-name="ManagedConnectionPool">
| <mbean
| code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
| name="jboss.jca:service=ManagedConnectionPool,name=filesystem">
| <attribute name="ManagedConnectionFactoryName">jboss.jca:service=XATxFS,name=filesystem</attribute>
| <attribute name="MinSize">0</attribute>
| <attribute name="MaxSize">50</attribute>
| <attribute name="BlockingTimeoutMillis">5000</attribute>
| <attribute name="IdleTimeoutMinutes">15</attribute>
| <attribute name="Criteria">ByContainer</attribute>
| </mbean>
| </depends>
| <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
| <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
| </server>
|
Logging on trace level (stacktraces shortend for readbility, do not show any (believe me) usable information)
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Creating jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Created jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Starting jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Started jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.ClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} org.jboss.resource.connectionmanager.XATxConnectionManager matches parent beforeFilter=<EVERYTHING>
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.ClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} load class from parent org.jboss.resource.connectionmanager.XATxConnectionManager parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} findLoader org/jboss/resource/connectionmanager/XATxConnectionManager.class classLoader=BaseClassLoader@168b2b6{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} allExports=false findInParent=false
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} trying to load org/jboss/resource/connectionmanager/XATxConnectionManager.class from all exports of package org.jboss.resource.connectionmanager [VFSClassLoaderPolicy@30e4a7{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}]
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.filter.FilteredDelegateLoader] (HDScanner) FilteredDelegateLoader@b7195c{delegate=VFSClassLoaderPolicy@30e4a7{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}} org/jboss/resource/connectionmanager/XATxConnectionManager.class matches resource filter=<EVERYTHING>
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} not loading org/jboss/resource/connectionmanager/XATxConnectionManager.class from imports it has no delegates
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} trying to load org/jboss/resource/connectionmanager/XATxConnectionManager.class from requesting BaseClassLoader@168b2b6{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml}
| 2009-12-09 14:29:54,422 TRACE [org.jboss.classloader.spi.ClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} org.jboss.resource.connectionmanager.XATxConnectionManager does NOT match parent afterFilter=<NOTHING>
| 2009-12-09 14:29:54,422 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Instantiated: name=jboss.jca:name=filesystem,service=XATxCM state=Described mode=Manual requiredState=Configured
| java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager from BaseClassLoader@168b2b6{VFSClassLoaderPolicy@acee53{name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml domain=ClassLoaderDomain@9b1670{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a} roots=[MemoryContextHandler@22198957[path= context=vfsmemory://4p72304e-7ssefn-g300k9ql-1-g3050ic6-ap real=vfsmemory://4p72304e-7ssefn-g300k9ql-1-g3050ic6-ap]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}}
| at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
| ...
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
| at java.lang.Thread.run(Thread.java:619)
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Stopping jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Stopped jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Destroying jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,422 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Destroyed jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 14:29:54,423 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml state=PreReal mode=Manual requiredState=Real
| org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jca:service=XATxCM,name=filesystem
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)
| ...
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager from BaseClassLoader@168b2b6{VFSClassLoaderPolicy@acee53{name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml domain=ClassLoaderDomain@9b1670{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a} roots=[MemoryContextHandler@22198957[path= context=vfsmemory://4p72304e-7ssefn-g300k9ql-1-g3050ic6-ap real=vfsmemory://4p72304e-7ssefn-g300k9ql-1-g3050ic6-ap]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}}
| at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
| ...
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
| ... 29 more
| 2009-12-09 14:29:54,423 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} unregisterClassLoader BaseClassLoader@168b2b6{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml}
| 2009-12-09 14:29:54,423 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderPolicy] (HDScanner) VFSClassLoaderPolicy@acee53{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} shutdown!
| 2009-12-09 14:29:54,423 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@168b2b6{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} shutdown!
| 2009-12-09 14:29:54,423 TRACE [org.jboss.resource.deployers.RARParserDeployer] (HDScanner) Undeploying: vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml
| 2009-12-09 14:29:54,423 TRACE [org.jboss.resource.deployers.RARParserDeployer] (HDScanner) Undeployed: vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml
| 2009-12-09 14:29:54,423 TRACE [org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer] (HDScanner) Undeploying: vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml
| 2009-12-09 14:29:54,423 TRACE [org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer] (HDScanner) Undeployed: vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml
| 2009-12-09 14:29:54,423 WARN [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
| org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** DEPLOYMENTS IN ERROR: Name -> Error
|
| vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jca:service=XATxCM,name=filesystem
|
|
| DEPLOYMENTS IN ERROR:
| Deployment "vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager from BaseClassLoader@168b2b6{VFSClassLoaderPolicy@acee53{name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml domain=ClassLoaderDomain@9b1670{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a} roots=[MemoryContextHandler@22198957[path= context=vfsmemory://4p72304e-7ssefn-g300k9ql-1-g3050ic6-ap real=vfsmemory://4p72304e-7ssefn-g300k9ql-1-g3050ic6-ap]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}}
|
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
| ...
| at java.lang.Thread.run(Thread.java:619)
|
|
Now I also read the DZone article about classloading and tried a jboss-classloading.xml file: (the 'big-ball-o-mud')
<classloading xmlns="urn:jboss:classloading:1.0"
| domain="IsolatedDomain"
| export-all="NON_EMPTY"
| import-all="true">
| </classloading>
and put this in META-INF in my RAR file.
The Error is the same, but I do see differences in the classloading:
| 2009-12-09 15:31:19,405 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Creating jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,405 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Created jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,405 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Starting jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,406 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Started jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,406 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} loadClass org.jboss.resource.connectionmanager.XATxConnectionManager resolve=false
| 2009-12-09 15:31:19,406 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} aquireLockFairly Thread[HDScanner,5,jboss]
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} aquiredLock Thread[HDScanner,5,jboss] holding=1
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} load from domain org.jboss.resource.connectionmanager.XATxConnectionManager domain=ClassLoaderDomain@9b1670{DefaultDomain}
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.ClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} org.jboss.resource.connectionmanager.XATxConnectionManager matches parent beforeFilter=<EVERYTHING>
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.ClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} load class from parent org.jboss.resource.connectionmanager.XATxConnectionManager parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} findLoader org/jboss/resource/connectionmanager/XATxConnectionManager.class classLoader=BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} allExports=false findInParent=false
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} trying to load org/jboss/resource/connectionmanager/XATxConnectionManager.class from all exports of package org.jboss.resource.connectionmanager [VFSClassLoaderPolicy@18297fe{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}]
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.filter.FilteredDelegateLoader] (HDScanner) FilteredDelegateLoader@1c8f644{delegate=VFSClassLoaderPolicy@18297fe{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}} org/jboss/resource/connectionmanager/XATxConnectionManager.class matches resource filter=<EVERYTHING>
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@165d118{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/conf/jboss-service.xml} get resource locally org/jboss/resource/connectionmanager/XATxConnectionManager.class
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@165d118{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/conf/jboss-service.xml} resource is blacklisted org/jboss/resource/connectionmanager/XATxConnectionManager.class
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} not loading org/jboss/resource/connectionmanager/XATxConnectionManager.class from imports it has no delegates
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} trying to load org/jboss/resource/connectionmanager/XATxConnectionManager.class from requesting BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml}
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} get resource locally org/jboss/resource/connectionmanager/XATxConnectionManager.class
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} resource not found locally org/jboss/resource/connectionmanager/XATxConnectionManager.class
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.ClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} org.jboss.resource.connectionmanager.XATxConnectionManager does NOT match parent afterFilter=<NOTHING>
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} unlock Thread[HDScanner,5,jboss] holding=1
| 2009-12-09 15:31:19,407 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} class not found org.jboss.resource.connectionmanager.XATxConnectionManager
| 2009-12-09 15:31:19,407 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Instantiated: name=jboss.jca:name=filesystem,service=XATxCM state=Described mode=Manual requiredState=Configured
| java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager from BaseClassLoader@1218ac4{VFSClassLoaderPolicy@11d6415{name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml domain=ClassLoaderDomain@9b1670{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a} roots=[MemoryContextHandler@9817980[path= context=vfsmemory://a22s4p-872h67-g306fh47-1-g3077hoq-ab real=vfsmemory://a22s4p-872h67-g306fh47-1-g3077hoq-ab]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}}
| at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
| ...
| at java.lang.Thread.run(Thread.java:619)
| 2009-12-09 15:31:19,409 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Stopping jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,409 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Stopped jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,409 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Destroying jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,409 DEBUG [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (HDScanner) Destroyed jboss.jca:service=ManagedConnectionPool,name=filesystem
| 2009-12-09 15:31:19,416 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml state=PreReal mode=Manual requiredState=Real
| org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jca:service=XATxCM,name=filesystem
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| ...
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager from BaseClassLoader@1218ac4{VFSClassLoaderPolicy@11d6415{name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml domain=ClassLoaderDomain@9b1670{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a} roots=[MemoryContextHandler@9817980[path= context=vfsmemory://a22s4p-872h67-g306fh47-1-g3077hoq-ab real=vfsmemory://a22s4p-872h67-g306fh47-1-g3077hoq-ab]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}}
| at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
| ...
| at org.jboss.system.ServiceController.install(ServiceController.java:274)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
| ... 29 more
| 2009-12-09 15:31:19,421 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@9b1670{DefaultDomain} unregisterClassLoader BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml}
| 2009-12-09 15:31:19,422 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderPolicy] (HDScanner) VFSClassLoaderPolicy@11d6415{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} shutdown!
| 2009-12-09 15:31:19,422 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@1218ac4{vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml} shutdown!
| 2009-12-09 15:31:19,423 WARN [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
| org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** DEPLOYMENTS IN ERROR: Name -> Error
|
| vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jca:service=XATxCM,name=filesystem
|
|
| DEPLOYMENTS IN ERROR:
| Deployment "vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager from BaseClassLoader@1218ac4{VFSClassLoaderPolicy@11d6415{name=vfsfile:/C:/Users/rvkuijk.OFFICE/applicaties/jboss-5.1.0.GA/server/default/deploy/fs-service.xml domain=ClassLoaderDomain@9b1670{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@e5855a} roots=[MemoryContextHandler@9817980[path= context=vfsmemory://a22s4p-872h67-g306fh47-1-g3077hoq-ab real=vfsmemory://a22s4p-872h67-g306fh47-1-g3077hoq-ab]] delegates=null exported=[] <IMPORT-ALL>NON_EMPTY}}
|
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
| at java.lang.Thread.run(Thread.java:619)
|
|
In both situations it finds the class initally on a 'parent' level, but filters it out ('blacklisted' in te second case). I tried many different configurations of jboss-classloading.xml but without sucess.
Does anybody have an idea what I do wrong?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269812#4269812
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269812
14 years, 11 months
[JBoss Messaging Users] - Re: Conterpart of UIL2XAConnectionFactory?
by Marco.Pehla
Here is the configuration file from JBoss MQ.
uil2-service.xml:
<server>
|
| <!-- JBossMQ using the Unified Invocation Layer
| All communication uses one socket connection -->
|
| <mbean code="org.jboss.mq.il.uil2.UILServerILService"
| name="jboss.mq:service=InvocationLayer,type=UIL2">
|
| <!-- The server chain -->
| <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
| <!-- JNDI binding -->
| <attribute name="ConnectionFactoryJNDIRef">ConnectionFactory</attribute>
| <!-- JNDI binding for XA -->
| <attribute name="XAConnectionFactoryJNDIRef">XAConnectionFactory</attribute>
| <!-- The bind address -->
| <attribute name="BindAddress">${jboss.bind.address}</attribute>
| <!-- The bind port -->
| <attribute name="ServerBindPort">8093</attribute>
| <!-- The ping period in millis -->
| <attribute name="PingPeriod">60000</attribute>
| <!-- Whether tcp/ip does not wait for buffer fills -->
| <attribute name="EnableTcpNoDelay">true</attribute>
| <!-- Used to disconnect the client on the serverside if there is no activity -->
| <!-- Ensure this is greater than the ping period -->
| <attribute name="ReadTimeout">120000</attribute>
| <!-- Used to disconnect the client on the clientside if there is no activity -->
| <!-- Ensure this is greater than the ping period -->
| <attribute name="ClientReadTimeout">120000</attribute>
| <!-- The size of the buffer (in bytes) wrapping the socket -->
| <!-- The buffer is flushed after each request -->
| <attribute name="BufferSize">2048</attribute>
| <!-- Large messages may block the ping/pong -->
| <!-- A pong is simulated after each chunk (in bytes) for both reading and writing -->
| <!-- It must be larger than the buffer size -->
| <attribute name="ChunkSize">1000000</attribute>
| </mbean>
|
| <!-- Aliases UIL -> UIL2 for backwards compatibility
| the deprecated UIL deployment can be found in docs/examples/jca -->
| <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UIL">
| <attribute name="FromName">UILConnectionFactory</attribute>
| <attribute name="ToName">ConnectionFactory</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
| <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UILXA">
| <attribute name="FromName">UILXAConnectionFactory</attribute>
| <attribute name="ToName">XAConnectionFactory</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
| <mbean code="org.jboss.naming.NamingAlias"
| name="jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory">
| <attribute name="FromName">UIL2ConnectionFactory</attribute>
| <attribute name="ToName">ConnectionFactory</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
| <mbean code="org.jboss.naming.NamingAlias"
| name="jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory">
| <attribute name="FromName">UIL2XAConnectionFactory</attribute>
| <attribute name="ToName">XAConnectionFactory</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| <!--
| Two JNDI bindings that act like jms client connections remotely
| but have j2ee defined semantics inside JBoss
| -->
| <mbean code="org.jboss.naming.LinkRefPairService"
| name="jboss.jms:alias=QueueConnectionFactory">
| <attribute name="JndiName">QueueConnectionFactory</attribute>
| <attribute name="RemoteJndiName">ConnectionFactory</attribute>
| <attribute name="LocalJndiName">java:/JmsXA</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
| <mbean code="org.jboss.naming.LinkRefPairService"
| name="jboss.jms:alias=TopicConnectionFactory">
| <attribute name="JndiName">TopicConnectionFactory</attribute>
| <attribute name="RemoteJndiName">ConnectionFactory</attribute>
| <attribute name="LocalJndiName">java:/JmsXA</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
| </server>
As you can see, we find the implementation of the MBean in the class org.jboss.mq.il.uil2.UILServerILService. An alias UIL2XAConnectionFactory is defined and refers to XAConnectionFactory.
Is it possible to do something similar with JBoss Messaging?
Thank you in advance.
regards
Marco
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269811#4269811
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269811
14 years, 11 months