I found that the problem lied on the use of struts-layout taglibs 
(http://struts.application-servers.com)
It seems that this taglib is not compiled with struts 1.0.2 but perhaps with a newer 
release.
I don't know why but WLS search for the class ActionMessages even though this tag lib 
doesn't use it.
I recompiles this taglib with struts 1.0.2 and now my application runs correctly.

Thanks for your help.

Arnaud

> -----Message d'origine-----
> De:   keithBacon [SMTP:[EMAIL PROTECTED]]
> Date: mercredi 13 mars 2002 15:11
> A:    Struts Users Mailing List; [EMAIL PROTECTED]
> Objet:        RE: Weblogic 6.1 SP2 and Struts 1.0.2 taglibs
> 
> I think ActionMessages is in the new version (from the nightly build) but not
> in the stable version. (If that's the name of the thing like ActionErrors but
> not for errors). ie. you are running new code on old version of struts. 
> 
> --- Arnaud Heritier <[EMAIL PROTECTED]> wrote:
> > After looking at the code of struts, I realized that there's not a
> > ActionMessages class in the org.apache.struts.action package :-(
> > 
> > I continue to follow this trail ...
> > 
> > > -----Message d'origine-----
> > > De:       Arnaud Heritier [SMTP:[EMAIL PROTECTED]]
> > > Date:     mercredi 13 mars 2002 10:48
> > > A:        'Struts Users Mailing List'
> > > Objet:    RE: Weblogic 6.1 SP2 and Struts 1.0.2 taglibs
> > > 
> > > When I access to the first page of my web app I received the error
> > mentioned below.
> > > 
> > > My page is not very complex in comparison to others.
> > > 
> > > I attach it if you want to see.
> > > 
> > >  
> > > Do you use WLS 6.1 with the SP2 ?? I hearded that there are several new
> > bugs in the SP2 :-(
> > > 
> > > 
> > > >>>>>>>>>>>>>>>>>>
> > > 
> > > It's nothing to do with weblogic, I'm working with struts, taglib,
> > > templates, weblogic 6.1, be more specific about your doing.
> > > 
> > > -----Original Message-----
> > > From: Arnaud Heritier [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, March 13, 2002 11:28 AM
> > > To: 'Struts Users Mailing List'
> > > Subject: Weblogic 6.1 SP2 and Struts 1.0.2 taglibs
> > > 
> > > Hi all.
> > > 
> > > I'm trying to deploy a web app on WLS 6.1 SP2.
> > > This Web app works very well under Tomcat 4 but under WLS I received this 
> > > error :
> > > 
> > > <13 mars 02 10:22:13 CET> <Error> <HTTP> 
> > > <[WebAppServletContext(3167241,PFE,/PFE)] Servlet failed with Exception
> > > java.lang.NoClassDefFoundError: org/apache/struts/action/ActionMessages
> > >         at java.lang.Class.getMethods0(Native Method)
> > >         at java.lang.Class.getDeclaredMethods(Class.java:1039)
> > >         at java.beans.Introspector$1.run(Introspector.java:852)
> > >         at java.security.AccessController.doPrivileged(Native Method)
> > >         at 
> > > java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:850)
> > >         at 
> > > java.beans.Introspector.getTargetEventInfo(Introspector.java:556)
> > >         at java.beans.Introspector.getBeanInfo(Introspector.java:294)
> > >         at java.beans.Introspector.getBeanInfo(Introspector.java:128)
> > >         at 
> > > weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1003)
> > >         at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.ja  
> > > va:941)
> > >         at 
> > > weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:207)
> > >         at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
> > >         at 
> > > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:4187)
> > >         at 
> > > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4028)
> > >         at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3875)
> > >         at 
> > > weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2048)
> > >         at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1862)
> > >         at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1744)
> > >         at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1023)
> > >         at weblogic.servlet.jsp.JspParser.doit(JspParser.java:80)
> > >         at weblogic.servlet.jsp.JspParser.parse(JspParser.java:183)
> > >         at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
> > >         at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.  
> > > java:255)
> > >         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:327)
> > >         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
> > >         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
> > >         at 
> > > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.jav  
> > > a:368)
> > >         at 
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.  
> > > java:242)
> > >         at 
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.  
> > > java:304)
> > >         at 
> > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.  
> > > java:200)
> > >         at 
> > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl  
> > > etContext.java:2495)
> > >         at 
> > > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.  
> > > java:2204)
> > >         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> > >         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> > > >
> > > 
> > > The server seems to have a problem during the generation of the class from 
> > > the JSP page :-(
> > > I think that it is related to the use of the Struts taglibs.
> > > 
> > > Is anyone know this problem ??
> > > 
> > > thanks.
> > > 
> > > Arnaud HERITIER
> > > EAI Consulting
> > > Sopra Group
> > > Tel. : +33 (0)1 53 33 44 74
> > > email : [EMAIL PROTECTED]
> > > 
> > > Ce message est exclusivement destine aux personnes dont le nom figure 
> > > ci-dessus. Il peut contenir des informations confidentielles dont la 
> > > divulgation est a ce titre rigoureusement interdite. Dans l'hypothese ou 
> > > vous avez recu ce message par erreur, merci de le renvoyer a l'adresse 
> > > e-mail ci-dessus et de detruire toute copie.
> > > 
> > > This message may contain confidential and proprietary material for the sole
> > 
> > > use of the intended recipient. Any review or distribution by others is 
> > > strictly prohibited. If you are not the intended recipient, please contact 
> > > the sender and delete all copies.
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]><< Fichier:
> > identification.jsp>><< Fichier: ATT00006.txt>>
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> =====
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Search the archive:-
> http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Keith Bacon - Looking for struts work - South-East UK.
> phone UK 07960 011275
> 
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/


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

Reply via email to