Hi, I am a newbie in JBoss. I have used BEA WebLogic 8.1 for a few months. Now I am trying to test my application in JBoss. I downloaded the JBoss-4.0.4-GA-Patch1-Installer and installed it with default settings.
After that I tested a simple war file with a single jsp, and it works. Then I tried to deploy a bigger application into JBoss. This application is workable in WebLogic 8.1 SP2. It requires several connection pools and data sources. It is very easy to configure that in WebLogic 8.1. I read through http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html especially section 7.3 configuring JDBC datasources. Unfortunately, I don't quite understand. I then turned to the sample configuration. I copied %JBOSS_HOME%\docs\examples\jca\oracle-ds.xml to the %JBOSS_HOME%\server\default\deploy directory. And then modify the oracle-ds.xml to reflect my datasource configuration. One of the entry is as follows: | <local-tx-datasource> | <jndi-name>jdbc/evtDSLocal</jndi-name> | <connection-url>jdbc:oracle:thin:@ddbssn01.asianconnect.com:1521:snd1</connection-url> | <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> | <user-name>evt_username</user-name> | <password>evt_password</password> | <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name> | <metadata> | <type-mapping>Oracle9i</type-mapping> | </metadata> | </local-tx-datasource> | However, I still get the following exception when i start jboss after I deploy my ear file into %JBOSS_HOME%\server\default\deploy directory. anonymous wrote : deployer: [EMAIL PROTECTED] | status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: jdbc/evtDSLocal has no valid JNDI binding. Check the jboss-web/resource-ref.) What else I need to do to make it work? Where is the jboss-web/resource-ref? What's the path of the file? Regards, Xinjun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952245#3952245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952245 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user