[JBoss-user] JMS question

2003-08-14 Thread Magesh Prabhu
Hi Guys, I've configured JMS to use JDBC persistence and I send JMS messages in DUPS_OK_ACKNOWLEDGE mode to make sure that the messages are guaranteed. I use the following code to enforce this when I send the message. queueConnection.createQueueSession(true, Session.DUPS_OK_ACKNOWLEDGE);

[JBoss-user] Log4jService$URLWatchTimerTask causing problems on Unix

2003-08-14 Thread Magesh Prabhu
Hi Guys, I'm running JBoss 3.2.1 on Unix. When I start up JBoss with my configuration set, the Log4j Service URLWatcher keeps on refreshing every minute even though no body is editing the file. It happens periodically every minute. The result is it clears up all the log files and starts

Re: [JBoss-user] Log4jService$URLWatchTimerTask causing problems on Unix

2003-08-14 Thread Magesh Prabhu
Thsi strange behaviour did not happen when I did a search and replace for ^M on log4j.xml file which removes all the carriage return in that file. Cheers, Magesh On 8/12/03 11:53 AM, Magesh Prabhu [EMAIL PROTECTED] wrote: Hi Guys, I'm running JBoss 3.2.1 on Unix. When I start up JBoss with my

[JBoss-user] Gracefully shutdown JBoss

2003-08-10 Thread Magesh Prabhu
I tried to use the shutdown script in JBoss... but could'nt get it working. Could somebody please tell me how to use it. I'm running 3.2.1 JBoss. Thanks in advance, Magesh ** This email and its attachments are intended for

Re: [JBoss-user] JMS question

2003-08-09 Thread Magesh Prabhu
That was my mistake ... As suspected, I was consuming an Exception that causes my MDB not to rollback the transaction... Thanks anyways, Cheers, Magesh On 8/8/03 9:18 AM, Magesh Prabhu [EMAIL PROTECTED] wrote: Thanks for your comments, I'm still working on this issue and I guess I'm consuming

Re: [JBoss-user] JMS question

2003-08-08 Thread Magesh Prabhu
-Original Message- From: Magesh Prabhu [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 11:11 AM To: jboss-user Subject: [JBoss-user] JMS question Hi Guys, I've configured JMS to use JDBC persistence and I send JMS messages in DUPS_OK_ACKNOWLEDGE mode to make sure that the messages

Re: [JBoss-user] java.io.StreamCorruptedException

2003-08-05 Thread Magesh Prabhu
On 8/4/03 11:45 AM, Girish Chafle [EMAIL PROTECTED] wrote: Hi,   I have a MDB listening on a topic. It receives a message and does a lot of processing, essentialy holding the thread for a long time. I use a multi-threaded client to load it. When I run the client with lots of threads I get the

[JBoss-user] JMS retry control

2003-07-31 Thread Magesh Prabhu
Hi guys, If I rollback the transaction from my MDB using context.setRollbackOnly(), JMS retries to send the onMessage() notification. This retry happens very quickly. Is there any time control on this retry by JMS in JBoss. I hope there must be some configuration setting which will say how

[JBoss-user] Scheduler Question

2003-07-23 Thread Magesh Prabhu
Hi Guys, My application heavily depends on job Scheduling and relies on the notification by the Scheduler. I tried using Quartz Scheduler and ran in to deadlock issues. I'm investigating on the dead-lock issues and I found Quartz Scheduler is the reason for this deadlock. I looked in to the

[JBoss-user] Transaction timed out?

2003-07-22 Thread Magesh Prabhu
Hi Guys, I'm developing a middleware using Jboss3.2.1 and Quartz scheduler. Things work fine under normal load. But under heavy load, dead lock happens and when I try to shutdown after deadlock occounrance, it does not shutdown properly. I have to kill the process explicitly. I see the

[JBoss-user] No ManagedConnections Available!

2003-07-17 Thread Magesh Prabhu
Hi Guys, In order to test the concurrency in my system, I created a Threaded standalone application and tried to invoke a Stateless Session Bean concurrently 100 times. What the Session Bean does is fairly simple, It calls an entiry bean which in turn searches for the primary key in the

Re: [JBoss-user] WARN [...] what they mean...

2003-07-07 Thread Magesh Prabhu
On 7/6/03 5:09 PM, Adrian Brock [EMAIL PROTECTED] wrote: On Sun, 2003-07-06 at 16:40, Magesh Prabhu wrote: I could'nt understand this Adrian, I'm using Oracle 8.1.6 database with the following datasource configuration: datasources local-tx-datasource jndi-nameOracleDS/jndi-name

[JBoss-user] WARN [...] what they mean...

2003-07-06 Thread Magesh Prabhu
Hi Guys, I get two warnings and I can't figure out why these warnings are getting displayed. I checked my whole app and I'm clearly closing all the connections and the Transaction boundaries are all set properly. Can somebody advice me on what I need to do in order to avoid these. I have a

Re: [JBoss-user] WARN [...] what they mean...

2003-07-06 Thread Magesh Prabhu
On 7/6/03 3:56 PM, Adrian Brock [EMAIL PROTECTED] wrote: On Sun, 2003-07-06 at 15:27, Magesh Prabhu wrote: 1) WARN [TxConnectionManager$LocalXAResource] Prepare called on a local tx. Use of localtransactions on a jta transaction with more than one branch may result in inconsistent data

