Hi,
I've created new apps and add a new context in server.xml. I want to add a
new web.xml in the /WEB-INF.
I put this line at the beginning of web.xml.
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Application web 2.2//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
But when I
Yes.
you also need to add it as links in the rc.0 through rc.6 directorries. just
have a look at what ssh or sendmail does
regards
Tomasz Ciolek
--
Tomasz M. Ciolek
Systems Administrator - CSIRO Entomology
Phone: 02-62464391 * Fax: 02-62464000
-Original Message-
From: Johnny
Can I use mod_webapp on MS W2K ? How and where to get?
I need to Apache 1.3 + Tomcat 4 run on MS W2K.
Any recommendation?
Hi everybody,
I'm new to Tomcat, although I know servlets pretty well. I have a
problem with my XML-RPC application; I can get the servlet to run fine
as a stand alone, and I can register it as a servlet, but somehow I
can't get any response back from it after it loads.
I'm using Log4J as
Hi Toru,
I'm using jdbc-odbc driver to connect to SQL server.
Regards
Rajesh
That's your problem
This is NOT a production quality driver, it's a JDBC type 1 hack. It's got
known problems and Sun specifically tells you to use it for testing only.
I recommend MS's beta SQL Server driver
turned on the RequestValueDumper... but no luck. I have absolutely no
idea why I can't map http://localhost:8080/bookie to my servlet.
servlet-mapping
servlet-nameBookieServlet/servlet-name
url-pattern/bookie/url-pattern
/servlet-mapping
is it as simple as it should be??
On Tue, 14 May 2002 08:37:16 +0200
[EMAIL PROTECTED] wrote:
http://java.sun.com/dtd/web-app_2_3.dtd
Generally, you might try to download the dtd in your browser.
This will tell you if it exists (this one does) - in which
case your 'not found' error is a networking problem.
Or you might try to
Hi all,
What is the major difference in between of mod_jk and warp connector?
Any performance issue? Which is better?
Any input?
Thanks.
KL
Hello !
I have a few questions concerning the session object.
On the Java Sun web site, I can read this about the HttpSession
interface :
The servlet container uses this interface to create a session between
an HTTP client and an HTTP server. The session persists for a specified
time period,
Hi Craig,
Could you please send the URL for the UML diagrams, I could not find them.
Thanks.
Jim.
-Original Message-
From: Mats Nyberg [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2002 20:42
To: Tomcat Users List
Subject: Re: automatic login
Craig R. McClanahan wrote:
On
Using the default memory realm I have modified the Tomcat server.xml to
store the passwords encrypted as follows :
Realm className=org.apache.catalina.realm.MemoryRealm digest=MD5 /
This works fine.
For my tests I would also like to use digest authorization to transfer the
password over the
Hi all,
I've created a web site with the use of servlets for its dynamic content
(tomcat 4) and IIS 4 for its static content. Tomcat and IIS talk through the
isapi_redirect dll. Now I want to add another site that talks to tomcat but
the isapi_redirect filter does not work. Is there a way to have
[ ... ] I fail to see the authoritative, working example as to how Tomcat is
configured to allow an application to connect with external EJB resources. [ ... ]
Replying to my own posting, I just found out that RC1 of a bundle of JBoss 3.0.0 and
Tomcat 4.0.3 is available at
Hi fillup,
Does the driver for which you have provided the URL, work with sql server
7.0 as on the site it says that it is for SQL Server 2000 and the SPz?
Gurmeet
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 1:04 PM
To: Tomcat Users
Hi,
does anyone use mod_webapp for apache under windows 98?
Where to find it?
Pascal
Hi list,
I found a couple of posts regarding this problem in the archives, but no fix
or explanation posted that I could find.
I've just installed 3.3.1 on linux 7.2 from the rpm.
My webapps directory is where it should be: /var/tomcat3/webapps, but its
empty.
Therefore I have no root context
Hi!
i try to adapt the validator-example vom struts to my on app. i copied
the web.xml, registration.jsp, RegistrationAction.java,
RegistrationForm.java and made the relevant changes in
struts-config.xml.
i build a .war and deloy it but tomcat shows the following exception:
2002-05-14 12:05:54
Hi to all listmates,
I manage a linux box with Apache 1.3.19 and Tomcat 3.2.3 with many
servlet applications running.
Now I need to use url rewriting to let sites working with Explorer 6 too
(that have cookies disabled by default). So I used encodeURL(url) to
generate all links.
But if I use
Hi
Have you used any pooling software?How can you achieved connection
pooling?.
Actually we had same problem and we got the solution.
Give more details on that will help to identify the problem.
Regards
VelmurganP
([EMAIL PROTECTED])
SoftSolutions
Chennai.
- Original Message
From: Edam Cheeseman [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: no webapps or root context tomcat 3.3.1 rpm linux 7.2
Date: Tue, 14 May 2002 09:52:35 +
Hi list,
I found a couple of posts regarding this problem in the archives, but no
fix
Hello,
I posted this message a few days ago but didn't get a reply, so maybe if I
post again I will. :-)
I am having problems running Tomcat 4.0.3 with my Apache 1.3.20 web server
and am emailing this list to see if any one can help me get it working.
I am running both these applications on
Hi there,
I dont think this has been asked before...Apologies if it has.
I want to trigger Tomcat (4.0.3) into doing some work (writing a record
to a DB, so ideally I want to execute a javabean method) when a specific
image is requested. Is there any way of doing this?
Many thanks,
Ben
Hi,
I use the File class in a jsp. When I run it with Tomcat, I have this error
: http status 404: Error report.
I think I have a problem with the pathname I have put in File constructor.
What's the default directory in this constructor? can I have an example
please.
Thanks
Jc
--
To
On Tue, May 14, 2002 at 12:42:31PM +0100, Ben Rometsch wrote:
Hi there,
I dont think this has been asked before...Apologies if it has.
I want to trigger Tomcat (4.0.3) into doing some work (writing a record
to a DB, so ideally I want to execute a javabean method) when a specific
image
Hi Philip,
do you know any memory leak associated with the Oracle Thin JDBC driver?
Thank you in advance.
-
Wagner Danda
Sun Certified Programmer for JavaT 2 Platform
- Original Message -
From: Phillip Morelock [EMAIL
Hi,
I've used DDConnectionBroker.jar pooling software provided free by
DevDaily.com. It gives connection pooling facility.I've tested the pooling
software with a sample java program but it doesn't seem to have any memory
leak problem.
Is there any other pooling software available which I
Hi There,
Sorry - could you explain a little further? I'm not quite sure where
you're coming from...
Many thanks for the reply,
Ben
-Original Message-
From: Simon Stewart [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2002 13:14
To: Tomcat Users List
Subject: Re: Doing some work when an
Hi
Use the following Webster.www.ambysoft.com
Regards
Velmurgan P.
- Original Message -
From: Collins, Jim [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 2:03 PM
Subject: RE: automatic login
Hi Craig,
Could you please send the URL for
Basically, you can define a class that does the work that you want
done, and make it implement the java.servlet.Filter interface. Then in
your web.xml file, you'll need some fragments like:
filter
filter-nameimageFilter/filter-name
filter-classImageFilter/filter-class
/filter
Hi,
I'm running Tomcat 3.3.1, Sun Java 1.3.1, and Apache 1.3.23 on Redhat Linux
7.2.
Have been using an earlier version of mod_jk fine for a long time with
Tomcat 3.2.1. I upgraded to 3.3.1 the other night to fix some problems
addressed by 3.3.1, and thought I had it all sussed... insert spooky
Ok,
i found the error myself:
i had xerces.jar in my WEB-INF/lib and this parser conflicts with the
jaxp parser provided by tomcat...
markus
* Markus Garscha [EMAIL PROTECTED] [2002-05-14 12:16]:
Hi!
i try to adapt the validator-example vom struts to my on app. i copied
the web.xml,
Hi Chris,
It is not clear if you tried:
JkMount /testapp/servlet/* ajp13
I assume you build the mod_jk.so from Tomcat 3.3.1's source. Using
a mod_jk from Tomcat 3.2.x has the potential to hang.
Cheers,
Larry
-Original Message-
From: Chris Herrmann [mailto:[EMAIL PROTECTED]]
Hi Larry,
No, I haven't tried:
JkMount /testapp/servlet/* ajp13
doing so now...
I upgraded to the latest mod_jk.so as well from jakarta.apache.org. I tried
both with and without eapi support to see if it made a difference (and
rebuilt apache with and without eapi support accordingly.
Is it possible to setup Tomcat so that Apache handles all the SSL requests
and I don't need to bother with keystores or anything like that ?
My setup is as follows :
Windows NT 4.0 Apache 2.0.35 and Tomcat 4.0.3. I compiled the Apache to
include mod_ssl and I installed an openssl certificate as
Hello,
I was wondering if any one knows of any jsp/servlet based groupware
projects that are going on. I think that this would be a great example
of a j2ee app that would really showcase java technology.
Anything out there already? Anybody want to start such a project?
Thanks.
--
Vincent
Hi.
I have two Tomcat 4.0.3 installations in two machines
with Windows 2000. Before I used Tomcat 3.2.3, and I
developed application on one machine, after that I
just removed Tomcat folder from second machine and
copy it from my development box, running Tomcat, its
working.
When I moved to
The jakarta-tomcat-connectors/jk/native sources have small improvements
and bug fixes over that found in jakarta-tomcat/src/native. One of the
improvements is support for JkMount /*/... that you discovered.
Cheers,
Larry
-Original Message-
From: Chris Herrmann [mailto:[EMAIL
Yes, I am trying to access an https site through a proxy. As I said
before I'm asking this question because the error I get on the client
side - Unrecognized SSL handshake says, as far as I can tell, that an
https connection is being attempted on an http line. I have set
debug=99 on the
I was whining about this too about a month ago, but I failed
to spark a discussion on this list. So I went to Bugzilla
and entered it as a feature request. Apparently, somebody
agreed with me. If you look at the nightly build source code,
you will see that LoggerBase is now public and FileLogger
Hi,
i have a problem to use log4j for two different application.both appication
on same server.my problem is
1-- i dont know what to do for that.
2-- if i create two different log4.configure file with same file name place
in both different application /web-inf/class dir. then it will not
Hello,
I have to install tomcat on as400, and I'm not an expert with this
system
jdk is included in the os, I have copied tomcat files on the system but I
can't use the script in bin directory...
Can someone tell me how I can achieve my requirement.
Thanks in advance
Pierre
--
To
I've made no progress on this, so let's try again. My dynamic
PDF is working perfectly with MSIE 4, 5, and 6, but I'm still
having problems with Netscape (ver 4 and 6) and the Acrobat
(ver 4 and 5) plugin. I've tried this on various client machines.
With both NS4 and NS6, I just get a blank
Tomcat Users,
I was under the impression that there was an Alias tag available within
a WebApp that would allow multiple domain names to match to one Host
entry. For example:
webapps
Host name=nickmain.spinweb.net
Context path=
I caught my error. The description can be found on this page:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html
Basically I had a syntax error with the Alias tag and the tag *must* be
present before the Context tag. A corrected version of the webapp below
would be:
webapps
Jeff
Thanks for the info.
Animesh
-Original Message-
From: Jeff Larsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 7:59 AM
To: Tomcat Users List
Subject: Re: catalina.LoggerBase class should have public access
I was whining about this too about a month ago, but I failed
to
For the Alias element to work in Tomcat 3.3.x, it must preceed
all Context elements. This requirement has to do with how the
XML is processed and keeping this feature simple to implement.
You can find additional details here:
Pierre,
Last February, Midrange Server published an article I wrote on
setting up and running Tomcat on the iSeries (AS/400). The article
is available online at:
http://www.midrangeserver.com/mpo/mpo021402.html
The article points to an open source site on Source Forge that has
some basic
Hi friends,
Well i'm using the tomcat 4.x series and i have few
question
regarding tomcat and its seting which has to be done
on autoexe
1) What is to be done and what should be exact setting
in autoexec
2) what is tomcat_Home
3) Do we have to explictly add the line in autoexec
4) What all
Since subscribing to Tomcat Users list (about a week - rather short
time period for generalizing!) have noticed mostly administrative /
configuration related stuff posted here. The actual use (in terms
of jsp/servlet that you seem interested in) seems seldom(?)
discussed here.
What specific
Hi All,
I launched the embedded tomcat in my application - it is configured to use memory
realm. I added a user with the manager role in the tomcat-users.xml file. When I try
access the manager app I see the following exception enclosed at the bottom of the
mail. The same thing seems to work
okay, after pulling out my hair trying to get a mod_jk for freebsd (they
have it in the ports), i am now trying to configure it so that my apache
server, cartman, can forward the request for jsp's and servlets to my
tomcat server, butters.
i have modified the workers.properties on cartman to
Hi All,
I have a few simple things I could contribute, like a contact database that
lets users share a database of name, address, etc, etc. info. It uses an
SQL DB but it's all open source.
I'm working on a program to syncronize it with Palm Pilots, but that has a
ways to go.
I've also got a
I have Tomcat 4.0.3/isapi_redirect.dll mostly working on a Win2k server but
get the following in the log file:
[...]
[jk_isapi_plugin.c (439)]: HttpFilterProc [/home] is a servlet url - should
redirect to ajp13
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/home] is points to the
web-inf
I do the following (call it whatever you want :-|, the reasons are beyond
technical):
I have an applet that calls the servlet that generates the pdf stream. The
applet then saves the stream as a file on the local HDD and opens the file
with Acrobat Reader. Of course you need to check whether the
The only tip I can provide is that you need to do the absolute minimum in
your page.
IOW, don't set extraneous headers to disable caching, etc. Really, just set
the content type and shove out the byte stream. You might also check that
you are using a straight output stream, and not a compressed
I just noticed that the CoyoteConnector no longer seems to work. I'm using
the config listed below for my server.xml. This worked fine with Tomcat
4.0.4b2-01 and Coyote 1.0b5. Now, it just hangs.
Server port=8005
shutdown=SHUTDOWN
debug=0
Service name=Tomcat-Standalone
Connector
Since Instant Messaging is very hot now, any thoughts on that? or someone is
already doing that? I remember someone was doing Chat with servlet.
Bing
-Original Message-
From: Rick Fincher
To: Tomcat Users List
Sent: 5/14/02 12:29 PM
Subject: Re: any jsp/servlet based groupware
I thought of one other question. What happens if you connect to the http 1.1
connector directly and don't go through mod_jk?
-Original Message-
From: Sexton, George [mailto:[EMAIL PROTECTED]]
Sent: 14 May, 2002 2:36 PM
To: Tomcat Users List
Subject: RE: REPOST: Problems serving PDF to
i had this same problem and also posted to this list with no replies.
i followed the tomcat docs to the letter to no avail.
someone posted the following url regarding setting up tomcat as a service on
NT
i followed this ( except or the service part ) including the
iis_redirect.dll download and
Does the manager has some know bugs in version 4.0.4?
It just don't work, either as http url or as ANT task.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 5:52 PM
Subject: RE: Yet Another IIS/Tomcat Problem
i had this same problem and
Jeff,
As a last resort, you could write the pdf to a temporary directory
accessible via apache, then send the browser a redirect to that file. That
way, the actual PDF will be served by apache, not Tomcat. You'll obviously
have to tidy up the generated PDFs periodically, although the temp file
Direct connection to Tomcat does not help...
And I've tried reconfiguring the headers too. I even
mimicked the exact headers that Apache sends when it
serves a static PDF file. No luck...
I wish I could run Netscape and Adobe in a debugger!
- Original Message -
From: Sexton, George
Hello,
I have just installed Apache Jakarta Tomcat 4.0.3, Java 2 SDK 1.4.0,
and Java 2 SDK EE 1.3.1 on a Red Hat 7.3 Linux platform. I appended
the following lines to my personal ~/.bash_profile file:
export PATH=$PATH:/usr/local/jdk/bin
export JAVA_HOME=/usr/local/j2sdk1.4.0
export
As much as it pained me to do so, I tried generating static
files and redirecting, but it still behaved the same way!!!
It's got to be something about iText that the Netscape/Acrobat
combination doesn't like. Too bad there aren't any (free) packages
better than iText! Has anybody worked with
I have a installation of Apache/Tomcat which is working...sort of.
I have everything configured according to the snippets I will post
below. Here is the strangeness: I initially configured Tomcat as
standalone and was able to pull up the servlet app perfectly well.
Everything performed as
I have many virtual hosts. Right now, they all access a webapp because I
have set the context to that webapp inside their Host tag in server.xml.
I would like to change it so that all I have to do is put the webapp inside
$tomcat_home$/webapps. Is this possible so that I can avoid the redundant
I am programming a web application with filters that run XSLT's (using
Xalan) against the XML written out by servlets. I have also created servlets
to serve as error pages by writing out error messages as XML documents,
which then get transformed into user-friendly HTML by filters that use XSLT.
Hi,
i am using tomcat 4.0.3 under jdk1.4.
I have configured form based authentifikation and it works great if
cookies are allowed. but if the client diables cookies (with opera,
mozilla or netscape), and the login form was shown, in the url also a
session is generated. When i submit this form
Hello all. I've been having a bit of a problem with the restart session
persistence in Tomcat 4.0.3.
I've been examining the documentation on the Manager
(http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/manager.html)
and I saw a few others who were having some problems with it (mainly
Ok... some more information...
JkMount /*/servlet/* ajp13
It turns out, that this line breaks apache! Warning warning warning don't
use it! I just spent 5 hours recompiling apache, checking httpd.conf etc et
al to discover after a few hours sleep and a coffee that it's actually this
line in
hi guys,
i got IIS running with Tomcat on Win2K for one of the web applications (all
the traffic goes through IIS). We do authentication to the web application
through IIS. Is there any way of doing access control also through IIS on a
file basis instead of using Tomcat's Realm implementations.
OK. The problem was that the server needs to be restarted each
time a servlet is recompiled. Doing this as root is somewhat
not the best thing to do from a security point of view.
Is there any way that I can give all users on the
system permission to create their own servlets
and run them? How
Hmm... you should have the following as the base minimum for any
context...in your case, the ROOT context:
IfModule mod_jk.c
JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties
JkLogFile /var/log/tomcat/jk.log
JkLogLevel emerg
# Static files
Alias / /usr/local/tomcat/webapps/ROOT
If you want certain session data to not be serialized, just make those
variables transient in whatever bean classes you are using in session.
This will prevent just those variables from being saved.
public class UserBean implements Serializable {
private String username;
private transient
Thanks, August. I agree with that and I think that this should be in a
FAQ somewhere on session persistence if it isn't already.
But there are situations where you are using other libraries where you
are not in control of all the transient attributes of the beans. You can
do a lot to prevent the
Hello,
I don't think this is possible but it can't hurt to ask
I'm using Tomcat v4.0.3 on Win2k.
I have a few JAR files that I would like to be accessible from
within *all* contexts on my web site. In other words, I do not
want to duplicate these JAR files in the WEB-INF/lib directory
for
As nobody answered this question the first time around lets have another go !
Using the default memory realm I have modified the Tomcat server.xml to
store the passwords encrypted as follows :
Realm className=org.apache.catalina.realm.MemoryRealm digest=MD5 /
This works fine.
For my tests I
No reply to this first time around so lets try again.
Is it possible to setup Tomcat so that Apache handles all the SSL requests
and I don't need to bother with keystores or anything like that ?
My setup is as follows :
Windows NT 4.0 Apache 2.0.35 and Tomcat 4.0.3. I compiled the Apache to
definitely possible:
put them in TOMCAT_HOME/common/lib
ChrisC
-Original Message-
From: Tony LaPaso [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 1:36 PM
To: Tomcat User
Subject: ??? Sitewide JAR Files ???
Hello,
I don't think this is possible but it can't hurt
Yes, I am starting a socket listener in a static block
in a servlet, so this should run only once. Only
once, since the classes that I reload are different
from the servlets. Any idea why the static block
of this servlet is run?
Futher, I also observed that my HTTPSession, though
is not New,
Hi,
I've tested tomcat with IIS on my computer and It works fine. Now I want to
pass IIS on a different computer ( via a LAN network ). How can I config
Tomcat to do that? Where can I find a tutorial to do that?
Thanks.
Jc
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
81 matches
Mail list logo