[jBoss-User] update error ?!

2000-08-02 Thread Mircea Toma
When I am trying to update the bean (... .Task.setTarif(float tarif)) that represent a record in the database created before "jboss" is started, the container is throwing the following error (I tried with j2sdkee and the bean is working fine): [Task] findByPrimaryKey(965276833831) [Task] Set para

Re: [jBoss-User] Tomcat Intergration Module

2000-08-02 Thread Werner Ramaekers
Thanks for the tip but it doesn't help me much, Your step by step tutorial for windows runs Tomcat seperately from jBoss, since you start/shtdown Tomcat by the *.bat files. As mentioned before I'm running Tomcat and jBoss in the same VM; by starting jBoss through the run.sh Tomcat gets launched a

Re: [jBoss-User] Tomcat Intergration Module

2000-08-02 Thread Ken Jenks
You can try my step-by-step tutorial at . See step 7, . -- Ken Jenks, http://abiblion.com/ Tools for reading. -- -- To subscribe:[EMAIL

Re: [jBoss-User] Tomcat Intergration Module

2000-08-02 Thread Werner Ramaekers
Now it can find the class but I get a ClassCastException at : com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296) I'm confused, it gets the context and can lookup the reference to interest/Interest but can not get to the InterestHome.class correctly. I

Re: [jBoss-User] Tomcat Intergration Module

2000-08-02 Thread Richard Backhouse
Yes, I have jsp's and servlets calling my ejbs. I think that there is currently no intergration between tomcats classloader and the jboss classloader so you have to provide all the home and ejb interfaces as part of the web application setup (put them in WEB-INF/classes). That's how I have it and

Re: [jBoss-User] Tomcat Intergration Module

2000-08-02 Thread Werner Ramaekers
Have you tested it calling an EJB from a servlet ? I'm trying to call the Interest stateless session bean from the documentation at the jBoss site from a servlet runnig in the /test context from Tomcat but it con not find the InterestHome.class // Get a reference from this to the Bean's Home int

Re: [jBoss-User] Limiting the number of database connections

2000-08-02 Thread Luan O'Carroll
I was using the JDataConnect driver from Netdirect (www.softsyn.com I think?). AFAIK it's not an XA driver and I was using it via a URL. > If you're using a JDBC1 or JDBC2 driver, then this is the bug > where you should always get the same connection when you make multiple > requests as part of

Re: [jBoss-User] Limiting the number of database connections

2000-08-02 Thread Aaron Mulder
First, some of the examples at the bottom of the page include the JCML file settings. See for example, http://www.jboss.org/minerva/minerva.htm#ex10 But back to the real question. This sounds like a bug, but probably needs more investigation. I assume all the action happens in

Re: [jBoss-User] Limiting the number of database connections

2000-08-02 Thread Luan O'Carroll
Thanks, I got the blocking to work... I checked the Minerva link as you suggested but the settings for the JCML file don't appear to be included. I did however find a file in the CVS "minerva.html" that contained some details. My problem was that the finder methods returned references to a numbe

RE: [jBoss-User] Limiting the number of database connections &ca che settings

2000-08-02 Thread Bordet, Simone
Hello, > Also, I don't think any of the beans are passivated or freed when the servlets have finished accessing them. > I tried playing around with the cache, the passivation settings in the jboss.xml and the jboss.jcml > file but in the absence of documentation I didn't make much progress. Is

Re: [jBoss-User] Limiting the number of database connections

2000-08-02 Thread Aaron Mulder
If you're using a Minerva pool, there are settings for the maximum number of connections the pool should use, and whether it should block or return null when you ask for more. If you expect some connections to be freed periodically you could set it to block, and that should just slow it d

[jBoss-User] Limiting the number of database connections

2000-08-02 Thread Luan O'Carroll
I'm using a SQL server database with a limit of 5 connections. While running the Webstore with JBoss2 the connection seems to be refused when this limit is reached. How can I limit the number of connections and reuse them, I'm already using a connection pool.   Also, I don't think any of the

RE: [jBoss-User] Example? Please?!?

2000-08-02 Thread Ken Jenks
Go to . In the lower left-hand corner, click on "Getting Started." (This shows that we ought to move that link to someplace more prominent.) -- Ken Jenks, http://abiblion.com/ Tools for reading. -- -- To subsc