JAAS and Tomcat 4.1

2003-03-10 Thread Marcus Lippert
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

Deny listing directory

2003-03-10 Thread Liquid
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]

AW: tomcat 4.1.18 on linux not loading mysql-driver for a connection-pool?

2003-03-10 Thread Gerlinde Fischer
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

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Roberts, Eric
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

Loading one host or web-app before others

2003-03-10 Thread Neale Rudd
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,

Re: Deny listing directory

2003-03-10 Thread Neale Rudd
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:

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
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

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Roberts, Eric
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

RE: Loading one host or web-app before others

2003-03-10 Thread Roberts, Eric
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

Re: Deny listing directory

2003-03-10 Thread Liquid
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:

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
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

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Roberts, Eric
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

Re: How do I start with a servlet?

2003-03-10 Thread Jim Lynch
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.

Re: How do I start with a servlet?

2003-03-10 Thread Tomcat-RND
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

Re: Deny listing directory

2003-03-10 Thread Liquid
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

Re: How do I start with a servlet?

2003-03-10 Thread Jim Lynch
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

Re: How do I start with a servlet?

2003-03-10 Thread Tomcat-RND
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

GNUPG TC , could be OT!

2003-03-10 Thread Power-Netz \(Schwarz\)
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

Re: GNUPG TC , could be OT!

2003-03-10 Thread Nikola Milutinovic
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

RE: file renaming using Multipart class.

2003-03-10 Thread Venkat
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

Re: Loading one host or web-app before others

2003-03-10 Thread Neale Rudd
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]

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
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

Connection among application and servlet

2003-03-10 Thread mgp2
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

Re: Connection among application and servlet

2003-03-10 Thread Tomcat-RND
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

Re: AW: tomcat 4.1.18 on linux not loading mysql-driver for a connection-pool?

2003-03-10 Thread ossi petz
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 =

Re: Connection among application and servlet

2003-03-10 Thread mgp2
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();

Re: Connection among application and servlet

2003-03-10 Thread Tomcat-RND
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:

Re: Connection among application and servlet

2003-03-10 Thread mgp2
I'm sorry... I obtain the same error ;-(( Regards. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
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.

Re: Connection among application and servlet

2003-03-10 Thread Tomcat-RND
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

support for SIP Servlets

2003-03-10 Thread José Soler Lucas
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]

Exception on Tomcat

2003-03-10 Thread Marcelo
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. ___

Body Tag throwing nullpointer exception with scripting elements

2003-03-10 Thread Scott Walter
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

RE: Exception on Tomcat

2003-03-10 Thread Joshua Sunil Kumar
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

Problems with JMX Bean in Tomcat4.1.18

2003-03-10 Thread Joshua Sunil Kumar
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

RE: How to listen for shutdown

2003-03-10 Thread Shapira, Yoav
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,

Re: How do I start with a servlet?

2003-03-10 Thread Jim Lynch
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

RE: Exception on Tomcat

2003-03-10 Thread Gustavo Cebrian
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

RE: Servlet Mapping with parameters

2003-03-10 Thread Shapira, Yoav
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

RE: Simple Question

2003-03-10 Thread Shapira, Yoav
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

Email connections.

2003-03-10 Thread Gustavo Cebrian
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

RE: Problem installing Tomcat 4.06 on Windows 2000

2003-03-10 Thread Kal Govindu
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

RE: Exception on Tomcat

2003-03-10 Thread Marcelo
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

2003-03-10 Thread jesus . chavez
unsuscribe For your protection, this e-mail message has been scanned for viruses. Visit us at http://www.neoris.com/

How to get catalina_home variable

2003-03-10 Thread Raja Sekhar
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

RE: How to get catalina_home variable

2003-03-10 Thread Robert Priest
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

RE: How to get catalina_home variable

2003-03-10 Thread Shapira, Yoav
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

How to verify with pgp

2003-03-10 Thread Chiming Huang
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

RE: How to get catalina_home variable

2003-03-10 Thread Raja Sekhar
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

RE: How to get catalina_home variable

2003-03-10 Thread Steve Guo
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

Re: How to get catalina_home variable

2003-03-10 Thread Tim Funk
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

Re: Connection among application and servlet

2003-03-10 Thread mgp2
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

RE: Problems with JMX Bean in Tomcat4.1.18

2003-03-10 Thread Roberts, Eric
-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

RE: Problems with JMX Bean in Tomcat4.1.18

