go to TOMCAT_HOME/bin and run startup.bat (or .sh). this will print out JAVA_HOME, along with CATALINA_HOME.

-nikita

Miller, Janet wrote:

How do I check this?  My system JAVA_HOME variable is set to "c:\jdk1.5.0_03;"
which is the location of the jdk that I just installed.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 2:05 PM
To: [email protected]
Subject: Re: Problem setting up Axis


jdk 1.5 and axis 1.2.1 are compatible. One thing to do is to make sure that the Tomcat instance that you're running is using a JDK and not a JRE. Make sure JAVA_HOME used during Tomcat start-up actually points to a valid JDK (and not JRE) location

-nikita

Miller, Janet wrote:

I already had tools.jar in AXIS_HOME\lib. I restarted Tomcat just to make sure and it still doesn't work. Does anyone have any other ideas? I'm using jdk1.5.0.03 and axis 1.2.1. Are they compatible?

Jan

-----Original Message-----
From: Gary Zhu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 29, 2005 12:05 PM
To: [email protected]
Subject: RE: Problem setting up Axis


You can copy the tools.jar and put it under your Axis context. You need to restart Tomcat for it to work.

Gary

-----Original Message-----
From: Miller, Janet [mailto:[EMAIL PROTECTED]
Sent: June 29, 2005 11:21 AM
To: [email protected]
Subject: RE: Problem setting up Axis

I've done all of this. My Axis happy page displays correctly, but when I try to access a sample JWS web service that comes with Axis as follows:

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

I get the following error:

<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar')</faultstring>

How does Axis know where the Java compiler is? I thought it used CLASSPATH and AXISCLASSPATH which I think I have set up properly since I got wsdl2Java to work. Do I need to put tools.jar somewhere?

I tried adding tools.jar to the tomcat\common\lib directory, but that didn't work either.

I'm using Tomcat 5.5.9, Java 1.5.0.03, and Axis 1.2.1.

Does anyone know why I'm having this problem?

Jan

-----Original Message-----
From: Ferruh Zamangoer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 3:16 AM
To: [email protected]
Subject: AW: Problem setting up Axis


The best way to set up axis is to copy axis-1_2/webapps/axis into your tomcat ....\Apache Group\Tomcat 4.1\webapps folders.




-----Ursprüngliche Nachricht-----
Von: Ferruh Zamangoer [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Juni 2005 08:52
An: [email protected]
Betreff: AW: Problem setting up Axis

Hi Janet,

if you have downloaded the axis-1_2.zip binaries you can extract this file. After you have extracted you have a folder structure like:

- axis-1_2
 - docs
 - lib
 - samples
 - webapps
 - xmls

Normally the wsdl4j.jar must be in lib directory, otherwise you can look at axis-1_2\webapps\axis\WEB-INF\lib. The wsdl4j.jar is used in AXIS to generate Java code from WSDL and to generate WSDL from Java.

Hope it helps.

Regards
Ferruh




-----Ursprüngliche Nachricht-----
Von: Miller, Janet [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Juni 2005 01:05
An: [email protected]
Betreff: RE: Problem setting up Axis

I am also missing a file called wsdl4j.jar which the Axis documentation says is supposed to be in my CLASSPATH and AXISCLASSPATH. I've installed everything and don't have this file on my machine. Where does this file come from? Could someone check to see if this file exists on your machine? It is supposed to be in the \webapps\axis\WEB-INF\lib directory.

I can't get Axis to work. The happyAxis page is displaying properly though.

Thanks,

Jan







--
===================================
Nikita Tovstoles

Demolab, Office of Strategic Insight
Sun Microsystems, Inc.
4170 Network Circle
USCA17, Office 3705
Mailstop USCA17-205
Santa Clara CA 95054
e-mail: [EMAIL PROTECTED]
office: 408-276-5348 / x15348
cell: 650-996-8173
===================================

Reply via email to