You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Witek Kręcicki <ad...@grubno.da.ru> on 2003/05/19 21:55:49 UTC

tomcat /admin problems

/admin is seen in manager as 'started' but I got this at welcome:

HTTP Status 500 - 
type Exception report
message 
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception 
org.apache.jasper.JasperException: /login.jsp(7,0) Unable to load class
html
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
        at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
        at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219)
        at
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:717)
        at
org.apache.jasper.compiler.Parser.parseElements(Parser.java:809)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
        at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
        at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
        at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
        at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
        at 
<CUUUUUUUUUUUUUUUUT>
What's the reason? jakarta-tomcat 4.1.18 , java-sun 1.4.1_01
Is system missing something?
WK



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat /admin problems

Posted by Witek Kręcicki <ad...@grubno.da.ru>.
W liście z pon, 19-05-2003, godz. 22:26, Jason Bainbridge pisze: 
> Is struts.jar in the ~/server/webapps/admin/WEB-INF/lib directory? It looks 
> like the problem is it can't find org.apache.struts.taglib.html.HTMLTag as 
> specified in struts-html.tld.
Well, I had it in /usr/lib/java/, when copied (not moved) to
/usr/lib/tomcat/server/webapps/admin/WEB-INF/lib admin is not starting
and I'm getting in logs this:
003-05-19 21:36:49 ContextConfig[/admin]: Marking this application
unavailable due to previous error(s)
2003-05-19 21:36:49 StandardManager[/admin]: Seeding random number
generator class java.security.SecureRandom
2003-05-19 21:36:49 StandardManager[/admin]: Seeding of random number
generator has been completed
2003-05-19 21:36:49 StandardContext[/admin]: Context startup failed due
to previous errors
2003-05-19 21:36:49 WebappLoader[/admin]: Deploying class repositories
to work directory /usr/lib/tomcat/work/Standalone/localhost/admin
2003-05-19 21:36:49 WebappLoader[/admin]: Deploy class files
/WEB-INF/classes to
/usr/lib/tomcat/webapps/../server/webapps/admin/WEB-INF/classes
2003-05-19 21:36:49 WebappLoader[/admin]: Deploy JAR
/WEB-INF/lib/struts.jar to
/usr/lib/tomcat/webapps/../server/webapps/admin/WEB-INF/lib/struts.jar
2003-05-19 21:36:49 ContextConfig[/admin] Exception processing JAR at
resource path /WEB-INF/lib/struts.jar
javax.servlet.ServletException: Exception processing JAR at resource
path /WEB-INF/lib/struts.jar
        at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
        at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
        at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
<cut>
----- Root Cause -----
java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1313)
        at java.io.File.createTempFile(File.java:1401)
        at java.io.File.createTempFile(File.java:1438)
        at
sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
<CUT>
WK


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat /admin problems

Posted by Jason Bainbridge <ja...@jblinux.org>.
Is struts.jar in the ~/server/webapps/admin/WEB-INF/lib directory? It looks 
like the problem is it can't find org.apache.struts.taglib.html.HTMLTag as 
specified in struts-html.tld.

Regards,
Jason

On Tue, 20 May 2003 04:13, Witek Kręcicki wrote:
> W liście z pon, 19-05-2003, godz. 22:06, Jason Bainbridge pisze:
> > I am taking a guess here but I'd say you have the Lite version of Tomcat
> > and are missing the Struts .jar files that are used in the admin web
> > application, if you do have the lite version I'd suggest downloading the
> > full version and either using that or just copy across the missing jar
> > files.
> >
> > If that's true however the admin app shouldn't be included in the lite
> > version.
>
> I do have struts.jar and all TLDs but there has to be something else
> missing. Tomcat compiled from sources. (without struts it wasn't working
> at all)
> WK
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
webmaster@kde.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat /admin problems

Posted by Witek Kręcicki <ad...@grubno.da.ru>.
W liście z pon, 19-05-2003, godz. 22:06, Jason Bainbridge pisze: 
> I am taking a guess here but I'd say you have the Lite version of Tomcat and 
> are missing the Struts .jar files that are used in the admin web application, 
> if you do have the lite version I'd suggest downloading the full version and 
> either using that or just copy across the missing jar files.
> 
> If that's true however the admin app shouldn't be included in the lite 
> version.
I do have struts.jar and all TLDs but there has to be something else
missing. Tomcat compiled from sources. (without struts it wasn't working
at all) 
WK


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat /admin problems

Posted by Jason Bainbridge <ja...@jblinux.org>.
I am taking a guess here but I'd say you have the Lite version of Tomcat and 
are missing the Struts .jar files that are used in the admin web application, 
if you do have the lite version I'd suggest downloading the full version and 
either using that or just copy across the missing jar files.

If that's true however the admin app shouldn't be included in the lite 
version.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
webmaster@kde.org 

On Tue, 20 May 2003 03:55, Witek Kręcicki wrote:
> /admin is seen in manager as 'started' but I got this at welcome:
>
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
> exception
> org.apache.jasper.JasperException: /login.jsp(7,0) Unable to load class
> html
>         at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler
>.java:94) at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:42
>8) at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:21
>9) at
> org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:717)
>         at
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:809)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
>         at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:199
>) at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:153
>) at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
>         at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
>474) at
> <CUUUUUUUUUUUUUUUUT>
> What's the reason? jakarta-tomcat 4.1.18 , java-sun 1.4.1_01
> Is system missing something?
> WK
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org