Re: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Pathangi, Rao H.

Suhas
I have the param-name and param-value set to the proper values but it
still seems to fail, and yes, Iam using the bean:message  tag. Is it true
that Websphere 3.5 patch 2 has some issues with struts?
Regards
Pathangi RH



Suhas Replied:.

check if u specified the applicationResourcefile in the web.xml as
 init-param 
param-name application /param-name 
param-value example.applicationResource /param-value 
/init-param 

If u using bean:message tag in the Jsp then the application REsources
should have been loaded before Check that Suhas 


- Original Message - 
From: Pathangi, Rao H. [EMAIL PROTECTED] To:
[EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
Subject: Error: 
org.apache.struts.action.MESSAGE 
 Hi 
  What exactly does this error mean?? 
  I have a JSP (using a few Struts tags) with the action beans working
with a 
 couple of EJB's. I have successfully deployed it in the Websphere Test
Environment using VA 3.5.3 I am trying to deploy the same application on WAS
3.5 Patch 2 and I get the  following/well known error when I try to hit my
JSP.   If Iam correct, this has to do with the web.xml, struts-config.xml
files and  the addition of the servlets to the servlet container.   Error
500  An error has occured while processing 
request:http://xxx.yyy.com/phase3order.jsp  Message: Server caught
unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find message
resources under key org.apache.struts.action.MESSAGE   Could some one
throw some light on this puhleaseRegards  Hemant Pathangi  




RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Pathangi, Rao H.

Looks like my message got quarantined because of the presence of (triple
X).yyy.com/phase3order.jsp instead of aaa in
http://aaa.yyy.com/phase3order.jsp but anyway kindly look at my question.

:)
Pathangi RH

-Original Message-
From: Pathangi, Rao H. 
Sent: Monday, July 16, 2001 10:52 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Re: Error: org.apache.struts.action.MESSAGE


Suhas
I have the param-name and param-value set to the proper values but it
still seems to fail, and yes, Iam using the bean:message  tag. Is it true
that Websphere 3.5 patch 2 has some issues with struts?
Regards
Pathangi RH



Suhas Replied:.

check if u specified the applicationResourcefile in the web.xml as
 init-param 
param-name application /param-name 
param-value example.applicationResource /param-value 
/init-param 

If u using bean:message tag in the Jsp then the application REsources
should have been loaded before Check that Suhas 


- Original Message - 
From: Pathangi, Rao H. [EMAIL PROTECTED] To:
[EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
Subject: Error: 
org.apache.struts.action.MESSAGE 
 Hi 
  What exactly does this error mean?? 
  I have a JSP (using a few Struts tags) with the action beans working
with a 
 couple of EJB's. I have successfully deployed it in the Websphere Test
Environment using VA 3.5.3 I am trying to deploy the same application on WAS
3.5 Patch 2 and I get the  following/well known error when I try to hit my
JSP.   If Iam correct, this has to do with the web.xml, struts-config.xml
files and  the addition of the servlets to the servlet container.   Error
500  An error has occured while processing 
request:http://aaa.yyy.com/phase3order.jsp  Message: Server caught
unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find message
resources under key org.apache.struts.action.MESSAGE   Could some one
throw some light on this puhleaseRegards  Hemant Pathangi  



Re: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Jon Brisbin

I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml
 files and  the addition of the servlets to the servlet container.  
Error
 500  An error has occured while processing 
 request:http://xxx.yyy.com/phase3order.jsp  Message: Server caught
 unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find
message
 resources under key org.apache.struts.action.MESSAGE   Could some one
 throw some light on this puhleaseRegards  Hemant Pathangi 





RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Melissa Rabin

Is your Message resource file in the WEB-INF/classes directory? 

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml
 files and  the addition of the servlets to the servlet container.  
Error
 500  An error has occured while processing 
 request:http://xxx.yyy.com/phase3order.jsp  Message: Server caught
 unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find
message
 resources under key org.apache.struts.action.MESSAGE   Could some one
 throw some light on this puhleaseRegards  Hemant Pathangi 






RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Pathangi, Rao H.


I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)

I guess the classes directory under web-inf is specific to Tom Cat??


