and I also get the same error with Jakarta-tomcat-5-5-9.

Which leads me to surmise something has changed in the setup between V4 of
tomcat and V5, as Jboss is also using V5 of tomcat.

So what config causes Struts examples to work out of the box on Tomcat V4,
but fail in V5/Jboss?

Could be my setup, as I'm still new to struts setup, but then it would not
work under tomcatV4 would it?

Thanks in advance,
paul

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 24, 2006 11:55 PM
To: 'Struts Users Mailing List'
Subject: struts-blank.war jboss 500 error {V2 - correction to path}


Hi,
I've had Struts1-2-9 working under Tomcat-4-1-31 no problems.
eg: drop struts-blank.war into the webapps directory and punch
http://localhost:8080/struts-blank/ and it shows fine.

Now I try to evaluate JBoss-4-0-4RC1 auto install, drop struts-blank.war
into C:\jboss-4.0.4RC1\server\default\deploy
and I get the 500 error below. I've googled endlessly trying to find a
resolution, other people have had similar error but no fix I can see.

Does anyone have any clues?

Thanks,
paul

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException:
javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/la
ng/String;ZZ)V
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)

root cause

java.lang.NoSuchMethodError:
javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/la
ng/String;ZZ)V
        
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfo
Impl.java:572)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoIm
pl.java:401)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.ja
va:248)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java
:162)
        
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
        org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
        org.apache.jasper.compiler.Parser.parse(Parser.java:126)
        
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:21
1)
        
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
63)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
93)
        
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.12 logs.



---------------------------------------------------------------------
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]

Reply via email to