struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slickdev <>
Subject <data-source> problem
Date Fri, 21 Jun 2002 02:11:54 GMT
I have a problem with the data-source properties in struts-config.xml
This is for the sample email portal application.

I configured the properties to use my localhost oracle installation, which does work with
jdbc from command-line java apps as well as with sql*plus.

Here is the suspect layout:

      <set-property property="autoCommit" value="false"/>
      <set-property property="description" value="Oracle Data Source Configuration"/>
      <set-property property="maxCount" value="4"/>
      <set-property property="minCount" value="2"/>
      <set-property property="driverClass" value="oracle.jdbc.driver.OracleDriver"/>
      <set-property property="url" value="jdbc:oracle:thin:@localhost:1521:oracle"/>
      <set-property property="user" value="system"/>
      <set-property property="password" value="manager"/>

When clicking the initial logon link to invoke logon.jsp, an exception occurs:

javax.servlet.ServletException: Cannot find ActionMappings orActionFormBeans collection
at org.apache.jasper.runtime.PageContextImpl.handlePageException(
at logon_1._jspService(
at org.apache.jasper.runtime.HttpJspBase.service(
at javax.servlet.http.HttpServlet.service(

The exception does not occur if the stuff between <data-source> --- </data-source>
is commented out.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message