Title: RE: [jBoss-User] Cloudscape installation problems

Hi,

The problem was that jboss.conf specified the cloudscape XADataSource
implementation--COM.cloudscape.core.XaDataSource.html.  When i changed it back to org.jboss.minerva.xa.XADataSourceImpl, the server came up fine.

I would prefer to use the cloudscape impl just because your docs suggest
it in order to have multiple conn per transaction (2-phase commit).

My guess from reading some mail archive messages is that the Cloudscape
implementation does not have a setURL() method and your reflection
mechanism needs it.  Am i right?

-- anthony



-----Original Message-----
From: Tobias Frech [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 05, 2001 7:56 AM
To: jBoss
Subject: Re: [jBoss-User] Cloudscape installation problems


Hi!
For JBoss 2.0 FINAL I just received the following settings from Benjamin
Broll for Cloudscape v3.5.1:

--------------
jboss.properties
        jdbc.drivers=COM.cloudscape.core.RmiJdbcDriver,[...]


jboss.conf
    <MLET CODE="org.jboss.jdbc.XADataSourceLoader" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
        <ARG TYPE="java.lang.String" VALUE="POOL_NAME">
        <ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
    </MLET>

jboss.jcml
    <mbean name="DefaultDomain:service=XADataSource,name=SERVICE_NAME">
        <attribute
name="URL">jdbc:cloudscape:rmi://localhost:1099/YOUR_DATABASE</attribute>
        <attribute name="JDBCUser">your_name</attribute>
        <attribute name="Password">your_password</attribute>
    </mbean>


1. Note:

cloudscape.jar has to be copied to the lib/ext dir.

2. Note:

Chose a different port either for the naming service or the CloudscapeDB
[at least with RmiJdbcServer] because they both listen on the same
default port (1099)
If you changed Cloudscape's port, don't forget to change it in the URL,
too.

3. Note:

Adjust the URL to your settings.
Adjust SERVICE_NAME (ordinarily to "Cloudscape").
Adjust POOL_NAME (ordinarily to "Cloudscape").
--------------

Is this information sufficient ? Please give us feedback!

He also provided also settings for JBoss-Pre2.1. Both configurations
will be available on the website in a few days.

Ciao, Tobias


"Robins, Anthony" wrote:
>
> Hi,
>
> I am having problems installing jboss with cloudscape.    I read your
> 'advanced config' chapter in
> the jboss 2.0 manual and while initializing the server i get the below
> stack trace.  I included the
> prop files below.
>
> Source,name=CloudscapeConnPool
> [Default] javax.management.RuntimeMBeanException: RuntimeException
> thrown in the
>  MBean's setter
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServ
> erImpl.java:1417)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServ
> erImpl.java:1331)
> [Default]       at
> org.jboss.configuration.ConfigurationService.load(Configurati
> onService.java:139)
> [Default]       at java.lang.reflect.Method.invoke(Native Method)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1628)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1523)
> [Default]       at org.jboss.Main.<init>(Main.java:143)
> [Default]       at org.jboss.Main$1.run(Main.java:87)
> [Default]       at java.security.AccessController.doPrivileged(Native
> Method)
> [Default]       at org.jboss.Main.main(Main.java:83)
> [Default] javax.management.RuntimeMBeanException: RuntimeException
> thrown in the
>  MBean's setter
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServ
> erImpl.java:1417)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServ
> erImpl.java:1331)
> [Default]       at
> org.jboss.configuration.ConfigurationService.load(Configurati
> onService.java:139)
> [Default]       at java.lang.reflect.Method.invoke(Native Method)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1628)
> [Default]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1523)
> [Default]       at org.jboss.Main.<init>(Main.java:143)
> [Default]       at org.jboss.Main$1.run(Main.java:87)
> [Default]       at java.security.AccessController.doPrivileged(Native
> Method)
> [Default]       at org.jboss.Main.main(Main.java:83)
> [Default] jBoss 2.0 FINAL Started
>
> jboss.properties --
> jdbc.drivers=COM.cloudscape.core.JDBCDriver
>
> jboss.conf --
> <MLET CODE="org.jboss.jdbc.XADataSourceLoader"
> ARCHIVE="jboss.jar,cloudscape.jar" CODEBASE="../../lib/ext/">
>    <ARG TYPE="java.lang.String" VALUE="CloudscapeConnPool">
>    <ARG TYPE="java.lang.String"
> VALUE="COM.cloudscape.core.XaDataSource">
> </MLET>
>
> jboss.jcml --
> <mbean
> name="DefaultDomain:service=XADataSource,name=CloudscapeConnPool">
>     <attribute
> name="URL">jdbc:cloudscape:ejbdb;create=true</attribute>
>   </mbean>


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to