-
1. Re: Example/help Connecting JBoss 3.0 alpha to sybase
jbossuser Jan 23, 2002 3:24 PM (in response to bchand)There's not enought detail in your message to help figure out your trouble. However, here's a suggestion.
Make sure you can connect to one of the other db's (mysql for instance, which is free and a relatively small download compared to oracle).
Then you'll know your problem is connecting to Sybase and not more general. -
2. Re: Example/help Connecting JBoss 3.0 alpha to sybase
l.g. Jan 24, 2002 11:16 AM (in response to bchand)Make sure to add jconn2.jar to classpath.
Connection parms:
com.sybase.jdbc2.jdbc.SybDriver
jdbc:sybase:Tds::/DBName -
3. Re: Example/help Connecting JBoss 3.0 alpha to sybase
bchand Jan 24, 2002 5:12 PM (in response to bchand)After Much fighting I "finally" got it to work. Perhaps this file below can make it onto the CVS area where the other examples are?
Thanks for the help
Brian
<?xml version="1.0" encoding="UTF-8"?>
ConnectionURL=jdbc:sybase:Tds:<ip.addr.x.x>:/
DriverClass=com.sybase.jdbc2.jdbc.SybDriver
UserName=
Password=
SybaseDS
java:/TransactionManager
<mbean-ref name="ResourceAdapterName">JCA:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter</mbean-ref>
<mbean-ref name="ConnectionManagerFactoryLoaderName">JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</mbean-ref>
#
#Wed Aug 15 16:17:29 EDT 2001
BlockingTimeoutMillis=50000
IdleTimeoutMinutes=30
MaxSize=100
CleanupIntervalMinutes=10
MinSize=10
MaxIdleTimeoutPercent=1.0
org.jboss.resource.security.ManyToOnePrincipalMapping