struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renato Aganippe" <ragani...@cardiweb.com>
Subject Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute org.apache.struts.action.MESSAGE)
Date Wed, 31 Jul 2002 15:26:12 GMT
Aisling

I'm not running my webapp on the default server, I assumed that I should put
the xml files in
WebSphere\AppServer\hosts\my_host_name\my_web_app_name\web\WEB-INF;

A strange thing is that there is no my_host_name directory in WebSphere
hosts directory...

What about the first parameter from Web App advance panel dealing with
document location? Should be the one where the WEB-INF directory is located?

Websphere still doesn't know where to find my file... I'm driving crazy!

PS: I don't have other error. I changed parsers to use jaxp.jar(1.0.1) and
parser.jar

Renato

----- Original Message -----
From: <avasey@za.safmarine.com>
To: <struts-user@jakarta.apache.org>
Sent: Wednesday, July 31, 2002 3:51 PM
Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
ressources attribute org.apache.struts.action.MESSAGE)


>
> Hi Renato
>
> Save your struts-config.xml file in the
> WebSphere\AppServer\hosts\default_hosts\<project>\web\WEB-INF\ directory
and
> then as your Controller's init param specify the config as
> WEB-INF/struts-config.xml (Excluding the usual slash in front of the
> /WEB-INF/struts-config.xml ).
>
> You are using Struts 1.1 b 1 ? You are having no parser exceptions ? Cool
>
> Aisling
>
>
>
> |--------+----------------------->
> |        |          raganippe@car|
> |        |          diweb.com    |
> |        |                       |
> |        |          31/07/2002   |
> |        |          11:25 AM     |
> |        |          Please       |
> |        |          respond to   |
> |        |          struts-user  |
> |        |                       |
> |--------+----------------------->
>
>---------------------------------------------------------------------------
-|
>   |
|
>   |       To:     struts-user@jakarta.apache.org
|
>   |       cc:     (bcc: Aisling Vasey/scs/Linernet)
|
>   |       Subject:     Re: How to install Struts 1.1b on WebSphere 3.5.4
|
>   |       (Missing ressources attribute org.apache.struts.action.MESSAGE)
|
>   |
|
>
>---------------------------------------------------------------------------
-|
>
>
>
>
> Hi Aisling
>
> I have almost succeeded in loadding action servlet even if I had to
> unarchived every jar file from struts to make it.
>
> Now, I have this message.
>
> javax.servlet.UnavailableException: Parsing error processing resource path
> /WEB-INF/struts-config.xml
>
> How do I get WebSphere to understand where is located my WEB-INF
> directory???
>
> Renato
>
> ----- Original Message -----
> From: <avasey@za.safmarine.com>
> To: <struts-user@jakarta.apache.org>
> Sent: Wednesday, July 31, 2002 9:45 AM
> Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
> ressources attribute org.apache.struts.action.MESSAGE)
>
>
> >
> > Hi Renato
> >
> > As far as I can tell, your web.xml file is not read by WebSphere 3.5 if
> you did
> > not convert a WAR file using the wizard.
> > You must add your Controller servlet individually and set it's
init-params
> > individually as well using the admin console. That worked for me.
> >
> > Aisling
> >
> >
> >
> > |--------+----------------------->
> > |        |          raganippe@car|
> > |        |          diweb.com    |
> > |        |                       |
> > |        |          31/07/2002   |
> > |        |          08:31 AM     |
> > |        |          Please       |
> > |        |          respond to   |
> > |        |          struts-user  |
> > |        |                       |
> > |--------+----------------------->
> >
>
>---------------------------------------------------------------------------
> -|
> >   |
> |
> >   |       To:     struts-user@jakarta.apache.org
> |
> >   |       cc:     (bcc: Aisling Vasey/scs/Linernet)
> |
> >   |       Subject:     Re: How to install Struts 1.1b on WebSphere 3.5.4
> |
> >   |       (Missing ressources attribute
org.apache.struts.action.MESSAGE)
> |
> >   |
> |
> >
>
>---------------------------------------------------------------------------
> -|
> >
> >
> >
> >
> > What do you mean by this because I don't have any reference to Ressource
> > inside my struts-config.xml file?
> >
> > I've only define a servlet action in my web.xml file.
> >
> > I have the feeling that my web.xml is not read by WebSphere....
> >
> > web.xml excerpt
> >
> >  <servlet>
> >     <servlet-name>action</servlet-name>
> >
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> >     <init-param>
> >       <param-name>application</param-name>
> >       <param-value>com.cge.stef.Resources</param-value>
> >     </init-param>
> >     <init-param>
> >       <param-name>config</param-name>
> >       <param-value>/WEB-INF/struts-config.xml</param-value>
> >     </init-param>
> >     <init-param>
> >       <param-name>debug</param-name>
> >       <param-value>2</param-value>
> >     </init-param>
> >     <init-param>
> >       <param-name>detail</param-name>
> >       <param-value>2</param-value>
> >     </init-param>
> >     <init-param>
> >       <param-name>validate</param-name>
> >       <param-value>true</param-value>
> >     </init-param>
> >     <load-on-startup>2</load-on-startup>
> >   </servlet>
> >
> >
> >
> >
> > Renato
> > ----- Original Message -----
> > From: "hemant" <yaxiz@softhome.net>
> > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > Sent: Tuesday, July 30, 2002 8:44 PM
> > Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
> > ressources attribute org.apache.struts.action.MESSAGE)
> >
> >
> > > Check your struts-config.xml for the Resources file package structure
> and
> > > see if it matches the resources location in the classpath.
> > >
> > > later
> > > hemant
> > >
> > >
> > > ----- Original Message -----
> > > From: "Renato Aganippe" <raganippe@cardiweb.com>
> > > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > > Sent: Tuesday, July 30, 2002 2:00 PM
> > > Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
> > > ressources attribute org.apache.struts.action.MESSAGE)
> > >
> > >
> > > > Tim,
> > > >
> > > > I did so. My ressource file is available within my classpath.
> > > >
> > > > Renato
> > > >
> > > > ----- Original Message -----
> > > > From: "Tim T. Young" <Young_Tim_T@cat.com>
> > > > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > > > Sent: Tuesday, July 30, 2002 7:39 PM
> > > > Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
> > > > ressources attribute org.apache.struts.action.MESSAGE)
> > > >
> > > >
> > > > >
> > > > > You will want to add the path of that resource file to your
webapp's
> > > > > classpath. (Or put the resource file, with any corresponding
> directory
> > > > > structure, into a path that is already in the classpath.)
> > > > >
> > > > > Tim
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >                     "Renato
> > > > >                     Aganippe"
> > > > >                     <raganippe@car
> > > > >                     diweb.com>
> > > > >
> > > > >                     07/30/2002     To:
> > <struts-user@jakarta.apache.org>
> > > > >                     12:03 PM       cc:
> > > > >                     Please respond
> > > > >                     to "Struts
> > > >
> > > > >                     Users Mailing
> > > > >                     List"                 Subject:     How to
> install
> > > > Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute
> > > > >
> > > > org.apache.struts.action.MESSAGE)
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Caterpillar: Confidential Green          Retain Until: 08/29/2002
> > > > >                                          Retention Category:
 G90 -
> > > > >                                          Information and Reports
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi everybody!
> > > > >
> > > > > I'm triyng to put Struts 1.1b on WebSphere 3.5.4 but I have the
> > > following
> > > > > message :
> > > > > Message : Server caught unhandled exception from servlet
[Activateur
> > de
> > > > > service de fichiers]: Server caught unhandled exception from
servlet
> > > > > [Processeur JSP 1.1]: Missing resources attribute
> > > > > org.apache.struts.action.MESSAGE
> > > > >
> > > > > Does anybody have an idea? (I understand that the ressource file
is
> > not
> > > > > availaible but where do I have to put it to make it available)
> > > > >
> > > > > Then, is there someone who knows where I get an installation guide
> for
> > > > > struts 1.1b on WebSphere 3.5.4?
> > > > >
> > > > > Thanks a lot!
> > > > >
> > > > > Renato Aganippe
> > > > > Cardiweb
> > > > > Web Developer
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <mailto:struts-user-help@jakarta.apache.org>
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <mailto:struts-user-help@jakarta.apache.org>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> > >
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message