Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tomcat 5. Konfig?

0 views
Skip to first unread message

Claus Wanner

unread,
Jun 8, 2004, 9:34:11 AM6/8/04
to
Hi NG,

ich weis nichtob ich hier 100% richtig bin, aber ich versuchs mal.
Ich hab seit einiger Zeit nen SuSE8.1-Server laufen mit dem TomCat4.x.
Jetzt soll/darf ich auf SuSE9.1 upgraden und will gleich Apach, TomCat & Co.
gleich auf den neusten Stand bringen.
Bei der Konfig meines Tomcat hänge ich nun leider fest.
Beim Aufruf des Server via: http://localhost:8080 wird eine leere Seite
angezeigt anstatt der gewohnten
Welcome-Seite des Tomcat4. ... super dachte ich und hab mein WAR-Files des
alten Server (sind unterschiedliche maschinen) in das Webapps geworfen.
Anscheinende hat der Tomcat das war auch erkannt und verarbeitet,
nur leider bekomme ich beim Aufruf immer folgenden Fehler
http://localhost:8080/meinapp/
-----------------------------------------
HTTP Status 404 - /meinapp/

type Status report
message /meinapp/
description The requested resource (/meinapp/) is not available.

Apache Tomcat/5.0.19

Ebenfalls im webapps/ liegen die JSP-Samples, die einwandfrei funktionieren.
Ich komm einfach nicht darauf, was ich vergessen hab ....
Bin für jeden Tipp und Denkanstoss dankbar.

cu,
--
Claus


Cybernd

unread,
Jun 9, 2004, 3:30:52 AM6/9/04
to
Claus Wanner schrieb:

> Bin für jeden Tipp und Denkanstoss dankbar.

Der Tomcat führt Logfiles unterhalb TOMCAT/logs.

In Ihnen wirst du vermutlich Stacktraces finden, die einen Start deiner
Webapp verhinderten. Tja und wenn er diese nicht starten kann, wird er
bei der Auslieferung eine "not available" zum Browser senden.

hth
cybi

Claus Wanner

unread,
Jun 9, 2004, 4:28:54 AM6/9/04
to
Hi Cybernd,

das Log hab ich mir angeschaut und so wie es aussieht lag
am Class-Invoker, der im Tomcat5 deaktiviert ist und in meinem
Tomcat4 aktiviert war.
Hab den Class-Invoker jetzt aktiviert und den Cache komplett gelöscht,
jetzt geht fast alles.
Nur bei einer Klasse bekomme ich eine Fehlermeldung, die ich nicht einordnen
kann,
bzw. ich nicht versteh, warum alle anderen 10-15 Klassen funktionieren nur
diese eine nicht.

Meldung im Browser ist:
----------------------------------------------------------------------------
----------------
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: /jsp/content_marolle.jsp(12,0) Expecting
"jsp:param" standard action with "name" and "value" attributes

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:83)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402
)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126
)
org.apache.jasper.compiler.Parser.parseParam(Parser.java:892)
org.apache.jasper.compiler.Parser.parseBody(Parser.java:1838)
org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1100)
org.apache.jasper.compiler.Parser.parseInclude(Parser.java:928)
org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1251)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1597)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)

org.apache.jasper.compiler.ParserController.doParse(ParserController.java:25
8)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
53)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
91)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1
002)
org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:291)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
----------------------------------------------------------------------------
----------------
Im Log steht auch nicht viel mehr:
----------------------------------------------------------------------------
----------------
2004-06-09 10:09:18 ApplicationDispatcher[/teamdb] Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: /jsp/content_marolle.jsp(12,0) Expecting
"jsp:param" standard action with "name" and "value" attributes
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:83)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402
)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126
)
at org.apache.jasper.compiler.Parser.parseParam(Parser.java:892)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1838)
at
org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1100)
at org.apache.jasper.compiler.Parser.parseInclude(Parser.java:928)
at
org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1251)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1597)
at org.apache.jasper.compiler.Parser.parse(Parser.java:171)
at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:25
8)
at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
53)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
91)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
----------------------------------------------------------------------------
----------------

2004-06-09 10:09:18 ApplicationDispatcher[/teamdb] Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: /jsp/content_marolle.jsp(12,0) Expecting
"jsp:param" standard action with "name" and "value" attributes
... mit so einer Fehlermeldung fang ich nur garnicht viel an *seufz*

Danke!

Gruss
--
Claus


Claus Wanner

unread,
Jun 9, 2004, 4:40:25 AM6/9/04
to
Hab das Problem gefunden, scheind ein BUG zu sein.

Hier der Bug-Report mit Workaround:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25448

Workaround (siehe URL):
---------------------------
Do one of two things, either make the tag a proper XML empty tag like this:
<jsp:include page="/asset/search-includeaction.jsp" flush="false" />
Or make sure there is nothing at all between the tags like this:
<jsp:include page="/asset/search-includeaction.jsp" flush="false" >
</jsp:include>
---------------------------
Wenn ich die obere schreibweise verwendet funktioniert es.

cu & thx
--
Claus


0 new messages