Error of Tomcat using Struts2

2010-07-22 Thread bladu

Hi,

I am developing an Struts2 application, but unfortunately it doesn´t run, It
gives me the following error:  

ERROR: Servlet /webstruts throw exception de load()
javax.servlet.UnavailableException: Initializing application data source
org.apache.struts.action.DATA_SOURCE

Anybody knows how to solve this error?

Regards
-- 
View this message in context: 
http://old.nabble.com/Error-of-Tomcat-using-Struts2-tp29239202p29239202.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat error: It is not available the ServletAction

2009-04-02 Thread bladu



Christopher Schultz-2 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Chuck,
 
 On 4/1/2009 11:45 AM, Caldarale, Charles R wrote:
 From: bladu [mailto:ego...@hotmail.com]
 Subject: Re: Tomcat error: It is not available the ServletAction

 I have correct some bugs in the struts-config.xml (references to
 classes that don`t exist), but the problem still remains.
 
 The error message generated by struts shows a *parsing* error - meaning
 you likely have something wrong with the syntax of your struts config
 rather than the values of any fields.  Try running that XML file through
 a syntax checker to see if you can find it.
 
 Some Struts users have reported the following causes to this problem:
 
 1. An actual XML parsing error
 2. Java version mismatch
 3. xerces.jar version mismatch or overlap
 
 What version of Java are you running?
 Do you have xerces.jar in your webapp's lib directory?
 What version of Tomcat are you using?
 
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAknT0n4ACgkQ9CaO5/Lv0PB0PQCgsB4liiFvjm+FL7APhBAnxYAW
 k+wAn3EQluZ1WdeEDF3bnxr6+++9gEV4
 =k7yc
 -END PGP SIGNATURE-
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 

Hi, 

Version of Java ---jdk1.5.0_17
Do you have xerces.jar in your webapp's lib directory? ---Yes, int he
application deployed and also in the WAR I have xerces-1.2.3.jar
What version of Tomcat are you using?  ---jakarta-tomcat-5.0.28

Regards
-- 
View this message in context: 
http://www.nabble.com/Tomcat-error%3A-It-is-not-available-the-ServletAction-tp22805251p22841693.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat error: It is not available the ServletAction

2009-04-02 Thread bladu



Christopher Schultz-2 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Chuck,
 
 On 4/1/2009 11:45 AM, Caldarale, Charles R wrote:
 From: bladu [mailto:ego...@hotmail.com]
 Subject: Re: Tomcat error: It is not available the ServletAction

 I have correct some bugs in the struts-config.xml (references to
 classes that don`t exist), but the problem still remains.
 
 The error message generated by struts shows a *parsing* error - meaning
 you likely have something wrong with the syntax of your struts config
 rather than the values of any fields.  Try running that XML file through
 a syntax checker to see if you can find it.
 
 Some Struts users have reported the following causes to this problem:
 
 1. An actual XML parsing error
 2. Java version mismatch
 3. xerces.jar version mismatch or overlap
 
 What version of Java are you running?
 Do you have xerces.jar in your webapp's lib directory?
 What version of Tomcat are you using?
 
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAknT0n4ACgkQ9CaO5/Lv0PB0PQCgsB4liiFvjm+FL7APhBAnxYAW
 k+wAn3EQluZ1WdeEDF3bnxr6+++9gEV4
 =k7yc
 -END PGP SIGNATURE-
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 

Hi,

Version of Java ---jdk1.5.0_17
Do you have xerces.jar in your webapp's lib directory? ---Yes, int he
application deployed and also in the WAR I have xerces-1.2.3.jar
What version of Tomcat are you using?  ---jakarta-tomcat-5.0.28

Regards

-- 
View this message in context: 
http://www.nabble.com/Tomcat-error%3A-It-is-not-available-the-ServletAction-tp22805251p22841851.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat error: It is not available the ServletAction

2009-04-01 Thread bladu


Christopher Schultz-2 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Bladu,
 
 On 3/31/2009 1:45 PM, bladu wrote:
 But when I try to execute the application, Tomcat gives me the following
 error:
 
 Message: It is not available the Servlet Action 
 Description: The request resource (It doesn`t available the
 ServletAction)
 is not available.
 
 I suspect this is not the exact error message. Can you copy-and-paste
 the full error, including any stack trace that may appear in the browser
 window /or/ in your catalina.log file (or is that the stdout log that
 you mentioned)?
 
 The log files are likely to hold the key to this problem. If log4j
 appears to be broken, try running Tomcat with the standard logger just
 to test to see what's wrong.
 
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAknSjQ8ACgkQ9CaO5/Lv0PCnLQCgpasQDZVKMBR2WyP9jXWbdxZu
 lkYAnRNMX1xr74RF7Xj0O7zwe8NHy0gm
 =SGgA
 -END PGP SIGNATURE-
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 

Hi, 

The Tomcat I have is in Spanish language. The log has lines written in
Spanish / English. Maybe you will have some problems to understand the lines
written in Spanish, for that reason I put in the line below the
corresponding translation to English, (the translation that approachs more
to English, Spanish is my mother tongue).

To make easier your labour, I underline you the lines I consider that are
more important in order to solve the problem.

The log I provide you is the stdout.log (I don`t have the catalina.log file,
or at least I am not able to find it).

