[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Class loader isolation broken in 4.2.0GA

2007-07-19 Thread apill
Where should the file be packaged? At the moment it is in the ear inside META-INF/jboss-app.xml Please can you tell me where I should move it to. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065661#4065661 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Class loader isolation broken in 4.2.0GA

2007-07-19 Thread apill
http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration seems to suggest it should me inside the META-INF directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065664#4065664 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Class loader isolation broken in 4.2.0GA

2007-07-19 Thread apill
Fixed the problem. In jboss-service.xml attribute name=URLs |deploy/,mydeploy | /attribute Needed to be attribute name=URLs |deploy/,mydeploy/ | /attribute Bummer! Not an easily found. The app server was deploying mydeploy dir as the root because I forgot the slash! View the

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Class loader isolation broken in 4.2.0GA

2007-07-18 Thread apill
Is this related to http://jira.jboss.org/jira/browse/JBAS-4536 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065377#4065377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065377

[jboss-user] [Installation, Configuration DEPLOYMENT] - Class loader isolation broken in 4.2.0GA

2007-07-17 Thread apill
I have an application (ear) that was running on 4.0.5 and contained a jboss-app.xml in the ear's META-INF directory. This worked perfectly alongside our other application. jboss-app | loader-repositorydot.com:loader=imhist-server-deploy/loader-repository | /jboss-app I have tried to

[jboss-user] [EJB 3.0] - Re: java.lang.NullPointerException at org.jboss.ejb.txtimer.

2007-04-20 Thread apill
I had a working ear on JBoss 5.0.0Beta1. When I tried to switch to JBoss 5.0.0Beta2 I get this same error. I have no idea what could be causing this, is it a bug in JBoss 5.0.0Beta2? The ejb that fails to install is using a MS SQL datasource. If you require any more information I am happy to

[jboss-user] [JBoss jBPM] - Re: Conditional Transitions

2007-03-07 Thread apill
Thanks. Is it possible to get the latest jBPM with conditional transitions working in eclipse easily? I have installed jbpm-jpdl-designer-3.1.0.alpha3 and created a new project referencing jBPM 3.1.4 as the core jBPM libraries. It seems that these libraries don't contain the latest jPDL

[jboss-user] [JBoss jBPM] - Conditional Transitions

2007-03-06 Thread apill
See http://jira.jboss.com/jira/browse/JBPM-454 Is there any documentation for this feature? And...is it supported in the jPDL designer for Eclipse? Thanks. Adrian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025464#4025464 Reply to the post :

[jboss-user] [EJB 3.0] - Embedded JBoss protocol unknown vfsfile. URLStreamHandlers

2007-02-22 Thread apill
Bill, I checked out the Embedded JBoss code and built it from the source today. I have set up JUnit tests to deploy and test my EJBs. When I run the tests in Eclipse they work, but when I build the project in Maven it fails. I have done a lot of investigating and debugging in the embedded code,

[jboss-user] [EJB 3.0] - Re: Embedded JBoss protocol unknown vfsfile. URLStreamHandle

2007-02-22 Thread apill
FYI I came across a maven plugin bug... http://jira.codehaus.org/browse/SUREFIRE-104 I have half remedied my problems with the following code and setting the java protocol system property... | org.jboss.net.protocol.URLStreamHandlerFactory factory = new

[jboss-user] [EJB 3.0] - Re: Embedded JBoss protocol unknown vfsfile. URLStreamHandle

2007-02-22 Thread apill
Problems all fixed. The final error was a stupid mistake on my behalf! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020718#4020718 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020718

[jboss-user] [EJB 3.0] - Embeddable JBoss

2007-02-14 Thread apill
Please could you give a wrough estimate of when we are likely to see a release for the new Embeddable JBoss? i.e. Next week, in a few weeks, 1 month, 3 months, 6 months, 1 year? Thank you very much. Adrian View the original post :

[jboss-user] [EJB 3.0] - Can hibernate 3.2.1GA be used with the embeddable EJB contai

2007-02-07 Thread apill
Can hibernate 3.2.1GA be used with any current version of the embeddable EJB container? Thanks. Adrian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012400#4012400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012400

[jboss-user] [JCA/JBoss] - How do you set a boolean property in an XA datasource?

2007-02-06 Thread apill
I'm using Jboss 5 Beta1. I have an XA datasource to DB2 on an AS400. I need to set a property on the datasource called translate binary, to the boolean value true. Previously the local-tx-datasource specified this in the connection URL. i.e. | local-tx-datasource |

[jboss-user] [JCA/JBoss] - Re: How do you set a boolean property in an XA datasource?

2007-02-06 Thread apill
It has public boolean isTranslateBinary() not public boolean getTranslateBinary() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4011831#4011831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011831

[jboss-user] [JCA/JBoss] - Re: How do you set a boolean property in an XA datasource?

2007-02-06 Thread apill
Ok, thanks. In the meantime I'll see if wrapping the xa datasource class and adding the getter method to call the isTranslateBinary works for us. Cheers for the quick reply. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4011836#4011836 Reply to the post :

[jboss-user] [JCA/JBoss] - Re: How do you set a boolean property in an XA datasource?

2007-02-06 Thread apill
I fixed the issue until you have implemented the fix by subclassing the XA datasource. See below for anyone else wanting to do this. | import com.ibm.as400.access.AS400JDBCXADataSource; | | /** | * This class is a work around for a JBoss JCA datasource missing feature. For | *

[jboss-user] [EJB 3.0] - How to get the JNDI binding within an EJB?

2007-02-06 Thread apill
Is it possible, from within an EJB to lookup its JNDI name for its local interface? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4011906#4011906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011906

[jboss-user] [JCA/JBoss] - Re: Configuring a DB2 XA connection

2007-02-01 Thread apill
K R Ashwin... Which version of DB2 are you using and which version of the driver? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009473#4009473 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009473

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-02-01 Thread apill
I have fixed the problem. It is hibernate updating the database on startup that is the problem. By changing | property name=hibernate.hbm2ddl.auto value=update/ | to | property name=hibernate.hbm2ddl.auto value=none/ | in persistence.xml fixed the issue. no-tx-seperate-pools/

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-29 Thread apill
I tried no-tx-seperate-pools/ with no luck. Is there any way we can get the Type 4 verified with 9.1? How could the connection be used in a local transaction when the data source is setup as XA? Don't know if this is helpful for debugging the cause?

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-29 Thread apill
From the IBM link in my previous post it says in the solution section... anonymous wrote : | If the XAER_OUTSIDE occurs with a method like DB2XAResource.start(), change the application attributes or application to complete the connection. | The stack trace of the error in JBoss | at

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-29 Thread apill
What does it mean by anonymous wrote : | change the application attributes or application to complete the connection. | Is that something I can do, or is it something JBoss needs to do? Thanks View the original post :

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-29 Thread apill
Thanks. I'll give that a go. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007789#4007789 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007789 ___ jboss-user mailing list

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-29 Thread apill
I ran the following code and it successfully updated the database within an XA transaction. I also tested rolling back the tx and this worked successfully. Is there anything else you would like me to test? | package test; | | import java.io.Serializable; | import java.sql.Connection;

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-26 Thread apill
We are using DB2 Express C View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006703#4006703 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006703 ___ jboss-user mailing list

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-26 Thread apill
As requested I wrote a test that consisted of the following code... Injected session: | @PersistenceContext(unitName=PicsEM) | Session session; | Method content: | try | { | Statement s = this.session.connection().createStatement(); | String del = DELETE FROM

[jboss-user] [JCA/JBoss] - EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
Weston Price suggested that I move the discussion in the Transaction forum to this one. http://www.jboss.com/index.html?module=bbop=viewtopict=99740 Any help on solving the issue in the following thread would be very much appreciated as it prevents me using XA transactions in my application -

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
BTW thank you for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006377#4006377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006377 ___ jboss-user mailing list

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
The log is available here.. http://devissues.googlepages.com/xaer-outsidelogs Up until the time 2007-01-25 14:54:32,836 in the log is server startup. The rest is the log generated by the call from my application to the EJB. View the original post :

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
TRACE logging for everything? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006364#4006364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006364 ___ jboss-user mailing list

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
BTW the metadata tags that should surround the type-mapping tags in the datasource were hidden by this forum. If you look at the html souce of this page they are there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006360#4006360 Reply to the post :

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
anonymous wrote : | ?xml version=1.0 encoding=UTF-8? | | xa-datasource | jndi-namePicsDS/jndi-name | xa-datasource-classcom.ibm.db2.jcc.DB2XADataSource/xa-datasource-class | xa-datasource-property name=DatabaseNamezcoreinv/xa-datasource-property |

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
The code that is causing the error should only be using the datasource named PicsDS (this is the db2 database on linux). It is other EJBs that use the other datasources. The sequence of events are... 1. client calls stateless session bean A method getBusinessUnitSubSystemWithInventory() 2.

[jboss-user] [JCA/JBoss] - Re: EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-25 Thread apill
Ok. I've started work on this test but I am leaving work soon so will get back to you tomorrow morning with the result. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006449#4006449 Reply to the post :

[jboss-user] [EJB 3.0] - Re: JBoss 5 Tx Enlist Problem

2007-01-24 Thread apill
This solved one problem but created another with DB2 and XA transactions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005881#4005881 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005881

[jboss-user] [EJB 3.0] - Re: JBoss 5 Tx Enlist Problem

2007-01-24 Thread apill
No problem. I managed to find that info in the forums in the end. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005891#4005891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005891

[jboss-user] [EJB 3.0] - EJB3 - XA datasource - Transactions - XAER_OUTSIDE

2007-01-23 Thread apill
Sorry about the double post in here and JBoss Transaction forum, but I'm not sure if my issue is with the transaction service or EJB3. I have just re-configured my EJB3 application datasources from local-tx-datasources to xa-datasources. Now when I run my application and the client app calls a

[jboss-user] [EJB 3.0] - Re: JBoss 5 Tx Enlist Problem

2007-01-22 Thread apill
I can post any further information as required. Just let me know. Cheers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004784#4004784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004784

[jboss-user] [EJB 3.0] - JBoss 5 Tx Enlist Problem

2007-01-22 Thread apill
I have an issue with my EJB3 application since migrating to JBoss 5 Beta 1. The initial error I receive is.. | 10:19:53,324 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null | 10:19:53,324 ERROR [JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware

[jboss-user] [EJB 3.0] - Re: JBoss 5 Tx Enlist Problem

2007-01-22 Thread apill
I've found what appears to be the solution. JBoss TS in JBoss 5 does not support multiple Local datasources. They need to be XA data sources. See http://www.jboss.com/index.html?module=bbop=viewtopict=95615postdays=0postorder=ascstart=0

[jboss-user] [EJB 3.0] - Re: SFSB passivation in Embeddable container

2007-01-11 Thread apill
Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000396#4000396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000396 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss jBPM] - Re: Is this a viable scenario?

2006-11-13 Thread apill
Can anyone help answer this? Thanks. Adrian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985359#3985359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985359 ___ jboss-user

[jboss-user] [JBoss jBPM] - Is this a viable scenario?

2006-11-03 Thread apill
We have an EJB 3 application running in Jboss that is designed to track inventory. Our data model is persisted with hibernate and according to the EJB3 spec and we're using stateless session beans to execute business logic from the client application. I would like design a workflow to manage

[jboss-user] [JBoss jBPM] - Re: What is the best pattern to deny method executions?

2006-11-03 Thread apill
I want to do exactly the same thing. Have you managed to find a solution? You might want to follow my post in case someone replies to it. http://jboss.org/index.html?module=bbop=viewtopict=93899 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3982896#3982896

[jboss-user] [EJB 3.0] - Scoping persistence units and dynamic lookups

2006-09-22 Thread apill
Here are my questions. These are repeated at the end of the post which fully explains my scenario. Any help would be helpful. 1. Can I bind a persistence unit to JNDI name in a way that it is scoped within an ear? 2. Or, can I look up the persistence unit name (persistence-unit name=MapicsEM)

[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

2006-09-22 Thread apill
Is there any way to bind the jndi name to a scope localised to the ear it is within? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973538#3973538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973538

[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

2006-09-22 Thread apill
Or, instead of doing the following... | @PersistenceContext(unitName=myUnit) | EntityManager em; | can I look up the EntityManager from within a session bean by its persistence-unit name instead of via its jndi binding name? Thanks. Adrian View the original post :

[jboss-user] [EJB 3.0] - Re: EntityManager not mounted under JNDI despite config

2006-09-22 Thread apill
| InitialContext ic = new InitialContext(); | EntityManager em = (EntityManager)ic.lookup(java:/Objentity); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973552#3973552 Reply to the post :

[jboss-user] [EJB 3.0] - Alpha9 Embeddable-Bundled jboss-ejb3-all.jar is invalid

2006-09-18 Thread apill
I've raised the issue here... http://jira.jboss.com/jira/browse/EJBTHREE-708 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972358#3972358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972358

[jboss-user] [EJB 3.0] - Re: Can you change the context root of a deployed ear?

2006-07-28 Thread apill
Yes the issues is http://jira.jboss.com/jira/browse/EJBTHREE-617[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3961495#3961495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3961495