Could this be related to Bug #26322, which indicates that Weblogic 8.1 expects just about everything to be serializeable?
http://issues.apache.org/bugzilla/show_bug.cgi?id=26322


It doesn't appear that BasicDataSource implements Serializeable:
http://cvs.apache.org/viewcvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/BasicDataSource.java

Speaking of which, we need testers who use WL8.1 to test the patches in Bug #26322 -- right now, that would require applying the patches yourself, but after we cut Struts 1.2.1, I think the plan is to apply those patches so that they start getting tested.

Joe



At 8:18 PM +0530 5/17/04, Jignesh Patel wrote:
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]


--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to