[jboss-user] [JCA/JBoss] - Re: RAR configuration best practice

2009-06-15 Thread cpslo1999
Thank you for the pointer. I had looked at that example, and while it is very useful in showing how all the pieces fit together, there isn't much in the way of connection properties. It really only has the target directory. I still have that information in my ra.xml file, and logically I'm start

[jboss-user] [JCA/JBoss] - RAR configuration best practice

2009-06-12 Thread cpslo1999
I'm writing a inbound connector for a legacy system using JCA 1.5. There are several configuration parameters which I've exposed through the ResourceAdapter bean mechanism and set in the ra.xml file (not because this is the best way necessarily, but because I was trying to get the whole thing wo

[jboss-user] [JCA/JBoss] - Re: JCA build error

2009-06-11 Thread cpslo1999
Check your JAVA_HOME variable. Ant relies on this to find the compiler. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237028#4237028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237028 ___

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-06-08 Thread cpslo1999
I posted in both places since I had read a message on that board that said a different poster's question belonged on this board since it was dealing with the connection-factories. For the archives: I was able to get it to work once I moved the mbean description into its own file and out of the

[jboss-user] [EJB/JBoss] - Re: Too many open files exception JBOSS 4.2

2009-05-28 Thread cpslo1999
What was the solution to this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233905#4233905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233905 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: Configuring the JMS Bridge

2009-05-27 Thread cpslo1999
This is either a bug or else the documentation is misleading... I moved the remote JMS provider MBean into its own file (instead of adding it to jms-ds.xml) and now my messages are flowing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233646#4233646 Reply

[jboss-user] [JBoss Messaging] - Re: Configuring the JMS Bridge

2009-05-27 Thread cpslo1999
Verified: No errors or warnings for either the Bridge or PostOffice. I also set different -Djboss.messaging.ServerPeerID for each of my server instances. Does the bridge REQUIRE a selector? I don't have one set. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JBoss Messaging] - Re: Configuring the JMS Bridge

2009-05-27 Thread cpslo1999
I didn't see any error information in either server's log. I'm running this again to verify that I didn't just over look something. As for the ServerPeerID's, I did not explicitly set it on either server. However I've been using different jboss.service.binding.set values for the two. Does that

[jboss-user] [JBoss Messaging] - Configuring the JMS Bridge

2009-05-26 Thread cpslo1999
I've got two JBoss 5.0.1.GA instances. Server A has a topic and I would like to have bridged to a Queue on Server B. I've added the following to Server B's deploy/messaging/jms-ds.xml | | | RemoteXAConnectionFactory | org.jboss.jms.jndi.JNDIProviderAdapter | | | XAConne

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-05-26 Thread cpslo1999
You're right. That got rid of my error. Now my jms-ds.xml looks like this: | | | | ...as provided in JBoss distro... | | | | DFMJMSProvider | | | org.jboss.jms.jndi.JNDIProviderAdapter | | | | XAConnectionFactory | | XAConnectio

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-05-26 Thread cpslo1999
Correction on the previous post: The Exception occurs whether my app has been deployed or not. My MDB's annotations look like this: | @MessageDriven(activationConfig = { | @ActivationConfigProperty( | propertyName = "destinationType", | propertyVal

[jboss-user] [JCA/JBoss] - Configuring Local and Remote JMS

2009-05-26 Thread cpslo1999
It seems like this should be pretty easy, and it probably is, but... I'm trying to configure a JBoss 5.0.1.GA instance to use both it own local JBM instance as well as connect to a remote JBoss 5.0.1.GA instance (also using JBM). Ultimately I want to be able to use EJB3 MDBs on local and remote

[jboss-user] [EJB 3.0] - @Resource(name =

2009-05-21 Thread cpslo1999
I've been searching the 'net trying to find out how to use in JBoss 5.0.1.GA. @Resource(name = "some/name") However, all of the examples show the annotation used this way: @Resource(mappedName = "some/jndi/name") Also, the specification says that mappedName is a provider specific attribute, app

[jboss-user] [EJB 3.0] - Timer cancled during timeout execution

2009-05-21 Thread cpslo1999
I'm using an EJB3 style Stateless Session Bean as a target for a timer. During my integration testing I have the timer turned up to repeat very quickly (100ms interval) so that I don't have to wait for too long while the tests are executing. However, it has illustrated a problem that may have ta

[jboss-user] [EJB 3.0] - Re: MDB external configuration

2009-05-21 Thread cpslo1999
Alright. I'll give it a go. Thanks guys for the tip! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232546#4232546 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232546 ___ j

[jboss-user] [EJB 3.0] - Re: MDB external configuration

2009-05-21 Thread cpslo1999
"jaikiran" wrote : In either case i guess you could specify some system property that gets substituted per system, dynamically... | | Then, you can pass this property value as a JVM parameter through the server startup scripts... | | You can edit the run.bat or run.conf to pass this pro

[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-21 Thread cpslo1999
Posted: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155809 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232488#4232488 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232488 ___

[jboss-user] [EJB 3.0] - MDB external configuration

2009-05-21 Thread cpslo1999
I have a JavaEE system that has one feeder application and several consumer applications. The producer is transmitting messages over a JMS topic. The consumer applications are all EJB3 apps, and I had planned to use MDBs on the consumer systems to process the incoming messages. However, while mo

[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-21 Thread cpslo1999
OK, thanks again for all your help. I'll post over there and see what I can dig up. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232480#4232480 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232480 __

[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-20 Thread cpslo1999
I think I can use Tim's suggestion (if I can find a way to assign the selector outside the ear). Something like: clientID is NULL AND feed in ('feed1', 'feed2') | OR | clientID = 'myClientID' AND feed in ('feed1', 'feed2') So is there a way for me to assign the clientID other than in the ann

[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-19 Thread cpslo1999
Thank you guys for your help here! timfox: Is there a way to specify the selector outside of the .ear file? I'm hesitant to require that the deployer of my application unzip the ear, change an ID, and rezip it. I would rather use a identical application package on our production and test server

[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-19 Thread cpslo1999
clebert: Thanks for the pointer, I've checked out the sample and started to look it over. timfox: If I deploy my app in an .ear file, wouldn't I have to muck around with the embedded deployment descriptors in each client in order to assign the unique IDs? I would love to be able to modify the se

[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-19 Thread cpslo1999
Sure (and thanks so much for your help!). I have what amounts to a store-and-forward system (let's call it the SAF for this discussion). It feeds multiple client systems. The SAF receives a number of files from different, external systems, which it stores and makes available via HTTP. The clien

[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-18 Thread cpslo1999
That's where I was headed... I need to be able to also (re)send a notification to only one client (preferably using the same mechanism). I had thought I could have a selector that looks for my notifications of interest and/or notifications with a property set to the client's ID, but I don't kno

[jboss-user] [JBoss Messaging] - Multiple clients and message types - selectors?

2009-05-18 Thread cpslo1999
I am designing a system that will generate notifications of different types of events and will have different systems subscribed to it. All clients will only be interested in a subset of these events, although overlapping interest between clients is fully expected. Also, I need to add the abilit

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-05-18 Thread cpslo1999
I haven't noticed any adverse effects yet. You do get a warning in the log, however. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231748#4231748 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231748 _

[jboss-user] [JBoss Tools (users)] - Re: annoying error : incomplete deployment exception

2009-04-30 Thread cpslo1999
I'm seeing the same error (also using 5.0.1.GA), but instead of using tools, I'm just copying the ear file into the deploy directory with Ant. A restart of JBoss (without the undeploy, clean, redeploy) seems to take care of the problem for me. View the original post : http://www.jboss.org/inde

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-16 Thread cpslo1999
I eliminated this last error by shutting down JBoss, truncating the timers table, and then restarting JBoss. Another issue has come up with this configuration. I tried to install a second box (one of our testing serviers) using the final configuration from the above experiments and ran into pro

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread cpslo1999
I tried setting the DefaultDS as a XA Data Source using a datasource descriptor I found on the net (I can't vouch for it's correctness) and leaving my application's data source as a local-tx (like what is found in docs/examples/jca). | | | DefaultDS | com.mysql.jdbc.jdbc2.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread cpslo1999
Progress update: 1) Copied the deploy/mysql-ds.xml file to deploy/app-mysql-ds.xml 2) Changed the JNDI name, changed the URL, changed the credentials in app-mysql-ds.xml 3) Restarted JBoss -- No errors and no new warnings -- 4) Deployed my JMS queues -- No errors -- 5) Deployed my app and I get a

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread cpslo1999
I started with a clean copy of the "standard" server and applied the instructions from http://www.jboss.org/community/docs/DOC-12255 This is JBoss 5.0.1.GA and MySQL 5.1.33 Here are my notes corresponding to the step in the instructions: 1) Done 2) Done 3) Done 4) Referenced file (standardjaws.x

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Multiple data sources when using MySQL

2009-04-14 Thread cpslo1999
I got this piece of advice in response to a question I asked in another thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154018 It seemed to warrant its own discussion... "PeterJ" wrote : Well, one best practice is to definitely not use DefaultDS for your apps. Leave the JBoss A

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure MySQL datasource for JBOSS 5.0.1

2009-04-14 Thread cpslo1999
Is there some help in configuring an XADataSource for JBoss 5.0.1.GA and MySQL 5.x? I haven't been able to find much of anything. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225496#4225496 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Best Practice for multiple applications

2009-04-14 Thread cpslo1999
Thanks for the quick reply! So if I may boil down your reply, it sounds like if I have the hardware resources available to run them in different instances of JBoss, then I should do so. It sounds like the administration in the long run will be easier if I run them separately. View the origina

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Best Practice for multiple applications

2009-04-14 Thread cpslo1999
This is hopefully an easy enough question to answer... I am trying to determine what is considered the best practice for deploying two (basically unrelated and) different J2EE applications to the same hardware server. 1) Deploy both applications to the same instance of JBoss 2) Deploy each to i