Re: [JBoss-user] Adding JDBC-driver

2001-05-15 Thread Dovan Nguyen
I believe you need to add your jdbc driver class in the mbean entry attribute name="Drivers" in the jboss.jcml dovan Bas Cancrinus wrote: > Hi, > > I'd like to connect JBoss 2.2.1 to a MySQL server. > According to the manual (chapter 3 - Introduction) I copied the > driver-JAR to the lib/ext di

Re: [JBoss-user] RE: Error 'closing' a pooled connection (addendum)

2001-05-15 Thread Dovan Nguyen
> > 2) *** CONNECTION CREATION > >InitialContext jndiContext = new InitialContext(); > >XAPoolDataSource ds = (XAPoolDataSource) > > jndiContext.lookup("java:/OracleDS"); > >Connection conn = ds.getConnection(); > > Don't reference Minerva classes in your code. Just use javax.sql.Data

Re: [JBoss-user] Design Question

2001-05-16 Thread Dovan Nguyen
Chris, Yes I did experiment this approach and it worked great. Many people may think we are adding too many layers to accomplish the tasks but I believe this approach gives a very clean separation between the biz logic and presentation layers. Something to note. I found that "useBean" is kind o

[JBoss-user] CMP Entity findAll()

2001-05-17 Thread Dovan Nguyen
JBossers, I declared a findAll() method in a home interface of a cmp entity bean. The spec requires the container to the implementation of findAll() method. The jndi lookup is fine and returns a non-null home ref but when I call home.findAll() I get the following: java.lang.NullPointerException

Re: [JBoss-user] problem with finder find all

2001-05-22 Thread Dovan Nguyen
hi Chris, I did this and i still don't see the trace. could you please send us a sample of standardjaws.xml. i am interested in seeing what jaws is doing, especially what SQL statement (if possible) jaws is sending. thanks dovan "DeGreef, Chris J. (AIT)" wrote: > Turn the Debug flag on in the

Re: [JBoss-user] JDK 1.4 Beta Release Today!

2001-05-25 Thread Dovan Nguyen
well you should know it: New version means new Bugs! :) dovan Tim McCune wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I tried it for a while today. Swing looks quite buggy, and I ran > into a bug in the version of Xalan (2.0.1) that's built into the JDK. > I have a feeling t

Re: [JBoss-user] Trying to get connection from the pool.

2001-05-30 Thread Dovan Nguyen
I believe the returned DataSource is XAPoolDataSource and NOT XAConnectionImpl. Try that and let us know. Dovan "Rafael S. V. Guimarães" wrote: > Hi, > > I'm trying to get connection from the pool. > Everything is (almost) ok, but i got the error message "jdbc not bound" > using lookup("java:c

Re: [JBoss-user] Trying to get connection from the pool.

2001-05-31 Thread Dovan Nguyen
initialContext.lookup("java:/SQLServerPool"); > OR > XAPoolDataSource dataSource = (XAPoolDataSource) > initialContext.lookup("java:/SQLServerPool"); > > i really appreciate. > > - Original Message - > From: "Dovan Nguyen" <[EMAIL PR

Re: [JBoss-user] OutOfMemoryError

2001-06-08 Thread Dovan Nguyen
Lachezar, yes you're correct.  but the number are expressed in m (megabytes) ;  i believe the default min size is 32m and max size is 64m.  so you could reset the max size to 128M,  e.g -Xmx128m Dovan Lachezar Dobrev wrote:    Sorry to see that.   The OutOfMemory does not necessarily mean, that

Re: [JBoss-user] JDBC / ResultSet Question

2001-06-19 Thread Dovan Nguyen
... allow me to add few details to Dan's answer ResultSet is not a serializable object but just an interface thus you cannot send it over the network ! :( You should transfer data to your own custom serializable object then return that to the client. Hope this helps. Dovan "danch (Da

Re: [JBoss-user] JDBC / ResultSet Question

2001-06-20 Thread Dovan Nguyen
Sure, but then we are not in JBoss (or EJB) context anymore... dovan Philipp Meier wrote: > On Tue, Jun 19, 2001 at 04:02:48PM -0700, Dovan Nguyen wrote: > > ... allow me to add few details to Dan's answer > > > > ResultSet is not a serializable object but

Re: [JBoss-user] Please, please , please

2001-06-20 Thread Dovan Nguyen
How could there be a simpler HelloWorld ?? :) :) dovan Richard Bottoms wrote: > At 02:42 PM 6/20/01 -0400, you wrote: > >Have you tried the Interest example? > > Yes, (it's working now BTW), but some of us newbies were clamoring for an > even simpler Hello World example, precisely because it'

Re: [JBoss-user] Please, please , please

2001-06-20 Thread Dovan Nguyen
Yes I got Richard's point. I was just kidding...!! :) :) Dovan Allen fogleson wrote: > I think Richard was referring to the interest example being slightly more > than a bite for a new user. > > Al > > - Original Message ----- > From: Dovan Nguyen <[EM

[JBoss-user] Sleeping JBoss

2002-03-25 Thread dovan nguyen
Hello, I use JBOSS 2.4.4 with Tomcat and mySQL on Win 2000 ... I notice if there is no request from a client for awhile (maybe hours, maybe minutes??) JBOOS stops serving (stays idle or sleeping !!) For example i open a browser and request a Test.jsp page, the browser tells me the connection is

Re: [JBoss-user] Sleeping JBoss

2002-03-25 Thread dovan nguyen
s > running in, is > anything selected? Like a one-character cell inverse > video area? > > dovan nguyen wrote: > > Hello, > > > > I use JBOSS 2.4.4 with Tomcat and mySQL on Win > 2000 > > ... > > > > I notice if there is no request fro

RE: [JBoss-user] Sleeping JBoss

2002-03-26 Thread dovan nguyen
also causes to terminal to > stop > > receiving input and jboss stops. > > The best thing, is NOT start jboss from a > > console on windows, or turn off logging to the > > console. You can still see the logging in > log/server.log > > > > Regards, > > Adri

Re: [JBoss-user] Sleeping JBoss

2002-03-26 Thread dovan nguyen
, but > jboss probably runs longer than your browser, so > this might become > cumbersome :-) > 4) Don't use windows (Ok, not so simple > probably...) > > Hope this helps > > dovan nguyen wrote: > > >Thank you for all your valuable helps! :) Turning >