Hi
I am seeing the following error when I tried to deploy a
Struts application in Apache-Tomcat:-
HTTP Status 503 -
Servlet action is currently unavailable
type Status report
message Servlet action is currently unavailable
description The requested service (Servlet action is currently unavailable) is not currently available.
Apache Tomcat/6.0.18
Following is one of the Message that was shown in logs(C:\apache-tomcat-6.0.18\logs)
Apr 25, 2010 7:52:49 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Apr 25, 2010 7:52:49 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /p2pms threw load() exception
javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE
at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:812) ........
The following the data source that is being used as defined in the struts-config.xml
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName" value="sun.jdbc.odbc.JdbcOdbcDriver"/>
<set-property property="url" value="jdbc:odbc:MISSERVER"/>
<set-property property="username" value="Admin"/>
<set-property property="password" value="123"/>
</data-source>
I tried to connect to the MySql database but found no Luck.
Any suggestions will be appreciated..
Thanks & Regards,
Raghu.