You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Miller, Michael P" <Mi...@mantech-ist.com> on 2005/11/18 23:22:56 UTC

Test JWS endpoint error

Installed Axis on Tomcat 5.5 with java 1.5.  I've been deploying/
running webapps on this

Tomcat for some time with no problems.  Followed directions in the
Install guide by 

dropping webapps/axis etc.  All the install tests like happyaxis,
looking for services and

Test a SOAP endpoint work fine.  When I test a JWS endpoint it fails
with:

<faultcode>soapenv:Server.userException</faultcode> 

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

 

Someone told me to set JAVA_HOME and I did that (windows XP).  It didn't
work.

If I put tools.jar from my jdk into the common/lib of Tomcat it does
work but I'm told that

is a hack and can cause security issues.  Tomcat runs as a service.  any
help would be

greatly appreciated.

 

Thanks,

Mike


Re: Test JWS endpoint error

Posted by Developer Developer <de...@gmail.com>.
 This is how it works on my machine - ( Windows XP)
 Go to apache tomcat configure window ( Start->All
Programs->apacheTomcat->ConfigureTomcat) . Click on java tab .
 1.make sure the java virtual machine points to correct jvm.dll ( on my
machine :C:\Java\jre1.5.0_04\bin\client\jvm.dll))
2. makesure all the necessary java jar files are listed in javaclasspath (
on my machine
-C:\Tomcat5_5\bin\bootstrap.jar;C:\Java\jdk1.5.0_04\bin;C:\Java\jdk1.5.0_04\lib\tools.jar)


 On 11/18/05, Miller, Michael P <Mi...@mantech-ist.com> wrote:
>
>  Installed Axis on Tomcat 5.5 with java 1.5. I've been deploying/ running
> webapps on this
>
> Tomcat for some time with no problems. Followed directions in the Install
> guide by
>
> dropping webapps/axis etc. All the install tests like happyaxis, looking
> for services and
>
> Test a SOAP endpoint work fine. When I test a JWS endpoint it fails with:
>
> <faultcode>soapenv:Server.userException</faultcode>
>
> <faultstring>java.lang.RuntimeException: No compiler found in your
> classpath! (you may need to add 'tools.jar')</faultstring>
>
>  Someone told me to set JAVA_HOME and I did that (windows XP). It didn't
> work.
>
> If I put tools.jar from my jdk into the common/lib of Tomcat it does work
> but I'm told that
>
> is a hack and can cause security issues. Tomcat runs as a service. any
> help would be
>
> greatly appreciated.
>
>  Thanks,
>
> Mike
>