Hello;
An application I'm trying to support runs without error on Tomcat 4.1.24 on
Windows and Tomcat 4.0.3 on HPUX.
When attempting to have it run on Tomcat 5.0.28 on Windows one of the very
large JSP pages fails to compile:
Jul 27, 2005 3:02:46 PM org.apache.jasper.compiler.Compiler
Tomcat5 uses jasper 2 which does much better optimizations of handlng custom
tags. If you ahve a page with a lot of custom tags - it might not compile in
tomcat 4.
One alternative (but with a performance penalty) is to split some of the JSP
file into a run-time include (jsp:include).
-Tim
Thomas Tinnes wrote:
Hello,
Just a follow up to let you know how this got resolved.
First, thanks to all my respondents. It all helped.
I tried using ./buildconf.sh, but got the same result. The Rosetta Stone
came from Mladden when it was pointed out that the second value of
-DHAVE_APR hadn't a -I
Hello,
Just a brief epilog.
Yes, Mladen, that's exactly what I had to do, in the end. I was trying
to stay within the client's framework of crumbling, elderly programs
and not take apps forward (in version), but in the end it proved
impossible. It took four hours to compile the elderly Apache
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
[EMAIL PROTECTED] make
Making all in common
make[1]: Entering directory
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
/bin/sh /usr/bin/libtool --silent --mode=compile gcc
-I/usr/include/httpd -g -O2
From: Thomas Tinnes [mailto:[EMAIL PROTECTED]
Subject: Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include -g -O2
I think the problem is directly above: there's
Thomas Tinnes wrote:
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
Seems that the space is not a problem, but
you have a strange entry:
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include ...
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Subject: RE: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
P.S. I believe there should be a space before each -I, but it
may be optional.
Make that AFTER each -I.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
On Wed, 5 Jan 2005, Thomas Tinnes wrote:
Mladen,
No luck, alas. Same error. But thank you for the pointer, all the same.
[EMAIL PROTECTED] make
Making all in common
make[1]: Entering directory
file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 1
make[1]: Leaving directory
was to go to each Makefile (./common, ./apache-1.3,
./apache-2.0) and just vi and add the missing -I.
It seems to have compiled and installed fine.
Thanks, again, to all.
_tom
On Jan 4, 2005, at 9:16 PM, Thomas Tinnes wrote:
Hello,
Getting a compile error I'm having trouble understanding.
Here's my
Hello,
Getting a compile error I'm having trouble understanding.
Here's my setup:
Installing jakarta-tomcat-connectors-1.2.8-src.tar.gz from the Jakarta
site.
On a Linux Red Hat Enterprise 3 (Taroon) on an i386 arch i686 cpu.
I'm using gcc version 3.4.3 20041212 (Red Hat 3.4.3-10).
There's
Thomas Tinnes wrote:
make[1]: Entering directory
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
-D_GNU_SOURCE -I /usr/local/java/include -I /usr/local/java/include/ -c
jk_ajp12_worker.c
Perhaps the error is caused by space between -I and /usr/local/java
Have no idea why this
: Tomcat 5.5.4, JDK1.5.0 and JSP compile error
I don't think I tried that yet. I'll do that when I get back from the
Thanksgiving holiday.
Thanks for the suggestions!
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday
We recently tried to upgrade from Tomcat 5.0.25 and JDK 1.4.1 to Tomcat
5.5.4 and JDK 1.5.0 (aka 5.0) and have been successful except for our JSPs.
Even a simple test HelloWorld JSP generates the following error:
--
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated
Just a wild stab here but did you accidentally copy over any of the old
jars from TC4x.. like servlet.jar, jasper-runtime.jar, or
jasper-compiler.jar?
On Wed, 2004-11-24 at 18:15, Pat Osterday wrote:
We recently tried to upgrade from Tomcat 5.0.25 and JDK 1.4.1 to Tomcat
5.5.4 and JDK 1.5.0
5.5.4, JDK1.5.0 and JSP compile error
Just a wild stab here but did you accidentally copy over any of the old
jars from TC4x.. like servlet.jar, jasper-runtime.jar, or
jasper-compiler.jar?
-
To unsubscribe, e-mail: [EMAIL
On Wed, 2004-11-24 at 20:17, wasted wrote:
Nope. It's a clean install - and I just looked at the common/lib on both
directories (5.0 and 5.5) and they are different.
And you don't have any of those libraries in your app?
WEB-INF/lib
Subject: Re: Tomcat 5.5.4, JDK1.5.0 and JSP compile error
On Wed, 2004-11-24 at 20:17, wasted wrote:
Nope. It's a clean install - and I just looked at the common/lib on
both
directories (5.0 and 5.5) and they are different.
And you don't have any of those libraries in your app?
WEB-INF
, JDK1.5.0 and JSP compile error
On Wed, 2004-11-24 at 20:17, wasted wrote:
Nope. It's a clean install - and I just looked at the common/lib on
both
directories (5.0 and 5.5) and they are different.
And you don't have any of those libraries in your app?
WEB-INF/lib
, JDK1.5.0 and JSP compile error
Have you tried compiling a helloworld.jsp with a fresh install (before
deploying your app) to make certain that the problem is not with Tocmat?
It sounds to me like it's finding the wrong jasper classes somewhere
Check out the archives for tomcat-dev and bugzilla. There have been compile
gotchas with respect to 5.5 and JDK5.0
Otherwise - the logs should have (localhost_log_XXX.txt) - should have more
detail.
-Tim
Vic Cekvenich wrote:
I hava JAVA_HOME, tools.jar in common and permisions. I am running on
Thanks Tim, but this is 5.029.
You can see it here:
http://boardvu.com/roller
Any additional hints?
.V
Tim Funk wrote:
Check out the archives for tomcat-dev and bugzilla. There have been
compile gotchas with respect to 5.5 and JDK5.0
Otherwise - the logs should have (localhost_log_XXX.txt) -
Tomcat's error page to the web shows less detail than the logs. Look at the logs.
-Tim
Vic Cekvenich wrote:
Thanks Tim, but this is 5.029.
You can see it here:
http://boardvu.com/roller
Any additional hints?
.V
-
To unsubscribe,
]
Subject: Re: jsp java compile error on v5
Thanks Tim, but this is 5.029.
You can see it here:
http://boardvu.com/roller
Any additional hints?
.V
Tim Funk wrote:
Check out the archives for tomcat-dev and bugzilla. There have been
compile gotchas with respect to 5.5 and JDK5.0
Otherwise
I hava JAVA_HOME, tools.jar in common and permisions. I am running on a
JDK1.5 64 bit for Redhat3.
I installed jRoller but it says it can't copile the jsp.
Hints?
Here is the error.
.V
description The server encountered an internal error () that prevented
it from fulfilling this request.
Howdy,
I am using Eclipse 3.0 and Lomboz 30RC2 and TC4.1.27 developing webapp,
I indicate eclipse to put classes of Javabeans to
mywebapp/WEB-INF/classes.
(mywebapp is already deployed by a xml file in directory $TC$/webapps)
Every time when I recompiled the JavaBeans' file, TC told me the
Does anyone know how to get jspc to display compile
errors it encounters when compiling a jsp to a .java
file? I haven't been able to get it to work with
4.1.18 or 5.0.19. I've looked through the source code
for JspC and it seems like it should be throwing
JasperExceptions if it encounters an
Here's an update:
I ran this by hand on a command line without -verbose
for java but with the option
-Dorg.apache.commons.logging.simplelog.defaultlog=debug
for JspC and this is all I got for output:
2004/06/04 14:38:16:043 PDT [INFO] JspC - -uriRoot
implicitly set to
This part looks suspicious:
2004-04-14 03:13:48 ContextConfig[]: Missing
application web.xml, using defaults only
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi, my name is Aulia. I have a weird problem here. When I try to run JSP and if the
page has some errors. It displayed error messages. But, right now...when I compile it,
and if it has a compilation error, it does not display any message of error
specification but does display a page saying
Either:
1) get the HTMLManagerServlet.java file from 4.1.27
2) look in the CVS, and apply the patch to your copy
3) get commons-fileupload-B1
David Kramer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Im trying to compile tomcat 4.1.24 from source and Im receiving the below
error:
I was using Tomcat 4.0.6 and everything was working fine. when I moved
to tomcat 4.1.24, while compiling some of java files generated after
compiling jsps, tomcat throws compile error : package a.b.c.d not
found. Other java files have import for a.b.c and tomcat does not
complain about them
compile error issue with commons-fileupload
Im trying to compile tomcat 4.1.24 from source and Im receiving the
below
error:
[javac] Compiling 46 source files to
/opt/tomcat/catalina/build/server/classes
[javac] This version of java does not support the classic compiler;
upgrading to modern
Im trying to compile tomcat 4.1.24 from source and Im receiving the below
error:
[javac] Compiling 46 source files to
/opt/tomcat/catalina/build/server/classes
[javac] This version of java does not support the classic compiler;
upgrading to modern
[javac]
I am new to the User form, and am having a problem and noticded that you
seem to have allot of experince and knowledge. I have installed the Java
1.4.0 and Tomcat 4.1.24. Took all the defaults. Got the usual error(see
below), could
not compile JSP, either the Admin Tool or sample code. Tried the
Have your seen?
http://jakarta.apache.org/tomcat/faq/misc.html#compile
Others have also had to add $JAVA_HOME/bin to their $PATH before starting tomcat.
-Tim
[EMAIL PROTECTED] wrote:
I am new to the User form, and am having a problem and noticded that you
seem to have allot of experince and
Users List
Subject: Tomcat-Apache JSP compile error
Hello,
I'm having a problem compiling JSPs dynamically when using mod_jk2.
When I change a JSP file and try to access it I get the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line
http://jakarta.apache.org/tomcat/faq/misc.html#compile
-Tim
Atreya Basu wrote:
Hello,
I'm having a problem compiling JSPs dynamically when using mod_jk2.
When I change a JSP file and try to access it I get the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
(at) greenfieldresearch (dot) ca
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: July 4, 2003 9:04 AM
To: Tomcat Users List
Subject: Re: Tomcat-Apache JSP compile error
http://jakarta.apache.org/tomcat/faq/misc.html#compile
-Tim
Atreya Basu wrote:
Hello,
I'm having
Hello,
I'm having a problem compiling JSPs dynamically when using mod_jk2.
When I change a JSP file and try to access it I get the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
Tim Funk wrote:
Look at build.properties (or build.properties.default) and override as
needed.
build.properties fixed the /usr/local/LICENSE problem, but I don't see
anything that would fix the compile errror,
getInstance(java.util.Properties,javax.mail.Authenticator) in
javax.mail.Session
Tim Funk wrote:
Look at build.properties (or build.properties.default) and override as
needed.
build.properties fixed the /usr/local/LICENSE problem, but I don't see
anything that would fix the compile errror,
getInstance(java.util.Properties,javax.mail.Authenticator) in
javax.mail.Session
I'm using the 1.4.2 SDK:
tgagne:/home/tgagne which javac
/opt/j2sdk_nb/j2sdk1.4.2/bin/javac
Are you suggesting I need to download a new/different jar file?
Tim Funk wrote:
Do you have the right jar file for javax.mail.Session?
I downloaded javamail-1.3, added it and its /lib to my CLASSPATH, and
ant still complains. Perhaps I'm supposed to install it somewhere else?
It almost appears as if the problem is inside the Jakarta directory
somehwere.
build-catalina-optional:
[javac] Compiling 1 source file to
(props) causes catalina compile error
I downloaded javamail-1.3, added it and its /lib to my CLASSPATH, and
ant still complains. Perhaps I'm supposed to install it somewhere else?
It almost appears as if the problem is inside the Jakarta directory
somehwere.
build-catalina-optional
Phillip Qin wrote:
Looks like you are build tomcat. Am I correct? Read building.txt carefully.
It tells you which package you need to download and *unpack*.
Yes, I'm trying to build Tomcat. I want to explore JSP and servlet
programming in Java.
The instructions I was following are from
catalina compile error
Phillip Qin wrote:
Looks like you are build tomcat. Am I correct? Read building.txt carefully.
It tells you which package you need to download and *unpack*.
Yes, I'm trying to build Tomcat. I want to explore JSP and servlet
programming in Java.
The instructions I
need to build tomcat from source. Download a binary
distribution, install it, then explore the examples.
-Original Message-
From: Thomas Gagné [mailto:[EMAIL PROTECTED]
Sent: July 2, 2003 11:20 AM
To: Tomcat Users List
Subject: Re: Session.getInstance(props) causes catalina compile error
Hi gang,
I'm seeking leads into what this error is telling me:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1
Hi.
I am trying to use an embedded tomcat servlet container (version 4.1.10) and
experience some problems when I try to load JSPs.
In my class TomcatService I create an instance of
org.apache.catalina.startup.Embedded. On that I create an engine, a root context, a
host and a connector and then
Did u include tools.jar in ur classpath?
- Original Message -
From: trellis01 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 6:17 AM
Subject: jsp compile error with embedded tomcat
Hi.
I am trying to use an embedded tomcat servlet container (version 4.1.10
Hi all, here is the error I get...
C:\Java\JCreator LE\MyProjects\Email\Email.java:16: cannot access ServletConfig
bad class file: C:\Java\servlet-2_3\javax\servlet\ServletConfig.class
class file contains wrong class: javax.servlet.ServletConfig
Please remove or make sure it appears in the correct
List [EMAIL PROTECTED]
Sent: Thursday, January 23, 2003 4:35 PM
Subject: Compile error: class file contains wrong class, bad class file???
Hi all, here is the error I get...
C:\Java\JCreator LE\MyProjects\Email\Email.java:16: cannot access
ServletConfig
bad class file: C:\Java\servlet-2_3\javax
Hi,
My web application works with Tomcat3.3 but not with 4.0.2. I have jdkv1.2.2
installed.
Please could you tell me how to resolve this problem?? The error is as shown
below.
Do reply.
Thanks
Sony .
--
Apache Tomcat/4.0.4-b2 - HTTP Status 500 -
us and what lies before us are tiny matters compared to
what lies within us - Emerson
-Original Message-
From: Varghese, Sony [SMTP:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 2:07 PM
To: [EMAIL PROTECTED]
Subject: JSP compile Error. Tomcat 4.0.4
Hi,
My web
The 'application' variable is only defined within the definition of the
'_jspservice' method. And, this is how it should be. To get what you want
you need:
%!
public void contextInitialized(ServletContextEvent sce) {
// Relying on the fact that Jasper's base class extends GenericServlet
Hello,
In my servlet to be started on server load, why may I not define
the application thus:
public void contextInitialized(ServletContextEvent sce) {
Hashtable style_index = new Hashtable();
style_index.put(element1, ONE);
style_index.put(element2, TWO);
Which symbol is it saying that it cannot resolve?
[EMAIL PROTECTED] wrote:
Hello,
In my servlet to be started on server load, why may I not define
the application thus:
public void contextInitialized(ServletContextEvent sce) {
Hashtable style_index = new Hashtable();
);
style_index.put(element2, TWO);
application.setAttribute(style_index, style_index); // compile error
}
public void contextDestroyed(ServletContextEvent sce){
// Notification that the servlet context is about to be shut down
}
}
thanks
ServletContextListener
{
public void contextInitialized(ServletContextEvent sce) {
Hashtable style_index = new Hashtable();
style_index.put(element1, ONE);
style_index.put(element2, TWO);
application.setAttribute(style_index, style_index); // compile error
}
public void contextDestroyed
(ServletContextEvent sce) {
Hashtable style_index = new Hashtable();
style_index.put(element1, ONE);
style_index.put(element2, TWO);
application.setAttribute(style_index, style_index); // compile error
}
public void contextDestroyed(ServletContextEvent sce){
// Notification
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Re: servlet startup compile error
You must declare what is application, this is fine in jsp as this is
made available to all jsp, like session.setAttribute stuff.
[EMAIL PROTECTED] wrote:
I am editing
I am trying to compile servlets using JCreator, but it isn't working. I keep
getting told that javax.servlet does not exist. I've added servlet.jar to
the classpath, but nothing has changed. What else should I do?
_
Unlimited
I just installed Tomcat on my server and I am trying to run a test page. I
created a new jsp file in the directory:
C:\Tomcat\jakarta-tomcat-4.1.12\webapps\ROOT
The only code I put on this page was:
% new java.util.Date() %
I got the following error:
It should be %=new java.util.Date();%
Andy
-Original Message-
From: Tumy, Brad [mailto:TumyB;Pragmatics.com]
Sent: 30 October 2002 17:37
To: 'Tomcat Users List'
Subject: compile error?
I just installed Tomcat on my server and I am trying to run a test page. I
created a new jsp file
If you want to see the date you must do
% java.util.Date() date = new java.util.Date(); %
%= date %
-Original Message-
From: Tumy, Brad [mailto:TumyB;Pragmatics.com]
Sent: Wednesday, October 30, 2002 12:37 PM
To: 'Tomcat Users List'
Subject: compile error?
I just installed
sorry to waste your time...I just noticed that I was missing the equals sign
after the %
obviously a new guy???!?! :)
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
: [EMAIL PROTECTED] [mailto:pqin;shareowner.com]
Sent: Wednesday, October 30, 2002 10:40 AM
To: [EMAIL PROTECTED]
Subject: RE: compile error?
Missing = at the beginning and ; at the end.
Regards,
Phillip Qin
Software Developer
Canadian Shareowner
121 Richmond
Hi,
I am using Tomcat4.0.4, jdk1.4. I have a simple jsp file like this
package org.apache.jsp;
import javax.servlet.*;
import java.sql.*;
import java.util.Vector;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
] [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 23. September 2002 17:48
An: [EMAIL PROTECTED]
Betreff: Tomcat 4.1.10 - JSP Compile Error
BTW - If I copy my wws2Java directory to the tomcat webapps
directory on c-drive
everything works - except for the following error:
Generated servlet error
: Re: Tomcat 4.1.10 - JSP Compile Error
Hi,
I've a similar problem with tomcat 4.1.10. I've stored all my JSP's in
%Tomcat_Home%/webapps/ and the class-files (which belong to the package
tracking) in %TOMCAT_Home%/webapps/Web-inf/classes/tracking. When Tomcat
tries to compile a JSP that wants to use
-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 24. September 2002 10:21
An: Tomcat Users List
Betreff: Antwort: AW: Tomcat 4.1.10 - JSP Compile Error
Thanks a lot. I installed Tomcat 4.1.12 (could not find
4.1.11) and now my jsp pages compile.
Jsp-Destroy:
I saw
Ralph Einfeldt wrote:
4.1.11 Has been announced last friday as test milestone:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.11/
I did't recommend 4.1.12 as it isn't announced yet, so I don't
know which state it has.
I think you are right with the jspDestroy().
Yes,
- JSP Compile Error
Yes, he's definitely right. You can file a bug.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
letters only.
Best regards,
Gunter
Sven Hoffmann [EMAIL PROTECTED] am 24.09.2002 02:01:28
Bitte antworten an Tomcat Users List [EMAIL PROTECTED]
An:Tomcat Users List [EMAIL PROTECTED]
Kopie:
Thema: Re: Tomcat 4.1.10 - JSP Compile Error
Hi,
I've a similar problem with tomcat 4.1.10
Hi,
I have installed Tomcat 4.1.10 on C:\Tomcat41. I have an application which
is on d:\appdir\wws2Java.
The CATALINA_HOME is set to C:\Tomcat41
CATALINA_BASE is not set.
I set the context Section in server.xml as follows:
!Context path=/wws2Java
Hi,
I've a similar problem with tomcat 4.1.10. I've stored all my JSP's in
%Tomcat_Home%/webapps/ and the class-files (which belong to the package
tracking) in %TOMCAT_Home%/webapps/Web-inf/classes/tracking. When Tomcat
tries to compile a JSP that wants to use a Java class I get the following
I've already posted my issue a few days later, but there were no answers, so,
please if you can tell me, if anybody had such a trouble with a JSP page, that
the page did not compile once in every 10 attempts with dozens of variable
might not ahve been initialised errors. Normally the page
Yes, we also experience that problem, but only during development, when we
are updating/changing pages. In a stable environment this didn't happen so
far...
Unfortunately I don't have a solution for the problem.
Mario
At 11:34 30-8-02 +0300, you wrote:
I've already posted my issue a few days
Hi,
I'm new to the list, so please forgive me if
i'm posting an already answered issue (although i did not
find it in the archive)
My problem :
I've built a quite huge web app based on JSP pages,
and there is a page which SOMETIMES does not get compiled.
It happens once or twice form 10
Subject: Re: strange jsp compile error in tomcat4.1.8
From: Torgeir Veimo [EMAIL PROTECTED]
===
Bump!
This is a real problem for me. Are there noone else who have seen this
problem?
Torgeir Veimo wrote:
I see this strange compilation error when using struts nested tag libs
and jsp:include
Subject: Re: strange jsp compile error in tomcat4.1.8
From: Torgeir Veimo [EMAIL PROTECTED]
===
Torgeir Veimo wrote:
Bump!
This is a real problem for me. Are there noone else who have seen this
problem?
Torgeir Veimo wrote:
I see this strange compilation error when using struts
Subject: strange jsp compile error in tomcat4.1.8
From: Torgeir Veimo [EMAIL PROTECTED]
===
I see this strange compilation error when using struts nested tag libs
and jsp:include on the latest tomcat test;
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred
:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:19 PM
To: Tomcat Users List
Subject: Re: mod_jk compile error
This is one file you will have to edit. The problem is not with
jk_jni_worker.c but rather with jni.h. Line 27 (if you are using
j2sdk1.4.0) of jni.h which is located
.
-Original Message-
From: Mark Pelillo [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 9:19 PM
To: Tomcat Users List
Subject:Re: mod_jk compile error
This is one file you will have to edit. The problem is not with
jk_jni_worker.c but rather with jni.h
This is one file you will have to edit. The problem is not with
jk_jni_worker.c but rather with jni.h. Line 27 (if you are using
j2sdk1.4.0) of jni.h which is located in JAVA_HOME/include needs to be
modified to be architecture/jni_md.h. Change architecture to meet
your systems need. For linux
Todd,
The tools.jar file in the /lib directory of your Tomcat install needs to
be replaced with the tools.jar file from your 1.4.0 JDK.
~Scott
Ganey, Todd wrote:
I know this has been posted before, but I either missed or there was no
solution posted on how to correct the JSP compile error
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 5:54 PM
To: '[EMAIL PROTECTED]'
Subject: JSP compile error when switching JDK to 1.4.0
I know this has been posted before, but I either missed or
there was no
solution posted on how to correct the JSP compile error when
you
the JDK instead of accessing the file where it is? Just
wondering.
Again, thank you very much
Todd
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 7:11 AM
To: 'Tomcat Users List'
Subject: RE: JSP compile error when switching JDK to 1.4.0
Based
-Original Message-
From: Ganey, Todd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 11:38 AM
To: 'Tomcat Users List'
Subject: RE: JSP compile error when switching JDK to 1.4.0
Bingo!! While the only javac.exe on my machine is for jdk1.4.0 the
tools.jar was out
I know this has been posted before, but I either missed or there was no
solution posted on how to correct the JSP compile error when you switch JDKs
from (in my case) 1.3.02 to 1.4.0 in Jakarta TC 4.0.3 on a Windows 2000 or
ME machine.
after installing the new JDK, pointing references to the new
)
Second, the may be issues involving the use of multiple class loaders (??)
Hope this helps!
-Original Message-
From: Will England [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:11 PM
To: [EMAIL PROTECTED]
Subject: JSP compile error - class not found
Greetings
compile error - class not found
Greetings!
Tried copying tools.jar to the TOMCAT_HOME/lib directory. Didn't help.
Set TOMCAT_HOME and JAVA_HOME vars. Didn't help.
Any other ideas?
--
/~'find `funny quote`': Command not found; humor not installed.
1986 Concours 72,xxx 1982 Maxim 12,xxx
Greetings!
Running tomcat 3.2 on Sun 2.7
Porting a working application from 3.1. All jsp's and servlets work under
3.1.
Running multiple virtual machines under one Tomcat with the host
parameter in server.xml.
The JSPs are failing to compile --
org.apache.jasper.JasperException: Unable to
:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:11 PM
To: [EMAIL PROTECTED]
Subject: JSP compile error - class not found
Greetings!
Running tomcat 3.2 on Sun 2.7
Porting a working application from 3.1. All jsp's and servlets work under
3.1.
Running multiple virtual machines under one Tomcat
Hi,
I have installed jaxp-1.0.1 in /usr/local/jaxp-1.0.1. I have set
CLASSPATH=/usr/local/jaxp-1.0.1 in my /etc/profile file. When I type
./build.sh in the tomcat directory I get the following:
Buildfile: build.xml
BUILD FAILED
No JAXP compliant XML parser found. See http://java.sun.com/xml
Hi all
I cannot compile the java program with the program header start with
import java.io.*
import javax.servlet.*;
import javax.servlet.http.*;
during the compilation, it stops with error at the above statement.
I have make sure the classes are set under the correct path.
Thanks!
Denis,
may be typo. You do not have semi-colon on the first line. after import
java.io.*
anil
Denis wrote:
Hi all
I cannot compile the java program with the program header start with
import java.io.*
import javax.servlet.*;
import javax.servlet.http.*;
during the compilation, it
Hi,
We have tried theexample of Tomcat:
D:\foo\tomcat\webapps\examples\WEB-INF\classes\cal\TableBean.java
After the compling, the error message shows following:
D:\foo\tomcat\webapps\examples\WEB-INF\classes\cal\TableBean.java:62: Package javax.servlet.http not found in import.import
Subject: beginner needs help(Compile error)
Dear Helper,
I am running the application fine with the following commands...
set TOMCAT_HOME=e:\foo\jakarta-tomcat-3.2.1
set JAVA_HOME=e:\jdk1.3
cd jakarta-tomcat-3.2.1\bin
startup
cd ..
cd doc
cd appdev
cd sample
The above outputs
1 - 100 of 111 matches
Mail list logo