I sent out a message before in regards to my copy of
Tomcat 4.0b5 and Sun Java 1.3.1 on a Sun Solaris box
running Solaris 8, where Tomcat will just stop after a
while. The only response I received was that it's
possible the VM was buggy. Since 1.3.1 is the only
version of Java 1.3 that Sun has
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPerror:
Can't write:
C:\tomcat\work\localhost_8080\Portal_00033_00030_00032\admin\roles_0005fedit
\_0002fPortal_00033_00030_00032_0002fadmin_0002froles_0005fedit_0002froles_0
My classpath contains a jar file which through its manifest file includes
other jar files (aka download extensions). However, Japser is not able to
access these download extension classes and therefore gives the
org.apache.jasper.JasperException: Unable to compile class for JSPC..
message
(if not familiar with .xml - just follow their examples
.jsp files are not to be compiled but just placed under:
\webapps\yourapp\WEB-INF\jsp\
The engine will compile them. No code specific entry is needed in web.xml
for .jsp files
By then it is assumed that you made an entry for your
Thank you very much, I had to explicitly put the omega jar and the
directory containing the property file in my unix shell's classpath.
Now the problem I'm running into is that some pages are getting compile
error messages.
2001-06-19 12:07:40 - Ctx( /omega ): JasperException: R( /omega
compile
error messages.
2001-06-19 12:07:40 - Ctx( /omega ): JasperException: R( /omega +
/admin/hello.jsp + null) Unable to compile class for
JSP/usr/local/jakarta-tomcat-3.2.2/work/localhost_8080%2Fomega/_0002fadmin_0002fhello_0002ejsphello_jsp_0.java:61:
Incompatible type for method
in this case.
--jeff
- Original Message -
From: Vinny [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 9:27 AM
Subject: Re: omegacms, thanks and a new problem: compile errors
Thank you very much, I had to explicitly put the omega jar and the
directory containing the property
where do I have to put my java Files so that I
can compile and Import org.apache.tomcat .
Please help
thanks
venkatesh
are not to be compiled but just placed
under:
\webapps\yourapp\WEB-INF\jsp\
The engine will compile
them. No code specific entry is needed in web.xml
for .jsp files
By then it is assumed that you made an entry for
your specific application into:
\conf\server.xml
and policy file is updated
You are using the broken Sun C compiler. Use GNU gcc from
http://sunfreeware.com.
On Thu, 14 Jun 2001, William Ho wrote:
Hi there,
My configuration is as follows:
Tomcat 3.2.1
Apache 1.3.9
Solaris 7
J2SE 1.3.0_02 (not used in this compilation)
I'm trying to compile mod_jk on Solaris
its not a broken, its just the wrong one :) and when compiling
apache the apxs guesses the compiler, so if apache finds cc from
Worshop Compilers 4.2 it will try to compile it with that
compiler not with gcc (which usually should be in /opt/sfw/bin).
regards, tom
-Ursprungliche Nachricht
Hi there,
My configuration is as follows:
Tomcat 3.2.1
Apache 1.3.9
Solaris 7
J2SE 1.3.0_02 (not used in this compilation)
I'm trying to compile mod_jk on Solaris 2.7. Here's what I did:
(1) cd to .../jakarta-tomcat-3.2.1-src/src/native/apache1.3
(2) make sure apxs aliased to the correct file
/usr/local/bin/apxs -o mod_jk.so -I../jk -I/usr/java_dev2/include -c *.c
../jk/*.c
cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
-qnogenpcomp -qnousepcomp -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT
-I../lib/expat-lite -O -qmaxmem=8192 -DSHARED_MODULE
: /examples/jsp/num/numguess.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPerror: An
error has occurred in the compiler; please file a bug report
(http://java.sun.com/cgi-bin/bugreport.cgi).
1 error
at org.apache.jasper.compiler.Compiler.compile
to compile class for JSP
log file: jasper.log:
2001-05-31 09:57:16 - JspEngine -- /jsp/snp/snoop.jsp
2001-05-31 09:57:16 - ServletPath: /jsp/snp/snoop.jsp
2001-05-31 09:57:16 - PathInfo: null
2001-05-31 09:57:16 - RealPath:
/usr/local/tomcat/jakarta-tomcat-3.2.2/webapps/examples
compile due to the
can't find libjava.so error. Is it possibly a problem due to the fact
that the jdk is compiled for linux? I do have the linux compatibility
package installed, but I have not tested it.
Original message:
I recently downloaded and installed jdk1.3.0_02 on a FreeBSD system. I
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSP/opt/jakarta-tomcat-3.2.1/work/localhost_8080%2Fportal2/_0002flogon_0002ejsplogon_jsp_0.java:52:
Incompatible type for =. Explicit cast needed to convert
javax.servlet.http.HttpSession to HttpSession
Try this:
session = (HttpSession)pageContext.getSession();
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 11:29 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2.1 JSP compile problem - A quick look, please?
Thanks to anyone out
Dan
I might have a too much info in my question, down in the detail of the question, I
mention the compile error occurs on a simple .jsp. Since the error happens when the
.JSP is being compiled into a Servlet, and the 'JSP has no direct reference to
pageContext.getSession(). I don't have
I have compiled mod_jk on RedHat 6.1. I used this command:
./apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include
-I/usr/local/jdk/include/linux -c *.c ../jk/*.c
with the exception that I had to remove the *.c afer the ../linux -c. I
would not work other wise. I copied the mod_jk into the apache
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,
I have problem to integrate Apache, Tomcat and mod_jk on Sun Solaris 8.
I installed Apache with no problem and I could get the apache page on
the browser.
I downloaded and tar the jakarta-tomcat-3.2.1-src also ok.
In the jakarta-tomcat-3.2.1-src/src/native/spach1.3 directory,
I did the
In each of the above cases, I got this Servlet Exception.=20
Any suggestion is greatly appreciated.
Thanks
Here are the exception messages for=20
org.apache.jasper.JasperException: Unable to compile
class for
JSP/usr/tomcat4/work/localhost/examples/jsp
Hi,
I am getting this error.
[erena@statler jakarta-tomcat-3.2.1-src]$ ./build.sh clean
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main
I have fiddled around, putting what I think to be the ant jars in my
classpath, and also reinstalling ant. Where should ant
The file ant.jar should be in your CLASSPATH.
Erena Langley wrote:
Hi,
I am getting this error.
[erena@statler jakarta-tomcat-3.2.1-src]$ ./build.sh clean
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main
I have fiddled around, putting what I think to
A newbie question, I fear.
In trying to compile mod_jk.c from Tomcat 3.2.1 against Apache 2.0.16 on Solaris
2.7, I get the following message:
~/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
-I/usr/java/include/solaris -c *.c ../jk/*.c
libtool --silent --mode=compile
.
#
# In trying to compile mod_jk.c from Tomcat 3.2.1 against Apache 2.0.16 on
Solaris
# 2.7, I get the following message:
#
# ~/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
# -I/usr/java/include/solaris -c *.c ../jk/*.c
# libtool --silent --mode=compile gcc -I/u/rday/local
The mod_jk.so module will not work with Apache 2.0.x, you must use v1.3.x.
On Wed, 9 May 2001 [EMAIL PROTECTED] wrote:
A newbie question, I fear.
In trying to compile mod_jk.c from Tomcat 3.2.1 against Apache 2.0.16 on Solaris
2.7, I get the following message:
~/local/apache/bin/apxs
Linux?
At 5/9/2001 10:57:56 AM, Roger Day wrote:
# A newbie question, I fear.
#
# In trying to compile mod_jk.c from Tomcat 3.2.1 against Apache 2.0.16 on
Solaris
# 2.7, I get the following message:
#
# ~/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
# -I/usr
Hi, I'm having trouble compiling mod_jk on Solaris
below is the compiler output. I am using the
build_solaris.sh script. My system is Ultra60
running solaris7
Thanks,
Tom
Building mod_jk
gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -I/home/tomv/programs/apache/incl
ude -I../common
Looks like you are using either an older version of gcc or a version from
an earlier Solaris version. Get gcc v2.95.2 compiled for Solaris2.7 from
http://sunfreeware.com
On Tue, 8 May 2001, Thomas Valine wrote:
Hi, I'm having trouble compiling mod_jk on Solaris
below is the compiler output.
Great! Thank you...
John P. Dodge wrote:
[EMAIL PROTECTED]">Looks like you are using either an older version of gcc or a version froman earlier Solaris version. Get gcc v2.95.2 compiled for Solaris2.7 fromhttp://sunfreeware.comOn Tue, 8 May 2001, Thomas Valine wrote:
Hi, I'm having trouble
I can't compile mod_jk. I am using
perl 5.6.1 gcc 2.95.3 on an Ultra60 running Solaris 7
I type:
apxs -o mod_jk.so -DSOLARIS -I../jk -I/home/tomv/programs/java/include
-I/home/tomv/programs/java/include/sol
aris -c *.c ../jk/*.c
and get...
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite
I am considering a design where a thread calls a long running query, uses
the results to generate a JSP and then write the new JSP over the old JSP.
Tomcat would then notice the update, recompile the JSP and display the new
query results. The query/rewrite would happen once every 10 minutes.
Hi:
I want to know in tomcat is it possible to treat any other file
extension as jsp.
I saved a .jsp file as .phj and i hace done the servlet mapping in
web.xml
like
servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.phj/url-pattern
/servlet-mapping
BUt when i try to open that page using
Hello,
I'm new to this list, and please tell me if my question is misdirected.
I'm using Tomcat 4.0 beta 3.
I have a servlet that creates some session-scoped objects, then
forwards control to a jsp page to display them using a RequestDispatcher.
Regardless of whether I use include(..) or
Title: How to compile jsp with debugging information with 4.0
Hi, all,
I would like to debug the class file generated by Tomcat 4.0 B3. However, the class file generated with default configuration doesn't have debug information in it. I am wondering if somebody could tell me how to compile
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
I'm trying to get Tomcat3.2.1 to successfully compile my JSP.
I have a base class called TrainingForm and I have a class called
TrainingFormDetail that extends TrainingForm. It's like it is complaining
about the base class. I read in the JSP1.1 spec that the type field is used
for implements
Hi all,
I have been attempting to get servlets to compile under ME.
The compiler is not recognizing the servlet classes.
I used the same steps as the NT and Linux install.
Is there some magical step that I'm missing that would make ME os different
from NT?
Oliver
I'm in the process of figuring out context and they way it works. So I deleted
RequestParamExample.class
I modified RequestParamExaple.java and tried to compile it.
It fails. The error is below. During my setup of TomCat I was instructed to
install
jakart-servletapi-3.2. I looked
It's all working now. No need to reply
Steve Aras wrote:
I'm in the process of figuring out context and they way it works. So I deleted
RequestParamExample.class
I modified RequestParamExaple.java and tried to compile it.
It fails. The error is below. During my setup of TomCat I
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 6:33 PM
To: [EMAIL PROTECTED]
Subject: RE: org.apache.jasper.JasperException: Unable to
compile class
fo r JSP
Since you didn't provide a fully qualified class name, Tomcat
defaulted
:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 8:28 PM
To: [EMAIL PROTECTED]
Subject: org.apache.jasper.JasperException: Unable to compile class for
JSP
Hi,
I have a simple server-side java class named DBWriter (with no package
name)
I am using it in a jsp file like this
%DBWriter dbwrt = new
When I run .
apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
-I/usr/java/include/solaris -c *.c ../jk/*.c
I get .
ld cannot open ../jk/jk_worker.o: No such file or directory
apxs:Break: Command failed with rc=65536
Does anyone have the mod_jk.so binary for Solaris Sparc 2.6??
_
Error: 500
Location: /examples/jsp/dates/mydate.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSPD:\tomcat\work\localhost_8080%2Fexamples\_0002fjsp_0002fdates_0002fmydate
_0002ejspmydate_jsp_0.java:87: Class
42 PM
Please respond to [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: I CANT COMPILE SERVLETS!!!HELP
I'm having the same problem. So I looked into your suggestion or adding
$TOMCAT_HOME\bin jar file(s) to my CLASSPATH. There are no jar files in
that dir
Thanks everyone, my problem was that i just included the servlet.jar to the
classpath, but in fact i had to include all in the tomcat\lib jars to the
classpath, now i can compile by using only the javac command as with a
regular java program
Hi,
I could not compile servlet in Windows
NT.Tomcat is running successfully. I included all jar files in CLASSPATH .
But in the class path Tomcat is showing a part as C:\tomcat\classes . I could
not see "classes" under tomcat . Is that a problem ?
Please tell me to compile
Hello,
I have tomcat running fine but i couldnt compile any servlet. I put the
servlet in different directories and tried (does it matter?) but same
result:
cannot resolve symbol:HttpServlet
i use this command line from the same directory as the servlet:
javac -classpath c:\tomcat\lib
check you jdk path
and also set you classpath to all the jar files under the tomcat\bin
-Original Message-
From: Zakaria . [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 4:33 PM
To: [EMAIL PROTECTED]
Subject: I CANT COMPILE SERVLETS!!!HELP
Hello,
I have tomcat running
CANT COMPILE SERVLETS!!!HELP
Hello,
I have tomcat running fine but i couldnt compile any servlet. I put the
servlet in different directories and tried (does it matter?) but same
result:
cannot resolve symbol:HttpServlet
i use this command line from the same directory as the servlet:
javac
, February 28, 2001 5:09 PM
To: [EMAIL PROTECTED]
Subject: Re: I CANT COMPILE SERVLETS!!!HELP
I'm having the same problem. So I looked into your suggestion or adding
$TOMCAT_HOME\bin jar file(s) to my CLASSPATH. There are no jar files in
that dir. All my jars are in TOMCAT_HOME/lib. If the lib
, February 28, 2001 5:09 PM
To: [EMAIL PROTECTED]
Subject: Re: I CANT COMPILE SERVLETS!!!HELP
I'm having the same problem. So I looked into your suggestion or adding
$TOMCAT_HOME\bin jar file(s) to my CLASSPATH. There are no jar files in
that dir. All my jars are in TOMCAT_HOME/lib
I am running FreeBSD4.2, tomcat 4.0-b1, linux-jdk1.3.0
Can you help me fix this:
When I try to run the JSP examples on Tomcat 4, I get the following error:
___
A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for
JSPtomcat/bin/../work
Michael Dewhirst wrote:
I am running FreeBSD4.2, tomcat 4.0-b1, linux-jdk1.3.0
Most likely explanation is an old copy of servlet.jar on your class path, or in
your Java system extensions directory ($JAVA_HOME/jre/lib/ext). The
handlePageException() method was updated relatively recently.
Is there a way in tomcat to precompile all my jsp
pages? So that as I am navigating to a new page I
don't have to wait for it to compile?
thanks,
scott.
=
~~~
Scott
May the Force be with you!
__
Do You
Is there a way in tomcat to precompile all my jsp
pages? So that as I am navigating to a new page I
don't have to wait for it to compile?
I believe that the jspc script does that for you. Check it out in the
bin directory...
Scott Sanders
Sure...
Just visit them once from your browser...
Jan
On Thu, 22 Feb 2001, Scott Walter wrote:
Is there a way in tomcat to precompile all my jsp
pages? So that as I am navigating to a new page I
don't have to wait for it to compile?
thanks,
scott
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
I have been running into occassional problems where tomcat will no longer
compile any jsp files. Most of the time this happens while I am editing
the files - it will recompile up to a point and then produce error
messages. I have also seen this happen just by running unchanging pages.
Once
Whenever I build mod_jk.so with apxs i get this problem! Can someone
please help!
Thank-you
Phil
[root@Fileserver apache1.3]# apxs -o mod_jk.so -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c *.c ../jk/*.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
al Message-
From: Phillip Kuzma [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 2:53 PM
To: Tomcat List
Subject: Compile Problems (mod_jk.so)
Whenever I build mod_jk.so with apxs i get this problem! Can someone
please help!
Thank-you
Phil
[root@Fileserver apache1.3]# apxs -o mod_jk.
Title: mod_jk compile warning
i have the same problem.
If you find the solution please help
me
thanks
Carlos
- Original Message -
From:
Hammon, Sean
To: [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 5:52
PM
Subject: mod_jk compile warning
I just tried
I am running tomcat stand alone on windows2000 with
jdk1.3
Whenever I attempt to compilea jsp that
instantiates a class of mine that has 3 levels of inheritance with some methods
that are named the same I get
a...
org.apache.jasper.JasperException: Unable to compile class for JSPerror
Why don't you compile you code as a bean and just usebean it from your jsp
pages?
-Original Message-
From: Bob Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 1:37 PM
To: [EMAIL PROTECTED]
Subject: Unable to compile class for JSPerror: HELP!
I am running tomcat
When I uncomment out the section in web.xml to use jikes as the compiler for
jsp compiles, jasper throws an exception (exception stack trace included
below) . The jasper.log has no helpful information as what the compile
problem is. This compile error does not occur when jikes is not being
Hi All,
I am running Tomcat 3.1 with JDK 1.3. I have setup TOMCAT_HOME and JDK_HOME
and all that stuffs. I need to compile servlet files manually before running
under TOMCAT. When I compile using javac, my compilation fails. Even though
I setup TOMCAT_HOME, why it has problem recognizing
You need to have j2eesdk tocompile the java servlets.Download it and install
them to compile your servlets.
Ram
From: "RAHMAN,ABDUR (HP-Sunnyvale,ex1)" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
CC: "RAHMAN,ABDUR (
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
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 the following path info also...
Using CLASSPATH:
Its that you are looking for?
Inside jk_pool.h, at line 92, you need to add this,
#elif defined(NETWARE)
typedef long longjk_pool_atom_t;
#else //ADD THIS LINE
typedef long longjk_pool_atom_t; // ADD THIS LINE
#endif
Simon
I have read more than thousands of mails from the mail list and read howto docs
from Tomcat. Still have no clue why it is not working ...
The running system is
Solaris 7 with
j2sdk1_3_0
jakarta-tomcat-3.2.1
apache_1.3.14.
/home/users/dcherng/apache/bin/apxs
Please just someone post the resolution
to this. I know many people are having
a problem with it on Solaris 7 with Apache 1.3.14.
Thanks,
Simon
--- Donnie Cherng [EMAIL PROTECTED] wrote:
I have read more than thousands of mails from the mail list and read howto
docs
from Tomcat. Still
Hi,
I tried searching the FAQ, but cant seem to find how to
compile mod_jserv.so.
I have downloaded the tomcat 3.1.1 source.
Where can I find the command to compile the so and with
expanations of
any compile flags that are used ?
Thanks
Shahed.
Title: Can't get mod_jk to compile on solaris
I am having a problem getting mod_jk.so to compile on solaris 7. Here is the exact output
/opt/apache/bin/apxs -o mod_jk.c -DSOLARIS -I../jk -I /usr/java1.2/include -I /usr/java1.2/include/solaris -c -l posix4 ../jk/*.c
gcc -DSOLARIS2=270
PM
To: [EMAIL PROTECTED]
Subject: Compile Error in JSP generated servlet
What would cause JSP to generate the same variable in the generated servlet.
I am getting the following compile error in the JSP generated servlet in
tomcat 3.2 on Windows NT. I am trying to get the book examples to run from
Hey...
I've run into a really weird error that seems to be a part of Tomcat itself.
Attached are two files, JSPTEST.JSP and JUNK.JAVA. The JSP file is just an example
file, this seems to happen with just about any of them.
Here's what happens. Whenever I attempt to call the JSP file, the Java
-Original Message-
From: Kitching Simon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 10:50 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Compile Error in JSP generated servlet
David,
How about posting the original jsp source code?
The problem *is* probably somewhere
emember my password
:-)
Simon
-Original Message-
From: Matt White [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 5:37 PM
To: [EMAIL PROTECTED]
Subject: JSP Compile Error
Hey...
I've run into a really weird error that seems to be a part of Tomcat
itself.
; value="data"/
jsp:param name="columnHeader" value="Postal Code"/
jsp:param name="column" value="email"/
jsp:param name="columnType" value="data"/
jsp:param name="columnHeader" value="E-Mail"
I'm thinking that maybe a very small mini-FAQ might be
in order here!!!
I am trying to compile the mod_jk.so on Redhat Linux.
Try following the documentation where it says that if this
happens to try:
gcc -shared -o mod_jk.so *.o
That fixed it for me, although the HP-UX and AIX folks
, Dave Newton wrote:
I'm thinking that maybe a very small mini-FAQ might be
in order here!!!
I am trying to compile the mod_jk.so on Redhat Linux.
Try following the documentation where it says that if this
happens to try:
gcc -shared -o mod_jk.so *.o
That fixed it for me, although
With all of the documentation in all of the places that I have found,
it is more like trying to find the one line that pertains to what
I am looking for.
No doubt~it's a little buried, to be sure. I may do a mini-FAQ and
throw it out there somewhere. If anybody has any ideas for content,
let
ot; [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 11:40 AM
Subject: RE: mod_jk.so wont compile on Linux
Dave:
With all of the documentation in all of the places that I have found,
it is more like trying to find the one line that pertains to what
I am looking for.
What would cause JSP to generate the same variable in the generated servlet.
I am getting the following compile error in the JSP generated servlet in
tomcat 3.2 on Windows NT. I am trying to get the book examples to run from
"SE Using Java Server Pages and Servlets"
Error: 500
Another idea:
"Getting Tomcat to serve the *.jsp and /servlet pages on your apache based
website while Apache serves the rest"
David.
At 11:32 AM 12/19/00 -0500, you wrote:
With all of the documentation in all of the places that I have found,
it is more like trying to find the one line that
I have a util.java that has a function get_html_header to return "HTML
etc..."
I would like to call that function from inside another servlet...
Other Servlet:
Package util;
util.get_html_header()
How do I compile this servlet so it should know what where that function
is?
How do I compile this servlet so it should know what where
that function is?
I think you'd be better off learning Java first, *then* going into
servlets - trying to learn both at once may well be much trickier
than learning one at a time.
Jon
I basically want to know if a servlet is using a function in another package
how do you compile that servlet? What tags do I include or how do I
reference the package when I compile.
Thanks
-Original Message-
From: Jon Skeet [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 3
I basically want to know if a servlet is using a function in
another package how do you compile that servlet? What tags do
I include or how do I reference the package when I compile.
And what I've said, and what I'll repeat, is that you should learn Java
*first*. If you knew Java, you'd know
I basically want to know if a servlet is using a function in another package
how do you compile that servlet? What tags do I include or how do I
reference the package when I compile.
These are the main techniques.
* If the "other package" exists as a JAR, then use:
javac
hi,
you
have to download the ant and xerces packages and put them in the classpath.
Using the approach mentioned in the
doc is
good if you have to manage a project. If just want to try out some examples, you
can ignore it.
Regards,
Nagaraj.
-Original Message-From: Matt Becker
Hi all,
The situation is, that I have a JSP which contains an error. If I call an
servlet that includes this JSP I don't get the compilation errors in the
deliverd HTML Page. There is also no error stack printout on the console from
which I've started tomcat.
How can I get this error messages
| Subject: mod_jk compile error
|
| When I use the apxs command I get an error that the jni.h can't be found
|
| ../jk/jk_jni_worker.c:67:17 jni.h No such file or directory
| ...
| apxs:Break:Command failed with rc=3D1
|
It means it can't find jni.h from the JDK. You need to give
Title: RE: OJsp: can not compile Jsp files
JServ does not support .jsp files. It is better to use Tomcat or JRun.
Panos
-Original Message-
From: Antonio Trigo [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2000 16:36
To: Tomcat-User (E-mail)
Subject: OJsp: can not compile Jsp
Hello,
I'm attempting to install a 3.2 version of tomcat with Apache 1.3.14.
When I try to start apache I get this:
"Starting httpd: Syntax error on line 1 of
/usr/local/apache/conf/httpd.conf:API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so is garbled - perhaps
I am using the Ojsp from Oracle.
The Apache JServ 1.1 works fine with servlets, but we can not compile jsp
files.
Whenever I try to see a xxx.jsp page I allways see the code and note the
compiled
page.
Any clues ??
Thanks in advanced.
Title: RE: OJsp: can not compile Jsp files
But it
should work with the OJsp package from Oracle.
I can put it
to work in Win NT but notin Unix.
How can
I make it work in Unix.
Thanks
in advanced.
-Original Message-From: Panagiotis Konstantinidis
[mailto:[EMAIL PROTECTED
801 - 900 of 924 matches
Mail list logo