[JBoss Messaging] New message: "Include XA aware connection factory with EAR"
by Alexander Hartner
User development,
A new message was posted in the thread "Include XA aware connection factory with EAR":
http://community.jboss.org/message/519323#519323
Author : Alexander Hartner
Profile : http://community.jboss.org/people/ejb3workshop
Message:
--------------------------------------------------------------
I would like to bundle the definition of an XA aware connection factory with my applications EAR. I am already including the destination need by the MDBs using a abc-service.xml file. However I would like to create a xa-transaction aware connection factory similar to those defined in hajndi-jms-ds.xml. I tried included a separate xyz-services.xml file with the following content:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
<tx-connection-factory>
<jndi-name>jms/CustomJMSConnectionFactory</jndi-name>
<xa-transaction/>
<rar-name>jms-ra.rar</rar-name>
<track-connection-by-tx/>
<connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
<config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
<config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
<max-pool-size>20</max-pool-size>
<security-domain-and-application>JmsXARealm</security-domain-and-application>
<use-java-context>false</use-java-context>
</tx-connection-factory>
</connection-factories>
{code}
However this didn't work. I know that I could define a connection factory using the following in my abc-service.xml file which is included in my ear.
{code:xml}
<mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
name="jboss.messaging.connectionfactory:service=MyConnectionFactory"
xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer
</depends>....
{code}
however I am not sure if these will have the same transactional properties as those connection factories defined in hajndi-jms-ds.xml. Any information on the differences between the connection factories defined in hajndi-jms-ds.xml and those in jboss-messaging.sar/connection-factories-service.xml / abc-service.xml would help as well. Ideally I am looking for a method to define a connection factory with the same properties as JmsXA and include that within my EAR file.
Thanks in advance
Alex
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519323#519323
16 years, 3 months
[JBoss Tools] New message: "org.jboss.tools.jst.web.xml"
by Mario Marques Junior
User development,
A new message was posted in the thread "org.jboss.tools.jst.web.xml":
http://community.jboss.org/message/519322#519322
Author : Mario Marques Junior
Profile : http://community.jboss.org/people/mmarques
Message:
--------------------------------------------------------------
I started a new project with JBoss Tools, and this file was generated.
It contains a lot of references to my file system (C:\...), and I was expecting problems sharing the project with my team, but I got surprised when they could run the project even without this file.
I want to know which functionalities are enabled by this configuration, so I can correct the references on this file (and test if the references I've changed are working).
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519322#519322
16 years, 3 months
[jBPM] New message: "Re: jBPM-4.2 Remote API problem?"
by Mark Roy
User development,
A new message was posted in the thread "jBPM-4.2 Remote API problem?":
http://community.jboss.org/message/519320#519320
Author : Mark Roy
Profile : http://community.jboss.org/people/markroy
Message:
--------------------------------------------------------------
Okay, I changed my client jbpm.cfg.xml to
<
jbpm-configuration>
<process-engine-context>
<repository-service />
<repository-cache />
<execution-service />
<history-service />
<management-service />
<task-service />
<identity-service />
<ejb-remote-command-service name=+"txRequiredCommandService"+ initial-context-factory=+"org.jnp.interfaces.NamingContextFactory"+ provider-url=+"jnp://localhost"+ url-pkg-prefixes=+"org.jboss.naming:org.jnp.interfaces"+>
<retry-interceptor />
</ejb-remote-command-service>
</process-engine-context>
<jbpm-configuration>
(I copied the contents of jbpm.jbossremote.cfg.xml and added the name to the ejb-remote-command-service). It seems to work now.
So, this is a bug/omission in jbpm.jbossremote.cfg.xml that was introduced when the call to checkDb() was added? Apparently no one else is using the remote configuration because it could not have worked for anyone?
Thanks,
Mark
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519320#519320
16 years, 3 months
[JBoss AOP Development] New message: "Re: ClassPool Refactoring"
by Flavia Rainone
User development,
A new message was posted in the thread "ClassPool Refactoring":
http://community.jboss.org/message/519315#519315
Author : Flavia Rainone
Profile : http://community.jboss.org/people/flavia.rainone@jboss.com
Message:
--------------------------------------------------------------
> mailto:kabir.khan@jboss.com wrote:
>
> While I am here, I noticed that the point 3) in http://community.jboss.org/message/281717#281717 has not been done. I want to change ClassPoolRepostitory.callback to a list, which would mean changing the API from:
>
> *public* *void* setClassPoolRepositoryCallback(ClassPoolRepositoryCallback callback)
> *public* ClassPoolRepositoryCallback getClassPoolRepositoryCallback()
>
>
>
> to:
>
>
>
> *public* *void* addClassPoolRepositoryCallback(ClassPoolRepositoryCallback callback)
> *public* *void* removeClassPoolRepositoryCallback(ClassPoolRepositoryCallback callback)
> *public* Collection<ClassPoolRepositoryCallback> getClassPoolRepositoryCallbacks()
>
>
>
>
> While this is a change in API, I seriously doubt anybody is using this yet, apart from the unreleased AOP stuff Flavia is working on, so I'll make this change unless Ales objects by Monday afternoon :-)
Thanks, Kabir! Doing this and checking for whether it added some overhead was next in my list (I was first dealing with the performance hit, which I considered more urgent).
I'll profile it next week, once I'm back.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519315#519315
16 years, 3 months
[JBoss Web Services] New message: "Folder access right from WS Jboss"
by Christophe Suzzoni
User development,
A new message was posted in the thread "Folder access right from WS Jboss":
http://community.jboss.org/message/519310#519310
Author : Christophe Suzzoni
Profile : http://community.jboss.org/people/suzchr
Message:
--------------------------------------------------------------
Hi,
I deploy some web service created by Axis to my Jboss server. This WS list the files save in a specific folder.
When I run my process like a java application the process is a success. However, when I start my process like a web service deploy on my jboss the process does not have the right to read/write in the specific forlder.
Do I have to parameter some rights in Jboss to solve this issue ?
For your information, my jboss is a 4.2.3 install on Windows.
Thank you in advance
Chris
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519310#519310
16 years, 3 months
[JBoss Microcontainer Development POJO Server] New message: "Re: StructureModificationChecker and Synch with VFS3"
by Ales Justin
User development,
A new message was posted in the thread "StructureModificationChecker and Synch with VFS3":
http://community.jboss.org/message/519307#519307
Author : Ales Justin
Profile : http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
> With the strategy discussed in this post, does it make sense to have a SynchWrapperModificationChecker? Are there use cases for still having a the deployment root be periodically synchronized with the the original physical location?
This workaround was introduced due to how JBossWeb works.
e.g.
If you had to create copy -- which we did due to Winz locking crap & resource loading at undeploy - JBW code worked on a copy.
But users of course don't have a clue about that copy (nor should they),
hence they expect when they changed the (exploded) original, the copy needed to reflect those changes.
Dunno how JBW works these days, and I'm not following this descussion in details, to know if/how this still applys.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519307#519307
16 years, 3 months