axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ponze, Bart" <BPo...@lsuhsc.edu>
Subject RE: Unable to find javac compiler
Date Sun, 01 May 2005 22:00:06 GMT
I copied tools.jar from my java directory into the WEB-INF/lib and I still
get the same results.  Ideas????
 
Bart
 
====================
List:        <http://marc.theaimsgroup.com/?l=axis-user&r=1&w=2> axis-user
Subject:     <http://marc.theaimsgroup.com/?t=111473275600001&r=1&w=2> RE:
Unable to find javac compiler
From:        <http://marc.theaimsgroup.com/?a=110961873000002&r=1&w=2>
"Soti, Dheeraj" <dsoti () harris ! com>
Date:        <http://marc.theaimsgroup.com/?l=axis-user&r=1&w=2&b=200504>
2005-04-29 0:03:58
Message-ID:
<http://marc.theaimsgroup.com/?i=<AB2418387B26D411B15400805F953ED602BCD201%2
0()%20svlmx1%20!%20cs%20!%20myharris%20!%20net>>
<AB2418387B26D411B15400805F953ED602BCD201 () svlmx1 ! cs ! myharris ! net>
[ <http://marc.theaimsgroup.com/?l=axis-user&m=111473305709764&q=raw>
Download message RAW]

To do a quick fix you can grab the tool.jar from your java directory and
drop it
under your WEB-INF/lib


-----Original Message-----
From: Ponze, Bart [mailto:BPonze@lsuhsc.edu] 
Sent: Thursday, April 28, 2005 4:58 PM
To: 'axis-user@ws.apache.org'
Subject: Unable to find javac compiler


I am getting "Unable to find javac compiler" when accessing
<http://localhost:8080/axis <http://localhost:8080/axis> >
http://localhost:8080/axis <http://localhost:8080/axis>  from a browser
after a
new install f Tomcat 5.0 and Axis.  JAVA_HOME looks correct
("JAVA_HOME=C:\Borland\JBuilder2005\jdk1.4") and PATH contains
"%JAVA_HOME%\bin".  Other Tomcat webapps seem to work (such as
http://localhost:8080/ <http://localhost:8080/>
<http://localhost:8080/tomcat-docs <http://localhost:8080/tomcat-docs> >
tomcat-docs).  The
log is attached.

Help!  Any ideas or leads would be appreciated.  Thanks.

Bart

Apr 28, 2005 6:40:49 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Apr 28, 2005 6:40:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 671 ms
Apr 28, 2005 6:40:49 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 28, 2005 6:40:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.30
Apr 28, 2005 6:40:49 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 28, 2005 6:40:49 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx ) 
Apr 28, 2005 6:40:49 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
Apr 28, 2005 6:40:51 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
Apr 28, 2005 6:40:51 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
Apr 28, 2005 6:40:51 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /axis from URL
file:C:\Program
Files\Apache Software Foundation\Tomcat 5.0\webapps\axis
- Unable to find config file.  Creating new servlet engine config file:
/WEB-INF/server-config.wsdd
- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.
Apr 28, 2005 6:40:52 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /jsp-examples from URL
file:C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\jsp-examples
Apr 28, 2005 6:40:52 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path  from URL file:C:\Program
Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
Apr 28, 2005 6:40:52 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /servlets-examples from URL
file:C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\servlets-examples
Apr 28, 2005 6:40:52 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /tomcat-docs from URL
file:C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\tomcat-docs
Apr 28, 2005 6:40:52 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /webdav from URL
file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
Apr 28, 2005 6:40:52 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 28, 2005 6:40:53 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 28, 2005 6:40:53 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/20  config=C:\Program Files\Apache Software
Foundation\Tomcat 5.0\conf\jk2.properties
Apr 28, 2005 6:40:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3605 ms
- Javac exception 
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C
ompi
lerAdapterFactory.java:105)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:407)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
11)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
95)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
Filt
erChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.
java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:2
14)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.ja
va:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valv
e.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:1
52)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.ja
va:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.ja
va:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.ja
va:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.ja
va:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ctio
n(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:68
4)
at java.lang.Thread.run(Thread.java:534)
- Env: Compile: javaFileName=/C:/Program Files/Apache Software
Foundation/Tomcat
5.0/work/Catalina/localhost/axis//org/apache/jsp\index_jsp.java
    classpath=/C:/Program Files/Apache Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/classes/;/C:/Program Files/Apache Software
