. This seems quite odd
since the above messages seem to indcate that
everything went fine. Is this a bug in the JspC
compiler for 5.0.19?
Jason
--- Jason Palmatier [EMAIL PROTECTED] wrote:
Does anyone know how to get jspc to display compile
errors it encounters when compiling a jsp to a .java
.java and .class file. So I have two questions:
1. Is there a way to see the exact command syntax that
Tomcat uses to compile the JSP (classpath and all)?
I'm assuming it doesn't used the jspc.sh script since
that is what I'm using to precompile it and it keeps
failing.
2. Is there another way
referred to in the post you quote has since been fixed. The
rest of the post talks about the poster's own errors in setting up
commons-logging.
1. Is there a way to see the exact command syntax that
Tomcat uses to compile the JSP (classpath and all)?
I'm assuming it doesn't used the jspc.sh script since
Hi Yoav,
Thanks for the reply. I'm stuck using 4.1.18 so the
bug still applies to me :). However I did take my
webapp code and copy it into a 5.0.19 install I had
laying around. I then ran the compile under 5.0.19
and saw that no 0 length java file was created (this
version must have the bug
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar
from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat
restart.
If using
into web-inf/lib, or anywhere else, for that
matter.
Here is the problem:
2004-05-22 02:25:00 StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated
Thanks for all help Yoav, QM, and Filip. It turns out that the
jsp-api.jar was the jar I needed to have on the classpath. The
confusing thing is that I had the directory that it was in on the class
path (eg. $CATALINA_HOME/common/lib) but my HelloTag.java still would
not compile. It was only
On Thu, May 20, 2004 at 10:02:27AM -0400, Zollinhofer, Matt wrote:
: So, it works, but I don't really understand the necessity of having the
: particular jar file on the classpath.
Is this a confusion of
class directories vs JAR files
or
webapp class search paths
?
JAR files and
Right, class dir = exploded jar, I follow you there. Let me lay out the
situation a little better. I'm trying to compile HelloTag.java. My
classpath initially was set to this: /Users/matt/development/java:.
So, I realize, the jar files I need (jsp-api.jar, included in tomcat
distro
to the environment variable
APACHE2_HOME), and 'mssdk.home' (defaults to the default install directory
of MSVC 6).
Sergio [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello, users. How should I compile mod_jk2 on Windows 2003 EEServer? I've
downloaded ant, then i've
downloaded jars
compile
HelloTag.java, but it broke other parts of tomcat (the examples that come with the
standard installation of Tomcat stopped working).
---Error---
HelloTag.java:3: package javax.servlet.jsp does not exist
import javax.servlet.jsp.JspException;
HelloTag.java:4: package
that's on your classpath but not on any other
application's classpath.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Zollinhofer, Matt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 4:02 PM
To: Tomcat Users List
Subject: tag library compile
I get
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 4:12 PM
To: Tomcat Users List
Subject: RE: tag library compile
Hi,
Did you put the same version of servlet.jar on the classpath as the
version that ships with tomcat? However, you should not put
Hi,
Would the servlet.jar be in the $CATALINA_HOME directory stucture, or
does the installer put it elsewhere on the system? I ask because I
For tomcat 5, it's $CATALINA_HOME/common/lib/servlet-api.jar. For
tomcat 4, it's $CATALINA_HOME/commons/lib/servlet.jar. The name change
is related to
To: Tomcat Users List
Subject: RE: tag library compile
Hi,
Would the servlet.jar be in the $CATALINA_HOME directory stucture, or
does the installer put it elsewhere on the system? I ask because I
For tomcat 5, it's $CATALINA_HOME/common/lib/servlet-api.jar. For
tomcat 4, it's $CATALINA_HOME
On Tue, May 18, 2004 at 05:33:31PM -0400, Zollinhofer, Matt wrote:
: Thanks for that clarification, unfortunate name change, but it's helpful
: to hear that. With servlet-api.jar on the classpath I shouldn't have
: any problems compiling with these imports right?
:
: import
Hello, users. How should I compile mod_jk2 on Windows 2003 EEServer? I've downloaded
ant, then i've
downloaded jars and archives mentioned in build.xml. Then I run ant in
the directory with source. then-nothing happens. no errors, no
messages. Just empty string. I have ANT_HOME and in PATH i have
QM, thanks for the response but I decided to start from scratch using some
notes that I took down the last time I got this working. I've gotten a
lot further this time but I'm having a small problem that I'm about to
post to the list.
Chris
: Binary file
Tomcat 4.1.30
Apache 2.0.46
Red Hat Enterprise Linux ES 3.0
I'm having a problem getting Tomcat to work on Red Hat ES 3.0. The
examples that come with Tomcat are failing with 500 Internal Server
Errors...
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred
:
/usr/local/jakarta-tomcat-4.1.30-LE-jdk14/work/foo/surge.foo.net/_/examples/jsp/num/numguess_jsp.java:7:
: package num does not exist
: import num.NumberGuessBean;
Where is the class file NumberGuessBean, or the JAR file that contains
it?
-QM
--
software -- http://www.brandxdev.net
tech
=session/
[EMAIL PROTECTED]:/usr/local/applications/tomcat-4.1.30$
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:06 PM
To: Tomcat Users List
Subject: Re: unable to compile class for JSP
:
/usr/local/jakarta-tomcat-4.1.30-LE-jdk14/work/foo
sorry, I mean to add to that last email, speaking to Chris:
This is where you *should* find them.
;)
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:06 PM
To: Tomcat Users List
Subject: Re: unable to compile class for JSP
:
/usr/local
I don't really know anything about Java, I'm setting this up to get Citrix
NFuse working, which I have done before in the past. This is basically a
default installation of Tomcat, the only things I've changed are slight
modifications to server.xml, and I created the conf/jk/workers.properties
Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:06 PM
To: Tomcat Users List
Subject: Re: unable to compile class for JSP
:
/usr/local/jakarta-tomcat-4.1.30-LE-jdk14/work/foo/surge.foo.n
et/_/examples/jsp/num/numguess_jsp.java:7:
: package num does not exist
On Wed, May 12, 2004 at 03:18:45PM -0400, Chris Purcell wrote:
: Binary file webapps/examples/WEB-INF/classes/num/NumberGuessBean.class
So far, so good.
Next step: what are the perms on the class file, and all dirs leading up
to it? Is everything accessible to the tomcat user?
The short
this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from
the JDK
to the common/lib directory of the Tomcat server
I'm having some comilation errors when trying to compile mod_jk and Solaris 9 for
Apache 1.3. Does anyone know if there is a binary or pointers on compiling? I keep
getting the following errors when attempting to compile:
gcc: unrecognized option `-Xa'
gcc: language ildoff not recognized
Any
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]
for your time
exception
org.apache.jasper.JasperException: Unable to compile
class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:559)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291
.
:: -Original Message-
:: From: Linda Smith [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 04, 2004 10:08 PM
:: To: [EMAIL PROTECTED]
:: Subject: Unable to compile class for JSP
::
::
:: I have included at the end of the message the
:: exception I get when following the JSP page link
note: using Tomcat 5.0.19
my files: Test.jsp
htmlbody
h2Welcome/H2
BR
h1
FORM TYPE=POST ACTION=web_search.SServlet
INPUT type=submit name=operation value=search
/FORM
/H1
/body/html
and Search.jsp
htmlhead
titleSearch page/TITLE
body
h2Welcome/H2
BR
h1
FORM TYPE=POST ACTION=web_server.SServlet
can correct and delete the original
email. Thank you.
:: -Original Message-
:: From: Linda Smith [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 04, 2004 11:06 PM
:: To: Tomcat Users List
:: Subject: RE: Unable to compile class for JSP
::
:: note: using Tomcat 5.0.19
::
:: my files
On Thu, Apr 01, 2004 at 06:40:24PM +0100, Dale, Matt wrote:
I think that using JK2 with apache 1.3 is unsupported and that you
should either use the JK connector or upgrade to apache 2.
Is this correct? I'm planning to use mod_jk2 with Apache 1.3.29 and Tomcat
4.1.29 in a production environment
hi all again :D
I am trying to build tomcat connector 2.0.4 from source.
I've read maby howto etc, but i didn't succeed.
I installed apache 2.0.49 with --enable-so option
Also tomcat 5.0.19. I am working on RH 9.
I installed apr 0.9.4 in /usr/local/apr-0.9.4 and apr-util in
see http://www.connecties.com/cymulacrum/tomcat5/book1.html if you need any more help
Ta
Matt
-Original Message-
From: Giorgio Ponza [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 15:53
To: Tomcat Users List
Subject: AGAIN jk2 2.0.4 compile
hi all again :D
I am trying to build tomcat
I cut and paste that from the command line, remember to take out the at the
beginning of the lines
-Original Message-
From: Dale, Matt
Sent: 01 April 2004 16:48
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: AGAIN jk2 2.0.4 compile
I just did this today, look for the apr libs
Dale, Matt ha scritto:
I just did this today, look for the apr libs in /usr/local/apache/lib directory and
complile with
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-apr-lib=/usr/local/apache/lib \
--with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \
compile
Dale, Matt ha scritto:
I just did this today, look for the apr libs in /usr/local/apache/lib directory and
complile with
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-apr-lib=/usr/local/apache/lib \
--with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \
--with-java-home
]
Sent: 01 April 2004 17:02
To: Tomcat Users List
Subject: Re: AGAIN jk2 2.0.4 compile
Dale, Matt ha scritto:
I just did this today, look for the apr libs in /usr/local/apache/lib directory and
complile with
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-apr-lib=/usr/local/apache/lib
I think that using JK2 with apache 1.3 is unsupported and that you should either use
the JK connector or upgrade to apache 2.
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 18:04
To: Tomcat Users List
Subject: Re: AGAIN jk2 2.0.4 compile
I have
that using JK2 with apache 1.3 is unsupported and that you should either use the JK connector or upgrade to apache 2.
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 18:04
To: Tomcat Users List
Subject: Re: AGAIN jk2 2.0.4 compile
I have apache 1.3, do
will have to look into the jni stuff that
someone else mentioned.
-walter
From: Giorgio Ponza [EMAIL PROTECTED]
Subject: AGAIN jk2 2.0.4 compile
Date: Thu, 01 Apr 2004 16:53:05 +0200
hi all again :D
I am trying to build tomcat connector 2.0.4 from source.
I've read maby howto etc, but i didn't
Is there any reason that you are not using the JK2 connector, as it was written for
apache 2?
-Original Message-
From: Salvador Santander Gutierrez [mailto:[EMAIL PROTECTED]
Sent: 31 March 2004 08:49
To: Tomcat List
Subject: I can´t compile the jk connector source for apache 2.0.40
to compile a JK2 connector on Tru64 :
Hello, blood brother :-) I compiled it on Tru64 UNIX 4.0D
You're not missing anything. The JK2 code is making an assumption of
what va* (variable argument list) implementation looks like. It
could be that on most other systems (or should I say, C compiler
Eulogio Robles wrote:
You are right, it worked... almost :-)
I get this error :
libtool: install: warning: remember to run `libtool --finish
/usr/local/apache2/modules'
/sbin/cp
../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
../../../build/jk2/apache2/mod_jk2.so
cp:
I'm trying to compile a JK2 connector on Tru64 :
I cd to /usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make
I get this :
/bin/ksh /usr/local/apache2/build/libtool --silent --mode=compile cc
-g -pthread-DOSF1 -I
Eulogio Robles wrote:
I'm trying to compile a JK2 connector on Tru64 :
Hello, blood brother :-) I compiled it on Tru64 UNIX 4.0D
I cd to /usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make
I get this :
/bin/ksh /usr/local
I'm trying to compile the source of jk connector 1.2.5 in a RedHat 9.0 with
apache 2.0.40 and tomcat 4.1.24. I've installed all required (httpd-devel
and all the developing tools) and I do:
./builconf.sh
./configure --with-apxs=/usr/sbin/apxs
./make
all goes well but then make gives some errors
);) on to a jsp page.
As you know there is no default constructor for this object (new
Boolean()). In previous versions of Tomcat, well 5.0.16 and less,
this didnt become a problem, as long as the Boolean was not null. In
5.0.19 the jsp compile throws an error because it includes code to
make a new
there is no default constructor for this object (new
Boolean()). In previous versions of Tomcat, well 5.0.16 and less, this
didnt become a problem, as long as the Boolean was not null. In 5.0.19
the jsp compile throws an error because it includes code to make a new
object were it null
Sehr geehrte Damen und Herren
Wir haben Ihre Nachricht dankend erhalten und werden diese so schnell wie möglich
bearbeiten.
Mit internetten Grüssen
Ihr Shoppingcity.ch-Team
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
);) on to a jsp page.
As you know there is no default constructor for this object (new
Boolean()). In previous versions of Tomcat, well 5.0.16 and less, this
didnt become a problem, as long as the Boolean was not null. In 5.0.19
the jsp compile throws an error because it includes code to make a new
object
the jsp compile throws an error because it includes code to
make a new object were it null.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME
, this
didnt become a problem, as long as the Boolean was not null. In 5.0.19
the jsp compile throws an error because it includes code to make a new
object were it null.
The generated servlet code that throws the error is:
java.lang.Boolean someBoolean = null;
synchronized (request
, this
didnt become a problem, as long as the Boolean was not null. In 5.0.19
the jsp compile throws an error because it includes code to make a new
object were it null.
The generated servlet code that throws the error is:
java.lang.Boolean someBoolean = null;
synchronized (request
Hello!
Problem: I don't get Tomcat to compile my jsps.
I have the problem just with new Jsps (so path and file in the
work-directory don't exist yet)
I also just have the problem with tomcat running as daemon.
The daemon and the normal tomcat-application both are running as
user
I am running Tomcat 4.1.24.
In nearly all JSP files in my webapp I have the following compile time
include:
%@ include file=main.jsp%
However, changes to main.jsp are not caught by JSPC. And only the
main_jsp.java source is changed. If I delete all the *_jsp.java files
and recompile all
, March 04, 2004 7:26 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1 JSPC not recongnizing change in compile time
included file
I am running Tomcat 4.1.24.
In nearly all JSP files in my webapp I have the following compile time
include:
%@ include file=main.jsp%
However, changes to main.jsp
)
Recompile JSP when included page changes - Jasper 2 can now detect when
a page included at compile time from a JSP has changed and then
recompile the parent JSP.
-- Nathan Christiansen
-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04
The best thing to do is to not make compile time includes end in '.jsp'. Some
use .inc, other .jspi, and the spec might even have arecommendation for
compile time includes.
Also by using a specific file extension you can quickly identify its purpose.
-Tim
Richard Mixon (qwest) wrote:
I am
segments'.
--- SNIP END ---
Thanks again for pointing me in the right direction.
- Richard
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 5:22 AM
To: Tomcat Users List
Subject: Re: Tomcat 5 deployer compile errors on %@ includes
The best
I am trying to use the client deployer. Our JSP pages use a number of compile time
includes such as %@ include
file=someCommonCode1.jsp %.
The client deployer is trying to compile each of these included files independently. I
am getting compile errors all over the place.
The reason is that one
discover properties at runtime. However, the flexibility of runtime
introspection is a drawback when it comes to robustness (which I consider to
be more important than performance -- you can always buy faster hardware); I
want to be able to know when I compile the page successfully that no type
That's too bad, indeed. I wouldn't have figured that ELs were only
evaluated at run time since they can certainly be converted into
standard Java code as you pointed out. To lose the compile time checks
and incur repeated performance hits to re-evaluate doesn't make much
sense. Perhaps
I suppose that could possibly be?
export CPPFLAGS=-I/usr/kerberos/include -I/usr/include/openssl
-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 5:17 PM
To: Tomcat Users List
Subject: Re: Apache + Tomcat RH HOWTO (Apache Compile)
RedHat
That didnt do it either.
If my openssl is old (like the one that came with RH 7.0), could that be the problem?
-Original Message-
From: Luc Foisy
Sent: Thursday, January 29, 2004 9:39 AM
To: Tomcat Users List
Subject: RE: Apache + Tomcat RH HOWTO (Apache Compile)
I suppose that could
Using Johns HowTO (http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html) I
think my make might not have worked correctly. I'll paste the last bunch of lines.
I think this RH bread is 7.0, also using 2.0.48.
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
libtool:
RedHat places some libraries in places that configure
doesn't expect. In order to get SSL compiled, the
following environment variable needs to be set before
running configure.
export CPPFLAGS=-I/usr/kerberos/include
-I/usr/openssl/include
(all on one line - sorry about the
Nope. That didn't make it fly.
I exported, ran configure, then make. Same result.
-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 5:17 PM
To: Tomcat Users List
Subject: Re: Apache + Tomcat RH HOWTO (Apache Compile)
RedHat places some
Hello, my jasper is failing to compile because I have a space in the path of
my tomcat install.
In the error message (below) you will see that I got a javac error:
D:\pw\tip\output\delivery\Program
that should be
D:\pw\tip\output\delivery\Program Files\...
It is obviously not handling
Summary:
Code that worked in Tomcat4 throws a compile time exception in Tomcat5.
My Jsp file consists of one line.
jsp:useBean scope=request id=l class=java.util.List/
In Tomcat 4 a line like this was legal. If l did not exist in the request
scope it would try to instantiate it and throw
What's the bug?
You can't instanciate an abstract class in java.
You can't instanciate an array in java without dimensioning it.
On Tuesday 20 January 2004 12:15 pm, Andrew Schwimmer wrote:
Summary:
Code that worked in Tomcat4 throws a compile time exception in Tomcat5.
My Jsp file
That code was not written by me, it was generated out by Tomcat. I know you
can't do those things in code.
To summarize:
If you try to access an abstract class (or an interface) with the
jsp:useBean tag, it will throw a compile time exception when you try to
access the jsp page
(or an interface) with the
jsp:useBean tag, it will throw a compile time exception when you try to
access the jsp page.
This was not the behavior under Tomcat4.
It looks like your code was written to specific features (or side effects) of
Tomcat 4 instead of the JSP specs. The class attribute of the useBean
PROTECTED]
Sent: Tuesday, January 20, 2004 1:17 PM
Subject: Re: Tomcat 5 - jsp:useBean causing a compile time exception (not
pilot error - long detailed post)
On Tuesday 20 January 2004 01:01 pm, Andrew Schwimmer wrote:
That code was not written by me, it was generated out by Tomcat. I know
you
can't do
the specs. Didn't realize how rigid it was.
Thanks for clarifying it for me.
-A.
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 1:17 PM
Subject: Re: Tomcat 5 - jsp:useBean causing a compile time
Users List
Subject: Tomcat 5 - jsp:useBean causing a compile time exception (not
pilot error - long detailed post)
Summary:
Code that worked in Tomcat4 throws a compile time exception in Tomcat5.
My Jsp file consists of one line.
jsp:useBean scope=request id=l class=java.util.List/
In Tomcat 4
[EMAIL PROTECTED]
01/16/2004 10:50 PM
Please respond to Tomcat Users List
To: [EMAIL PROTECTED]
cc:
Subject:Re: mod_jk compile issue
You should really use a more recent version than the one that ships with
4.0.6, but that's another story :).
I don't use HP, so
PROTECTED]
01/16/2004 10:50 PM
Please respond to Tomcat Users List
To: [EMAIL PROTECTED]
cc:
Subject:Re: mod_jk compile issue
You should really use a more recent version than the one that ships with
4.0.6, but that's another story :).
I don't use HP
I'm trying to compile mod_jk. I have apache 1.3.29 and tomcat 4.0.6
currently running fine. But I'm trying to get the
jakarta-tomcat-connectors-4.0.6-src/jk/native to compile. The
./buildconf.sh seemed to work fine. The ./configure
--with-apxs=/usr/local/apche/bin/apxs seems to have worked
PROTECTED]
I'm trying to compile mod_jk. I have apache 1.3.29 and tomcat 4.0.6
currently running fine. But I'm trying to get the
jakarta-tomcat-connectors-4.0.6-src/jk/native to compile. The
./buildconf.sh seemed to work fine. The ./configure
--with-apxs=/usr/local/apche/bin/apxs seems to have
Hi!
I'm currently trying to compile jsvc witch are included in the binary
release of Tomcat5
I'm following the instructions and the compilation ends without any
errors, but nothing
happends when I try to execute the Tomcat.sh script (after I have
updated it with my settings).
The only error
I have some jsp pages that now break in Tomcat 5.0.16.
In particular, my use of the jsp:useBean tag is no
longer working, it fails to compile.
## jsp:useBean id=myListBean scope=session
class=java.util.List/
In the generated servlet, it attempts to do a
## java.util.List myListBean = new
Jason Wilson wrote:
I have some jsp pages that now break in Tomcat 5.0.16.
In particular, my use of the jsp:useBean tag is no
longer working, it fails to compile.
## jsp:useBean id=myListBean scope=session
class=java.util.List/
In the generated servlet, it attempts to do a
## java.util.List
--- Remy Maucherat [EMAIL PROTECTED] wrote:
Jason Wilson wrote:
I have some jsp pages that now break in Tomcat
5.0.16.
In particular, my use of the jsp:useBean tag is
no
longer working, it fails to compile.
## jsp:useBean id=myListBean scope=session
class=java.util.List
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] Compiling 1 source file
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130
William,
I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-apache2=/usr/local/apache2\
--with-apach2-include=/usr/local/apache2/include\
--with-apache2-lib=/usr/local/apache2/lib \
then in the end of configure process, I
Hi, Chris!
Well, I made it!
Now I have my mod_jsk2.so. Then I copy to $APACHE_HOME/modules, and put
a line in the end of my httpd.conf, just the same way I sought in the
Apache-Tomcat HOWTO.
Include $TOMCAT_HOME/conf/jk/mod_jk.conf-auto
Then I'll have to start Tomcat before Apache 'cause this
Hi everybody,
I trying to compile the mod_jdk from the source version
jakarta-tomcat-connectors-jk2-2.0.2 but everytime an error happens.
Does anybody know a place where I can get a binary for linux, to connect
my apache 2.0.48 and Tomcat 5.0.16 ? Or maybe send-me the module by
e-mail
I
William,
I trying to compile the mod_jdk from the source version
jakarta-tomcat-connectors-jk2-2.0.2 but everytime an error happens.
Please provide more information. The error message itself, perhaps.
Does anybody know a place where I can get a binary for linux, to connect
my apache 2.0.48
Found
I forgot to say thatI compiled apache2 from the source
Thank's for the help, anyway...
Em Qui, 2003-12-18 s 13:56, Christopher Schultz escreveu:
William,
I trying to compile the mod_jdk from the source version
jakarta-tomcat-connectors-jk2-2.0.2 but everytime an error happens
I'd stick a space between the apache2 and the '\'
Does live there and work?
Greg
-Original Message-
From: William Marques [mailto:[EMAIL PROTECTED]
Sent: 18 December 2003 16:43
To: Tomcat Users List
Subject: Re: How can I compile Mod_jdk2 ?
Ok, Il try to give some more details
-
From: William Marques [mailto:[EMAIL PROTECTED]
Sent: 18 December 2003 16:43
To: Tomcat Users List
Subject: Re: How can I compile Mod_jdk2 ?
Ok, Il try to give some more details...
I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
./configure --with-apxs2=/usr
I know that ;-)
Just wondered if it might make a difference to your shell.
Does apxs work on its own and is it there?
Greg
-Original Message-
From: William Marques [mailto:[EMAIL PROTECTED]
Sent: 18 December 2003 17:35
To: Tomcat Users List
Subject: RE: How can I compile Mod_jdk2
Tomcat 5.0.16
I keep getting this error about every 20 to 25 requests for various pages.
Sometimes I can simply send another request and it will compile, and other
times it will consistently throw this exception:
2003-12-15 17:31:05,348 [http8080-Processor23] ERROR
http://www.mail-archive.com/[EMAIL PROTECTED]/msg101489.html
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 6:09 PM
To: [EMAIL PROTECTED]
Subject: Unable to compile class for JSP
Tomcat 5.0.16
I keep getting this error about every
problems below:
1) Apache bug #25452
((http://issues.apache.org/bugzilla/show_bug.cgi?id=25452), where the
Ant build is not notified if there are any JspC compile issues. Instead
it creates zero-length Java files.
2) I didn't have my commons-logging-api configured correctly. I
strongly
. This is because of two
problems below:
1) Apache bug #25452
((http://issues.apache.org/bugzilla/show_bug.cgi?id=25452), where the
Ant build is not notified if there are any JspC compile issues. Instead
it creates zero-length Java files.
2) I didn't have my commons-logging-api configured
All,
I'm getting error messages while compiling JSPs at runtime inside Tomcat
but not when I compile the same JSPs with the jasper2 Ant task.
I've upgraded my Ant build to use the new jasper2 tag (the
org.apache.jasper.JspC class) instead of the old jspc tag that came
with Ant. (It doesn't
Larry Karnowski wrote:
All,
I'm getting error messages while compiling JSPs at runtime inside Tomcat
but not when I compile the same JSPs with the jasper2 Ant task.
I've upgraded my Ant build to use the new jasper2 tag (the
org.apache.jasper.JspC class) instead of the old jspc tag that came
201 - 300 of 924 matches
Mail list logo