2003-03-10 Thread Roberts, Eric
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

Please sign emergency petition to the U.N.

2003-03-10 Thread Wilhelm Colln
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

OT: RE: Please sign emergency petition to the U.N.

2003-03-10 Thread Mike Jackson
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

Tomcat with Oracle Internet Directory

2003-03-10 Thread Karamat Adil IHMD
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

Re: Please sign emergency petition to the U.N.

2003-03-10 Thread Craig R. McClanahan
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

RE: Please sign emergency petition to the U.N.

2003-03-10 Thread Charlie Barker
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

RE: Please DON'T sign emergency petition to the U.N.

2003-03-10 Thread Aiello, Bob (Exchange)
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

RE: Please sign emergency petition to the U.N.

2003-03-10 Thread Januski, Ken
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

Apache-Basic Authentication How To

2003-03-10 Thread Manu Kits
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

RE: Please sign emergency petition to the U.N.

2003-03-10 Thread Charlie Barker
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

Re: Please sign emergency petition to the U.N. [OOOT!]

2003-03-10 Thread Jon Roberts
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

RE: Please sign emergency petition to the U.N. [OOOT!]

2003-03-10 Thread Mike Jackson
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

$B!{!{!{!{9V:B#2(B

2003-03-10 Thread $B$^$D$(!w!{!{!{!{9V:B(B
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

error while downloading applet

2003-03-10 Thread Edson Alves Pereira
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

RE: error while downloading applet

2003-03-10 Thread Shapira, Yoav
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

RE: How to listen for shutdown

2003-03-10 Thread Frank Lawlor
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:

Newbie - Starting servlets at startup

2003-03-10 Thread pcampaigne
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

RE: Tomcat with Oracle Internet Directory

2003-03-10 Thread Doug Redd
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

Re: How to get catalina_home variable

2003-03-10 Thread Steve Guo
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

4.1 JSP encoding nad i18n

2003-03-10 Thread Jacek Bator
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

Issue With Windows2000 - IIS 5.0

2003-03-10 Thread David F Koris
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

RE: file renaming using Multipart class.

2003-03-10 Thread Lin, Zhongwu
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 =

just to be able to browse the Tomcat default page

2003-03-10 Thread Qilong Lu
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

RE: How to listen for shutdown

2003-03-10 Thread Shapira, Yoav
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

RE: Newbie - Starting servlets at startup

2003-03-10 Thread Shapira, Yoav
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:

RE: just to be able to browse the Tomcat default page

2003-03-10 Thread Tam, Michael
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 .

Jakarta NT Service

2003-03-10 Thread Murphy, Michael A
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]

RE: Tomcat with Oracle Internet Directory

2003-03-10 Thread Karamat Adil IHMD
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

RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-10 Thread Johannes Fiala
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:

RE: How to listen for shutdown

2003-03-10 Thread Filip Hanik
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

The requested resource (/index-orig.jsp) is not available.

2003-03-10 Thread Michael D. Risser
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

RE: Please sign emergency petition to the U.N.

2003-03-10 Thread David Kramer
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

RE: error while downloading applet

2003-03-10 Thread Edson Alves Pereira
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:

RE: Please DON'T sign emergency petition to the U.N.

2003-03-10 Thread Jay Lee
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;

Re: Please sign emergency petition to the U.N.

2003-03-10 Thread James Haring
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

RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-10 Thread Rick Bullotta
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)

Error from Administration Tool login

2003-03-10 Thread Doug Selph
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

Tomcat as a service in Win NT/Win2k

2003-03-10 Thread Miller, Kent
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

Re: How to get catalina_home variable

2003-03-10 Thread Raja Sekhar
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,

RE: How to get catalina_home variable

2003-03-10 Thread Filip Hanik
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

Where is uriworkermap.properties??

2003-03-10 Thread Antoni Unkovich
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

RE: How to get catalina_home variable

2003-03-10 Thread Raja Sekhar
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

Sending custom Date header from servlet?

2003-03-10 Thread Laura Werner
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

RE: How to get catalina_home variable

2003-03-10 Thread Filip Hanik
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

strangeness

2003-03-10 Thread Mike Jackson
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

RE: strangeness

2003-03-10 Thread Filip Hanik
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

RE: Problem with Tomcat 4.1 and Apache 2 integration using mod_jk 2

2003-03-10 Thread Scott Marshall
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   2   >