THis
just in. I was wrong, it doesn't work with xerses and without crimson and
cocoon.
(Crimson was sitting
there still) Moreover, Tomcat doesn't like life without
parser.jar,
so I'm putting that
back and going with crimson. Life's tough, but I gotta move on to
other
things. Thanks
for the help!
Walden
Everything should
work. It's cause tomcat loads classes alphabetically, and parser.jar was
loading xerces 1.2 instead of 1.4.4 (1.2 is dom1), so therefore incompatible
with tomcat. If you just renamed parser.jar to z_parser.jar it should be
okay. Just so long as it loads after xerces.jar.
Newman
-----Original
Message----- From: Walden
Mathews [mailto:[EMAIL PROTECTED]] Sent: 03 April, 2002 1:48 PM To:
'[EMAIL PROTECTED]' Subject: RE: Compiler found in
classpath
Yes,
with parser.jar (cocoon) removed, the xerces jars work. But I
wonder
what else just
broke (!).
-----Original
Message----- From: Newman,
Scott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 1:36
PM To:
[EMAIL PROTECTED] Subject: RE: Compiler found in
classpath
Are
you using cocoon on this server as well?
(look
for a jar called parser.jar in tomcat/common/lib, if it's there, rename it
to z_parser.jar)
-----Original
Message----- From: Walden
Mathews [mailto:[EMAIL PROTECTED]] Sent: 03 April, 2002 1:30
PM To:
'[EMAIL PROTECTED]' Subject: RE: Compiler found in
classpath
Precisely the
ones I reported below for Client and Server. In other words, it
looks
as if
there's no XML parser.
-----Original
Message----- From:
Newman, Scott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002
12:45 PM To:
[EMAIL PROTECTED] Subject: RE: Compiler found in
classpath
I'm using
xerces2 1.4.4 and it seems to work fine.
What is the
error you're getting?
Newman
-----Original
Message----- From:
Walden Mathews [mailto:[EMAIL PROTECTED]] Sent: 03 April, 2002 12:31
PM To:
'[EMAIL PROTECTED]' Subject: RE: Compiler found in
classpath
May be a silly
question, but it was the right one. Thanks. When I switched
Tomcats I forgot
this
detail. But I found another issue, too. It doesn't work with
Xerces 2 jars, but it does work
-----Original
Message----- From:
Newman, Scott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002
11:51 AM To:
[EMAIL PROTECTED] Subject: RE: Compiler found in
classpath
This may be a
silly question, but do you have the axis jar files in tomcat's
common/lib directory (along with xerces.jar)?
Newman
-----Original
Message----- From:
Walden Mathews [mailto:[EMAIL PROTECTED]] Sent: 03 April, 2002 11:43
AM To:
'[EMAIL PROTECTED]' Subject: RE: Compiler found in
classpath
Okay, still
working on this. I've discovered that I can't control Tomcat
classpath when I run
Tomcat
embedded in JBoss. If anyone knows how to do that, I'd be glad
to know also, but in
the
meantime I'm testing with standalone Tomcat. Classpath is now
correctly set to
include
tools.jar. New symptoms have surfaced both at the client and
server, namely:
>java
samples.userguide.example2.CalcClient -p8080 add 2
5 Endpoint=http://localhost:8080/axis/Calculator.jws Exception
in thread "main" Internal Server
Error at
org.apache.axis.transport.http.HTTPSender.invoke(Unknown
Source) at
org.apache.axis.strategies.InvocationStrategy.visit(Unknown
Source) at
org.apache.axis.SimpleChain.doVisiting(Unknown
Source) at
org.apache.axis.SimpleChain.invoke(Unknown
Source) at
org.apache.axis.client.AxisClient.invoke(Unknown
Source) at
org.apache.axis.client.Call.invoke(Unknown
Source) at
org.apache.axis.client.Call.invoke(Unknown
Source) at
org.apache.axis.client.Call.invoke(Unknown
Source) at
org.apache.axis.client.Call.invoke(Unknown
Source) at
samples.userguide.example2.CalcClient.main(CalcClient.java:99)
2002-04-03
11:43:19 - Ctx( /axis ): Exception in: R( /axis + /Calculator.jws +
null) -
java.lang.NoS uchMethodError
at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(Unknown
Source) at
org.apache.axis.configuration.FileProvider.configureEngine(Unknown
Source) at
org.apache.axis.AxisEngine.init(Unknown
Source) at
org.apache.axis.AxisEngine.<init>(Unknown
Source) at
org.apache.axis.server.AxisServer.<init>(Unknown
Source) at
org.apache.axis.server.DefaultAxisServerFactory.createNewServer(Unknown
Source) at
org.apache.axis.server.DefaultAxisServerFactory.getServer(Unknown
Source) at
org.apache.axis.server.AxisServer.getServer(Unknown
Source) at
org.apache.axis.transport.http.AxisServlet.getEngine(Unknown
Source) at
org.apache.axis.transport.http.AxisServlet.getEngine(Unknown
Source) at
org.apache.axis.transport.http.AxisServlet.doPost(Unknown
Source) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at
org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHand ler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484) "tomcat.log" 38 lines,
2711 characters
ANY HELP
WOULD BE APPRECIATED (I'm not shouting, just trying to stand
out
among the
exceptions :-).
-----Original
Message----- From:
Newman, Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002
4:41 PM To:
[EMAIL PROTECTED] Subject: RE: Compiler found in
classpath
I've had
tomcat not stop executing, even though I have stopped it through the
batch file. Try stopping tomcat batch file, go into windows
task manager, look on the processes tab, and see if tomcat.exe is
still there. If it is, end the process, and restart
tomcat. I'm using 4.0.3 and have had this problem on this
version.
Newman
-----Original
Message----- From:
M. en C. Jesús Sosa Iglesias [mailto:[EMAIL PROTECTED]] Sent: 02 April, 2002 4:40
PM To:
[EMAIL PROTECTED] Subject: Re: Compiler found in
classpath
You have to put tools.jar in the
classpath before start Tomcat I had the same throuble with some
tomcat old version in W2K. I included it in the file
\jakarta-tomcat-x-x-x\bin\tomcat.bat and it work fine.
Walden Mathews
wrote:
Okay I
give up. I'm trying to run the simple jws example
(Calculator), and I keepgetting a runtime exception, both from the
client and from tomcat. It literallysays "compiler found",
but I suspect it means "no compiler found".
JAVA_HOME\lib\tools.jaris indeed on every classpath you could
imagine, so what's up?I saw this problem posted back in january
with no apparent resolution.Walden Mathews ILX
Systems 111 Fulton St. 3rd
Floor New York, NY
10038 Phone (212)
510-3121 Fax (212)
437-2305
|