Have you added the appropriate datasources to jboss.jcml?
you can enable petstore debug messages by setting to "true" a parameter in
the tracer class, it is somewhere in the components, called Debug.java (at
least this was its name and location in jps1.1.1) But make sure you do a
clean rebuild of the petstore, otherwise not all components will print
the debug messages.
Can you be more specific on when is this error showing up. (When I get a
moment, I'll try deploying this beast myself)
-------------------------------------------------------------------------
Anatoly Akkerman
Computer Science Dept.
Courant Institute of Mathematical Sciences, NYU
719 Broadway, #715 Tel: 212 998-3525
New York, NY 10003 Fax: 212 995-4123
-------------------------------------------------------------------------
On Wed, 16 May 2001, Jonah Peskin wrote:
> Cary,
>
> I've done the same thing you have, and I get the same "Unable to connect to
> database" error.
>
> Using JBuilder's JDBC explorer, I was able to connect just fine using:
> jdbc:rmi://localhost:1098/jdbc:cloudscape:CloudscapeDB
>
> And I was able to deploy petstore on the J2EE reference implementation
> without any problems (cloudscape on 1099) I loaded the tables through here,
> to see if that would help, but it didn't.
>
> The other problem is I can't seem to find any error logs that help trace
> this "unable to connect" error, have you had any luck on that?
>
> Jonah
>
>
> --__--__--
>
> Message: 7
> From: "Mader, Cary J" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Wed, 16 May 2001 14:01:35 -0500
> Subject: [JBoss-user] java petStore 1.1.2
> Reply-To: [EMAIL PROTECTED]
>
> Has anyone gotten the new 1.1.2 petstore to work in jboss? I've gotten it
> to deploy as is, but get an "unable to connect to database" error when I try
> to go into the store. I've changed the cloudscape script so that it runs on
> port 1098 (unless that still conflicts with Jboss).
>
> Otherwise, I'm guessing that the url for the cloudscape driver is incorrect.
> I pasted in the mbean tags from the jpsPatch for 1.1.1, and have also looked
> at the cloudscape documentation, but still can't get it to work. Does
> anyone know the correct jdbc url to use or what version of Cloudscape comes
> with the j2ee sdk reference?
>
> Thanks.
>
> Cary Mader
>
>
>
> --__--__--
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> End of JBoss-user Digest
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user