[JBoss-user] [JCA/JBoss] - Re: Use nested deployment for resource adapter

2005-12-17 Thread Rudi Vankeirsbilck
Dunno actually. My build script has done that for the last 2 years I guess and it has always worked. The APP-INF/lib/classes.jar contains all classes I need in the nested deployed jars. So in fact, the nested .jar (and also .war that I did not mention) only contain the deployment descriptors for

[JBoss-user] [JCA/JBoss] - Re: Use nested deployment for resource adapter

2005-12-09 Thread Rudi Vankeirsbilck
Actually, the structure of the ear is: .ear .ear/APP-INF/lib/classes.jar (contains all .class files including the resource adapter) .ear/META-INF .ear/META-INF/application.xml .ear/META-INF/jboss-app.xml .ear/logic.jar (contains business logic components) .ear/message.jar (contains message d

[JBoss-user] [JCA/JBoss] - Use nested deployment for resource adapter

2005-12-09 Thread Rudi Vankeirsbilck
Hi all, I have looked at several examples now (including http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCAMessageInflowExample and the once that come with the commercial documentation) and these all deploy the .rar file separate from the actual components using the adapter. I was trying to add

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: whne DLQ is full

2005-11-25 Thread Rudi Vankeirsbilck
Hmmm, I am guessing there is a setting that you could change to increase the size of the DLQ but have not found it yet. On the other hand, the DLQ is just another queue that you can subscribe to. I have created an MDB that picks up new messages that go to the DLQ and transfers them to a DB. A l

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: whne DLQ is full

2005-11-24 Thread Rudi Vankeirsbilck
I think you should first look at why the messages are going to the DLQ. Once you have solved the exceptions that you are getting in your MDBs, your messages will no longer go to the DLQ and hence you will have solved this problem. View the original post : http://www.jboss.com/index.html?module=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-24 Thread Rudi Vankeirsbilck
Thank you Adrian, that helped a lot. Really appreciate that! For others, I'll summarize what I have done to get it working: Modify config-login.xml and add a new application policy: | | | | guest | blsptm01 | bluespace

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread Rudi Vankeirsbilck
I am back and I think I have found the root cause this time. First I reverted my changes to JmsXARealm in logon-config.xml as Adrian indicated that I should not make unconsidered changes like that. That also reverted my problem to getting | Caused by: javax.jms.JMSSecurityException: Connection

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread Rudi Vankeirsbilck
I did try to find similar posts before posting this one and came up with: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=63621 and http://www.jboss.com/index.html?module=bb&op=viewtopic&t=43891 The first seems to be exactly the same problem as I am having but nobody has answered that on

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread Rudi Vankeirsbilck
I have made some changes. I realized that when I publish messages, I am doing that in a XA context so I needed to change the login configuration for JmsXARealm too. | | | | guest | jboss.mq:service=StateManager | jboss.j

[JBoss-user] [Messaging, JMS & JBossMQ] - Porting jbossmq security configuration from 3.2.3 to 4.0.2

2005-11-22 Thread Rudi Vankeirsbilck
Hi all, Up until now my app has been running smoothly on jboss 3.2.3. New features that I am about to start to implement require me to port to 4.0.2 and use EJB2.1 I was using jbossmq-state.xml before to configure user/password/role information: | | | |

[JBoss-user] [JCA/JBoss] - Re: Support for SMTP

2005-11-15 Thread Rudi Vankeirsbilck
Ok, I think I've got it now: http://wiki.jboss.org/wiki/Wiki.jsp?page=InboundJavaMail. I'll make a start there and come back if I have any problems left. Thanks again. Rudi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907167#3907167 Reply to the post :

[JBoss-user] [JCA/JBoss] - Re: Support for SMTP

2005-11-15 Thread Rudi Vankeirsbilck
Inbound is all I need, I can use javax.mail to do the outbound part of the job. Can you give me some pointer(s) on how to configure the inbound resource adapter (e.g. smtp domain name to listen for) and how to connect an mdb to the adapter (e.g. jndi name)? The documentation I bought for versio

[JBoss-user] [JCA/JBoss] - Support for SMTP

2005-11-10 Thread Rudi Vankeirsbilck
I am trying to get confirmation that jboss does not have an smtp resource adapter. In the description of the JCA module on the wiki pages (http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCA) I found: anonymous wrote : JCA handles the deployment of resource adapters. These include DataSources and

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBossMQ - Multiple Dead Letter Queues

2005-09-12 Thread Rudi Vankeirsbilck
I was looking at trying to do the same thing and figured out from the docs that this was the solution so I would very interested to learn how to associate an MDB with a specific . I have tried: | | jboss.mq:service=DestinationManager | jboss.mq:service=SecurityManager |

[JBoss-user] [JCA/JBoss] - Re: Faulty warning: Closing a connection for you

2005-06-21 Thread Rudi Vankeirsbilck
Does anybody know if my problem relates to section 17.6.5 (Handling of Methods that Run with ?an unspecified transaction context?) of the EJB 2.1 specification? What transaction attribute should I be using for session bean methods that require database access but will not modify any data, i.e.

[JBoss-user] [JCA/JBoss] - Faulty warning: Closing a connection for you

2005-06-14 Thread Rudi Vankeirsbilck
Hi all, My application has been running succesfully for a couple of month in development now, performance and scalability tests are showing that we are setting up and committing a lot of transactions so I started to look at setting the transaction attributes of my session beans correctly. Once

[JBoss-user] [EJB/JBoss] - EntityLockMonitor

2004-10-11 Thread Rudi Vankeirsbilck
Hi all, I am currently looking into some locking problems and am using the EntityLockMonitor (as suggested in AdminDevel_323.pdf). Very usefull as it counts the number of locks that have been in the system. I was wondering if there is a way to get a list of object that are currently causing a

[JBoss-user] [Installation & Configuration] - Re: NullPointerException in PreparedStatementCache.ageOut

2004-08-27 Thread Rudi Vankeirsbilck
Forgot to mention the platform: Mac OS X 10.3.5 running on dual 2 GHz G5 with 1.5 GB RAM Collegues of mine are running on Windows XP (SP1) and are not having this problem. The db is mysql 4.0.16 and is running on the same machine. View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Installation & Configuration] - Re: NullPointerException in PreparedStatementCache.ageOut

2004-08-27 Thread Rudi Vankeirsbilck
I am experiencing this problem to. My app is using 40 entity beans of which 38 are using entity caching strategy A, the others are using B. The ones that are using the A-caching strategy also have read-only attributes for their getters. The NullPointerException occurs randomly for any of the 38

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Nested deployment of jms-destinations-service.xml file

2004-07-21 Thread Rudi Vankeirsbilck
Ok, many thanks. I had put the service.xml file also in the META-INF directory. Regards, Rudi. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842863#3842863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842863 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Nested deployment of jms-destinations-service.xml file

2004-07-21 Thread Rudi Vankeirsbilck
Hi all, I have created a bluespace-jms-destinations-service.xml file that describes the topics my app is using. Like for a ds.xml file (containing the datasource descriptions), I initially put this file in my .jar file. However, I have noticed that JBoss does not pick up this .xml file as a nes

[JBoss-user] [EJB/JBoss] - Getting new UserTransaction and it is alread marked for roll

2004-02-25 Thread Rudi Vankeirsbilck
Hi all, I have the following code in a server side testcase (cactus): | this.userTransaction = (UserTransaction) getInitialContext().lookup("java:comp/UserTransaction"); | System.out.println("Returned user transaction has status " + this.userTransaction.getStatus()); | Most of the time