Re: [JBoss-user] [JBoss-user]Container Transacted MDB ?

2003-07-04 Thread Magesh Prabhu
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magesh Prabhu Sent: 04 July 2003 11:12 To: jboss-user Subject: [JBoss-user] [JBoss-user]Container Transacted MDB ? Guys, I want my Message Driven Bean under Transaction boundaries

Re: [JBoss-user] JMS Singleton - DLQ

2003-06-25 Thread Magesh Prabhu
MinimumSize1/MinimumSize strictMaximumSizetrue/strictMaximumSize /container-pool-conf -- Scott Stark Chief Technology Officer JBoss Group, LLC Magesh Prabhu wrote: Hi Guys, My requirement is to get (onMessage) notification

[JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Magesh Prabhu
I'm getting this following warning. I went in to all my entity beans to check if I'm doing any naughtly stuff with entity context. Everything looks fine. Could anybody suggest me what could be the possible reason for this warning.. Thanks in advance, Magesh WARN [AbstractInstanceCache]

Re: [JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Magesh Prabhu
Alex, I'm using BMP's. The id's displayed in the warn message is valid. The record definitely exist in database. Cheers, Magesh On 6/25/03 12:01 PM, Alexey Loubyansky [EMAIL PROTECTED] wrote: Hello Magesh, Wednesday, June 25, 2003, 1:33:27 PM, Magesh Prabhu wrote: MP I'm getting

Re: [JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread Magesh Prabhu
Why dont you try a Startup Servlet which can have load-on-startup which will fire the init() method of the servlet after your ear deployment is complete. Cheers, Magesh On 6/25/03 1:00 PM, Ittay Dror [EMAIL PROTECTED] wrote: Hello, I want to be able to run some code that calls EJBs at the end

[JBoss-user] What do these warnings mean.

2003-06-25 Thread Magesh Prabhu
1) I'm getting the Following warning in the console. I've checked all my beans unsetEntityContext method to set the value to null. public void unsetEntityContext() { this.entityContext = null; } still I'm getting the following warning.. WARN [AbstractInstanceCache] Unable to passivate due

[JBoss-user] Shutdown JBoss programmatically

2003-06-24 Thread Magesh Prabhu
Guys, I do some initialization stuff on a startup Servlet. If some services fail during this initialization, I want to shutdown JBoss. Is there a programmatical way of doing it. Can any body suggest please. Thanks in advance, Magesh

[JBoss-user] JMS Singleton

2003-06-24 Thread Magesh Prabhu
Hi Guys, My requirement is to get (onMessage) notification one by one. Next notification should wait until I finish my onMessage method. So I created my own type of MessageDrivenBean and named it Singleton Message Driven Bean and configured the following in standardjboss.xml

[JBoss-user] java.io.InterruptedIOException while JNDI lookup

2003-06-20 Thread Magesh Prabhu
Guys, I'm doing a JNDI lookup from a standalone client with the following values: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=193.16.18.192:11099 The following is the exception stack

[JBoss-user] java.io.InterruptedIOException while JNDI lookup

2003-06-20 Thread Magesh Prabhu
Guys, I'm doing a JNDI lookup from a standalone client with the following values: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=193.16.18.192:11099 The following is the exception stack

Re: [JBoss-user] Who is using JBoss in production?

2003-06-18 Thread Magesh Prabhu
I've the experience of working in a large scale intranet system and a middleware system both running in JBoss. They both are functioning smoothly. The Intranet system is for a huge Financial Institution and is being used extensively by minumum of 100 users concurrently. JBoss is just simply

Re: [JBoss-user] EJB Local and Remote Interfaces.

2003-06-18 Thread Magesh Prabhu
Hi guys, We have an .ear file which contains a few properties files from which the system gets initialized. Since this properties files should be configurable, we thought of moving those configurable properties files away from the ear file. (like how log4j.xml is in conf folder) Which is the

[JBoss-user] JBoss-src

2003-05-29 Thread Magesh Prabhu
Guys, I work in a very restricted org where I cant use CVS to checkout JBoss-src. Is there a mirror from which I can download jboss-src in zip format. Please point me the URL. Thanx in advance. ** This email and its

[JBoss-user] is there Global Context in Enterprise Beans..

2003-03-31 Thread Magesh Prabhu
Hi guys, Is there a global context in Enterprise beans where I can store a HashTable which can be shared by all the enterprise beans. Basically, what I'm looking for is a in memory Object which can be accessed from many enterprise beans. Please tell me some suggestions to do this. thanks

[JBoss-user] Using Scheduler Service in JBoss 3.0.2

2003-03-26 Thread Magesh Prabhu
Hi Guys, I'm trying to use the Scheduler Service in JBoss. I need a way to pass on SchedulableArguments dynamically in to the Scheduled Class. As I understand, it should be specified in the jboss-service.xml file when it is deployed. Is there any way to do it. Your suggestion will be