Hi Pal!
Download this file "jakarta-tomcat-3.2.1.zip" from the site and then
configure it. You will have to manually install it if you want to integrate
it with IIS web server like what i have done. unzip it into your C: drive
and then go through the documentation. I have integrated it with IIS
Hi,
I am using RH6.2 with the above mentioned configuration. There is some
strange thing with my configuration. I tried to setup tomcat and apache
on different machine but it does not seems to work. The context path in
my apache doesnt seems to be able to map to tomcat. Pls help.
Here's my
Try adding this as the last RequestInterceptor in your server.xml and
restarting Tomcat
!-- Add request interceptor to prevent classloader conflicts --
RequestInterceptor
className="org.apache.tomcat.request.Jdk12Interceptor"
debug="0" /
If you want to know
I did it and quite successfully.
Intergate wrote:
Alex,
Were you successful with this auto loading solution?
It is something that I have been searching for...
I seem to remember a message a while back from someone
on the list that indicated that the
load-on-startup
HI,
I've tested the mod_webapp from 4.0 m5 and then directly from cvs and
even built a RPM.
I could make some servlet/jsp works but nothing related to session.
It seems that cookies are not yet supported ;-(
"Pour la plupart des hommes, se corriger consiste à changer de défauts."
-- Voltaire
-Original Message-
From: Peter Brandt-Erichsen [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 1:46 AM
To: [EMAIL PROTECTED]
Subject: Re: creation of application wide objects
My apologies for the confusion and also for
misquoting David and you.
So, it is
lib/tools.jar from the jdk 1.3 is missing in the classpath.
-Ursprüngliche Nachricht-
Von: Mark Koscak [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 21. Dezember 2000 05:09
An: tomcat
Betreff: Best JDK for tomcat 3.2
snip/
I get the following error
Exception in thread "main"
Hi,
I want to use Apache + Tomcat to develop JSP and Servlet programs, where
Apache serves HTML pages and Tomcat serves JSP and Servlet.
How to make mappings for JSP and Srvlet such that:
1) http://host-name/jsp/*.jsp -- go to jsp directory and run jsp
2)
I have followed the instruction on the Installing
jakarta-tomcat on window nt
in FAQ.Everything look fine except when i test the hello world
in apache server.It coun't find the
page.It work fine in http://localhost:8080 but not http://localhost or localhost:80.
Look like the apache server
Hi all,
I'm trying to delete a cookie using this :
%
String name1 = request.getParameter("cookieno");
Cookie delCookie = new Cookie(name1,null);
delCookie.setMaxAge(0);
response.addCookie(delCookie);
%
...
where name1 is the name of the cookie, this piece of code runs fine on
It looks like there is a little confusion of terminology here..
When I say "webapp root", I mean the root directory of *a*
web application (ie a tomcat context). I am not talking about
the directory $TOMCAT_HOME/webapps.
A single instance of tomcat can host any number of totally
independent web
Not directly related to tomcat, but:
Has anybody played with Sun's WebStart 1.0? Any impressions?
Alexander
JServ jserv.conf = Tomcat tomcat.conf ? or server.xml ?
JServ jserv.properties = Tomcat tomcat.properties ? or server.xml ?
JServ someservlet.properties = Tomcat what file ?
Into jserv.properties, I'd do:
wrapper.classpath=d:\internet\apache\JServ\ApacheJServ.jar
wrapper.classpath=d:\lp\jbuilder3\lib\jsdk.jar
wrapper.classpath=d:\lp\jbuilder3\lib\javamail\mail.jar
wrapper.classpath=d:\lp\jbuilder3\lib\jaf\activation.jar
At JServ, I should create a file someservlet.properties for specific
configurations, like these:
repositories=d:\...\sistemas\Consulta.jar
repositories=d:\...\sistemas\Senha.jar
... # some lines below
servlet.Consulta.ServletResConsulta.initArgs=DIRPS=d:/.../sistemas
Can I specify
I have many servlets made with NT4 + MySQL 3.23 +
JBuilder 3 Enterprise + Apache 1.3.9 + JServ 1.1.2.
Then, I would like to migrate from JServ 1.1.2 to
Tomcat 3.2.1.
I am trying to Install jakarta-tomcat-3.2.1 with Apache on Solaris 7, but it
seems that Apache can't find the mod_jserv.so which is definitely there.
Here is the full error message, followed by proof that the file is present:
# /usr/local/apache/bin/apachectl startssl
Syntax error on line 1 of
Hello,
We use Tomcat 3.2.1 as a backend to Apache 1.3. Apache serves both http and
https (mod_ssl) connections and communicates with Tomcat using the ajp13
(mod_jk) protocol. Our servers run NT/2000.
Problem: Tomcat's session tracking under SSL does not work without cookies.
Running the same
We are soft ware
developers(Calrion systems (P)Ltd. , Cochin ,Kerala, India).Now we are
developing application in EJB under weblogic server. We required to deploy the application (what we
developed in EJB under weblogic server)in Tomcat server. Please give me a step
by step Instructions
You'll have to setup mod_jk to let Tomcat and Apache communicate - there is
a nice howto that will help you
- Original Message -
From: "Joseph Wong" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 21, 2000 5:24 AM
Subject: Servlet and JSP mapping in Tomcat + Apache
Exception: java.lang.Error: Error in BasePeer.initTableSchema(Visitor):
Cannot connect to MySQL server on localhost:3306. Is there a MySQL
server running on the machine/port you are trying to connect to?
(java.net.ConnectException)
Response was very slow for a time. Finally got a index page.
On 12/20/2000 at 5:39 PM Rui Oliveira wrote:
can someone tell me which one is best: JSP or [regular] Servlets?
All JSPs are actually servlets, and the JSP file is really just another
way to Java source. The container (or one of its helpers) compiles
them into servlets as needed, and then
http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javac.html
or
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javac.html
-Ursprüngliche Nachricht-
Von: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 21. Dezember 2000 14:20
An: [EMAIL PROTECTED]
Betreff:
On Thu, 21 Dec 2000, Cumming, Murray wrote:
I am trying to Install jakarta-tomcat-3.2.1 with Apache on Solaris 7, but it
seems that Apache can't find the mod_jserv.so which is definitely there.
Here is the full error message, followed by proof that the file is present:
Any particular reason
On Thu, 21 Dec 2000, Boby Micheal wrote:
Hi,
1.Will tomcat server support EJB?
Nope - tomcat does servlets and jsp
2. Is it required any additional support program, to support EJB in Tomcat,?
Yup - you'll be needing an EJB container. I use JBoss with Tomcat
integrated and it works
Cathering Jung wrote:
Any particular reason you're using jserv rather than mod_jk?
That's another story. The standard install instructions talk about using
mod_jserv. mod_jk doesn't seem to be included with the binary download and
the instructions for building and configuring mod_jk from
yaya wrote:
Hi,
I tried to connect to mysql database with bean but fail with following error
:
org.apache.jasper.JasperException: Unable to compile class for
JSP/usr/local/jakarta-tomcat-3.2.1/work/localhost_8080/_0002fjsp_0002fdataba
seselect_0002ejspdatabaseselect_jsp_0.java:64: Class
This code is inserting NULL values into a mysql database. It is taking the
values from an HTML form, and should just insert the values.
Please Help.
%@page import="java.sql.*,javax.servlet.http.HttpServletRequest" %
%!
//Declare your variables;
String DRIVER = "org.gjt.mm.mysql.Driver";
That works like a charm! I notice that with the interceptor the thread class
loader is now Tomcat's AdaptiveClassLoader, so RMI's class loader
can delegate to it.
Thanks for your help!
Bill
-Original Message-
From: Hughes, Nick [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, December 21,
Hi,
I understand that tomcat uses the sun.tools.javac compiler as default.
Is there a available documentation about the compiler for example hot to
set a warning level etc?
--
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax:
agbortarh_d wrote:
My name
is Dominique.I am a beginner
in java, but already fascinated with servlets and jsp technologies.My
problem now is: I have tried to download tomcat 3.1.1 or 3.2.1, but each
time i get confuse on exactly what i have to download. After many trials,
i found myself on this
Is that the only way to achieve that
What is mod_jk by the way???
From: "Jeffrey Miller" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Servlet and JSP mapping in Tomcat + Apache
Date: Thu, 21 Dec 2000 07:25:50 -0500
You'll have to setup mod_jk to let
Just edit javac and hit return with no args to see a list of all available
options. *Smile*
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 12:18 PM
To: [EMAIL PROTECTED]
Subject: sun java compiler
Hi,
I understand that tomcat uses
Edilmar Alves wrote:
At JServ, I should create a file someservlet.properties for specific
configurations, like these:
repositories=d:\...\sistemas\Consulta.jar
repositories=d:\...\sistemas\Senha.jar
... # some lines below
I've just upgraded to Tomcat 3.2 (from 3.1) and now I sometimes gets
this error:
=== Cut ===
- ContextManager: Error reading request, ignored -
java.lang.NullPointerException
at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1099)
at
Edimar,
What you need to do is have a form on an html page that posts to the
servlet. handle the database access and data validation there, then and
add the return data to the request, or the session and then forward it
to the proper jsp page for display. (if the object is added to the
session
Beans are meant to be persistent in memory (reminiscent of comm object in the
microsoft world) which means that in order to reload them you are going to have
to restart the server.. Sorry :(
Matt
Deepak C S wrote:
hi friends,
I have Linux-apache-tomcat3.2.1. Ive have created a
I know and use javac, but I would like to write an java application that
uses the internal package (sun.tool.javac.*) that is used by "javac"
too.
Marino Vittorio wrote:
Just edit javac and hit return with no args to see a list of all available
options. *Smile*
-Original Message-
I believe tomcat will not auto-reload any classes that are located in the classpath
env. var. Of course, will also need to set reloadable=true in your context definition
in the server.xml file.
[EMAIL PROTECTED] 12/21/00 09:19AM
hi friends,
I have Linux-apache-tomcat3.2.1. Ive
You have to build query after reading the values from request.
%
//Declare your variables;
String driver = "org.gjt.mm.mysql.Driver";
String connect = "jdbc:mysql://127.0.0.1/userinfo";
String idnum = request.getParameter("idnum");
// Read all other params in the same way
String
Read what sun says:
sun statement
The sun.* packages are not part of the supported, public interface.
A Java program that directly calls into sun.* packages is not
guaranteed to work on all Java-compatible platforms. In fact, such a
program is not
guaranteed to work even in future
Hello,
I have set up Tomcat 3.2.1 and configured the Internet Information Server
3.0 to use the isapi_redirect.dll according to the tomcat-iis-howto.html
page. It seems to run but shows one strange behaviour for servlets: the
sevlet output (e.g. Hello World!) appears, but the browser tells that
Hi,
I've been using tomcat 3.1 on windows NT to serve an application where an
applet and a servlet communicates using http-tunneling and object
serialisation. The applet sends a command-object to the servlet using this
few java instructions:
connection = dataURL.openConnection();
Edilmar Alves wrote:
JServ jserv.conf = Tomcat tomcat.conf ? or server.xml ?
JServ jserv.properties = Tomcat tomcat.properties ? or server.xml ?
JServ someservlet.properties = Tomcat what file ?
Well you can continue to use jserv.conf or you can switch to the new
mod_jk. Read the online
So the FAQ-O-Matic is back, but the email confirmation seems to be
broken.
The message given when trying to create a new account is
"Error sending email: javax.mail.SendFailedException: No recipient
addresses"
Of course, I did in fact give it a proper email address in the
registration form.
Neither,
You'd set this up in your startup scripts (.sh if you are on linux and .bat
on windows) or in your wrapper.properties file if you are running
jk_nt_service.exe to run tomcat as an NT service.
Jake
At 09:14 AM 12/21/2000 -0200, you wrote:
Into jserv.properties, I'd do:
please ignore
(I haven't received any messages from this group since 24 hours).
Is that the only way to achieve that
As far as I know, unless you want to use the older,
unrecommended mod_jserv.
What is mod_jk by the way???
It's an apache module that communicates between apache
and tomcat, like you asked.
Dave
Hi!
How can I kill session after 5 min from servlet?
--
Best regards,
Al mailto:[EMAIL PROTECTED]
Leila,
Out of the box, tomcat/examples/ROOT
maps to /. If you put your package into
examples/ROOT/WEB-INF/classes, you
can access it as /servlet/fully-qualified-classname.
Obviously you could change the server.xml
if you wanted to make / map where ever you like.
Dave
- Original Message
Hi,
I'm not sure if this
is the right place to post this kind of message. If it's appropriate, then
sorry for taking your time.
I have developed a
Web application using the Java Servlet 2.2 API and following a MVC architecture;
I am testing using Tomcat 3.1. My servlets use a singleton
On Thu, 21 Dec 2000, Dave Newton wrote:
I remember you~it looks better with the variables not in the quotes.
%@page import="java.sql.*,javax.servlet.http.HttpServletRequest" %
%!
//Declare your variables;
String DRIVER = "org.gjt.mm.mysql.Driver";
String CONNECT =
I've tried 3 times over the last 3 days to remove my subscription to this
mailing list by sending mail to
mailto:[EMAIL PROTECTED], but I continue to get
tomcat-related mail. I'm
using the same e-mail address I used to start my subscription. What am I
doing wrong?
Duane Morse, Eldorado
What my name is doing on this message ???
Wellington
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg]
Sent: 21 December 2000 16:23
To: [EMAIL PROTECTED]
Subject:
Have you ever wondered what will happen if someone entered
a request with idnum something like
'0,...,);DROP info CASCADE;
Whoops, missed your single quote. Sorry, you're right.
Dave
Here is a solution for non-platform specific reading of files whether
they be directly on the file system or in a .jar archive:
Note: This example utilizes the java.util.Properties class. You can do
whatever you need, though. The technique should be pretty much the same
Properties props =
I am getting a "page not found" when trying to forward inside my servlet.
The code:
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher("/mktg/employee_form.jsp");
req.setAttribute("forward_msg", new String("Form Submission Complete"));
How does a servlet use the env. variables that are provided through the
tomcat.properties wrapper.env statements?
I thought perhaps that something like:
System.getProperties().list(System.out);
would print them out - but it doesn't. I need to verify that the Env
variables declared by my
Hi,
we have to put a new application on top of TomCat 3.2.1, which works in
general (under Solaris with Apache).
However, the programmers of this application decided, that they need some
native code within their Java-environment (please do *not* send some ethical
or religious comments on this
Ralf Freischlag wrote:
Hallo,
how can I disable session cookies in Tomcat? We want to use only
Url-rewriting for storing the session string, but
we found no switch to turn session cookies off.
Thank you for your help.
Which version of Tomcat are you using? Tomcat 3.1 doesn't support this
Guntupalli Shanti wrote:
Thanks for the reply but I don't think that works.
2 reasons why:
1) As far as I understand when the request comes in for servlet it is
passed to tomcat
and from there onwards tomcat does the rest of the processing.
2) Also even if I use the ForceType directive
Alistair Hopkins wrote:
I also have lots of this sort of nonsense.
My planned solution is to have only one servlet. This will act as a broker
to load 'logic modules', which are invoked thru' the url with xtra path
info:
http://myServer/myServlet/myModule?yada=yadafoo=bar
This has lots
Zsolt Koppany wrote:
I use tomcat but I think it must be done over the http protocol?
Check out the java.net.URLConnection class, which lets you connect to remote
servers. If you try to access a non-existent page, you will get a
java.io.FileNotFoundException back.
Zsolt
Craig McClanahan
Edson Carlos Ericksson Richter wrote:
Anyone know why this is not working?
servlet-mapping
servlet-name
invoker
/servlet-name
url-pattern
*/servlet/*
/url-pattern
/servlet-mapping
Yes ... this URL pattern is not legal
Paul Gonin wrote:
Hi,
I have a JSP that uses a bean. It uses the following directory structure :
webapps/myapply/myapply.jsp
webapps/myapply/web-inf/classes/mybean.class
It works fine but I am annoyed that people can download the bean directly
and "access" its content because it
John Elia wrote:
Hello, yes, I would like to know also. I actually need to subscribe to the
Tomcat Development Mailing List, so
if anyone knows the "trick", please be a sport and help me out.
First trick -- check out the http://jakarta.apache.org web site, and look up
the "Mailing Lists"
There seems to be a bug in the jk_nt_service.exe. On my System.
Apache 1.3_14 r2
Tomcat 3.2
Cocoon.
Win nt 4 sp 6.
I installed apche, tomcat and cocoon and everything works great. The
problem occurs when I logged without rebooting, the Tomcat Service dies.
I seem to remeber there is an NT bug
You don't mention, but you're probably using JDK1.3. That's the problem,
not jk_nt_service. Search the list archives and you will find copious
amounts of information about this problem and ways to get around it. The
easiest way is to switch back to JDK1.2.
This has come up so many times that
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
Title: Ctx( /awi ): 404 R( /awi + /awi/performer/pages/Holder.jsp + null) JSP file not found
Hi,
I have installed the 'awi' application under webapps (webapps/awi/...). No special entries were
made in server.xml. Finding that when a servlet forwards to /awi//xyz.jsp the page is not
Hi,
Can anyone direct me to some kind of list for PoolMan
database pooling.
I am currently instantiating a JDBCPool through the
SQLManager and storing a reference to the SQLManager
in the ServletContext. This is all being done in the
init method of a "Load-on-startup" servlet.
I am
I've also updated the NT-Service-how.html file to include a notice about the
JDK 1.3 issue and known work arounds.
-Original Message-
From: Marc Saegesser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 12:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Jakarta NT service
You
I have seen in the archives that it is possible to run multiple instances of
Tomcat using different ports. What I need to do is run multiple instances of
Tomcat 3.2.1 standalone with SSL each on a different IP address on the same
machine.
Each instance must be completely separate from all
Thank you for the idea Craig but java.net.URLConnection is an abstract
class, how can I do that?
Zsolt
"Craig R. McClanahan" wrote:
Zsolt Koppany wrote:
I use tomcat but I think it must be done over the http protocol?
Check out the java.net.URLConnection class, which lets you
Thanks a lot for all who helped me.
It turned out that I could read a class file in the apps directory (i don't
why this copy of the class was there... bad manipulation I guess) but I
cannot acces files inside web-inf !
Sorry for the inconvenience and thanks again.
Paul
on 12/20/00 5:30 AM,
Hi,
I'm in the process of starting work on a Tomcat book. The goal of the book
is to provide the information for using Tomcat in a book form. The plan
right now is to cover the installation, set-up, and use of both Tomcat 3.2
and 4.0. The idea for the book came from when I went to use Tomcat a
This is my first post to this list. I hope this is somewhere in the
ballpark of acceptable behavior.
I downloaded tomcat and I am successfully running the tomcat web server. I
wrote java servlets and java server pages and created a web site that I wish
to host from my computer. The
iam trying to unsubscribe from a week,and sending mails to listserv@--
but iam getting mails,
Please unsubscribe me from list,
any body can help me in this,
-bala.
From: Allen Walker [mailto:[EMAIL PROTECTED]]
I am getting a "page not found" when trying to forward inside my servlet.
The code:
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher("/mktg/employee_form.jsp");
req.setAttribute("forward_msg", new
Nope. /usr/local/jdk1.3/lib/tools.jar is in the classpath (on both systems)
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 21, 2000 9:23 PM
Subject: AW: Best JDK for tomcat 3.2
lib/tools.jar from the jdk 1.3 is missing in
Yes. You must wait for the confirmation e-mail and respond to that.
- Original Message -
From: Duane Morse [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 22, 2000 4:04 AM
Subject: Does "unsubscribe" really work?
I've tried 3 times over the last 3 days to remove my
Is your computer on a cable modem? or are you a dial up customer? If your
on a cable modem, it's would be better. A dial up connection
would be slow, and you would have to stay connected.. and if you get bumped
off, that's down time. If you have a cable modem, ask your
Service provider for a
Yes you will need an ip and you can get it from your isp. You can also
find out your dynamic ip that's assigned to you each time you connect to
the isp and give that out to a client (probably not a good idea since it
changes each time)
David Peregrim wrote:
This is my first post to this
I want to expose my computer to the internet.
Not for nothing, but if you need to ask that question here, it might be
a very dangerous thing for you to do on your own.
You really might want to park your application with a hosting ISP, like
iMagineIS.com (TomCat and proud of it!).
I have
Well, you surely need a static IP address. Try to find a ISP around you
who can provide non-stop Internet link and you will get the IP from him.
Another way is to find a Hosting Service on the web (an affordable one)
which allows this kind of services.
I am also a beginner in this tomcat
I tried doing this, but my app which uses a session variable to
check if a user has logged into the site still does not work.
Where can I find a full description of this tag ?
Also, will it work seamlessly for
response.sendRedirect("http://www.myserver.com/page.jsp") and a
href="page.jsp"/a ?
On 12/22/2000 at 12:16 AM Horia Bochis wrote:
I am also a beginner in this tomcat stuff, and I had a strage wish to
get the tomcat for windows, but I have got lost betweens so many files,
there. Any hint?
Tomcat is a 100% native Java application, which means there is only one
version for all
Hi,
I am just started learning apache and tomcat..I have
difficulty
in modifying tomcat file like *.xml and *.properties.When i
use notespad(fr window)
it show a mix of test and some special character?What word
document should i use to modify
tomcat files.Thanks.
I am using NT workstation
try
netbeans...
http://www.netbeans.org
-Original Message-From: chew
[mailto:[EMAIL PROTECTED]]Sent: Thursday, December 21, 2000 4:44
PMTo: [EMAIL PROTECTED]Subject: How to
modify the files in tomcat
Hi,
I am just started learning apache and tomcat..I have
Does your stepfamily life resemble a soap opera more than it does the Brady
Bunch?
The Stepfamily Association of America invites you to participate in THE
NATIONAL CONFERENCE FOR STEPFAMILIES, Feb. 23-24, 2001, at the New Orleans
Marriott Hotel.
This is an opportunity, designed by knowledgeable
Hello,
I am having a problem with session retival.
Not sure if this is a bug or a design issues, but here goes:
I have 2 servlets (one happens to be turbine, but that shouldn't matter)
Servlet 1 addes something to the Session object.
Servlet 2 have doGet and doPut:
doGet in servlet 2 can
Kevin,
There is no bug for retrieving a session in either
method that I have seen. I do what you describe
all the time. Try killing the tomcat process and
dumping the work directory, the restarting tomcat.
That will probably clean things up.
The other possibility is that you simply don't have
a
92 matches
Mail list logo