Hi,
When starting JBoss, the sapdb-ds.xml file causes a malformed key/value pair
exception. Could someone please tell me how to configure this correctly?
Thanks to anyone who helps or tries to help!
Itchy
Here are the details:
The sapdb-ds.xml file:
<datasources>
| <local-tx-datasource>
| <jndi-name>java:/jdbc/jZUDIDS</jndi-name>
| <connection-url>jdbc:sapdb://KEMA220102/jZUDI</connection-url>
| <driver-class>com.sap.dbtech.jdbc.DriverSapDB</driver-class>
| <user-name>Developer</user-name>
| <password>Developer</password>
| </local-tx-datasource>
| </datasources>
The mBean:
<server>
| <mbean code="net.sf.hibernate.jmx.HibernateService"
name="jboss.jca:service=Hibernate">
| <depends>jboss.jca:service=RARDeployer</depends>
| <attribute name="MapResources">
| com/kemaiev/jzudi/hibernate/CompanyHibernateImpl.hbm.xml
| </attribute>
| <attribute name="JndiName">java:/jZUDIConnectionFactory</attribute>
| <attribute name="Datasource">java:/jdbc/jZUDIDS</attribute>
| <attribute
name="Dialect">net.sf.hibernate.dialect.SAPDBDialect</attribute>
| <attribute name="UseOuterJoin">true</attribute>
| <attribute name="ShowSql">false</attribute>
| <attribute name="UserTransactionName">UserTransaction</attribute>
| <attribute
name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute>
| <attribute name="TransactionManagerLookupStrategy">
| net.sf.hibernate.transaction.JBossTransactionManagerLookup
| </attribute>
| </mbean>
| </server>
The error printout:
11:32:10,068 INFO [MainDeployer] Starting deployment of package: file:/F:/JBoss
323/server/default/deploy/sapdb-ds.xml
11:32:10,138 WARN [NestedThrowable] Duplicate throwable nesting of same base ty
pe: class org.jboss.deployment.DeploymentException is assignable from: class org
.jboss.deployment.DeploymentException
11:32:10,148 ERROR [MainDeployer] could not create deployment: file:/F:/JBoss323
/server/default/deploy/sapdb-ds.xml
org.jboss.deployment.DeploymentException: create operation failed for package fi
le:/F:/JBoss323/server/default/deploy/sapdb-ds.xml; - nested throwable: (org.jbo
ss.deployment.DeploymentException: malformed key/value pair: name=java:/jdbc/jZUDIDS
; - nested throwable: (javax.management.MalformedObjectNameException: malformed
key/value pair: name=java:/jZUDI_DS))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837734#3837734
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837734
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user