RE: Tomcat 4.1.29 & Struts

2003-12-08 Thread Mukund Ramadoss
Hi David,

Thanks for your mail.

Actually I don't still know what is causing the problem.
Now based on your mail, I've tried with both the following DTDs:

http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>struts-conf
ig_1_1.dtd 
http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>struts-conf
ig_1_0.dtd 
The result is same:
org.apache.jasper.JasperException: Cannot find message resources under
key org.apache.struts.action.MESSAGE

Actually when I reload the webapp, I get the following error in my log:

2003-12-08 11:26:07 StandardWrapper[/strutsShop:default]: Loading
container servlet default
2003-12-08 11:26:08 StandardWrapper[/strutsShop:action]: Marking servlet
action as unavailable
2003-12-08 11:26:08 StandardContext[/strutsShop]: Servlet /strutsShop
threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource
path 
at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServl
et.java:1035)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:1014)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja
va:955)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:935)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3422)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3623
)
at
org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConfi
g.java:614)
at
org.apache.catalina.startup.HostConfig.run(HostConfig.java:854)
at java.lang.Thread.run(Thread.java:536)

I'm attaching web.xml and struts_config.xml below:
---struts-config.xml -

http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
  

--web.xml


http://java.sun.com/dtd/web-app_2_3.dtd";>



  
action
 
org.apache.struts.action.ActionServlet

  application
  


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true

