Hi,
I downloaded the latest apache ver. 1.3.17 and now I cannot integrate tomcat
and apache.
When I try to start apache with the mod_jk module, I get the following
error:
Syntax error on line 8 of
/external/home/dkern/jakarta-tomcat-3.2.1/conf/mod_jk.conf:
Cannot load /external/home/dkern/apache
What monitoring tool can be used to monitor tomcat
I tried to install RUE but I didn't succeed , is their any other opportunity
?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Title: Re: How do I configure Tomcat for use with j2ee
In addition to the online documentation (http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html) there are several good books that cover these questions. See for example, “Web Development with Java Server Pages” by Fiel
In addition to the online documentation
(http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html) there
are several good books that cover setting up Tomcat etc. See for example,
³Web Development with Java Server Pages² by Fields & Kolb.
Try the following: clean out the directory $TOMCA
Title: Re: tomcat.bat file
Are Tomcat’s jar files in your classpath? All the jar files in $TOMCAT_HOME/lib need to be in the class path.
From: "wkc" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Sat, 10 Feb 2001 12:13:33 -0500
To: <[EMAIL PROTECTED]>
Subject: tomcat.bat file
Can some
Hi All:
We are putting up a web site with tomcat and apache. I am facing some problem while
turning off the dir listing. I have mounted / to tomcat as all the content is jsps.
Now when I declare default dir index for all the subdirs, it doesn't take it !!
Please help asap. This is urgent.
Hello,
I have this exception (look below), I wonder how to
handle this exception, I tried to add
org.apache.tomcat.resources.LocalStrings_fr.properties
but it did not work.
Exception in thread "main"
java.lang.ExceptionInInitializerError: java.util.Miss
ingResourceException: Can't find bun
Hello -
I am running Tomcat 3.2.1 and Apache 1.3+mod_jk that I built from
source. Has anyone see this before?
Cannot load /usr/local/libexec/apache/mod_jk.so into server:
/usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
Thanks a lot.
---
The Name of the handler is 'jakarta-servlet'
La prise de conscience de votre propre ignorance est un grand pas vers la
connaissance.
-- Benjamin Disraeli
>-Original Message-
>From: Rick Roberts [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, February 11, 2001 4:54 AM
>To: [EMAIL PROTECTED]
>
Hello,
I wanted to change my runnimg tomcat-apache-configuration from mod_jserv
to mod_jk.
With mod_jserv I had no problems runnimg my web-application
But now I get the follwing error-message from the web-server, whenever i
try to access a directory
or a servlet (JSP-Files are being executed):
I'm using the isapi_redirect with IIS on w2k and it's not regocnizing the
patterns to forward to tomcat server.
log says this
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/examples/jsp/dates/date.jsp] is
not a
Hi,
I went through the archives, and saw this same question asked a number
of times, but no satisfactory responses. An auto generated conf is
nice to have (especially as it remembers to include all those little
details us poor humans sometimes forget) except that it always
specifies the ajp1
What did you use to compile apache?
gcc or the Sun cc?
Use gcc...
You may want to glance at my notes on compiling Apache/mod_jk for Solaris
at http://www.ccl.net/cca/software/UNIX/apache/
On Sun, 11 Feb 2001, Dan Kern wrote:
> Date: Sun, 11 Feb 2001 11:18:03 +0200
> From: Dan Kern <[EMAIL PRO
Can someone suggest to me what Apache and/or other OpenSource products could
be integrated to compete with functionally and/or considered in the same
category as BEA WebLogic?
I don't necessarily need all of what BEA has to offer at this time, however,
I would like to know, generally, what i
Hello,
I want my servlet to handle all requests to the webapp. The servlet is
defined in the web.xml as mainservlet, like so:
mainservlet
com.foo.bar
1
I just recently installed tomcat to work with my apache server 1.3.12 on
Linux RH6.2. I used the mod_jk module. I am getting an error 404 when I
try to run my .jsp file. I know the file does exist.
Is there any documentation for tomcat. I find the information on the web
site to be cryptic at
Make the change in mod_jk.conf
#JkMount /*.jsp ajp12
#JkMount /servlet/* ajp12
#JkMount /examples/* ajp12
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /examples/* ajp13
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTE
If you want to have a servlet handle just the initial page, just map the
servlet to index.html. One thing is that you might have to actually have
an index.html file - it can be empty - to trick Tomcat into serving it
up.
Ritwick Dhar wrote:
>
> Hello,
>
> I want my servlet to handle all reques
That's what I've been doing -- I don't use mod_jk.conf-auto at all.
The point is that I have to maintain another file by hand that I
shouldn't have to, a file almost exactly identical to mod_jk.conf-auto
other than specifying the ajp13 connector. Is there a way to get
mod_jk.conf-auto to use
Thanks. That did the trick. Now, why didn't I think about that? :-)
-Original Message-
From: Geoff Lane [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 5:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet as welcome page?
If you want to have a servlet handle just the initial pa
I understand what you are saying, but you only need manually update the auto
config file when you actually add a new web app. Up until that point the
regenerated config file remains constant. You don't even need to touch it
while you are revising an existing app.
Further, you could run Tomcat sta
Anyone have any more ideas on this one?
I still can't get it figured out and I'm getting desperate.
--
Hunter Hillegas, MCP
Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH 805-565-1415 FAX
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> Repl
I'm a complete newbie to Java, but I have tried to install tomcat on a Linux
server with apache because some of my developers has requested the
possibilty of using java server pages.
I have tried to follow the installation instructions and I can get the
examples on \examples\servlets to work, but
I've been learning JSP with this great book from manning.com and
I've been trying to write an error page. According to the book, I should
be able to do the following:
<%@ page isErrorPage="true"%>
The following error has been detected:
<%= exception %>
<% exception.printStackTrace(out); %
Hi,
I've been following this list for quite a while and noticed that the same
questions keep appearing again and again. Has anyone thought about setting up
an faq-o-matic? Just updating the faq would help.
thanks,
- Dale
-
T
Hi,
I am using windows 98 with tomcat
v3.2.1
I have a problem that when I tried to run some demo
from other book have servlet example, and I always get 404 not found
problem.
my http root : c:\wwwroot
and I put all .class file in folder name servlet
and the html file name servlet.html
hi, there,
I use HttpUtil to get post data, but always get error: short read.
what is wrong? in
parsePostData(int len, ServletInputStream in) ,
which number should I assign to 'len'?
thanks.
rgds
sun
-
To unsubscribe, e-mail:
I have a number of servlets in my application that need to
perform common initialisation, etc. So I was thinking of
creating a superclass that has an init method that does all
of the common work, eg.,
public class SuperServlet extends HttpServlet {
public void init() {
// do common initial
Yes.
Have your WorkerServlets implement a procedure called childInit or
something, which is basically an empty procedure in the SuperServlet. Then
call this function as the last (or first) call of the SuperServlet init
function. This is much like how GenericServlet makes init() a convenience
ca
I'm a Linux newbie and have downloaded the tomcat 3.2.1 binary RPM
from rpmfind and installed it on Red Hat 7 using GnoRPM. I didn't have
any problems doing this, and tomcat is loaded successfully during
bootup of the system. However, when I try to pull the demo page up on
port 127.0.0.1:8080, it
Perhaps this will work, though I am not so certain of the life cycle of a
servlet to say for sure:
Define the default (i.e. no argument) constructor for SuperServlet (its
signature is: SuperServlet() ) within which you call init. Any child of
SuperServlet should then automagically call init (or a
Jason Novotny wrote:
>
> I've been learning JSP with this great book from manning.com and
> I've been trying to write an error page. According to the book, I should
> be able to do the following:
>
> <%@ page isErrorPage="true"%>
> The following error has been detected:
>
> <%= exception
I don't have time to test this, but I think the problem is not in the
stack trace, but the previous line. Try replacing it with:
<%= exception.getMessage() %>
I think the <%= %> expects a String or native.
FYI: A good way to learn/debug JSP is to look at the "*.java" file
created by the serv
Wouldn't that be the value of the request's "Content-length"?
>> Original Message <<
On 2/12/01, 10:39:27 AM, "sun" <[EMAIL PROTECTED]> wrote regarding
HttpUtil:
> hi, there,
> I use HttpUtil to get post data, but always get error: short read.
> what is wrong?
yes, I tried that, got same error, "short read",
in terms of docs, it means posted inputstream is invalid, but I am not sure
about that.
-Original Message-
From: Chris Janicki <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, February 11, 2001 9:07 PM
Subject: R
That would work, however I am trying to avoid to place any extra
requirements on what the WorkerServlets have to implement. Having
to implement childInit() instead of init(), vs calling super.init()
in their init() method is pretty much the same.
I guess what I really want is for init to work th
Hmmm... you can always try to look at the source code for
parsePostData()... that is the beauty of open-source.
>> Original Message <<
On 2/12/01, 12:14:52 PM, "sun" <[EMAIL PROTECTED]> wrote regarding Re:
HttpUtil:
> yes, I tried that, got same error, "shor
Hi,
I am using Tomcat v3.2.1, When i run a jsp page it showing Location
Error (Internal Servlet Error). Help me, if any one knows a solution.
thankyou
regards,
PATHY A.V.
<[EMAIL PROTECTED]>
-
To unsubscribe, e-mail: [
Hi,
Check the log file of tomcat. You will get a hint what is wrong.
Regards
Moin.
Ananda Venkatapathy wrote:
> Hi,
>
> I am using Tomcat v3.2.1, When i run a jsp page it showing Location
> Error (Internal Servlet Error). Help me, if any one knows a solution.
>
> thankyou
>
> regards,
> PA
or u can use it
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at
the proxy server
> -Original Message-
> From: Rick Roberts [SMTP:[EMAIL PROTEC
I read it, suspect problem is on webserver or tomcat, they cann't handle
inputstream well, but how to resolve it? what is real problem? am I right to
say "short read" is inputstream's error?
-Original Message-
From: Chris Janicki <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTE
Okay, I tried that and it gave me an "Internal Server Error." I think the reason is
that I have multiple workers defined and running. How do you specify a worker when
using "jakarta-servlet" in a SetHandler or AddHandler directive for Apache. I was
guessing and tried...
SetHandler jakart
The error message tells you that it's trying to convert "out" from
JspWriter to a PrintWriter which is the type expected from
printStackTrace.
Try:
<% exception.printStackTrace(new java.io.PrintWriter(out)); %>
This will creates a new PrintWriter from the existing "out"
Gilles
On Sun, 11 Feb
Not a question regarding tomcat but maybe someone might know...
Im using linux, jdk1.2.2 and tomcat. I'm having a problem with rmi
registry... how do you start rmi regsitry?
I read that its different from windows and it has something to do with
the ports. Could anyone explain it more to me...
lik
Check http://jakarta.apache.org/site/faqs.html for a faq-o-matic
Gilles
On Mon, 12 Feb 2001, Dale Thatcher wrote:
> Hi,
>
> I've been following this list for quite a while and noticed that the same
> questions keep appearing again and again. Has anyone thought about setting up
> an faq-o-matic
> <% exception.printStackTrace(new java.io.PrintWriter(out)); %>
Just consider that this should probably only be used on a test/development
system since presenting stack traces to site visitors is probably not a
grand idea.
David
---
'rmiregistry' runs on port 1099 by default. You can specify another port
by supplying it as the argument ('rmiregistry [port] &'). The biggest
difference between Windows and Unix (Linux), is that Unix only lets
'root' use ports below 1024.
An even better option for many apps is to run the re
I have just installed Jakarta-Tomcat-4.0 .All the
JSP Servlets,Beans are working properly .
However when i try to some Database stuff inside
the JSP it gives the following error :
Root Cause:
java.sql.SQLException: No suitable driver
What's the problem ? Do i have to
Does anyone want to install Tomcat on my Cobalt server? I have tried for
about an hour and a half and can't get it.
Any help would be appreciated.
Thanks,
David Szostek
630-728-1001
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
> I have a number of servlets in my application that need to
> perform common initialisation, etc. So I was thinking of
> creating a superclass that has an init method that does all
> of the common work, eg.,
...snip...
> This seems to be OK, until I implement init in the
> WorkerServlet, as the
Look at at the following sites:
http://www.enhydra.org/
http://www.jboss.org/
http://www.evidian.com/jonas/index.htm
> -Ursprüngliche Nachricht-
> Von: Anthony W. Marino [mailto:[EMAIL PROTECTED]]
> Gesendet: Sonntag, 11. Februar 2001 13:13
> An: [EMAIL PROTECTED]
I used gcc ver. 2.8.1
I went over your very informative page carefully. I built apache with
mod_ssl and a few other modules. Here is the result of 'httpd -l':
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_in
Title: RE: mod_jk on Tru64 kills Apache
I have problems with mod_jk - and get error message already when running "apachectl configtest":
Syntax error on line 8 of /usr/apache/tomcat/conf/mod_jk.conf-auto:
Cannot load /usr/apache/libexec/mod_jk.so into server:
Unresolved symbol in /usr/apache
53 matches
Mail list logo