RE: [JBoss-user] Caching object for session beans

2001-10-21 Thread Sacha Labourey
Hello, The problem with your idea is that, to be portable with other AS, you cannot be sure that all your beans will be part of the same JVM (cluster, ...) In the simple (non-portable) case, simply add a static variable to your bean implementation pointing to a shared data structure or use a all

Re: [JBoss-user] HeuristicRollbackException after being idle

2001-10-21 Thread Ole Husgaard
Hi, Frank Morton wrote: > All works fine until the servlet sits idle for a long time (that is, > overnight). Next time I try to invoke a finder method, I get the > HeuristicRollbackException exception outlined below. Hit the > reload button on the web browser, and things go back to > normal. I se

RE: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-21 Thread Dmitri Colebatch
Sacha, (o: thanks... grrr, but I'm suppose to be making this in a portable way, ie kinda following the relevant specs. We're building a product that will deploy on JBoss by default, but need to be able to deploy on other appservers as clients require (not my call). I have been doing my best to

RE: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-21 Thread Sacha Labourey
Hello Dimitri, With the new RH invocation invokers mechanism, you will be able to build a JMS invoker that is able to route calls to the appropriate bean (for any deployed bean). The call details that are part of the message are forwared to the JMX but which then consider it as a standard call: i

[JBoss-user] Caching object for session beans

2001-10-21 Thread jquest jquest
Hi all, How can I create in jboss a chaching object in them to store info used by many stateless session beans. I nedd to be able to get this information very fast. Many thanks in advance. _ Get your FREE download of MSN Explorer

Re: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-21 Thread Dmitri Colebatch
On Mon, 22 Oct 2001, David Jencks wrote: > > I'm not sure if I quite get what you mean here. The tasks in each > > message > > would need to be done in order, but thats only a dependency thing, I > > haven't really considered the situation where we have four tasks, A, B, C > > and D - with B and

[JBoss-user] issue with blob

2001-10-21 Thread Mahesh Agarwal
hi all this issue may not be specific to jboss,,,but it will be very grateful if anyone can help me I am using JBoss-2.4.1_Tomcat-3.2.3 and database as mysql I need to use the BLOB object(java.sql.BLob) but it is not seriazable i need a seriazable onealso sometimes i faced problems

Re: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-21 Thread David Jencks
On 2001.10.22 00:11:16 -0400 Dmitri Colebatch wrote: > On Sun, 21 Oct 2001, David Jencks wrote: > > > This is very interesting. As I understand your proposal, it has or can > > have a centralized facility that knows and sets a stack of tasks that > need > > to be done on each message, and puts a

Re: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-21 Thread Dmitri Colebatch
On Sun, 21 Oct 2001, David Jencks wrote: > This is very interesting. As I understand your proposal, it has or can > have a centralized facility that knows and sets a stack of tasks that need > to be done on each message, and puts all the messages in whatever state of > progress throught their ta

Re: [JBoss-user] resources

2001-10-21 Thread David Jencks
If by resources you mean ManagedConnections from a jca resource adapter, the jca support in jboss allows you to deploy any jca compliant resource adapter (as far as I know has been tried), and the connection managers will pool them for you. If you mean something else, what? david jencks On 2001

Re: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-21 Thread David Jencks
This is very interesting. As I understand your proposal, it has or can have a centralized facility that knows and sets a stack of tasks that need to be done on each message, and puts all the messages in whatever state of progress throught their task stack into the same queue. Did I get it? Alte

[JBoss-user] resources

2001-10-21 Thread Tony
Hi,   I am looking to find what are the possible resources which can be pooled in jboss (other than JDBC, JMS)?   Thanks, /tony

Re: [JBoss-user] HeuristicRollbackException after being idle

2001-10-21 Thread David Jencks
Do your db connections time out? If so, try setting up your pool with idletimeout true, gcenabled true, blocking true, and reasonable times. If you try this please let us know if it works david jencks On 2001.10.21 20:28:16 -0400 Frank Morton wrote: > I'm using a CMP entity bean to store user pro

[JBoss-user] MDB dispatcher pattern - opinions

2001-10-21 Thread Dmitri Colebatch
I'm playing catch up with designing MOM style systems, and looking at approaches for using MDB. What I'm thinking is having a "dispatcher mdb" that receives the JMS message, and passes them on to the appropriate SLSB that implements the logic. So here's a framework I imagine. All messages shou

[JBoss-user] HeuristicRollbackException after being idle

2001-10-21 Thread Frank Morton
I'm using a CMP entity bean to store user profiles. Access to the bean is from a long-running servlet under tomcat. Jboss version is 2.4.3. OS is Solaris 8 with JDK 1.3.1_01. All works fine until the servlet sits idle for a long time (that is, overnight). Next time I try to invoke a finder method

[JBoss-user] jboss examples build on linux

2001-10-21 Thread Bruce Ling
I tried to build the example comes with the jboss distribution and I got the following error messages.  I didnot modify the build.xml      my .bash_profile relevant jboss part is: #setting for JBOSS application serverJBOSS=/home/gcg/jboss/JBoss-2.4.1_Tomcat-3.2.3/jbossJBOSS_DIST=/home/