Eric Choi [http://community.jboss.org/people/echoi11] created the discussion
"EJB Transactions across two Jboss AS"
To view the discussion, visit: http://community.jboss.org/message/598655#598655
--------------------------------------------------------------
I have two Jboss Servers running on 5.1 and I am trying to get transaction rollback to happen.
JBoss A is running a web app which makes an EJB call to JBoss B. The EJB code on JBoss B writes to an Oracle db.
When I issue a rollback from JBoss A, the transaction becomes INACTIVE (status 6), but the db insert is not rolled back.
When I deploy both the web app and EJB on a single JBoss, it works fine.
Has anyone had success with this?
I searched extensively for this but only found articles on distributed database and jms writes. There was little to nothing on distributed EJB calls.
Thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598655#598655]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
rop [http://community.jboss.org/people/rop] created the discussion
"Re: EJB3 and Struts2 with CDI"
To view the discussion, visit: http://community.jboss.org/message/598651#598651
--------------------------------------------------------------
Still didnt get EJB3 dependency-injection to work with Struts2 action-classes.
The main difference to a plain servlet, is that the action-classes in Struts2
are created on-the-fly (new myActionclass()) everytime a request comes in,
and @EJB doesnt work for such classes.
Currently, as a work-around, I just do jndi context-lookup to get the EJB3 instead.
But I read somewhere that CDI should be able to handle this.
Is that correct?
Any input still appreciated!
Thanx,
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598651#598651]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
rop [http://community.jboss.org/people/rop] created the discussion
"Function-testing EJB3 for Jboss6"
To view the discussion, visit: http://community.jboss.org/message/598649#598649
--------------------------------------------------------------
Hi,
Just would like your advice on how to best function-test EJB3 beans for Jboss6 during development
without needing to deploy them to the server. I found at least 3 options.
1. Arquillian
2. Embedded EJB3
3. Ejb3Unit
Am I correct that Arquillian is currently the preferred choice, and the other two a bit out-dated?
Any other options than those 3?
Thanx,
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598649#598649]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Matthew Shostak [http://community.jboss.org/people/commissarmatt] created the discussion
"Re: cxf does not work with JBOSS 4.2.3 ??"
To view the discussion, visit: http://community.jboss.org/message/598622#598622
--------------------------------------------------------------
I'm having this same problem, however removing jars from jboss/lib/endorsed is not an option. What to do then? In other forums I've seen advice to add a jboss-web.xml to my WEB-INF folder, with contents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC
"-//JBoss//DTD Web Application 4.2//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
myapp:loader=anyUniqueName
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>
but that doesn't work either. I see no other solutions posted. Is there a way to fix this?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598622#598622]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Sander Sõnajalg [http://community.jboss.org/people/sander24] created the discussion
"Re: ZipException during war file deploy JBoss 5.1."
To view the discussion, visit: http://community.jboss.org/message/598555#598555
--------------------------------------------------------------
For me, it helped if i:
1) added file seam.properties (with empty contents) to the classpath. This activates the Seam deployer which then applies the VFSScanner (instead of the URLScanner that causes this error)
2) I also had to add file seam-deployment.properties to classpath, with contents:
org.jboss.seam.deployment.scanners=org.jboss.seam.integration.jbossas.vfs.VFSScanner
.. anyway, this issue is due to using URLScanner instead of VFSScanner (i.e. not activating seam deployer correctly)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598555#598555]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Anders Welen [http://community.jboss.org/people/Welle] created the discussion
"Re: Binding JBoss to two addresses but not all addresses"
To view the discussion, visit: http://community.jboss.org/message/594929#594929
--------------------------------------------------------------
> If add a second connector could I make it use a new variable like jboss.bind.address2?
> Then set that on the calling command line as "-D" param to the java command?
Yes
> One last question do you think I can do the same for AJP if needed? In the immediate case it isn't.
Yes
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/594929#594929]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
jaysmith [http://community.jboss.org/people/jaysmith] created the discussion
"Possible to persist specified nodes in cache store?"
To view the discussion, visit: http://community.jboss.org/message/598512#598512
--------------------------------------------------------------
Hi there,
I have a cche with 3 nodes, the expiration policy of each being different. I am now looking to add large objects to the cache and want to use a FileCacheLoader for testing purposes as a proof of concept and these objects will be referenced in another node.
Is there anyway of configuring the cache loader so that only the objects from the new node will be cached only?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598512#598512]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]