2009-03-31 17:51:24 StandardContext[/manager]Manager: deploy: Deploying web
application at '/DSGCWeb'

2009-03-31 17:51:24 StandardContext[/manager]Manager: Uploading WAR file to
C:\Tomcat 5.0.28\webapps\DSGCWeb.war

2009-03-31 17:51:24 StandardContext[/manager]Manager: Extracting XML file to
C:\Tomcat 5.0.28\conf\Catalina\localhost\DSGCWeb.xml

2009-03-31 17:51:24 StandardContext[/manager]Manager: install: Installing
web application at '/DSGCWeb' from 'jar:file:/C:/Tomcat
5.0.28/webapps/DSGCWeb.war!/'

2009-03-31 17:51:28 StandardContext[/DSGCWeb]Marcando el servlet action como
no disponible
2009-03-31 17:51:28 StandardContext[/DSGCWeb] Marking the Action servlet as
not available

2009-03-31 17:51:28 StandardContext[/DSGCWeb]El Servlet /DSGCWeb lanzó
excepción de load()
javax.servlet.UnavailableException: Parsing error processing resource path 

2009-03-31 17:51:28 StandardContext[/DSGCWeb]The Servlet /DSGCWeb threw an
load() exception
javax.servlet.UnavailableException: Parsing error processing resource path

at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1010)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:652)
at
org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:400)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:712)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520

Re: Tomcat error: It is not available the ServletAction

2009-04-01 Thread bladu



Christopher Schultz-2 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Bladu,
 
 On 3/31/2009 1:45 PM, bladu wrote:
 But when I try to execute the application, Tomcat gives me the following
 error:
 
 Message: It is not available the Servlet Action 
 Description: The request resource (It doesn`t available the
 ServletAction)
 is not available.
 
 I suspect this is not the exact error message. Can you copy-and-paste
 the full error, including any stack trace that may appear in the browser
 window /or/ in your catalina.log file (or is that the stdout log that
 you mentioned)?
 
 The log files are likely to hold the key to this problem. If log4j
 appears to be broken, try running Tomcat with the standard logger just
 to test to see what's wrong.
 
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAknSjQ8ACgkQ9CaO5/Lv0PCnLQCgpasQDZVKMBR2WyP9jXWbdxZu
 lkYAnRNMX1xr74RF7Xj0O7zwe8NHy0gm
 =SGgA
 -END PGP SIGNATURE-
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 

Hi again

Thanks for trying to help me.

I have correct some bugs in the struts-config.xml (references to classes
that don`t exist), but the problem still remains. When I deploy the
application and execute it, Tomcat gives me the following error: 

Message: It is not available the Servlet Action
Description: The request resource (It doesn`t available the ServletAction)
is not available.

The log stdout of Tomcat gives me the following information(like before, to
make easier your labour, I underline you the lines I consider that are more
important in order to solve the problem) :

2009-04-01 16:53:27 StandardContext[/manager]Manager: deploy: Deploying web
application at '/DSGCWeb'
2009-04-01 16:53:27 StandardContext[/manager]Manager: Uploading WAR file to
C:\Tomcat 5.0.28\webapps\DSGCWeb.war
2009-04-01 16:53:27 StandardContext[/manager]Manager: Extracting XML file to
C:\Tomcat 5.0.28\conf\Catalina\localhost\DSGCWeb.xml
2009-04-01 16:53:27 StandardContext[/manager]Manager: install: Installing
web application at '/DSGCWeb' from 'jar:file:/C:/Tomcat
5.0.28/webapps/DSGCWeb.war!/'
2009-04-01 16:53:30 StandardContext[/DSGCWeb]Marcando el servlet action como
no disponible
2009-04-01 16:53:30 StandardContext[/DSGCWeb] Marking the action servlet as
not available
2009-04-01 16:53:30 StandardContext[/DSGCWeb]El Servlet /DSGCWeb lanzó
excepción de load()
2009-04-01 16:53:30 StandardContext[/DSGCWeb] The Servlet /DSGCWeb threw an
load() exception
javax.servlet.UnavailableException: Parsing error processing resource path 
at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1010)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:652)
at
org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:400)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:712)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198

Re: Tomcat error: It is not available the ServletAction

2009-04-01 Thread bladu



Christopher Schultz-2 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Bladu,
 
 On 4/1/2009 4:00 AM, bladu wrote:
 The Tomcat I have is in Spanish language. The log has lines written in
 Spanish / English. Maybe you will have some problems to understand the
 lines
 written in Spanish, for that reason I put in the line below the
 corresponding translation to English, (the translation that approachs
 more
 to English, Spanish is my mother tongue).
 
 Okay. You're right, Spanish would be a challenge, but there are some
 things that need no translation, like a stack trace (see below).
 
 The log I provide you is the stdout.log (I don`t have the catalina.log
 file,
 or at least I am not able to find it).
 
 catalina.out is the standard stdout log, so if you have a stdout log,
 that should be fine.
 
 2009-03-31 17:51:28 StandardContext[/DSGCWeb]The Servlet /DSGCWeb threw
 an
 load() exception
 javax.servlet.UnavailableException: Parsing error processing resource
 path
 
  at
 org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
  at
 org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1010)
  at
 org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
 
 Struts is having a problem loading ifs configuration, which probably
 marking your application as unavailable.
 
 There's no indication in this log file why Struts is having trouble
 loading. If you have a Struts-specific configuration file, you might
 want to take a look at that. Typically, it's a syntax error in the
 struts-config.xml file. Check that file for recent changes to see what
 the problem might be.
 
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAknTWJ0ACgkQ9CaO5/Lv0PAwfgCdGcf3pnfhpcNyfY6kK+JC5pCz
 EDgAn1Msm3hAF1E/JYvLsaIjC+SxuDzu
 =szyv
 -END PGP SIGNATURE-
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
Hi again

