Re: Building Tomcat-3.2.1
Not sure, but don't you need the servlet-api (servlet.jar)? http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.tar.gz or http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.zip Niels Wagner wrote: > > Hi everybody, > > i downloaded the source of tomcat 3.2.1 and tried to build it. I followed the > README and got ant, jaxp (1.0.1), jsse ... > > My setup: > > SuSE Linux 7.0, IBMJava2-13. > > Environment variables > export JAKARTA_HOME=/opt > export TOMCAT_HOME=/opt/jakarta-tomcat-3.2.1 > export JAVA_HOME=/opt/IBMJava2-13 > export JNDI_HOME=/usr/lib > export JSSE_HOME=/usr/lib > export JMX_HOME=/usr/lib > export REGEXP_HOME=/usr/src/packages/SOURCES/jakarta-regexp-1.2/build > export SERVLETAPI_HOME=/opt/dist/servletapi > export JAXP_HOME=/opt/jaxpi-1.0.1 > export > >CLASSPATH=/opt/IBMJava2-13/:/opt/IBMJava2-13/lib:/usr/lib:/opt/IBMJava2-13/lib/tools.jar:/opt/jaxp-1.0.1/jaxp.jar:/opt/dist/ant/lib/ant.jar:/opt/IBMJava2-13/jre/lib/rt.jar:/opt/jaxp-1.0.1/parser.jar:/usr/lib/jsse.jar:/opt/dist/servletapi/lib/serlvet.jar > export COCOON_HOME=/var/cocoon > > The error i get when building: > > Buildfile: /opt/jakarta-tomcat-3.2.1-src/build.xml > > prepare: > [copy] Copying 1 files to /opt/build/tomcat/conf > [copy] Copying 1 files to /opt/build/tomcat/lib > > tomcat: > [javac] Compiling 6 source files to /opt/build/tomcat/classes > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/net/SSLSocketFactory.java:67: > Class javax.net.ServerSocketFactory not found in import. > [javac] import javax.net.ServerSocketFactory; > [javac]^ > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletResponseFacade.java:84: > class org.apache.tomcat.facade.HttpServletResponseFacade must be declared > abstract. It does not define void resetBuffer() from interface > javax.servlet.ServletResponse. > [javac] final class HttpServletResponseFacade implements > HttpServletResponse > [javac] ^ > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82: > class org.apache.tomcat.facade.ServletContextFacade must be declared abstract. > It does not define java.util.Set getResourcePaths() from interface > javax.servlet.ServletContext. > [javac] final class ServletContextFacade implements ServletContext { > [javac] ^ > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82: > class org.apache.tomcat.facade.ServletContextFacade must be declared abstract. > It does not define java.lang.String getServletContextName() from interface > javax.servlet.ServletContext. > [javac] final class ServletContextFacade implements ServletContext { > [javac] ^ > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83: > class org.apache.tomcat.facade.HttpServletRequestFacade must be declared > abstract. It does not define java.lang.StringBuffer getRequestURL() from > interface javax.servlet.http.HttpServletRequest. > [javac] final class HttpServletRequestFacade implements HttpServletRequest { > [javac] ^ > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83: > class org.apache.tomcat.facade.HttpServletRequestFacade must be declared > abstract. It does not define void setCharacterEncoding(java.lang.String) from > interface javax.servlet.ServletRequest. > [javac] final class HttpServletRequestFacade implements HttpServletRequest { > [javac] ^ > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83: > class org.apache.tomcat.facade.HttpServletRequestFacade must be declared > abstract. It does not define java.util.Map getParameterMap() from interface > javax.servlet.ServletRequest. > [javac] final class HttpServletRequestFacade implements HttpServletRequest { > [javac] ^ > [javac] > >/opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/runtime/PageContextImpl.java:99: > class org.apache.jasper.runtime.PageContextImpl must be declared abstract. It > does not define void handlePageException(java.lang.Throwable) from class > javax.servlet.jsp.PageContext. > [javac] public class PageContextImpl extends PageContext { > [javac] ^ > [javac] Note: 2 files use or override a deprecated API. Recompile with > "-deprecation" for details.[javac] 8 errors, 1 warning > > BUILD FAILED > > /opt/jakarta-tomcat-3.2.1-src/build.xml:94: Compile failed, messages should have > been provided. > > Total time: 28 seconds > > I suppose the javax stuff is in the jaxp/parser jars. I tried Version 1.1 and > 1.0.1 from sun. > > Any ideas ? > > Thanks in advance > > Niels -- Arnaud
Building Tomcat-3.2.1
Hi everybody, i downloaded the source of tomcat 3.2.1 and tried to build it. I followed the README and got ant, jaxp (1.0.1), jsse ... My setup: SuSE Linux 7.0, IBMJava2-13. Environment variables export JAKARTA_HOME=/opt export TOMCAT_HOME=/opt/jakarta-tomcat-3.2.1 export JAVA_HOME=/opt/IBMJava2-13 export JNDI_HOME=/usr/lib export JSSE_HOME=/usr/lib export JMX_HOME=/usr/lib export REGEXP_HOME=/usr/src/packages/SOURCES/jakarta-regexp-1.2/build export SERVLETAPI_HOME=/opt/dist/servletapi export JAXP_HOME=/opt/jaxpi-1.0.1 export CLASSPATH=/opt/IBMJava2-13/:/opt/IBMJava2-13/lib:/usr/lib:/opt/IBMJava2-13/lib/tools.jar:/opt/jaxp-1.0.1/jaxp.jar:/opt/dist/ant/lib/ant.jar:/opt/IBMJava2-13/jre/lib/rt.jar:/opt/jaxp-1.0.1/parser.jar:/usr/lib/jsse.jar:/opt/dist/servletapi/lib/serlvet.jar export COCOON_HOME=/var/cocoon The error i get when building: Buildfile: /opt/jakarta-tomcat-3.2.1-src/build.xml prepare: [copy] Copying 1 files to /opt/build/tomcat/conf [copy] Copying 1 files to /opt/build/tomcat/lib tomcat: [javac] Compiling 6 source files to /opt/build/tomcat/classes [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/net/SSLSocketFactory.java:67: Class javax.net.ServerSocketFactory not found in import. [javac] import javax.net.ServerSocketFactory; [javac]^ [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletResponseFacade.java:84: class org.apache.tomcat.facade.HttpServletResponseFacade must be declared abstract. It does not define void resetBuffer() from interface javax.servlet.ServletResponse. [javac] final class HttpServletResponseFacade implements HttpServletResponse [javac] ^ [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82: class org.apache.tomcat.facade.ServletContextFacade must be declared abstract. It does not define java.util.Set getResourcePaths() from interface javax.servlet.ServletContext. [javac] final class ServletContextFacade implements ServletContext { [javac] ^ [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82: class org.apache.tomcat.facade.ServletContextFacade must be declared abstract. It does not define java.lang.String getServletContextName() from interface javax.servlet.ServletContext. [javac] final class ServletContextFacade implements ServletContext { [javac] ^ [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83: class org.apache.tomcat.facade.HttpServletRequestFacade must be declared abstract. It does not define java.lang.StringBuffer getRequestURL() from interface javax.servlet.http.HttpServletRequest. [javac] final class HttpServletRequestFacade implements HttpServletRequest { [javac] ^ [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83: class org.apache.tomcat.facade.HttpServletRequestFacade must be declared abstract. It does not define void setCharacterEncoding(java.lang.String) from interface javax.servlet.ServletRequest. [javac] final class HttpServletRequestFacade implements HttpServletRequest { [javac] ^ [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83: class org.apache.tomcat.facade.HttpServletRequestFacade must be declared abstract. It does not define java.util.Map getParameterMap() from interface javax.servlet.ServletRequest. [javac] final class HttpServletRequestFacade implements HttpServletRequest { [javac] ^ [javac] /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/runtime/PageContextImpl.java:99: class org.apache.jasper.runtime.PageContextImpl must be declared abstract. It does not define void handlePageException(java.lang.Throwable) from class javax.servlet.jsp.PageContext. [javac] public class PageContextImpl extends PageContext { [javac] ^ [javac] Note: 2 files use or override a deprecated API. Recompile with "-deprecation" for details.[javac] 8 errors, 1 warning BUILD FAILED /opt/jakarta-tomcat-3.2.1-src/build.xml:94: Compile failed, messages should have been provided. Total time: 28 seconds I suppose the javax stuff is in the jaxp/parser jars. I tried Version 1.1 and 1.0.1 from sun. Any ideas ? Thanks in advance Niels
Re: problem building tomcat 3.2.1 on Solaris x86
two suggestion, one from an earlier post 1. take a look at the build.sh script and see if it is setting any variables that may affect the classpath. play around with that. 2. Tomcat is Java based, you can download the already built jar files and use them directly Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net - Original Message - From: "Jennifer Dyess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 11:40 AM Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > ok, I modified my classpath as you suggested: > /usr/java/jre/lib/ext/jaxp.jar:/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre > /lib/ext/jnet.jar:/usr/java/jre/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parse > r.jar:/usr/java/jre/lib/ext/ant.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/j > ava/lib/tools.jar:.: > > what should the path look like? Here's min: > :/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/java/bi > n:/usr/java/lib/:/usr/java/jre/lib > > But, I still get the same error msg :( > > > -Original Message- > From: John Golubenko [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 10:54 AM > To: '[EMAIL PROTECTED]' > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > > by the way, why do you have /usr/java/bin: xx/xx: in CLASSPATH? The > directories should be > in PATH, not CLASSPATH. The jars,or files should be in CLASSPATH (*.xx). > This may cause the problems. > > > -Original Message- > From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 11:01 AM > To: [EMAIL PROTECTED] > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > > Thanks for the quick response! > > I'm running the Java 2 SDK Std Edition v 1.3 > > No, I did not have the tools.jar in my classpath. I just added it, but I > still get the same error. > Here's my classpath: > /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar > :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr > e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an > t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: > > Any other suggestions? > > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 10:28 AM > To: [EMAIL PROTECTED] > Subject: Re: problem building tomcat 3.2.1 on Solaris x86 > > > what version of the SDK do you have? > also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? > > Filip > > ~ > Namaste - I bow to the divine in you > ~ > Filip Hanik > Software Architect > [EMAIL PROTECTED] > www.filip.net > - Original Message - > From: "Jennifer Dyess" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 14, 2001 10:35 AM > Subject: problem building tomcat 3.2.1 on Solaris x86 > > > > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > > > I receive the error "cannot use classic compiler..." > > > > I've got the java2 sdk installed. The path to javac is in my > > path/classpath. I can type javac from any dir and it appears to be > > available. > > > > Searching thru the mail archives, I found a bug had been filed on this > exact > > problem, but on linux. Unfortunately, there was no > > fix/workaround/resolution. Here's a link to the bug: > > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > > > > > bash-2.03# ./build.sh > > Searching for build.xml ... > > Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml > > > > prepare: > > [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf > > > > tomcat: > > [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes > > > > BUILD FAILED > > > > /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic > > compiler, as > > it is not available > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For ad
Re: problem building tomcat 3.2.1 on Solaris x86
Jennifer, Another thing you may want to look at: Try downloading the jdk again from Sun and installing in a different directory, i.e., /usr/jdk1.3. It is possible something went wrong during your installation. lee fellows wrote: > > Hi Jennifer, > > Sorry, I had hoped to see something quckly. Unfortunately, I do not > have a > Solaris box to chase this further. Take a look in $JAVA_HOME/jre/lib. > You should > see two sub-directories: green_threads and classic. It sounds like the > classic libraries > are missing. I do not know if this has something to do with your > version of Solaris on > an x86 box or not. Seems there was some condition like that previously. > > Hopefully someone else can help you further. > > Jennifer Dyess wrote: > > > > java -version > > java version "1.3.0" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) > > Java HotSpot(TM) Client VM (build 1.3.0, mixed mode) > > > > -Original Message- > > From: lee [mailto:lee]On Behalf Of lee fellows > > Sent: Wednesday, February 14, 2001 12:20 PM > > To: [EMAIL PROTECTED] > > Subject: Re: problem building tomcat 3.2.1 on Solaris x86 > > > > Jennifer, > > > > You do not need the java/lib directories in your PATH. It should have > > directories with > > executables, not libraries. > > > > Question: When you run java -version, what do you get? > > > > Jennifer Dyess wrote: > > > > > > ok, I modified my classpath as you suggested: > > > > > /usr/java/jre/lib/ext/jaxp.jar:/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre > > > > > /lib/ext/jnet.jar:/usr/java/jre/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parse > > > > > r.jar:/usr/java/jre/lib/ext/ant.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/j > > > ava/lib/tools.jar:.: > > > > > > what should the path look like? Here's min: > > > > > :/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/java/bi > > > n:/usr/java/lib/:/usr/java/jre/lib > > > > > > But, I still get the same error msg :( > > > > > > -Original Message- > > > From: John Golubenko [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, February 14, 2001 10:54 AM > > > To: '[EMAIL PROTECTED]' > > > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > > > > > by the way, why do you have /usr/java/bin: xx/xx: in CLASSPATH? The > > > directories should be > > > in PATH, not CLASSPATH. The jars,or files should be in CLASSPATH (*.xx). > > > This may cause the problems. > > > > > > -Original Message- > > > From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, February 14, 2001 11:01 AM > > > To: [EMAIL PROTECTED] > > > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > > > > > Thanks for the quick response! > > > > > > I'm running the Java 2 SDK Std Edition v 1.3 > > > > > > No, I did not have the tools.jar in my classpath. I just added it, but I > > > still get the same error. > > > Here's my classpath: > > > > > /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar > > > > > :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr > > > > > e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an > > > t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: > > > > > > Any other suggestions? > > > > > > -Original Message- > > > From: Filip Hanik [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, February 14, 2001 10:28 AM > > > To: [EMAIL PROTECTED] > > > Subject: Re: problem building tomcat 3.2.1 on Solaris x86 > > > > > > what version of the SDK do you have? > > > also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? > > > > > > Filip > > > > > > ~ > > > Namaste - I bow to the divine in you > > > ~ > > > Filip Hanik > > > Software Architect > > > [EMAIL PROTECTED] > > > www.filip.net > > > - Original Message - > > > From: "Jennifer Dyess" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Wednesday, February 14, 2001 10:35 AM > > > Subject: problem building tomcat 3.2.1 on Solaris x86 > > > > > > > I'm having a problem building TomCat v321
Re: problem building tomcat 3.2.1 on Solaris x86
Hi Jennifer, Sorry, I had hoped to see something quckly. Unfortunately, I do not have a Solaris box to chase this further. Take a look in $JAVA_HOME/jre/lib. You should see two sub-directories: green_threads and classic. It sounds like the classic libraries are missing. I do not know if this has something to do with your version of Solaris on an x86 box or not. Seems there was some condition like that previously. Hopefully someone else can help you further. Jennifer Dyess wrote: > > java -version > java version "1.3.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) > Java HotSpot(TM) Client VM (build 1.3.0, mixed mode) > > -Original Message- > From: lee [mailto:lee]On Behalf Of lee fellows > Sent: Wednesday, February 14, 2001 12:20 PM > To: [EMAIL PROTECTED] > Subject: Re: problem building tomcat 3.2.1 on Solaris x86 > > Jennifer, > > You do not need the java/lib directories in your PATH. It should have > directories with > executables, not libraries. > > Question: When you run java -version, what do you get? > > Jennifer Dyess wrote: > > > > ok, I modified my classpath as you suggested: > > > /usr/java/jre/lib/ext/jaxp.jar:/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre > > > /lib/ext/jnet.jar:/usr/java/jre/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parse > > > r.jar:/usr/java/jre/lib/ext/ant.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/j > > ava/lib/tools.jar:.: > > > > what should the path look like? Here's min: > > > :/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/java/bi > > n:/usr/java/lib/:/usr/java/jre/lib > > > > But, I still get the same error msg :( > > > > -Original Message- > > From: John Golubenko [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 14, 2001 10:54 AM > > To: '[EMAIL PROTECTED]' > > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > > > by the way, why do you have /usr/java/bin: xx/xx: in CLASSPATH? The > > directories should be > > in PATH, not CLASSPATH. The jars,or files should be in CLASSPATH (*.xx). > > This may cause the problems. > > > > -Original Message- > > From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 14, 2001 11:01 AM > > To: [EMAIL PROTECTED] > > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > > > Thanks for the quick response! > > > > I'm running the Java 2 SDK Std Edition v 1.3 > > > > No, I did not have the tools.jar in my classpath. I just added it, but I > > still get the same error. > > Here's my classpath: > > > /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar > > > :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr > > > e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an > > t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: > > > > Any other suggestions? > > > > -Original Message- > > From: Filip Hanik [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 14, 2001 10:28 AM > > To: [EMAIL PROTECTED] > > Subject: Re: problem building tomcat 3.2.1 on Solaris x86 > > > > what version of the SDK do you have? > > also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? > > > > Filip > > > > ~ > > Namaste - I bow to the divine in you > > ~ > > Filip Hanik > > Software Architect > > [EMAIL PROTECTED] > > www.filip.net > > - Original Message - > > From: "Jennifer Dyess" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, February 14, 2001 10:35 AM > > Subject: problem building tomcat 3.2.1 on Solaris x86 > > > > > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > > > > > I receive the error "cannot use classic compiler..." > > > > > > I've got the java2 sdk installed. The path to javac is in my > > > path/classpath. I can type javac from any dir and it appears to be > > > available. > > > > > > Searching thru the mail archives, I found a bug had been filed on this > > exact > > > problem, but on linux. Unfortunately, there was no > > > fix/workaround/resolution. Here's a link to the bug: > > > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > > > > > > > > > bash-2.03# ./build.sh > > > Searching for build
RE: problem building tomcat 3.2.1 on Solaris x86
java -version java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Java HotSpot(TM) Client VM (build 1.3.0, mixed mode) -Original Message- From: lee [mailto:lee]On Behalf Of lee fellows Sent: Wednesday, February 14, 2001 12:20 PM To: [EMAIL PROTECTED] Subject: Re: problem building tomcat 3.2.1 on Solaris x86 Jennifer, You do not need the java/lib directories in your PATH. It should have directories with executables, not libraries. Question: When you run java -version, what do you get? Jennifer Dyess wrote: > > ok, I modified my classpath as you suggested: > /usr/java/jre/lib/ext/jaxp.jar:/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre > /lib/ext/jnet.jar:/usr/java/jre/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parse > r.jar:/usr/java/jre/lib/ext/ant.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/j > ava/lib/tools.jar:.: > > what should the path look like? Here's min: > :/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/java/bi > n:/usr/java/lib/:/usr/java/jre/lib > > But, I still get the same error msg :( > > -Original Message- > From: John Golubenko [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 10:54 AM > To: '[EMAIL PROTECTED]' > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > by the way, why do you have /usr/java/bin: xx/xx: in CLASSPATH? The > directories should be > in PATH, not CLASSPATH. The jars,or files should be in CLASSPATH (*.xx). > This may cause the problems. > > -Original Message- > From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 11:01 AM > To: [EMAIL PROTECTED] > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > Thanks for the quick response! > > I'm running the Java 2 SDK Std Edition v 1.3 > > No, I did not have the tools.jar in my classpath. I just added it, but I > still get the same error. > Here's my classpath: > /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar > :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr > e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an > t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: > > Any other suggestions? > > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 10:28 AM > To: [EMAIL PROTECTED] > Subject: Re: problem building tomcat 3.2.1 on Solaris x86 > > what version of the SDK do you have? > also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? > > Filip > > ~ > Namaste - I bow to the divine in you > ~ > Filip Hanik > Software Architect > [EMAIL PROTECTED] > www.filip.net > - Original Message - > From: "Jennifer Dyess" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 14, 2001 10:35 AM > Subject: problem building tomcat 3.2.1 on Solaris x86 > > > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > > > I receive the error "cannot use classic compiler..." > > > > I've got the java2 sdk installed. The path to javac is in my > > path/classpath. I can type javac from any dir and it appears to be > > available. > > > > Searching thru the mail archives, I found a bug had been filed on this > exact > > problem, but on linux. Unfortunately, there was no > > fix/workaround/resolution. Here's a link to the bug: > > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > > > > > bash-2.03# ./build.sh > > Searching for build.xml ... > > Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml > > > > prepare: > > [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf > > > > tomcat: > > [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes > > > > BUILD FAILED > > > > /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic > > compiler, as > > it is not available > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > >
Re: problem building tomcat 3.2.1 on Solaris x86
Jennifer, You do not need the java/lib directories in your PATH. It should have directories with executables, not libraries. Question: When you run java -version, what do you get? Jennifer Dyess wrote: > > ok, I modified my classpath as you suggested: > /usr/java/jre/lib/ext/jaxp.jar:/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre > /lib/ext/jnet.jar:/usr/java/jre/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parse > r.jar:/usr/java/jre/lib/ext/ant.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/j > ava/lib/tools.jar:.: > > what should the path look like? Here's min: > :/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/java/bi > n:/usr/java/lib/:/usr/java/jre/lib > > But, I still get the same error msg :( > > -Original Message- > From: John Golubenko [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 10:54 AM > To: '[EMAIL PROTECTED]' > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > by the way, why do you have /usr/java/bin: xx/xx: in CLASSPATH? The > directories should be > in PATH, not CLASSPATH. The jars,or files should be in CLASSPATH (*.xx). > This may cause the problems. > > -Original Message- > From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 11:01 AM > To: [EMAIL PROTECTED] > Subject: RE: problem building tomcat 3.2.1 on Solaris x86 > > Thanks for the quick response! > > I'm running the Java 2 SDK Std Edition v 1.3 > > No, I did not have the tools.jar in my classpath. I just added it, but I > still get the same error. > Here's my classpath: > /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar > :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr > e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an > t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: > > Any other suggestions? > > -Original Message----- > From: Filip Hanik [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 10:28 AM > To: [EMAIL PROTECTED] > Subject: Re: problem building tomcat 3.2.1 on Solaris x86 > > what version of the SDK do you have? > also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? > > Filip > > ~ > Namaste - I bow to the divine in you > ~ > Filip Hanik > Software Architect > [EMAIL PROTECTED] > www.filip.net > - Original Message - > From: "Jennifer Dyess" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 14, 2001 10:35 AM > Subject: problem building tomcat 3.2.1 on Solaris x86 > > > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > > > I receive the error "cannot use classic compiler..." > > > > I've got the java2 sdk installed. The path to javac is in my > > path/classpath. I can type javac from any dir and it appears to be > > available. > > > > Searching thru the mail archives, I found a bug had been filed on this > exact > > problem, but on linux. Unfortunately, there was no > > fix/workaround/resolution. Here's a link to the bug: > > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > > > > > bash-2.03# ./build.sh > > Searching for build.xml ... > > Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml > > > > prepare: > > [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf > > > > tomcat: > > [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes > > > > BUILD FAILED > > > > /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic > > compiler, as > > it is not available > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > NOTICE: This communication may contain confidential or other privileged > information. If you are not the intended recipient, or believe that you > have received this communication in error, please do not print, copy, > retransmit, disseminate, or otherwise use the information. Also, please > indicate to the sender that you have
RE: problem building tomcat 3.2.1 on Solaris x86
ok, I modified my classpath as you suggested: /usr/java/jre/lib/ext/jaxp.jar:/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre /lib/ext/jnet.jar:/usr/java/jre/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parse r.jar:/usr/java/jre/lib/ext/ant.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/j ava/lib/tools.jar:.: what should the path look like? Here's min: :/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/java/bi n:/usr/java/lib/:/usr/java/jre/lib But, I still get the same error msg :( -Original Message- From: John Golubenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:54 AM To: '[EMAIL PROTECTED]' Subject: RE: problem building tomcat 3.2.1 on Solaris x86 by the way, why do you have /usr/java/bin: xx/xx: in CLASSPATH? The directories should be in PATH, not CLASSPATH. The jars,or files should be in CLASSPATH (*.xx). This may cause the problems. -Original Message- From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 11:01 AM To: [EMAIL PROTECTED] Subject: RE: problem building tomcat 3.2.1 on Solaris x86 Thanks for the quick response! I'm running the Java 2 SDK Std Edition v 1.3 No, I did not have the tools.jar in my classpath. I just added it, but I still get the same error. Here's my classpath: /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: Any other suggestions? -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:28 AM To: [EMAIL PROTECTED] Subject: Re: problem building tomcat 3.2.1 on Solaris x86 what version of the SDK do you have? also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net - Original Message - From: "Jennifer Dyess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 10:35 AM Subject: problem building tomcat 3.2.1 on Solaris x86 > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > I receive the error "cannot use classic compiler..." > > I've got the java2 sdk installed. The path to javac is in my > path/classpath. I can type javac from any dir and it appears to be > available. > > Searching thru the mail archives, I found a bug had been filed on this exact > problem, but on linux. Unfortunately, there was no > fix/workaround/resolution. Here's a link to the bug: > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > bash-2.03# ./build.sh > Searching for build.xml ... > Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml > > prepare: > [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf > > tomcat: > [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes > > BUILD FAILED > > /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic > compiler, as > it is not available > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] NOTICE: This communication may contain confidential or other privileged information. If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information. Also, please indicate to the sender that you have received this email in error, and delete the copy you received. Any communication that does not relate to official Columbia business is that of the sender and is neither given nor endorsed by Columbia. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: problem building tomcat 3.2.1 on Solaris x86
by the way, why do you have /usr/java/bin: xx/xx: in CLASSPATH? The directories should be in PATH, not CLASSPATH. The jars,or files should be in CLASSPATH (*.xx). This may cause the problems. -Original Message- From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 11:01 AM To: [EMAIL PROTECTED] Subject: RE: problem building tomcat 3.2.1 on Solaris x86 Thanks for the quick response! I'm running the Java 2 SDK Std Edition v 1.3 No, I did not have the tools.jar in my classpath. I just added it, but I still get the same error. Here's my classpath: /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: Any other suggestions? -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:28 AM To: [EMAIL PROTECTED] Subject: Re: problem building tomcat 3.2.1 on Solaris x86 what version of the SDK do you have? also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net - Original Message - From: "Jennifer Dyess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 10:35 AM Subject: problem building tomcat 3.2.1 on Solaris x86 > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > I receive the error "cannot use classic compiler..." > > I've got the java2 sdk installed. The path to javac is in my > path/classpath. I can type javac from any dir and it appears to be > available. > > Searching thru the mail archives, I found a bug had been filed on this exact > problem, but on linux. Unfortunately, there was no > fix/workaround/resolution. Here's a link to the bug: > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > bash-2.03# ./build.sh > Searching for build.xml ... > Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml > > prepare: > [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf > > tomcat: > [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes > > BUILD FAILED > > /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic > compiler, as > it is not available > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] NOTICE: This communication may contain confidential or other privileged information. If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information. Also, please indicate to the sender that you have received this email in error, and delete the copy you received. Any communication that does not relate to official Columbia business is that of the sender and is neither given nor endorsed by Columbia. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: problem building tomcat 3.2.1 on Solaris x86
Thanks for the quick response! I'm running the Java 2 SDK Std Edition v 1.3 No, I did not have the tools.jar in my classpath. I just added it, but I still get the same error. Here's my classpath: /usr/java/bin:/usr/java/lib:/usr/java/jre/lib:/usr/java/jre/lib/ext/jaxp.jar :/usr/java/jre/lib/ext/jcert.jar:/usr/java/jre/lib/ext/jnet.jar:/usr/java/jr e/lib/ext/jsse.jar:/usr/java/jre/lib/ext/parser.jar:/usr/java/jre/lib/ext/an t.jar:/usr/java/jre/lib/ext/servlet.jar:/usr/java/lib/tools.jar:.: Any other suggestions? -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:28 AM To: [EMAIL PROTECTED] Subject: Re: problem building tomcat 3.2.1 on Solaris x86 what version of the SDK do you have? also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net - Original Message - From: "Jennifer Dyess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 10:35 AM Subject: problem building tomcat 3.2.1 on Solaris x86 > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > I receive the error "cannot use classic compiler..." > > I've got the java2 sdk installed. The path to javac is in my > path/classpath. I can type javac from any dir and it appears to be > available. > > Searching thru the mail archives, I found a bug had been filed on this exact > problem, but on linux. Unfortunately, there was no > fix/workaround/resolution. Here's a link to the bug: > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > bash-2.03# ./build.sh > Searching for build.xml ... > Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml > > prepare: > [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf > > tomcat: > [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes > > BUILD FAILED > > /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic > compiler, as > it is not available > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: problem building tomcat 3.2.1 on Solaris x86
This problem comes up on the Ant (Ant is what is doing the build) mailing list somewhat frequently. It usually results in you adding the ant.jar file to the jdk/lib/ext directory. Otherwise, there is usually some jar file in there that the user added which make JavaC not work with ant any more. By the way, Tomcat is written in Java and distributed as .jar files, so you don't have to build it (you could if you want to, but its not necessary). Unless you want the latest from CVS. Randy -Original Message- From: Jennifer Dyess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 1:36 PM To: [EMAIL PROTECTED] Subject: problem building tomcat 3.2.1 on Solaris x86 I'm having a problem building TomCat v321 on a Solaris x86 intel box. I receive the error "cannot use classic compiler..." I've got the java2 sdk installed. The path to javac is in my path/classpath. I can type javac from any dir and it appears to be available. Searching thru the mail archives, I found a bug had been filed on this exact problem, but on linux. Unfortunately, there was no fix/workaround/resolution. Here's a link to the bug: http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html bash-2.03# ./build.sh Searching for build.xml ... Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml prepare: [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf tomcat: [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes BUILD FAILED /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic compiler, as it is not available - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: problem building tomcat 3.2.1 on Solaris x86
what version of the SDK do you have? also do you have $JAVA_HOME/lib/tools.jar in your CLASSPATH? Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net - Original Message - From: "Jennifer Dyess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 10:35 AM Subject: problem building tomcat 3.2.1 on Solaris x86 > I'm having a problem building TomCat v321 on a Solaris x86 intel box. > > I receive the error "cannot use classic compiler..." > > I've got the java2 sdk installed. The path to javac is in my > path/classpath. I can type javac from any dir and it appears to be > available. > > Searching thru the mail archives, I found a bug had been filed on this exact > problem, but on linux. Unfortunately, there was no > fix/workaround/resolution. Here's a link to the bug: > http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html > > > > bash-2.03# ./build.sh > Searching for build.xml ... > Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml > > prepare: > [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf > > tomcat: > [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes > > BUILD FAILED > > /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic > compiler, as > it is not available > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
problem building tomcat 3.2.1 on Solaris x86
I'm having a problem building TomCat v321 on a Solaris x86 intel box. I receive the error "cannot use classic compiler..." I've got the java2 sdk installed. The path to javac is in my path/classpath. I can type javac from any dir and it appears to be available. Searching thru the mail archives, I found a bug had been filed on this exact problem, but on linux. Unfortunately, there was no fix/workaround/resolution. Here's a link to the bug: http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04248.html bash-2.03# ./build.sh Searching for build.xml ... Buildfile: /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml prepare: [copy] Copying 1 files to /usr/pkgs/build/tomcat/conf tomcat: [javac] Compiling 217 source files to /usr/pkgs/build/tomcat/classes BUILD FAILED /usr/pkgs/jakarta-tomcat-3.2.1-src/build.xml:94: Cannot use classic compiler, as it is not available - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]