What exception do you see in the myserver.log or in the console out?
Do you have the dbcp and oracle classes jar in your weblogic classpath?
BAL
From: Jignesh Patel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: struts is giving error on weblogic81
Date: Mon, 17 May 2004 20:18:33 +0530
We are trying to deploy struts1.1 based application on weblogic8.1 which is
already working fine on tomcat5.19.
But it is giving problem because of following datasource code, if we remove
it
then we are not able to get the oracle database connection and if keep it,
the code is not deploying ActionServlet.
Does any body is having same kind of problem?
Data source code in struts-config.xml
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property ="driverClassName"
value="oracle.jdbc.driver.OracleDriver"/>
<set-property property="url"
value="jdbc:oracle:thin:@192.168.0.2:1521:db1"/>
<!-- <set-property property="url"
value="jdbc:oracle:thin:@192.168.1.20:1521:orcl"/>-->
<set-property property="username" value="jpatel" />
<set-property property="password" value="jpatel" />
</data-source>
</data-sources>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]