Thanks for trying to help me.

I have correct some bugs in the struts-config.xml (references to classes
that don`t exist), but the problem still remains. When I deploy the
application and execute it, Tomcat gives me the following error: 

Message: It is not available the Servlet Action
Description: The request resource (It doesn`t available the ServletAction)
is not available.

The log stdout of Tomcat gives me the following information(like before, to
make easier your labour, I underline you the lines I consider that are more
important in order to solve the problem) :

2009-04-01 16:53:27 StandardContext[/manager]Manager: deploy: Deploying web
application at '/DSGCWeb'
2009-04-01 16:53:27 StandardContext[/manager]Manager: Uploading WAR file to
C:\Tomcat 5.0.28\webapps\DSGCWeb.war
2009-04-01 16:53:27 StandardContext[/manager]Manager: Extracting XML file to
C:\Tomcat 5.0.28\conf\Catalina\localhost\DSGCWeb.xml
2009-04-01 16:53:27 StandardContext[/manager]Manager: install: Installing
web application at '/DSGCWeb' from 'jar:file:/C:/Tomcat
5.0.28/webapps/DSGCWeb.war!/'
2009-04-01 16:53:30 StandardContext[/DSGCWeb]Marcando el servlet action como
no disponible
2009-04-01 16:53:30 StandardContext[/DSGCWeb] Marking the action servlet as
not available
2009-04-01 16:53:30 StandardContext[/DSGCWeb]El Servlet /DSGCWeb lanzó
excepción de load()
2009-04-01 16:53:30 StandardContext[/DSGCWeb] The Servlet /DSGCWeb threw an
load() exception
javax.servlet.UnavailableException: Parsing error processing resource path 
at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1010)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java

Tomcat error: It is not available the ServletAction

2009-03-31 Thread bladu

Hi,

I am deploying an application using Ant from MyEclipse IDE.
When I deploy the application with the Ant, this say me that the application
has successfully deployed. I go to webaapps directory and I see into that
directory the applicacation deployed with its WAR.

But when I try to excute the application, Tomcat gives me the following
error:

Message: It is not available the Servlet Action 
Description: The request resource (It doesn`t available the ServletAction)
is not available.
I

f I go to Apache Tomcat`s stdout log I can see two warnings:
WARN: No appends could be found for logger
(org.apache.commons.beanutils.Convertutils)
WARN: Please initialize the log4j system properly

But, If I go to the Java Build path of the application I can verify how I
have added the commons.beanutils.jar and log4j.jar.

I don`t know why it doesn´t run and I am stuck.

I would be very grateful somebody could help me tom solve this problem.

Regards
-- 
View this message in context: 
http://www.nabble.com/Tomcat-error%3A-It-is-not-available-the-ServletAction-tp22805251p22805251.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



How to enable crossContext=true?

2008-07-07 Thread bladu

Hi, 

I am a user of Apache Tomcat 6.0.16 in Netbeans 6.1 and I would want to know
where I have to put the crossContext=true to run applications that are in
different context   

Thanks with anticipation
-- 
View this message in context: 
http://www.nabble.com/How-to-enable-crossContext%3D%22true%22--tp18318178p18318178.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]