Hi,
I am using JBoss-3.0.4.
I have my sybase-service.xml placed in default\deploy folder.
But during startup I get the following Error message.
ERROR 11/Dec/2002 22:29:23 [main] (Logger.java:185):
scanner.URLDeploymentScanner - MBeanException: Exception in MBean
operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment
listing: Packages waiting for a deployer: <none>
Incompletely deployed packages: <none> MBeans waiting for classes:
<none> MBeans waiting for other MBeans: [ObjectName:
jboss.jca:service=LocalTxCM,name=SybaseDS state: CONFIGURED I Depend On:
jboss.jca:service=LocalTxDS,name=SybaseDS
jboss.jca:service=LocalTxPool,name=SybaseDS
jboss.jca:service=CachedConnectionManager
jboss.security:name=JaasSecurityManager
jboss.jca:service=RARDeployer Depends On Me: ]
I have been using JBoss-3.0.0, and I have used the same
sybase-service.xml there. There everything goes fine.
In Jboss-3.0.0 I can see the message 'java:/SybaseDS' bound. In
JBoss-3.0.4, its not there.
Any Suggestion and guidelines would be really helpfull.
sybase-service.xml
-------------------
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean
code="org.jboss.resource.connectionmanager.LocalTxConnectionManager"
name="jboss.jca:service=LocalTxCM,name=SybaseDB">
<depends
optional-attribute-name="ManagedConnectionFactoryName">
<!--embedded mbean-->
<mbean
code="org.jboss.resource.connectionmanager.RARDeployment"
name="jboss.jca:service=LocalTxDS,name=SybaseDB">
<attribute
name="JndiName">jdbc/SybaseDB</attribute>
<attribute
name="ManagedConnectionFactoryProperties">
<properties>
<config-property name="ConnectionURL"
type="java.lang.String">
jdbc:sybase:Tds:host.at.some.domain:5000/db_name?JCONNECT_VERSION=6
</config-property>
<config-property name="DriverClass"
type="java.lang.String">
com.sybase.jdbc2.jdbc.SybDataSource
</config-property>
<config-property name="UserName"
type="java.lang.String">
username
</config-property>
<config-property name="Password"
type="java.lang.String">
password
</config-property>
</properties>
</attribute>
<!--Below here are advanced properties -->
<!--hack-->
<depends
optional-attribute-name="OldRarDeployment">
jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC
Wrapper
</depends>
</mbean>
</depends>
<depends
optional-attribute-name="ManagedConnectionPool">
<!--embedded mbean-->
<mbean
code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
name="jboss.jca:service=LocalTxPool,name=SybaseDB">
<attribute name="MinSize">0</attribute>
<attribute name="MaxSize">10</attribute>
<attribute
name="BlockingTimeoutMillis">5000</attribute>
<attribute
name="IdleTimeoutMinutes">15</attribute>
<attribute
name="Criteria">ByContainer</attribute>
</mbean>
</depends>
<depends
optional-attribute-name="CachedConnectionManager">
jboss.jca:service=CachedConnectionManager
</depends>
<depends
optional-attribute-name="JaasSecurityManagerService">
jboss.security:service=JaasSecurityManager
</depends>
<attribute
name="TransactionManager">java:/TransactionManager</attribute>
<!--make the rar deploy! hack till better deployment-->
<depends>jboss.jca:service=RARDeployer</depends>
</mbean>
</server>
Also I tried placing sybase.jar in default/deploy/lib, but same
result.
Cheers
Muraly