Regards
Pathangi RH

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


Is your Message resource file in the WEB-INF/classes directory? 

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml
 files and  the addition of the servlets to the servlet container.  
Error
 500  An error has occured while processing 
 request:http://xxx.yyy.com/phase3order.jsp  Message: Server caught
 unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find
message
 resources under key org.apache.struts.action.MESSAGE   Could some one
 throw some light on this puhleaseRegards  Hemant Pathangi 





RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Melissa Rabin

The Struts User-Guide specifies: The important thing is for the resource
bundle to be found on the class path for your application.   So, just like
a call to a struts class in a web-app will need to be referenced under the
WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources.  I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container.  Ant can be told to copy that
file to the classes directory (as it isn't compiled), so that every time you
rebuild your application your
resource file will be copied into the classes dir.

Hope this helps

Melissa
Web Engineer

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE



I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)

I guess the classes directory under web-inf is specific to Tom Cat??


Regards
Pathangi RH

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


Is your Message resource file in the WEB-INF/classes directory?

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml
 files and  the addition of the servlets to the servlet container.  
Error
 500  An error has occured while processing 
 request:http://aaa.yyy.com/phase3order.jsp  Message: Server caught
 unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find
message
 resources under key org.apache.struts.action.MESSAGE   Could some one
 throw some light on this puhleaseRegards  Hemant Pathangi 






RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Pathangi, Rao H.

OK.

I will give it a try by placing the resource files under web-inf/classes and
it will be something like web-inf/classes/com.abc.def.ghi.MyResources

But I wonder why it worked in the Websphere Test Environment. I neither had
classes nor the lib folders in web-inf. May be it found the corresponding
properties files with the setting I had. 

Thank You 4 your time

regards
pathangi r

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:48 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


The Struts User-Guide specifies: The important thing is for the resource
bundle to be found on the class path for your application.   So, just like
a call to a struts class in a web-app will need to be referenced under the
WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources.  I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container.  Ant can be told to copy that
file to the classes directory (as it isn't compiled), so that every time you
rebuild your application your
resource file will be copied into the classes dir.

Hope this helps

Melissa
Web Engineer

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE



I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)

I guess the classes directory under web-inf is specific to Tom Cat??


Regards
Pathangi RH

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


Is your Message resource file in the WEB-INF/classes directory?

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml
 files and  the addition of the servlets to the servlet container.  
Error
 500  An error has occured while processing 
 request:http://aaa.yyy.com/phase3order.jsp  Message: Server caught
 unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find
message
 resources under key org.apache.struts.action.MESSAGE   Could some one
 throw some light on this puhleaseRegards  Hemant Pathangi 





Re: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Jon Brisbin

my resources file has always been under the WEB-INF/classes folder, but i
only have this problem with Tomcat 4.0.  Tomcat 3.x works fine.

jb

- Original Message -
From: Melissa Rabin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 11:47 AM
Subject: RE: Error: org.apache.struts.action.MESSAGE


 The Struts User-Guide specifies: The important thing is for the resource
 bundle to be found on the class path for your application.   So, just
like
 a call to a struts class in a web-app will need to be referenced under the
 WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
 directory, you also need to have a root-relative path for any Application
 Resources.  I place mine in the WEB-INF/classes folder as that is
 automatically referenced by my web container.  Ant can be told to copy
