[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - 2 instances on one box: stop bouncing between them?

2006-03-10 Thread Squeak
I have one box, that hosts both my dev and stage envionments. Both are different config directories inside of JBoss 4.0.3sp1. Each one is bound to a different IP address. I have turned on the jvmRoute for both instances. The domain names are dev.foobar.com and stage.foobar.com For some reason,

[JBoss-user] [Javassist user questions] - Move constructor to a method?

2004-11-18 Thread Squeak
There doesn't seem to be any API's that allow you to take a constructor (in my case, the static init) and move the code from that into a new method. Am I missing something? Is there a way to do this that I am not seeing? Thanks! View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Messaging, JMS & JBossMQ] - Error undeploying MDB's and Queues on 4.0

2004-11-03 Thread Squeak
I have an EAR file that contains my queue definitions, and well as my MDB definitions. When I undeploy my EAR file inside the 'standard' config for JBoss 4.0, I get a litnany of errors. I did not see this issue on 3.2.3 Here is the stacktrace | 10:04:53,863 INFO [org.jboss.web.tomcat.tc5.T

[JBoss-user] [Messaging, JMS & JBossMQ] - Possible to retrieve scheduled message prematurely?

2004-09-29 Thread Squeak
I am putting messages on a queue with a scheduled delivery time. In one use case I need to remove a message that has been scheduled, but not delivered. I know that I can create a message selector with the JMSMessageID to select a particular message off -- but that does not seem to work for pendi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Getting JBossMQ to use a local DS as an XA resource?

2004-09-28 Thread Squeak
To answer my own question -- and to be helpful to everyone else: In my situation, once I changed my JMS store to use my datasource that is used for the rest of my application, it then reduced the number of resources that was in my TX from 3 to 2 -- one for all of my DB work, and one for the Spy

[JBoss-user] [Messaging, JMS & JBossMQ] - Getting JBossMQ to use a local DS as an XA resource?

2004-09-27 Thread Squeak
I must be missing something, because I am sure this has been answered, but I can't seem to find the answer. My scenario: I have the typical situation where inside an EJB call, I do some work and update my DB via a local resource (MSSQL), and then place a messasge on a JMS queue. I am using java

[JBoss-user] [JCA/JBoss] - Re: Did Last Resource Gambit make it into 4.0?

2004-09-27 Thread Squeak
Well, after digging some more I can see that, yes in fact LRG is being used. Problem is: my DS is not the only LocalResource -- seems that the DefaultDS (HsqlDbRealm) is also a local DS, so I have 2 non-XA resources. The warning was coming from DefaultDS. not my DS. Now, I just need to figure o

[JBoss-user] [JCA/JBoss] - Did Last Resource Gambit make it into 4.0?

2004-09-27 Thread Squeak
I remember reading about LRG being avaiable in 4.0, and am curious if that was in fact true. I have a situation where I am using an MSSQL driver in a local-tx-datasource. I have a couple of spots where in the same TX I am doing a db save, and placing a message on a JMS queue. With this setup,

[JBoss-user] [JCA/JBoss] - Re: Nested EJB calls and the infamous ClosingConnection erro

2004-09-09 Thread Squeak
I apologize for missing that. I had searched to no avail. Thanks for adding that to the FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847682#3847682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847682

[JBoss-user] [JCA/JBoss] - Nested EJB calls and the infamous ClosingConnection error: I

2004-09-09 Thread Squeak
I am currently using OJB as our persistence mechanism. I have configured OJB successfully to take part inside of the JTA-TX that are dicated by my TX affinity declarations for my EJB methods. Everything works the way it is suppose to, except we get the "Closing a connection for you" warning giv

[JBoss-user] [Installation & Configuration] - ClassCastException and redeploy--could serialization with Ob

2004-08-13 Thread Squeak
I have an EAR file that has EJB's in it, along with a WAR file. My application makes uses of Apache's OJB tool, which is linked into my EAR file inside the Application.xml. Now, when I initially deploy my application, everything works fine. However, when I redeploy, I get the dreaded ClassCastE

[JBoss-user] [EJB/JBoss] - Re: how to initialize the size of EJB? Help!

2004-04-07 Thread Squeak
Per page 270 of the Admin and Devel guide, JBoss AS does not pre-seed the pool to the minimum size at startu-up -- if that is what you are trying to accomplish. anonymous wrote : The MinimumSize element gives the minimum number of instances to keep in the pool, although JBoss does not currently

[JBoss-user] [HTTPD, Servlets & JSP] - Possible to turn-off Coyote connector at runtime?

2004-03-20 Thread Squeak
I am using mod_jk to front a couple of JBoss/Tomcat instances clustered. I would like to find a convenient way to have mod_jk think that this once instance is down, and not send things it's way, without having to either 1) change the workers.properties file and have to restart Apache to take aff

[JBoss-user] [Clustering/JBoss] - Re: Remove node from cluster at runtime?

2004-03-20 Thread Squeak
D'oh! That makes complete sense! Should have thought of that! Thanks http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826687#3826687";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826687>Reply to the post ---

[JBoss-user] [Clustering/JBoss] - Remove node from cluster at runtime?

2004-03-19 Thread Squeak
Is there a way to remove a node from a cluster at runtime, short of having to take the server down? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826645#3826645";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826645>Reply to the post