I have the same problem, but it isn't the URL syntax.  I know this because
if I set the minCount to zero, it works fine, but if I set it to one, it has
the problem below.  I want to be able to have a minCount though.  Any ideas?

Specifics: Win2k/Tomcat 3.2/Struts 1.1/JAXP 1.1/InterBase 6.0/InterServer
2.01


Anthony

-----Original Message-----
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 2:01 PM
To: Struts Users Mailing List
Subject: RE: Data source


Barry,

This can happen if your data source is improperly configured. The Action
mappings aren't processed due to an error while trying to access the
datasource. My most frequent cause has been a misconfigured JDBC URL, or
a missing JDBC driver.

regards,

Stephen Owens
Corner Software

-----Original Message-----
From: Barry Jia [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 1:41 PM
To: '[EMAIL PROTECTED]'
Subject: Data source


Hi, All, 
I set up a data source in my struts-config.xml like this:
<data-sources>
     <data-source autoCommit="false"
                  description="Tira Database"
                      driverClass="sun.jdbc.odbc.JdbcOdbcDriver"
                      maxCount="2"
                      mincount="1"
                      password="myPassword"
                      url="jdbc.odbc:myDB"
                      user="myUser"/>
  </data-sources>
when I start my Tomcat and try to access jsp under my web app, there are
exceptions.
javax.servlet.ServletException: Cannot find ActionMappings or
ActionFormBeans collection
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImp
l.java:459)
        at
_0002flogon_0002ejsplogon_jsp_1._jspService(_0002flogon_0002ejsplogon_js
p_1.
java:317)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServle
t.ja
va:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.ja
va:282)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:81
2)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpC
onnectionHandler.java:213)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:50
1)
        at java.lang.Thread.run(Thread.java:484

Any body knows why ?

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

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

Reply via email to