Hello to the list.

I just subscribed today and normally I lurk for a while when I join a
group. Not today. I did do a mailing list archive search before asking
this question, but since I found nothing there, I'm just leaping right in.

I'm doing something people might consider oddball. I'm trying to use the
"Sun-free" java environment on Fedora Core 5 to run Axis. That means I'm
using gcj as configured under Fedora Core 5.

I've installed the Fedora 5 packages for tomcat5, tomcat5-webapps, axis,
axis-manual, and axis-javadoc.

I found it odd that the axis webapp wasn't included in these packages
(axis must have a standalone mode?), so I downloaded axis1.2.1 (the Fedora
axis package is version 1.2.1) and installed the webapp under my tomcat5
environment.

I run happyaxis, and it is happy, with the only complaint being the
absence of  xmlsec.jar, which is not a required package.

Any time I try to run a webservice (for example, clicking "Call" on the
axis index page which results in going to this URL:

http://localhost:8080/axis/EchoHeaders.jws?method=list

) I get the following error:

soapenv:Server.userException java.lang.RuntimeException: No compiler found
in your classpath! (you may need to add 'tools.jar') 
localhost.localdomain

Now, tools.jar *is* in the classpath. It is also in the tomcat5 common dir
and in the axis webapp/WEB-INF/lib dir.

Let me tell you what else I have tried:

1. Putting "tools.jar" on the "-bootclasspath" argument to the java
invocation of tomcat itsel.

2. I dug in to the Fedora "javac" script and found that it uses the
compiler class from eclipse
(org.eclipse.jdt.internal.compiler.batch.Main), so I put that jar file in
all the usual places and tried specifying that class as the value of the
"java.compiler" and "axis.Compiler" system properties.

None of these worked.

I am within millimeters of having Axis work under FC5, I *know* I am, but
I can't for the life of me figure out how to get my Axis webapp instance
to find the java compiler! I don't pretend to be a tomcat expert. I dug
into the scripts to find out how to do these things. You can, when coming
up with suggestions, assume that I know shell scripts and generic Unix
sysadmin fairly well, but tomcat and Axis admin hardly at all.

I hope someone out there has an answer for me. In any case, hello to the
group and thank you to the folks on the Axis project for their fine
software!

(BTW, my atom bomb solution is to give up on Fedora gcj java and use
jpackage packages, but that is actually a royal pain -- which I hope Sun's
recent moves will make better. I want to give my client a more "turnkey"
solution, an "out of the box" Fedora solution if possible.)

Any help would be greatly appreciated!

-- 
Michael Schwarz



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to