2
  
   
  
  
action
/do/*
  
  
invoker
/servlet/*
  
  
  
index.jsp
index.html
  



   
/WEB-INF/struts-bean.tld
   
   
/WEB-INF/struts-bean.tld
   


   
/WEB-INF/struts-html.tld
   
   
/WEB-INF/struts-html.tld
   


   
/WEB-INF/struts-logic.tld
   
   
/WEB-INF/struts-logic.tld
   


   
/WEB-INF/struts-template.tld
   
   
/WEB-INF/struts-template.tld
   
 




Thanks for your help.

Regards
Mukund

-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 06, 2003 2:39 PM
To: Struts Users Mailing List
Subject: RE: Tomcat 4.1.29 & Struts


Mukund,

What was your Tomcat 4.1.29 problem?  Was the wrong DTD part of the
problem?

Regards,
David

-Original Message-
From: Mukund Ramadoss [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:06 PM
To: 'Struts Users Mailing List'
Subject: Tomcat 4.1.29 & Struts


Is anyone working with Struts on Tomcat 4.1.29?
If yes, can you provide me some inputs on the installation.

I'm getting org.apache.jasper.JasperException: Cannot find message
resources under key org.apache.struts.action.MESSAGE, when executing
 in the jsp.

Thanks
Mukund


-Original Message-
From: Mukund Ramadoss [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 9:00 AM
To: 'Struts Users Mailing List'
Subject: RE: org.apache.struts.action.MESSAGE


My attachment got denied.
I'm enclosing it here. Thanks - Mukund
- struts-config.xml

http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>
 
  
- web.xml


http://java.sun.com/dtd/web-app_2_3.dtd";>



  
action

org.apache.struts.action.ActionServlet

  application
  


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true


   application
   

2
  

  
  
action
/do/*
  
  
invoker
/servlet/*
  
  
  
index.jsp
index.html
  



   
/WEB-INF/struts-bean.tld
   
   
/WEB-INF/struts-bean.tld
   


   
/WEB-INF/struts-html.tld
   
   
/WEB-INF/struts-html.tld
   


   
/WEB-INF/struts-logic.tld
   
   
/WEB-INF/struts-logic.tld
   


   
/WEB-INF/struts-template.tld
   
   
/WEB-INF/struts-template.tld
   
 





---

RE: Tomcat 4.1.29 & Struts

2003-12-05 Thread Mukund Ramadoss
Hi Richard,

Thanks for your mail.
Actually I am running on windows and there is not .txt extenstion.

The filename is ApplicationResources.properties. (not
ApplicationProperties.properties). 
Could this be a classpath issue? How do I check.

Thanks again.
Mukund

-Original Message-
From: Richard Yee [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 05, 2003 4:30 PM
To: Struts Users Mailing List
Subject: RE: Tomcat 4.1.29 & Struts


Mukund,
If you are running on Windows, have you ever edited
the ApplicationProperties.properties file with
notepad? Could it possibly have a .txt extension after
the .properties extension? If you are running on Unix,
is the case correct on the file name?

-Richard

--- Mukund Ramadoss <[EMAIL PROTECTED]> wrote:
> I removed the key in the struts_config. But still
> the result is the
> same.
> 
> My struts-config looks like this:
> --
> 
>   
>
"http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>
>  
>parameter="ApplicationResources" 
>  null="false" />
> 
> --
> 
> My ApplicationResources.properties is in
> WEB-INF/classes directory. I
> have also
> Copied it to WEB-INF folder. But still it does not
> pick it up.
> 
> I also tried downloaded xerces.jar to WEB-INF/lib,
> for I read elsewhere
> that it could be a xml parser issue. This does not
> help too.
> 
> Any suggestions.
> 
> Thanks
> Mukund
> 
> 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



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



RE: Tomcat 4.1.29 & Struts

2003-12-05 Thread Mukund Ramadoss
I removed the key in the struts_config. But still the result is the
same.

My struts-config looks like this:
--

http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>
  
 

--

My ApplicationResources.properties is in WEB-INF/classes directory. I
have also
Copied it to WEB-INF folder. But still it does not pick it up.

I also tried downloaded xerces.jar to WEB-INF/lib, for I read elsewhere
that it could be a xml parser issue. This does not help too.

Any suggestions.

Thanks
Mukund


-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 04, 2003 4:20 PM
To: Struts Users Mailing List
Subject: RE: Tomcat 4.1.29 & Struts


> Is anyone working with Struts on Tomcat 4.1.29?
> If yes, can you provide me some inputs on the installation. I'm 
> getting org.apache.jasper.JasperException: Cannot find message 
> resources under key org.apache.struts.action.MESSAGE, when executing 
>  in the jsp.

I'm using Tomcat 4.1.29 and a recent nightly build of Struts.  This is a
common problem and usually happens when Struts can't find your
ApplicationResources [or whatever you named it] file.

>parameter="ApplicationResources" 
>  key="org.apache.struts.action.MESSAGE" null="false" /> 

Where is your ApplicationResources file located?  (Should be in
WEB-INF/classes, named exactly ApplicationResources.properties, with
this setup.)

I don't have 'key' specified in my  tag.  Did you put
that in for a reason?  

I have:  

I note that struts-example does use 'key', but in this fashion:

   
   

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

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



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



Tomcat 4.1.29 & Struts

2003-12-04 Thread Mukund Ramadoss
Is anyone working with Struts on Tomcat 4.1.29?
If yes, can you provide me some inputs on the installation.

I'm getting org.apache.jasper.JasperException: Cannot find message
resources under key org.apache.struts.action.MESSAGE, when executing
 in the jsp.

Thanks
Mukund


-Original Message-
From: Mukund Ramadoss [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 04, 2003 9:00 AM
To: 'Struts Users Mailing List'
Subject: RE: org.apache.struts.action.MESSAGE


My attachment got denied.
I'm enclosing it here. Thanks - Mukund
- struts-config.xml

http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>
  
  
- web.xml


http://java.sun.com/dtd/web-app_2_3.dtd";>



  
action
 
org.apache.struts.action.ActionServlet

  application
  


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true


   application
   

2
  
   
  
  
action
/do/*
  
  
invoker
/servlet/*
  
  
  
index.jsp
index.html
  



   
/WEB-INF/struts-bean.tld
   
   
/WEB-INF/struts-bean.tld
   


   
/WEB-INF/struts-html.tld
   
   
/WEB-INF/struts-html.tld
   


   
/WEB-INF/struts-logic.tld
   
   
/WEB-INF/struts-logic.tld
   


   
/WEB-INF/struts-template.tld
   
   
/WEB-INF/struts-template.tld
   
 





-

-----Original Message-
From: Mukund Ramadoss [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 04, 2003 8:55 AM
To: 'Struts Users Mailing List'
Subject: org.apache.struts.action.MESSAGE


Hi,

I'm setting up Struts to work with Tomcat 4.1.29.

When I tried to run a jsp (BookView.jsp) from a tutorial, I get the
following exception :
org.apache.jasper.JasperException: Cannot find message resources under
key org.apache.struts.action.MESSAGE
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:254)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)


I'm attaching struts-config.xml, web.xml, and BookView.jsp for your
reference.

I've tried copying ApplicationResources.properties from classes to
WEB-INF folder. But the result is same. 
Any suggestions?

Thanks
Mukund


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



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



RE: org.apache.struts.action.MESSAGE

2003-12-04 Thread Mukund Ramadoss
My attachment got denied.
I'm enclosing it here. Thanks - Mukund
- struts-config.xml

http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>
  
 

- web.xml


http://java.sun.com/dtd/web-app_2_3.dtd";>



  
action
 
org.apache.struts.action.ActionServlet

  application
  


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true


   application
   

2
  
   
  
  
action
/do/*
  
  
invoker
/servlet/*
  
  
  
index.jsp
index.html
  



   
/WEB-INF/struts-bean.tld
   
   
/WEB-INF/struts-bean.tld
   


   
/WEB-INF/struts-html.tld
   
   
/WEB-INF/struts-html.tld
   


   
/WEB-INF/struts-logic.tld
   
   
/WEB-INF/struts-logic.tld
   


   
/WEB-INF/struts-template.tld
   
   
/WEB-INF/struts-template.tld
   
 





-

-Original Message-
From: Mukund Ramadoss [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 04, 2003 8:55 AM
To: 'Struts Users Mailing List'
Subject: org.apache.struts.action.MESSAGE


Hi,

I'm setting up Struts to work with Tomcat 4.1.29.

When I tried to run a jsp (BookView.jsp) from a tutorial, I get the
following exception :
org.apache.jasper.JasperException: Cannot find message resources under
key org.apache.struts.action.MESSAGE
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:254)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)


I'm attaching struts-config.xml, web.xml, and BookView.jsp for your
reference.

I've tried copying ApplicationResources.properties from classes to
WEB-INF folder. But the result is same. 
Any suggestions?

Thanks
Mukund


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



org.apache.struts.action.MESSAGE

2003-12-04 Thread Mukund Ramadoss
Hi,

I'm setting up Struts to work with Tomcat 4.1.29.

When I tried to run a jsp (BookView.jsp) from a tutorial, I get the
following exception :
org.apache.jasper.JasperException: Cannot find message resources under
key org.apache.struts.action.MESSAGE
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:254)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)


I'm attaching struts-config.xml, web.xml, and BookView.jsp for your
reference.

I've tried copying ApplicationResources.properties from classes to
WEB-INF folder. But the result is same. 
Any suggestions?

Thanks
Mukund

http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd";>
  
 


http://java.sun.com/dtd/web-app_2_3.dtd";>



  
action
org.apache.struts.action.ActionServlet

  application
  


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true


   application
   

2
  
   
  
  
action
/do/*
  
  
invoker
/servlet/*
  
  
  
index.jsp
index.html
  



   
   	/WEB-INF/struts-bean.tld
   
   
   	/WEB-INF/struts-bean.tld
   


   
   	/WEB-INF/struts-html.tld
   
   
   	/WEB-INF/struts-html.tld
   


   
   	/WEB-INF/struts-logic.tld
   
   
   	/WEB-INF/struts-logic.tld
   


   
   	/WEB-INF/struts-template.tld
   
   
   	/WEB-INF/struts-template.tld
   
 



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