You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jignesh Patel <jp...@bangtechnology.com> on 2004/05/17 16:48:33 UTC
struts is giving error on weblogic81
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: struts is giving error on weblogic81
Posted by Joe Germuska <Jo...@Germuska.com>.
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: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
--
Joe Germuska
Joe@Germuska.com
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org