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
> > 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
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
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
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
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
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
initialContext.lookup("java:/SQLServerPool");
> OR
> XAPoolDataSource dataSource = (XAPoolDataSource)
> initialContext.lookup("java:/SQLServerPool");
>
> i really appreciate.
>
> - Original Message -
> From: "Dovan Nguyen" <[EMAIL PR
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
... 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
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
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'
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
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
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
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
, 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
>
17 matches
Mail list logo