Try putting the jdbc driver in jboss.properties.
PKD

Anthony Robins wrote:
> 
> I've actually got to the point where i get
> 
>  java.sql.SQLException: No suitable driver
>     at java.sql.DriverManager.getConnection(DriverManager.java:477)
>     at java.sql.DriverManager.getConnection(DriverManager.java:137)
>     at org.jboss.jdbc.DataSourceImpl.getConnection(DataSourceImpl.ja
>     at org.jboss.jdbc.DataSourceImpl.getConnection(DataSourceImpl.ja
>     at org.jboss.jdbc.DataSourceImpl.startService(DataSourceImpl.jav
>     at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
>     at org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSu
>     at java.lang.reflect.Method.invoke(Native Method)
>     at javax.management.MBeanServer.preRegisterInvoker(MBeanServer.j
>     at javax.management.MBeanServer.createMBean(MBeanServer.java:721
>     at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
>     at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
>     at org.jboss.Main.run(Main.java, Compiled Code)
>     at org.jboss.Main$1.run(Main.java:81)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at org.jboss.Main.main(Main.java:77)
> 
> and i configured jboss.conf to be
> 
> <MLET CODE = "org.jboss.jdbc.DataSourceImpl" ARCHIVE="jboss.jar,cloudscape.jar" 
>CODEBASE="../lib/ext/">
>    <ARG TYPE="java.lang.String" VALUE="jdbc:cloudscape:CloudscapeDB;create=true">
>    <ARG TYPE="java.lang.String" VALUE="CloudscapeDB">
>    <ARG TYPE="java.lang.String" VALUE="com.cloudscape.core.JDBCDriver">
>    <ARG TYPE="java.lang.String" VALUE="">
>    <ARG TYPE="java.lang.String" VALUE="">
> </MLET>
> 
> I have cloudscape.jar in my classpath and put it into lib\ext.   No success so far.
> 
> -- tony
> 
> Jeremiah Johnson wrote:
> 
> > Tony,
> >
> > I have been meaning to try the example with Cloudscape.  If you don't find 
>anything, then maybe I can help you with it.  I have to finish up a CGI, then I am 
>going to move on to trying Oracle, Cloudscape, and PostgreSQL (the three that I need 
>to use...).
> >
> > Check Bugzilla #133 in a couple days if you don't get it working.
> > http://www.telkel.com/bugzilla/show_bug.cgi?id=133
> >
> > Others, please let me know if #133 isn't the correct spot for this.
> >
> > - jeremiah
> >
> > ------Original Message------
> > From: Anthony Robins <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Sent: July 10, 2000 7:20:31 PM GMT
> > Subject: [jBoss-User] Using Cloudscape with JBoss
> >
> > Hi,
> >
> > I'm new to jboss and am trying to deploy an example bean with
> > Cloudscape.
> > I have found emails going around that i need to edit jboss.conf.  I'm
> > not sure
> > how to do that.  Do you have examples on this.
> >
> > thanx
> > --tony
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> >
> > ______________________________________________
> > FREE Personalized Email at Mail.com
> > Sign up at http://www.mail.com/?sr=signup
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to