that
 file to the classes directory (as it isn't compiled), so that every time
you
 rebuild your application your
 resource file will be copied into the classes dir.

 Hope this helps

 Melissa
 Web Engineer





RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Melissa Rabin

I've not yet worked with websphere, so I cannot guess as to why it managed
to work before.  However, if you take a look at the source code for the
blank struts app (provided in the 1.0 zipfile), you'll see that Mr.
McClanahan placed the resource file in the classes dir.  Makes sense -
runtime apps need a web-root-relative place to locate resources, right?  And
the standard (Java Servlet Specification 2.2) is to place these resources in
a common directory called classes.  Least that's what I've gathered
(http://java.sun.com/j2ee/tutorial/doc/WebComponents3.html is where this
became apparent).

Perhaps not all Java-compliant app servers follow this standard, however...


Let me know how you make out.

Melissa
Web Engineer


-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:57 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE


OK.

I will give it a try by placing the resource files under web-inf/classes and
it will be something like web-inf/classes/com.abc.def.ghi.MyResources

But I wonder why it worked in the Websphere Test Environment. I neither had
classes nor the lib folders in web-inf. May be it found the corresponding
properties files with the setting I had.

Thank You 4 your time

regards
pathangi r

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:48 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


The Struts User-Guide specifies: The important thing is for the resource
bundle to be found on the class path for your application.   So, just like
a call to a struts class in a web-app will need to be referenced under the
WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources.  I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container.  Ant can be told to copy that
file to the classes directory (as it isn't compiled), so that every time you
rebuild your application your
resource file will be copied into the classes dir.

Hope this helps

Melissa
Web Engineer

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE



I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)

I guess the classes directory under web-inf is specific to Tom Cat??


Regards
Pathangi RH

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


Is your Message resource file in the WEB-INF/classes directory?

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml

RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Jain, Shipra

Websphere Test Environment finds the resource file if you have added them to
your Project Resources. 

And for actual web container you need the resource files in web-inf/classes
something like web-inf/classes/com/abc/def/ghi/MyResources.

Shipra Jain

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:57 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE


OK.

I will give it a try by placing the resource files under web-inf/classes and
it will be something like web-inf/classes/com.abc.def.ghi.MyResources

But I wonder why it worked in the Websphere Test Environment. I neither had
classes nor the lib folders in web-inf. May be it found the corresponding
properties files with the setting I had. 

Thank You 4 your time

regards
pathangi r

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:48 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


The Struts User-Guide specifies: The important thing is for the resource
bundle to be found on the class path for your application.   So, just like
a call to a struts class in a web-app will need to be referenced under the
WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources.  I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container.  Ant can be told to copy that
file to the classes directory (as it isn't compiled), so that every time you
rebuild your application your
resource file will be copied into the classes dir.

Hope this helps

Melissa
Web Engineer

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE



I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)

I guess the classes directory under web-inf is specific to Tom Cat??


Regards
Pathangi RH

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


Is your Message resource file in the WEB-INF/classes directory?

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml
 files and  the addition of the servlets to the servlet container.  
Error
 500  An error has occured while processing 
 request:http://aaa.yyy.com/phase3order.jsp  Message: Server caught
 unhandled exception from servlet [JSP 1.1 Processor]:  Cannot find
message
 resources under key org.apache.struts.action.MESSAGE   Could some one
 throw some light on this puhleaseRegards  Hemant Pathangi 




RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Pathangi, Rao H.

Great! I too think that the WTE figures out once we have the packages in our
workspace and the resource files in  appropriate directories under project
resources.


Thanks
pathangi r


-Original Message-
From: Jain, Shipra [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:41 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE


Websphere Test Environment finds the resource file if you have added them to
your Project Resources. 

And for actual web container you need the resource files in web-inf/classes
something like web-inf/classes/com/abc/def/ghi/MyResources.

Shipra Jain

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:57 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE


OK.

I will give it a try by placing the resource files under web-inf/classes and
it will be something like web-inf/classes/com.abc.def.ghi.MyResources

But I wonder why it worked in the Websphere Test Environment. I neither had
classes nor the lib folders in web-inf. May be it found the corresponding
properties files with the setting I had. 

Thank You 4 your time

regards
pathangi r

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:48 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


The Struts User-Guide specifies: The important thing is for the resource
bundle to be found on the class path for your application.   So, just like
a call to a struts class in a web-app will need to be referenced under the
WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources.  I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container.  Ant can be told to copy that
file to the classes directory (as it isn't compiled), so that every time you
rebuild your application your
resource file will be copied into the classes dir.

Hope this helps

Melissa
Web Engineer

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE



I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)

I guess the classes directory under web-inf is specific to Tom Cat??


Regards
Pathangi RH

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


Is your Message resource file in the WEB-INF/classes directory?

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
 3.5 Patch 2 and I get the  following/well known error when I try to hit
my
 JSP.   If Iam correct, this has to do with the web.xml,
struts-config.xml
 files and  the addition of the servlets to the servlet container.  
Error
 500  An error has occured

RE: Error: org.apache.struts.action.MESSAGE

2001-07-16 Thread Pathangi, Rao H.

Thanks Melissa I now have a better understanding of the deployment.

pathangi r



-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:23 PM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


I've not yet worked with websphere, so I cannot guess as to why it managed
to work before.  However, if you take a look at the source code for the
blank struts app (provided in the 1.0 zipfile), you'll see that Mr.
McClanahan placed the resource file in the classes dir.  Makes sense -
runtime apps need a web-root-relative place to locate resources, right?  And
the standard (Java Servlet Specification 2.2) is to place these resources in
a common directory called classes.  Least that's what I've gathered
(http://java.sun.com/j2ee/tutorial/doc/WebComponents3.html is where this
became apparent).

Perhaps not all Java-compliant app servers follow this standard, however...


Let me know how you make out.

Melissa
Web Engineer


-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:57 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE


OK.

I will give it a try by placing the resource files under web-inf/classes and
it will be something like web-inf/classes/com.abc.def.ghi.MyResources

But I wonder why it worked in the Websphere Test Environment. I neither had
classes nor the lib folders in web-inf. May be it found the corresponding
properties files with the setting I had.

Thank You 4 your time

regards
pathangi r

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:48 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


The Struts User-Guide specifies: The important thing is for the resource
bundle to be found on the class path for your application.   So, just like
a call to a struts class in a web-app will need to be referenced under the
WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources.  I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container.  Ant can be told to copy that
file to the classes directory (as it isn't compiled), so that every time you
rebuild your application your
resource file will be copied into the classes dir.

Hope this helps

Melissa
Web Engineer

-Original Message-
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE



I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)

I guess the classes directory under web-inf is specific to Tom Cat??


Regards
Pathangi RH

-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE


Is your Message resource file in the WEB-INF/classes directory?

Melissa

-Original Message-
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE


I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure.  Everything works fine
with Tomcat 3.x.

Jon Brisbin

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE


 Suhas
 I have the param-name and param-value set to the proper values but it
 still seems to fail, and yes, Iam using the bean:message  tag. Is it
true
 that Websphere 3.5 patch 2 has some issues with struts?
 Regards
 Pathangi RH



 Suhas Replied:.

 check if u specified the applicationResourcefile in the web.xml as
  init-param
 param-name application /param-name
 param-value example.applicationResource /param-value
 /init-param

 If u using bean:message tag in the Jsp then the application REsources
 should have been loaded before Check that Suhas


 - Original Message -
 From: Pathangi, Rao H. [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 9:00 PM
 Subject: Error:
 org.apache.struts.action.MESSAGE
  Hi
   What exactly does this error mean??
   I have a JSP (using a few Struts tags) with the action beans working
 with a
  couple of EJB's. I have

Re: Error: org.apache.struts.action.MESSAGE

2001-07-10 Thread suhas

check if u specified the applicationResourcefile in the web.xml
as
init-param
param-name
application
/param-name
param-value
example.applicationResource
/param-value
/init-param

If u using bean:message tag in the Jsp then the application REsources
should have been loaded before
Check that

Suhas

- Original Message -
From: Pathangi, Rao H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 9:00 PM
Subject: Error: org.apache.struts.action.MESSAGE


 Hi

 What exactly does this error mean??

 I have a JSP (using a few Struts tags) with the action beans working with
a
 couple of EJB's. I have successfully deployed it in the Websphere Test
 Environment using VA 3.5.3.

 I am trying to deploy the same application on WAS 3.5 Patch 2 and I get
the
 following/well known error when I try to hit my JSP.

 If Iam correct, this has to do with the web.xml, struts-config.xml files
and
 the addition of the servlets to the servlet container.

 Error 500
 An error has occured while processing
 request:http://xxx.yyy.com/phase3order.jsp
 Message: Server caught unhandled exception from servlet [JSP 1.1
Processor]:
 Cannot find message resources under key org.apache.struts.action.MESSAGE

 Could some one throw some light on this puhlease


 Regards
 Hemant Pathangi