tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21419] - error on startup - java.lang.NoSuchMethodException: org.apache.catalina.core.StandardHost.getHost()
Date Tue, 08 Jul 2003 23:54:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21419>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21419

error on startup - java.lang.NoSuchMethodException: org.apache.catalina.core.StandardHost.getHost()





------- Additional Comments From hoju@visi.com  2003-07-08 23:54 -------
Hi Remy,

I don't have the slightest clue of where to look in Tomcat.  Here is what I know
(and thought was clear in the initial report)...

1.  The problem didn't happen when using any previous version of Tomcat.  That
is, everything works just fine from version 5.0.3 all the way back to all recent
versions of 4.1.xx.

2.  The only thing that changed was pointing CATALINA_HOME to the latest version
of Tomcat built from CVS rather than some other version of Tomcat.  Really,
truly, not one other thing is different.  Not a single change was made to the
application; only the value of CATALINA_HOME in the batch script is different.

Given these premises, the conclusion follows that the problem is not my app, but
something in Tomcat. If that conclusion is just way out of line, please describe
your reasoning.

I'm not saying that the issue is necessarily StandardHost.  What I'm saying is,
that is what the stack trace says.  There is also a NullPointerException further
down the stack trace.  There's a lot of runtime reflection going on there and
what is being reported is probably obscuring the real issue.  What I was hoping
was that the stack trace would be more clear to you than to me and that it would
provide a clue to the real source of the issue.

For your information, here is what the "run-tomcat" batch script looks like...

@echo off
set CATALINA_HOME=C:\Java\Apache\Jakarta\tomcat-5-20030708
set
CATALINA_BASE=D:\myclasses\Repository\Enhydra\XMLC_DSF_2003-05-19-2\xmlc\examples\tomcat\build

rem remove the log files
del /Q %CATALINA_BASE%\logs\*

%CATALINA_HOME%\bin\catalina.bat run


Pretty simple stuff.  Again, the only difference between when things work and
when things don't is the value of CATALINA_HOME above.  Specifically, if I
change it to "C:\Java\Apache\Jakarta\tomcat-5.0.3", then Tomcat starts up just fine.

Your criticism of my bug reports notwithstanding, most all of my bug reports
have lead to important modifications allowing Tomcat to work properly where it
may not have if not for my report because you wouldn't be aware of the issue if
not for the report.  So, I'll try to improve the reports but remember, I'm an
interested Tomcat user, but not a Tomcat developer.  Please keep expectations in
line with that fact.

Let me know if you require any other specific types of information to make it
easier to fix this issue.  I can provide instructions on reproducing the
problem, but that would require you to grab the latest source of XMLC.  I'm not
sure if you are willing to do that or not.  If so, let me know and I'll provide
step-by-step instructions.

Jake

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


Mime
View raw message