At 08:16 PM 15/11/01, you wrote:
I have a web application which provides support for 4 different languages. I
am using the resource bundle files for this. However tomcat4.0 is unable to
load these files and reports a java.util.MissingResourceException: Can't
find resource for base name
If you search for type 4 drivers that support your database
you will find drivers that are available for all plattforms
(As type 4 means that they are pure java)
-Ursprüngliche Nachricht-
Von: Law Kim Soon [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 16. November 2001 08:58
An:
Additional note:
Read http://java.sun.com/products/jdbc/driverdesc.html
to unstand the different types of drivers and their
relation to ODBC.
-Ursprüngliche Nachricht-
Von: Law Kim Soon [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 16. November 2001 08:58
An: [EMAIL PROTECTED]
Bonjour,
I want to generate a PDF file from a JSP with a servlet doing this :
- call a JSP and redirect the ouput to a HTML file,
- then, transform the HTML to a PDF file via HtmlDoc,
- finally, open then PDF and send it to the client.
The output is redirected to a HTML file whith
2. Run a startup servlet, which will precompile all JSPs in your
webapp (request them with URL /path/file.jsp?precompile=true, I think)
As I wrote before this is not possible, because a jsp can first be accessed
after the container is *completely* up - including all servlet-startups!
Hi again,
i' am trying to upgrade from Tomcat 3.2.3/ Apache 1.3.19 to Tomcat
4.0.1/ Apache 1.3.19 on Linux.
All the urls in the jsps of my application are rewritten by a
UrlTag. The UrlTag Class takes the url between the tags and rewrites
it if necessary.
It works with Tomcat 4.0.1 if the url
I think its because you havent set
rtexprvaluetrue/rtexprvalue
which tells JSP that the parameter is specified at run time and not compile
time.
Conrad
-Original Message-
From: Thomas Rickal, IOP Unternehmensberatung GmbH
[mailto:[EMAIL PROTECTED]]
Sent: 16 November 2001 08:38
To:
I did the same configurations like mentioned below. But I get:
Invalid virtual host name
for the following line in httpd.conf:
WebAppDeploy examples conn /examples
But I did not configure any Virtual Host.
-Original Message-
From: Lin, Zhongwu [mailto:[EMAIL PROTECTED]]
Sent: Freitag,
Hi,
i'm working with Tomcat and Windows 2000. Is it possible to set up the
server
to do this thing ? :
it should start always the same same servlet when it receive an HTTP
request ( whatever request, so to catch the context of the request into the
servlet ).
Thanks
cristian
--
To
(sigh) and I thought it was such a good idea...
me too :)
Could we have a startup servlet that would wait for a JSP servlet
to start-up and then call all the pre-compilations? Or just wait
for a while? (That sucks as an idea, I know)
We definitely need a regular hook for this.
Hi Conrad,
thanx for answering.
But there is no parameter so i can't set rtexprvalue to true.
I' looked in my documentation again. Maybe bodycontent has to be set
to JSP:
bodycontentJSP/bodycontent
I tried it out but i did not work too.
Thomas
--
To unsubscribe: mailto:[EMAIL
I am posting this again because no one responded. No one here has worked
with filters? Can I get a yes or no about if Tomcat has a Authentication
filter?
Thanks in Advance,
Pritpal Dhaliwal
- Original Message -
From: Pritpal Dhaliwal [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
You could always use Referrer to see where the request is coming from. I am
not sure if this would work if you used a dispatcher.
Pritpal Dhaliwal
- Original Message -
From: Laurent Michenaud [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 7:38 AM
Subject:
try
return EVAL_BODY_TAG
...
Why not just do
%= response.encodeURL( /page/you/want/to/go/to.jsp ) %
David
Thomas Rickal, IOP Unternehmensberatung GmbH wrote:
Hi again,
i' am trying to upgrade from Tomcat 3.2.3/ Apache 1.3.19 to Tomcat
4.0.1/ Apache 1.3.19 on Linux.
All the
Thanks Larry.
effectively I use tomcat 3.2.3 with Apache 1.3.22 and the AJP 1.3 connector on an AIX
plateform.
I'll try to use the 3.3 release of the mod_jk in my 3.2.3 unless the 3.3 could be used
in a production environment.
otherwise i can try to use tomcat 4 but I only tested it on NT
Hi David,
i tried to return EVAL_BODY_TAG but then tomcat was not able to
serve the page. An infinite amount of kilobytes was produced as
response.
I intensively used taglibs in the project to encapsulate und reuse
view logic for several jsps. It isn't a good idea to place the code
directly in
i m working with macromedia ultradev jsp 1.0, mysql 3.23, mmJDBC and tomcat 3.23. All
works fine, but when i call the webpages all data-fields of type text crashes. There
only appears [B@4f2a8511 in every field (the last 8 characters changing).
is there any idea of that behavior.
Frank
--
Hello Falko,
'Invalid virtual host name' was also a problem in my configuration.
The solution is to enable and assign 'ServerName' in httpd.conf.
Regards
Roman
Falko Braun wrote:
I did the same configurations like mentioned below. But I get:
Invalid virtual host name
for the following
Hi Roman,
I tried that before like
ServerName localhost
but it didn't change the error. I'm afraid there is another bug in my .conf,
although I didn't change much. If you wouldn't mind, I'd like to ask you, if
you can mail me your httpd.conf for comparison.
Thanks
Falko
[EMAIL PROTECTED]
Hi,
how to use servlets with tomcat 4? is it mandatory to put servlets in
servlets folder or is it possible to use different folders?
How to define the servlet used as default one when the user comes to the
site (such as index.jsp with JSP)
thanks for your help!
Hi,
Got it to work, permissions for JSPs can only be given at the context
root level. I was trying to be more fine grained which is not possible.
Antony
Antony Bowesman wrote:
Hi,
How can you assign permissions to code compiled from a JSP, it is
possible or do you have to put all code
Hi,
which isapi_redirect.dll are you using? - I ask because the Tomcat 4.0.1
release doesn't contain one and all isapi_redirect.dll-files before
Tomcat 3.3 do _not_ support ajp13 that Tomcat 4.0.1 relies on.
So have you tried the isapi_redirect.dll from the Tomcat 3.3 release?
bestWISHES
FYI:
I manged to bind Tomcat4.0 to Apache on Win2k by
adding the following lines in httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
and at the very end (which was the important point) of the file
#Virtual
Another possibility is that you are maxing out your network
connection - either at the machine or at some point upstream (like your
internet connection, perhaps?)
Randy
-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15,
Hello All.
I have a custom tag that Tomcat (Jasper) won't compile.
The problem is one of its attributes called class. I want to include this
attribute so that users of the tag can set the style sheet attribute in the
same way as for other HTML4 tags.
Corresponding to the class attribute,
Hello,
Using Jakarta on IIS makes the authentication through IIS not working.
I have to configure Jakarta in order to allow the access to some
directories only after an authentication. I don't want to change my
application for that, furthermore I want to use Jakarta-Features for it.
I am
There is documentation on setting up JDBC authentication/JDBC Realms:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html
One thing I found that wasn't documented you need to add
/app name/j_security_check=$(default.worker)
to your uriworkermap.properties file so that the request is
Hello Hamish,
Thanks for your answer.
Do you mean, the authentification and user management with Jakarta runs
with the help of a database? Do I have other possibilities like using a
config file instead of a database?
Sincerly
Samuel
--
SWIPe Software Engineering Project Management GmbH
There is also a simple xml file authentication method that Tomcat uses by
default. You just add log-ins to an xml file. I believe there is an example
included with the Tomcat download (examples/jsp/security I think)
Hamish
-Original Message-
From: Samuel Rochas [mailto:[EMAIL
Tomcat 3.3 has automated support for this. See:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#context_addcust
as it relates to virtual hosts, if you are curious.
I haven't tried to do much with virtual hosts in Tomcat 3.2.3,
so I can't comment on how well virtual hosts work in
Try turning off image display in your browser preferences. If the pages
then work, the problem is an unresolved one with mod_webpp. You can search
the archive for nightly snapshot and you should find a link to the latest
version of the source, which may have fixed this by now, but the last time
There is a bug in ThreadPool that causes it to overwrite the
settings installed by the Ajp13Connector. This is fixed in
the nightly version of Tomcat 3.3.1 which can be found at:
http://jakarta.apache.org/builds/jakarta-tomcat/nightly-3.3/
Cheers,
Larry
-Original Message-
From:
Nick,
unfortunately I know no straight workaround. The getClass method in
java.lang.Object is declared final and you would if you could override that
risk that the jre completely screws up.
You could of course call it CLASS. From a code purist's point of view that
would be blasphemic, but it
Tomcat 3.3 suport multiple realms ( one per webapp , and also global
ones ), Just add your realm inside the context element in app-*.xml
file..
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Trever M. Shick [mailto:[EMAIL PROTECTED]]
Enviado el: jueves 15 de noviembre de 2001
There are many books on online articles (@ Sun, Apache, etc.)
that describe the basics of how to organize web applications.
You might look specifically for Model 2 Architecture.
Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating
A couple of things to check
Is your servlet class really ActionServlet and not something
like com.mycom.ActionServlet?
If it IS ActionServlet then
the class file should be in WEB-INF/classes (if it is
com.mycom.ActionServlet then it should be in
WEB-INF/classes/com/mycom/).
Frank Lawlor
Hello,
I am having trouble understanding how to properly configure
the error-page section of my web.xml. I found some previous
posts, but could not find enough information.
There are two types of error-page element: exception-type and
error-code. Are those complimentary -- i.e., they must both
Hi Cristian
Here is a web.xml which will map a servlet like you wish...
servlet
servlet-namemyservlet/servlet-name
display-namemyservlet/display-name
servlet-classcom.company.myservlet/servlet-class
/servlet
servlet-mapping
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello tomcat-user,
I have a RedHat 7.1 system running Apache. I downloaded and installed
the following RPMs:
font.properties (notes said to download this)
j2sdk-1_3_1_01-linux-i386-rpm.bin created: jdk-1.3.1_01.i386.rpm
mod_webapp-1.0-1.i386.rpm
Hi all
Has anybody any experience of implementing the SMTP/POP/IMAP protocols using
GenericServlet class? Is it possible to do this. How can I get Tomcat to
listen on port 25/110/143 or whatever and work with these protocols?
Any pointers or help is greatly appreciated...
Donie
--
To
I would have responded had I known the answer... I have never worked with
filters.
Try searching for authentication filters in the archives.
- Original Message -
From: Pritpal Dhaliwal [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 16, 2001 4:48 AM
Hello,
Ok, I am now able to prompt for a dialog box, asking for username and
password. So far, exactly what I wanted.
I have configured a user in the file /conf/tomcat-users.xml according to
the role defined in the role defined in the security constraint for the
application.
The trouble is
I've been working with and using Tomcat3.3 for two weeks and it has been running fine.
Yesterday, I added a new .jar file to my classpath and all of a sudden Tomcat stopped
running. I started Tomcat with the run attribute so it would start in the same window
and this is the stack trace I
crimson parser doesnt play nice with xalan/xerces parser
-Tim
-Original Message-
From: Douglas Brendle [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 11:26 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3 Startup
I've been working with and using Tomcat3.3 for two weeks and it
Why are you using a classpath? Tomcat handles that for you completely.
You shouldn't have any problems if the jar is added to the webapp lib..
(btw I believ you have to rename the zip to jar files so tomcat can read
them).
Mvgr,
Martin
-Original Message-
From: Douglas Brendle
Hello everybody.
I am looking at upgrading to tomcat 4.0.1. I have everything working
correctly except for clustering/load balancing. I have scanned the
documentation and have not found anything suggesting how to setup load
balancing.Can anybody give me an example or point me towards some
Can you provide more detail about what is changed from the
binary distribution? Normally only tomcat.jar is on your
classpath. Tomcat 3.3 adds the rest of the jars internally.
Larry
-Original Message-
From: Douglas Brendle [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001
On Fri, 16 Nov 2001, pero wrote:
Date: Fri, 16 Nov 2001 10:26:07 +0100
From: pero [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Precompile JSP
(sigh) and I thought it was such a good idea...
me too :)
Could we
I answered this yesterday ... go check the archives of this mailing list.
Craig
On Fri, 16 Nov 2001, Pritpal Dhaliwal wrote:
Date: Fri, 16 Nov 2001 01:48:20 -0800
From: Pritpal Dhaliwal [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Unfortunately, you're stuck -- and you can blame Java for this one ;-).
If you look at the JavaDocs for java.lang.Object (the top-level superclass
for all Java classes), you'll see that it includes a getClass() method
that returns the java.lang.Class for a paritcular object. Therefore, you
On Fri, 16 Nov 2001, Samuel Rochas wrote:
Date: Fri, 16 Nov 2001 14:16:25 +0100
From: Samuel Rochas [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Authentication with Tomcat 3.2 and IIS4
Hello Hamish,
Thanks for
On Fri, 16 Nov 2001, Fabien Modoux wrote:
Date: Fri, 16 Nov 2001 11:32:08 -0500
From: Fabien Modoux [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: error-page usage in web.xml
Hello,
I am having trouble understanding how to properly
On Fri, 16 Nov 2001, Donie Kelly wrote:
Date: Fri, 16 Nov 2001 16:42:14 -
From: Donie Kelly [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: Using tomcat to implement SMTP
Hi all
Has anybody any experience of
This is a known problem (related to ajp13 and ajp12 connector), Tomcat
3.3 has the fix for this..,
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Samuel Rochas [mailto:[EMAIL PROTECTED]]
Enviado el: viernes 16 de noviembre de 2001 18:16
Para: Tomcat Users List
Asunto: Re:
Hi,
maybe I have a solution. Your're using the isapi_redirect.dll and access
your contexts via IIS 4, right? Have you tried accessing your pages
using Tomcat directly? Does it work then?
I have a machine running W2k, IIS 5 and Tomcat - and had exactly the
same problem: The dialog box appeared
Hi,
I can now confirm that the isapi_redirect.dll of Tomcat 3.3 runs
successfully on W2k with IIS 5 redirecting to Tomcat 4.0.1.
And I've received this URL from a user of the list - a howto on this
topic:
http://www.vacodi.com/howto/tomcat/iisnt/index.html
bestWISHES
Ingo
Hi,
Precompilation is a feature of a particular container -- it's not anything
mandated by the JSP spec. Tomcat's current implementation of that is
jspc -- if you don't like jspc for some reason, you'll need to suggest
(or, better, contribute :-) an implementation that does what you want.
I am trying to get Tomcat working on an SGI - IRIX machine. I can get
the example Tomcat page (index.html) as well as the example servlets.
However the example JSPs and my own JSPs are not being served and give
errors, such as:
001-11-16 12:22:04 - Ctx() : Compiling:
Yes are correct in stating that the 404 error is not an exception... it is
simply file not found error and must be handled seperatly from exception
errors.
I am currently exploring the exception error handling/page myself.
You can get the URL of the page as follows:
In the page you have the
Thank you for the suggestions, so to upgrade to a newer version of tomcat
3.2.x, all I have to do is switch jar files in tomcat_home/lib? Do you
think that may help with the 97% processor problem?
As far as garbage collection, this condition stays this way, even after 12
hours. Would that be
You must restart Tomcat for the changes to take effect.
Jim
-Original Message-
From: Samuel Rochas [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 11:16 AM
To: Tomcat Users List
Subject: Re: Authentication with Tomcat 3.2 and IIS4
Hello,
Ok, I am now able to prompt for a
I have heard that perhaps I need to make sure that tools.jar is in
Tomcat's CLASSPATH.
How can I determine the environment variables being used by Tomcat
? Where are these set ? I assume that there is a config file which is
handling this...
Thanks for suggestions,
-James
--
To unsubscribe:
I'm trying to use Realms with JDBC to control access to my web
application. I've verified the database connection and login seems to
work as the log reports the username when trying to get a page from
the tomcat server. I can get pages from /examples, but when I go to
my own webapp I get an
I have a problem with existing struts 1.0 jsp's that work fine with Tomcat
3.3 but not with Tomcat 4.0.1. I have an input form and submit with the
appropriate STRUTS taglibs but they fail to compile. That is all that is in
the JSP (username and password login). Are there any particular
I have a JDBC Realm which is working fine as long as it is defined
within the Engine. If I take that Realm definition and Cut-Paste it into
the Context definition I get the contextConfig.missingRealm error logged
out of ContextConfig.java.
Is there some magic that needs to be imparted to the
Hammad Said wrote:
Struts 1.0 fails with Tomcat 4.0.1 on the Window, but woks fine with Tomcat
3.3
Get the following error message: ( login.jsp is the page browser is trying
to access)
Login.jsp is code is:
%--%@ page import=com.agentware.web.util.WebKeys%--%
I had the same problem, and reverted to Tomcat 4.0 to fix it. Something to
do with the way Xerces is shared between Tomcat and the Webapp I guess.
Supplying my own XML Parser in the webapp lib didn't help.
-Original Message-
From: Hammad Said [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Since I can't get webapp to work on a W2K to tie apache to TC I'm trying to
use Mod-JK ...
Apache doesn't seem to auto-gen the conf/mod_jk.conf file.
How do I accomplish this?
OS: W2K
TC: 4.0
Apache 1.3.22
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands:
Hi everyone:
I´m a newbee with tomcat so please bear with me...
I´m trying to install the JDBC drivers for Domino. My config is as follows:
TOMCAT: Ver 4.0.1 (STAND ALONE)
JDK: VER 1.3.1_01
DOMINO: VER: 5.0.6
I downloaded the driver form the lotus webpage and installed it according to their
- Original Message -
From: Brandon Cruz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 16, 2001 7:01 AM
Subject: RE: Common Problem with Tomcat/Apache (processer sticks at 97% on
linux)
Thank you for the suggestions, so to upgrade to a newer version of
Tomcat autogenerates that file. You need to start Tomcat first, the Apache.
Travis
-Original Message-
From: Mike Kelley [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 3:20 PM
To: 'Tomcat Users List'
Subject: Mod-jk conf question
Since I can't get webapp to work on
That's my problem,
When I try to restart/start apache I get the error ...
fopen: No such file or directory
Apache.exe: could not open document config file c:/program files/apache
group/to
mcat-4.0/conf/mod_jk.conf -auto
Note the errors or messages above, and press the ESC key to exit.
So
On Fri, 16 Nov 2001, James Adams wrote:
Date: Fri, 16 Nov 2001 14:33:48 -0700
From: James Adams [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: NoClassDefFoundError: sun/tools/javac/Main
I have heard that perhaps I need to make sure
Check your include line in the httpd.conf file in apache. I think you have
added an extra space in the name of the file.
It should be: c:/program files/apache group/tomcat-4.0/conf/mod_jk.conf-auto
not: c:/program files/apache group/tomcat-4.0/conf/mod_jk.conf -auto
-auto is part of the file
Hi James-
first, my disclaimer: I'm a C++, Visual C++, ATL, COM, DCOM guy, so I'm by
no means a TC Guru, in fact considering the problems I've had with TC and
Java, I hate the entire Java scene, but aside from that here's what I did:
I downloaded and extracted the JDK 1.1.8 program to my root
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as
many other Java topics). Here is an automated update on recent postings to
Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] .
- Alex
Hi Larry,
Thanks for your help. Does the same bug exist in Tomcat 4.0.1?
Cheers,
Raymond
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 10:29 PM
To: 'Tomcat Users List'
Subject: RE: Thread pool problem in Tomcat 3.3 in
Fabien,
Just a follow-up to my previous email.
I was able to get the calling URI of the page that caused the exception
along with the time of the exception to be stored in the application log of
Tomcat (or your webapp).
In my error page (error.jsp) I put:
% // Log the calling URL to the log
78 matches
Mail list logo