I'm running a servlet which does user centric authentication using JAAS.
I.e.
I evaluate the client certificate used in the SSL session and map
the distinguished name within a login module to a role (implementation
of
interface java.security.Principal).
The first time I receive a request, I
Hi,
im using Tomcat with Apache by mod_proxy and i know, how to deny directory
listing .
Can you help me?
Liquid
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I think the ; in the query is wrong. Be sure that the query is excute and
you get one row back.
If you get no row back you have a problem.
Regards Gerlinde
-Ursprüngliche Nachricht-
Von: ossipetz [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. März 2003 18:21
An: [EMAIL
Filip's memory is correct.
In server.xml you need an entry on the engine element:
Engine jvmRoute=tomcat1 .
then on the next instance
Engine jvmRoute=tomcat2
etc.
and your workers.properties file should declare workers tomcat1, tomcat2, etc
Regards
Eric
-Original
Hi,
Does anyone know if there is a way in Tomcat to specify which host
to load first?
Tomcat seems to start all hosts around the same time and we have
a requirement to start one first so that we can use it to set up some
hooks on System.out and System.err.
Thankyou for your help.
Best Regards,
Hi Liquid,
The file conf/web.xml has the following entry:
param-namelistings/param-name
param-valuetrue/param-value
To deny directory listings, change the true to false and
restart Tomcat.
Best Regards,
Neale Rudd
metawerx
http://www.metawerx.net
- Original Message -
From:
Hi
I check out in the server.xml there is no entry for jvmRoute. There is
something called jmvRoute is it a typo or something cos I corrected it to
jvmRoute and it still does not work
Engine name=Standalone defaultHost=localhost debug=0 jmvRoute=jvm1
This is tag directly taken from server.xml in
There is a typo in the server.xml - it should be jvmRoute.
The worker.list in your workers.properties appears to only contain the loadbalancer:
#worker.list=tomcat1,tomcat2,loadbalancer
worker.list=loadbalancer
#worker.list=loadbalancer
Uncomment the top line and remove the rest.
Are you
Hi,
You could set up two Service elements, because Tomcat does guarantee that Services
will be
initialized in the order they are listed in server.xml
HTH
Eric
-Original Message-
From: Neale Rudd [mailto:[EMAIL PROTECTED]
Sent: 10 March 2003 10:10
To: Tomcat Users List
Subject: Loading
Thank you very much.
Liquid
- Original Message -
From: Neale Rudd [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 10:12 AM
Subject: Re: Deny listing directory
Hi Liquid,
The file conf/web.xml has the following entry:
Hi
I tried correcting the typo but it does not work .Infact the load balancing
itself doesn't work if I change it to jvmRoute.
BR
Joshua
-Original Message-
From: Roberts, Eric [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 2:52 PM
To: Tomcat Users List
Subject: RE: Problem with
Joshua,
Here are the extracts from my conf files. I am running Apache 2.0.43 with mod_jk and
Tomcat 4.1.18 also, so please check carefully that you have similar.
workers.properties:
worker.list=tomcat1,tomcat2,loadbalancer
worker.tomcat1.port=9019
worker.tomcat1.host=myhost
Hi, Matt and Mavrikis,
Well, I tried to add the load-on-start like this:
servlet
servlet-nameStartServlet/servlet-name
servlet-classmanpower.servlets.StartServlet/servlet-class
load-on-startup1/load-on-startup
/servlet
That didn't work. I tried load-on-startup/ too.
Hi,
I assume you are using Tomcat4.1.x
Have u written the init(ServletConfig) method,.
Load on Startup executes the init(...) method only. If there is no init(..)
method you can not see any print statements or any other operations
executed,
In Tomcat4.1.18 only you can see the print statement
And how can i do it on Tomcat 3.3 ? There is no conf/web.xml
Liquid
- Original Message -
From: Neale Rudd [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 10:12 AM
Subject: Re: Deny listing directory
Hi Liquid,
The file conf/web.xml has the
OK, I think I see the problem. It did call the servlet but only the
init() method. Makes sense. Since there is no request passed, I can't
do anything.
Let me restate the question. I'd like to start execution with a servlet
that can fire off a jsp after initializing stuff in the the session
Hi,
Do you wish to initalize the session or ServletContext[application] on
startup???.
If you want to fire a JSP another servlet from the init() you can invoke by
writing URLConnection..
But I am not clear about initializing the Session info, on startup
Do let me know if any thing found on
Hi,
we have the following constellation:
A webapp uses a java class to send emails , this class uses
another class to SIGN this email via GNUPG.
The host was up for app. 200 days without rebooting and
everything worked fine until last friday ( An idiot @ our
computer centre switched the
Power-Netz (Schwarz) wrote:
Hi,
we have the following constellation:
A webapp uses a java class to send emails , this class uses
another class to SIGN this email via GNUPG.
Is there a way to accomplish this via more common Java APIs, like JavaMail?
S-MIME? I'm no exeprt in that field...
The
Hi all,
Thanks for the help.
I figured it out and i am able to rename the file with my name.
Thanks again
venkat
-Original Message-
From: Venkat [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:47 PM
To: Tomcat Users List
Subject: RE: file renaming using Multipart class.
Hi
Hi Eric,
Thanks, this worked perfectly. I wasn't aware you could run a service
element without any connectors, but it works fine.
Best Regards,
Neale Rudd
metawerx
http://www.metawerx.net
- Original Message -
From: Roberts, Eric [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Hi Eric
Thanx for the config files it works now. The only difference was the
jvmRoute in the server.xml.
There was a typo error in the server.xml file.
Bye
Joshua
-Original Message-
From: Roberts, Eric [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 3:37 PM
To: Tomcat Users List
Hi all.
I've an application that it connects with a servlet through HttpsURLConnection
class. My problem is when I intend to send data on this connection.
Application:
HttpsURLConnection servConn = new HttpsURLConnection(new URL(servlet));
servConn.setSSLContext(context); -- this context
Hi,
Have you opened the Input Stream .
If not opened then, Please try by opening the Input Stream and close it.
It forces the execution.
InputStream in=servConn.getInputStream();
in.close();
I observed, the resource is not executing if we don't open the
InputStream...
Hope it may
well well well. even more stupid queries dont help.
more strangeness: from a jsp file:
try {Class.forName(org.gjt.mm.mysql.Driver); }
catch(ClassNotFoundException ex){ out.println(JDBC-Treiber nicht gefunden! +
ex.getMessage()); }
try {
Connection oConnection =
Thanks for your help.
Yes. I have the input stream opened:
ObjectOutputStream oos = new ObjectOutputStream(servConn.getOutputStream());
oos.writeObject(object to send);
oos.close();
ObjectInputStream ois = new ObjectInputStream(servConn.getInputStream());
ois.readObject();
Hi,
Does the problem solved???
Regards,
Pratt.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 7:14 PM
Subject: Re: Connection among application and servlet
Thanks for your help.
Yes. I have the input stream opened:
I'm sorry... I obtain the same error ;-((
Regards.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
The sessiion problem has been fixed but I am getting the following error
something with the JMX Bean
I commented out the code for the JMX Bean in the server.xml bcos in one of
the posts I found the JMX BEan and the Apj13 cannot be used together. But
now I am getting these errors.
Hi,
will it possible for you to try by just sending a string parameter than
using object streams???
Regards,
Pratt.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 7:21 PM
Subject: Re: Connection among application and servlet
I'm
Hi,
has anyone tried to host SIP Servlets using Tomcat?
Could provide some guidance?
Thanks in advance,
jose
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does anybody knows what this exception means? It
appers when I try to send a email(function that I get
from the webmail package of java):
org.apache.jasper.JasperException:
javax/activation/DataSource
thanks
Marcelo.
___
Greetings,
I am trying to get an existing tg that I have written
under Tomcat 4.1.x. I have a tag that extends
BodyTagSupport, within the doStart tag I return
EVAL_BODY_INCLUDE, however I keep getting a null
pointer exception, because none of my scripting
element attributes are being found. I
Hi
There is a jar file called activation jar. This file is not your classpath.
Add it up in ur classpath and the exceptions will disappear.
BR
Joshua
-Original Message-
From: Marcelo [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 7:00 PM
To: tom cat
Subject: Exception on Tomcat
Hi
I have a problem with JMX Bean it was giving the following error
ServerLifecycleListener: Creating MBean for Connector
[EMAIL PROTECTED]
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at
Howdy,
Depending on how you mess up your configuration, e.g. have autoDeploy
set to true and have an explicit Context element with the same docBase
but different path than your app directory, then tomcat may deploy your
application twice, thereby initializing and destroying everything
(listeners,
Maybe I'd better start over. The jsp that I would like to display
initially (index.jsp, perhaps) has a form with a number of select
boxes. I need to prime some of the select boxes with values derived
from one of the other select boxes (the database name). I use taglib
routines to populate these
If you want to have a system working 24 hours which sends emails, Do you just create a
single connection to the server and use it all the time or rather you create a new
Session every time you want to send an email. I guess there is a maximun number of
connections you can create to the email
Howdy,
You can access init-param parameters any time, not just during
initialization. The same is true for context-param parameters.
As for including parameters in url-pattern elements, that doesn't make
much sense. URL patterns are interpreted by the container for mapping
purposes using a
Howdy,
None of your assumptions are wrong. Check/post your logs, as I bet they
contain some errors...
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Vy Ho [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 08, 2003 10:00 AM
To: Tomcat Users List
Subject: Re: Simple
If you want to have a system working 24 hours which sends emails, Do you just create a
single connection to the server and use it all the time or rather you create a new
Session every time you want to send an email. I guess there is a maximun number of
connections you can create to the email
All the environmental variables seem to be set correctly. Tomcat puts a
log in its /logs directory, containing startup information, look there
for more clues.
-Kal
-Original Message-
From: Venkatesh Brahmadesam [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 6:04 PM
To: [EMAIL
This is the code of the function that I'm using. And
it's here that the exception occurs.
___
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
http://br.busca.yahoo.com/
unsuscribe
For your protection, this e-mail message has been scanned for viruses.
Visit us at http://www.neoris.com/
Hi,
I am using Tomcat 4.0.6. I am writing a JSP in which I want to get the catalina_home
path. I am giving the code as System.getProperty(CATALINA_HOME). This is retreving
me null.
I am running tomcat using startup.bat. Please help me asap if you have any suggestions.
Thanks Regards,
..Raj
CATALINA_HOME is a shell variable (DOS\UNIX, or whatever type of system you
are running on). It is not variable of the JVM that started Tomcat. Now, of
course, you could pass CATALINA_HOME to your JVM. But, the only variables
that System.getProperty will retrieve are the ones of the JVM. To see
Howdy,
In your startup script, add a -D argument to java with the value of
Catalina home and whatever name you desire. Let's say you want
myCatalinaHome is the property name. Then do:
java -DmyCatalinaHome=%CATALINA_HOME%
And it will be available to your programs as
Hi,
After downloaded tomcat-4.1.18.tar.gz and tomcat-4.1.18.tar.gz.asc, how do I verify
the download.
Thanks.
Chiming
-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
Hi Shaipra,
I have done the way you said. I get the output as ..
I think the reason is in catalina.bat its set that way. But some how I want to get the
location of the folder installed.
Regarding usage of this property actually i am trying to use it in my servlet at the
backend to initiate
you can use context.getRealPath(/) to get the root folder of your web app, then use
relative path to get to other folder.
Raja Sekhar [EMAIL PROTECTED] wrote:Hi Shaipra,
I have done the way you said. I get the output as ..
I think the reason is in catalina.bat its set that way. But some how
System.getProperty(catalina.home) should give you the CATALINA_HOME
environment variable without doing anything extra special to any startup
script.
System.getProperty(catalina.base) will give you ... CATALINA_BASE
-Tim
Shapira, Yoav wrote:
Howdy,
In your startup script, add a -D argument to
Hi Pratt.
I have proved with ArrayBytesOutputStream, DataOutputStream,
BufferedOutputStream and ObjectOutputStream. None of these classes work fine. I
don't know where is the error.
I think that this error is related with JNDIRealm. I have created a JNDIRealm
for client authentication through
-Original Message-
From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED]
Sent: 10 March 2003 14:54
To: Tomcat Users List
Subject: Problems with JMX Bean in Tomcat4.1.18
Hi
I have a problem with JMX Bean it was giving the following error
ServerLifecycleListener: Creating MBean for
Hi Joshua,
Do not use the ajp13 connector - use the CoyoteConnector.
Then you can use your JMX Beans. The error means that there is no entry in
mbeans_decriptor.xml for ajp13.
Regards
Eric
-Original Message-
From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED]
Sent: 10 March 2003 14:54
Dear friend, I'm hoping you can join me on an emergency petition
from citizens around the world to the U.N. Security Council.
The petition's going to be delivered to the 15 member states
of the Security Council on MONDAY, MARCH 10.
If hundreds of thousands of us sign, it could be an enormously
Who are you and why are you sending me this. I do not agree with this
petition. I support war with Iraq, whatever it takes. But that's just my
option.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Wilhelm Colln [mailto:[EMAIL PROTECTED]
Sent: Monday, March
Hi,
I am new at this so please be patient with me !!! Ok I am trying to get
Tomcat to work with Oracle's LDAP implementation (OiD) for authentication
purposes. I just wanted to know if anyone has ever tried this. I cant get it
to work !
In the REALM tag in server.xml what I have is as
On Mon, 10 Mar 2003, Wilhelm Colln wrote:
Date: Mon, 10 Mar 2003 12:17:07 -0500
From: Wilhelm Colln [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Subject: Please sign emergency petition to the U.N.
This kind of thing is totally off topic for TOMCAT-USER and is an
Suck on my fat one monkey boy!!!
-Original Message-
From: Wilhelm Colln [mailto:[EMAIL PROTECTED]
Sent: 10 March 2003 17:17
Cc: Francis Stenning; Fransisco Da Rocha; Gigi Buchanan; Gladys Galvez
Grieve; Glenn Cameron; Gustavo Kahan Novoa; Gustavo Reategui; Hector
Rospigliosi; Herbert
please don't use this forum for your personal political views. Many
of us would prefer a petition against terrorism instead. Where was your
petition on September 11, 2001? While I am sure that we all respect
each others opinions this isn't really the place for your email..
Bob
-Original
Well really what's more inappropriate? The first one is just misguided, but
still has no place here. This one has no place anywhere.
-Original Message-
From: Charlie Barker [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:48 PM
To: 'Tomcat Users List'
Subject: RE: Please sign
Hello,
I am using Apache 1.3.26 on IBM AIX
I want to implement Basic Authentication on Apache (Ref: htpasswd)
I have 2 users with their respective directories:
-
USER NAME HOME DIR public_html
My humbilest apologies, I clicked reply on the email he sent me and then
typed the response, thinking it would be sent only to him, as soon as I
clicked send I realised that it had gone to the mailing list instead of him.
Very Sorry Indeed !!!
-Original Message-
From: Januski, Ken
Januski, Ken wrote:
Well really what's more inappropriate? The first one is just misguided, but
still has no place here. This one has no place anywhere.
I *completely* agree and hope there is an enforcement mechanism for
putting violators in their place if they can't respect the topicality of
Sorry, I don't seem to see tomcat instructions anywhere on the site. What's
the url?
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Jon Roberts [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 10:13 AM
To: Tomcat Users List
Subject: Re: Please sign
Sorry, I don't seem to see tomcat instructions anywhere on the site. What's
(Bthe url?
(B
(B--mikej
(B-=-
(Bmike jackson
(B[EMAIL PROTECTED]
(B
(B -Original Message-
(B From: Jon Roberts [mailto:[EMAIL PROTECTED]
(B Sent: Monday, March 10, 2003 10:13 AM
(B To: Tomcat Users
Hello folks, i´m using Apache-2.0 and Tomcat-4.1.18 in my redhat
Linux-2.4.18-14 with
2sdk-1.4.1_01 that´s the features from it´s server. My web-application has
some applets to deal
with check-printers, when JavaPlugin try to download the applets it shows me
this error:
load: class
Howdy,
It's been a long time since I've worked with applets, as I really dislike them, but it
seems to me that you should just put the iac.JChronos class file and related classes
in the file name in the ARCHIVE attribute of the APPLET tag in your html document...
Yoav Shapira
Millennium
Thanks for all the responses.
I have another question about shutdown.
My app has several asynchronous threads which it spins off. I need to
get them shut down cleanly.
These threads are not servlets and if I add a listener spec to web.xml
for them I get the startup message:
This is a basic question but I am encountering a problem
with my database access servlet and I am trying to diagnose it.
If I want to start my servlet at Tomcat startup, do I have to use servlet involker
even though I put load-on-startup1/load-on-startup in my web.xml?
Thanks,
Phil
I got this working but it is kind of convoluted because of the way OiD
encrypts passwords.
OiD defaults to MD4 for the password digestion and Tomcat uses MD5 (I
think SHA may work also, but I have not tried it. MD5 and SHA are the
only algorithms supported by the Sun JDK, which is the source of
Tim is right - I am learning something new too.
Interestingly, System.getProperty('java.home') gives 'c:\j2sdk1.4.1_01\jre' on my PC.
Tim Funk [EMAIL PROTECTED] wrote:System.getProperty(catalina.home) should give
you the CATALINA_HOME
environment variable without doing anything extra
Hello,
I have application which requires from me UTF-8 page encoding.
With Tomcat 4.0.x everything was ok. When I've wanted to migrate to 4.1.18
I've found problem with JSP enconing. They are not rendered to UTF-8 but to
iso8859-2 (IE claims that). I've made some tests on simple JSP page.
It has
Hey there,
My name is Dave Koris and I work as a Computer Programmer for American Express.
I don't know if this is the right place to send this but I'm having and an
issue with my JSP website running on Window2000 with IIS 5.0 ad tomcat 4_0_6.
It may be IIS related and I may not have it set up
venkat,
here is the one way to use it:
MultipartRequest multi =
new MultipartRequest(request, dirName, 100*1024*1024,
ISO-8859-1, new DefaultFileRenamePolicy());
Enumeration files = multi.getFileNames();
while (files.hasMoreElements()) {
String name =
Dear Sir or Madam,
Good morning. I am a new student of Tomcat. My
computer
is M.S. WindowsXP. I downloaded and installed
Tomcat
successfully. I wrote a simple HTML web page (see
the
attacted file) and put it in Tomcat. But it cann't
be browsed.
I try to put it indifferent directory
Howdy,
Keep track of them by holding the references as member variables
somewhere, typically a singleton. Call close() on the singleton, which
in turn calls interrupt() on each one of the threads.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Frank Lawlor
Hi,
No. The invoker servlet has nothing to do with servlet startup or
shutdown, only with request processing.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: pcampaigne [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:25 PM
To: Tomcat Users List
Subject:
Where did you put your html file? It looks like you're trying to get your
html from the root of tomcat. if you put your file in your own webapp, you
should try
http://localhost/yourwebapp/zyx.html http://localhost/yourwebapp/zyx.html
NOT http://localhost/zyx.html http://localhost/zyx.html .
I was wondering if there is a more up-to-date version of these instructions,
they appear to be for Tomcat 3.
Regards,
Michael Murphy.
Working with the Jakarta NT Service
By Gal Shachor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Modified by Dave Oxley [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Hello Doug,
Can you explain in detail what you did do make it to work. I mean creating
the Roles in OiD mainly. How did you create the Users and Roles in OiD. I am
new to OiD.. so if you can send me a sample LDIF file that will be great.
Thanks
Adil
-Original Message-
From: Doug Redd
Hi Rick,
I tried both fixes, but they failed. I also tried different releases
(2.0.1, 2.0.2), but none worked.
It also doesn't log properly, just fails when I look into the event viewer
Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 115
Date:
you can define a listener in web.xml that will catch the context.destroy
Filip
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 10:52 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: How to listen for shutdown
Howdy,
Keep track of
This is very bizarre and I am unable to find the solution. Tomcat WAS
working fine, I tested it with the default index.jsp and it worked
great. After I began creating a custom index.jsp things went bizarre.
I first made a copy of the original file, then added my own file, now
Tomcat says that
PISS OFF AND STOP MAILING THIS CRAP!
-Original Message-
From: Wilhelm Colln [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 9:17 AM
Cc: Francis Stenning; Fransisco Da Rocha; Gigi Buchanan; Gladys Galvez
Grieve; Glenn Cameron; Gustavo Kahan Novoa; Gustavo Reategui; Hector
No at all, my binaries are in the correct place and everything
loooks fine, i can tell you that because i have the same configuration with
my WinNT and my applets works, but with my Linux it doesn´t work for while.
--
De: Shapira, Yoav[SMTP:[EMAIL PROTECTED]
Responder:
Annoying email. Regards this email, it changed my political view. I support
KILL TERRORISM.
-Original Message-
From: Aiello, Bob (Exchange) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 9:44 AM
To: 'Tomcat Users List'
Cc: Francis Stenning; Fransisco Da Rocha; Gigi Buchanan;
Dear Sir or Madam,
While I do appreciate your cause. I do not like to receive unsolicited
email. Please remove my email address from any future posting.
Sincerely,
James
James Haring
Programmer
Plum Creek
[EMAIL PROTECTED]
406-892-6382
[EMAIL PROTECTED] 2003-03-10 10:17:07 AM
Actually, that error is generally related to IIS trying to start up when
Apache Http server is running on the same port...make sure Apache http
server is STOPPED and than Tomcat is not set up to be listening on port
80...
Rick Bullotta
CTO
Lighthammer Software (http://www.lighthammer.com)
I have installed Tomcat 4.1.18. I configured a user with the
administrator role, and have tried to start the Administration Tool.
When logging in to the admin tool, I get this error:
--
HTTP Status 400 - Invalid direct reference to form login page
type Status report
Dear Sirs,
I have tried unsuccessfully to install Tomcat 4.1.18 as an NT service using the
jk_nt_sevice.exe file. I found this file at
http://cvs.apache.org/viewcvs.cgi/~checkout~/jakarta-tomcat/bin/nt_service/Attic
/
Does this file use AJPV12, instead of AJPV13 which I can find in the Tomcat
CATALINA_HOME gives only .. when you access it. It doesnt give anything extra. Its
different from the java.home. So we still have a problem. Try out this
--
On Mon, 10 Mar 2003 10:38:15
Steve Guo wrote:
Tim is right - I am learning something new too.
Interestingly,
CATALINA_HOME gives only .. when you access it.
that should still work
File f = new File(System.getProperty(CATALINA_HOME));
String path = f.getPath();
or something like that,
Filip
-Original Message-
From: Raja Sekhar [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:13 PM
Hi all,
I've been using tomcat 3.3.1 (on Windows with IIS) for some time now and
decided
to upgrade to the latest (4.1.18).
Were can I get these files that were missing from the conf directory:
uriworkermap.properties
workers.properties
Thanks in advance
Antoni Unkovich
Hi,
I tried this code in my JSP
%@ page import=java.io.*%
%
File f = new File(System.getProperty(catalina.home));
String path = f.getPath();
System.out.println (Path : +path);
%
The output is Path ..
So this also doesnt seem to work.
..Raj
--
On Mon, 10 Mar 2003
I'm trying to write a servlet that sends Date and Expires headers that
are a few days in the past. (It's the server side of a caching test
case.) Adding the old Expires header is trivial:
response.setDateHeader(Expires, System.currentTimeMillis() - 3 *
ONE_DAY);
but if I put in the
he he he, funny, little handholding here
try some of the other methods in the API
like
f.getAbsolutePath()
f.getCanonicalPath()
Filip
-Original Message-
From: Raja Sekhar [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:28 PM
To: Tomcat Users List
Subject: RE: How to get
Ok, I have some kind of a strange behavior here. I have tomcat 4.0.18
running, tied to apache 1.3.27 via mod_jk. Seems to work fine. I'm in theh
process of migrating my installed webapps and I run into something strange.
I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet) which is in my
register your servlet in the web.xml file
Filip
-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:50 PM
To: Tomcat Users List
Subject: strangeness
Ok, I have some kind of a strange behavior here. I have tomcat 4.0.18
running, tied to apache
Can I ask if anyone has a different solution than this one?
I have the same problem, and commenting everything sounds more like a
work-around than a solution.
Redhat 6.1
Tomcat 4.1.18 (using the coyote jk2 connector)
Apache2.0.43
Thanks,
Scott
At 04:45 PM 3/7/2003 +0530, Madhan G Dennis wrote:
1 - 100 of 146 matches
Mail list logo