Foundation/Tomcat 5.0/webapps/axis/WEB-INF/lib/axis-ant.jar;/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/axis.jar;/C:/Program Files/Apache Software
Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/commons-discovery.jar;/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/commons-logging.jar;/C:/Program Files/Apache
Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/jaxrpc.jar;/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar;/C:/Program Files/Apache
Software
Foundation/Tomcat 5.0/webapps/axis/WEB-INF/lib/saaj.jar;/C:/Program
Files/Apache
Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/wsdl4j.jar;C:\Program
Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\axis;/C:/Program Files/Apache Software
Foundation/Tomcat 5.0/webapps/axis/WEB-INF/classes/;/C:/Program Files/Apache
Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/axis-ant.jar;/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/axis.jar;/C:/Program Files/Apache Software
Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/commons-discovery.jar;/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/commons-logging.jar;/C:/Program Files/Apache
Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/jaxrpc.jar;/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar;/C:/Program Files/Apache
Software
Foundation/Tomcat 5.0/webapps/axis/WEB-INF/lib/saaj.jar;/C:/Program
Files/Apache
Software Foundation/Tomcat
5.0/webapps/axis/WEB-INF/lib/wsdl4j.jar;C:/Program
Files/Apache Software Foundation/Tomcat 5.0/shared/classes/;C:/Program
Files/Apache Software Foundation/Tomcat 5.0/common/classes/;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/endorsed/jaxrpc.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/endorsed/saaj.jar;C:/Program Files/Apache
Software
Foundation/Tomcat 5.0/common/endorsed/xercesImpl.jar;C:/Program Files/Apache
Software Foundation/Tomcat 5.0/common/endorsed/xml-apis.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/ant-launcher.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/ant.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/commons-collections-3.1.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/commons-dbcp-1.2.1.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/commons-el.jar;C:/Program Files/Apache
Software
Foundation/Tomcat 5.0/common/lib/commons-pool-1.2.jar;C:/Program
Files/Apache
Software Foundation/Tomcat 5.0/common/lib/jasper-compiler.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/jasper-runtime.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/jsp-api.jar;C:/Program Files/Apache
Software
Foundation/Tomcat 5.0/common/lib/naming-common.jar;C:/Program Files/Apache
Software Foundation/Tomcat 5.0/common/lib/naming-factory.jar;C:/Program
Files/Apache Software Foundation/Tomcat
5.0/common/lib/naming-java.jar;C:/Program Files/Apache Software
Foundation/Tomcat 5.0/common/lib/naming-resources.jar;C:/Program
Files/Apache
Software Foundation/Tomcat
5.0/common/lib/servlet-api.jar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/tools
.jar
;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.0/bin/bootstr
ap.j
ar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/ext/dnsns.jar;/C:/Borland/JBuilde
r200
5/jdk1.4/jre/lib/ext/ldapsec.jar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/ext
/loc
aledata.jar;/C:/Borland/JBuilder2005/jdk1.4/jre/lib/ext/sunjce_provider.jar
    cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\tools.jar;C:\Program
Files\Apache
Software Foundation\Tomcat 5.0\bin\bootstrap.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\classes
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\axis-ant.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\axis.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\commons-discovery.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\commons-logging.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\jaxrpc.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\saaj.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\wsdl4j.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\axis
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\classes
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\axis-ant.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\axis.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\commons-discovery.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\commons-logging.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\jaxrpc.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\saaj.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis\WEB-INF\lib\wsdl4j.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\classes
    cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\endorsed\jaxrpc.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\endorsed\saaj.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\endorsed\xercesImpl.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\endorsed\xml-apis.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\ant-launcher.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\ant.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-collections-3.1.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-dbcp-1.2.1.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-el.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\commons-pool-1.2.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\jasper-compiler.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\jasper-runtime.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\jsp-api.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-common.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-factory.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-java.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\naming-resources.jar
    cp=C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib\servlet-api.jar
    cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\tools.jar

cp=C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%205.0\bin\bootst
rap.
jar
    cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\dnsns.jar
    cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\ldapsec.jar
    cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\localedata.jar
    cp=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\sunjce_provider.jar
    work dir=C:\Program Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\axis
    extension dir=C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext
    srcDir=C:\Program Files\Apache Software Foundation\Tomcat
5.0\work\Catalina\localhost\axis
   compilerTargetVM=1.3
   compilerSourceVM=1.3
    include=org/apache/jsp/index_jsp.java

- Error compiling file: /C:/Program Files/Apache Software Foundation/Tomcat
5.0/work/Catalina/localhost/axis//org/apache/jsp\index_jsp.java     [javac]
Compiling 1 source file
 


Mime
View raw message