RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Madhava Reddy
Hi Yaov, All other writing should be done to directories/files declared as parameters to your context or servlets. For example: context-param param-namelogFile/param-name param-value/tmp/blahblahLogs/blahblahLogFile.txt/param-value /context-param This way other people using/deploying your

How to Run Apache and Tomcat separately!!!!

2003-01-21 Thread Vivek Singh
Hi, I have apache and tomcat running on the same localhost and communicating over mod_jk. I want to run them on different machines. What changes do I need to make and where? Thanks in Advance Regards Vivek

Apache Version

2003-01-21 Thread Tammer Salem
Hi, Does anyone know what version of Apache Webserver comes with Tomcat 4.1.18? thanks, Tammer Salem

Bugzilla

2003-01-21 Thread Vit Timchishin
Hello. I've posted two bug reports on tomcat 4.1 to buzilla (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15795, http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15680) right after New Year, but did not get any responce. Did I do anything wrong? ó Õ×ÁÖÅÎÉÅÍ, ÷ÉÔÁÌÉÊ ÷ÁÌÅÒÉÅ×ÉÞ

RE: Please help with LogConfigurationException

2003-01-21 Thread Collins, Jim
Hi, I have still had no feedback at all on this. Can anyone please help I am running out of hair to pull out. Regards Jim -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 09:47 To: 'Tomcat Users List' Subject: Please help with

Connection pooling

2003-01-21 Thread Venkat
Hi, How to set up a connection poll and use the connection pool from jsp in tomcat4.0? Any url or doc will help's me. Thank you regards venkat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Connection pooling

2003-01-21 Thread Venkat
Sorry, for spelling mistake. Connection pool Thaks in advance venkat -Original Message- From: Venkat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 2:57 PM To: Tomcat Subject: Connection pooling Hi, How to set up a connection poll and use the connection pool from jsp in

allow HTTPS connection only to some contexts

2003-01-21 Thread Fabrizio Lippolis
Hello, I have configured a Tomcat 4.1.12 installation to accept connections both by HTTP and by HTTPS. Now I can access my webapps by both protocols. I would like to allow some contexts to be accessed only by HTTP and not by HTTPS and other contexts to be accessed by HTTPS and not by HTTP. Am I

Re: Apache Version

2003-01-21 Thread Peng Tuck Kwok
Tammer Salem wrote: Hi, Does anyone know what version of Apache Webserver comes with Tomcat 4.1.18? None. Apache is available as a seperate download. thanks, Tammer Salem -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Apache Version

2003-01-21 Thread Tammer Salem
Then Tomcat has it's own web server? Can anyone point me to any reference documentation that shows how this works? Tammer Salem wrote: Hi, Does anyone know what version of Apache Webserver comes with Tomcat 4.1.18? None. Apache is available as a seperate download. thanks, Tammer

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-21 Thread Ari Suutari
Hi, On Monday 20 January 2003 19:19, Dan Tran wrote: With the help of Mark Eggers, I am able to install JK2/tomcat 4.1.8/IIS on a new machine. The connector on this macine works I also reinstall tomcat on the problem machine, check every step (registries, iis virtual directory,

Did Tomcat5.0 fix the http 302 issue?

2003-01-21 Thread neal
There was a discussion a month or two ago about fixing the issue wherein Tomcat *redirects* to the welcome page rather than forwarding to it. For instance, www.abc.com would be redirected to www.abc.com/index.html. Was this issue in fact resolved in Tomcat 5.0? I attempted to take a look at the

RE: How to Run Apache and Tomcat separately!!!!

2003-01-21 Thread Turner, John
Change .host in workers.properties to the FQDN or IP address of the Tomcat machine. John -Original Message- From: Vivek Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 3:57 AM To: 'Tomcat Users List' Subject: How to Run Apache and Tomcat separately Hi, I have

RE: Apache Version

2003-01-21 Thread Turner, John
Yes. It runs on port 8080 by default. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html John -Original Message- From: Tammer Salem [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 4:41 AM To: Tomcat Users List Subject: Re: Apache Version Then Tomcat has it's own

Re: Connection pooling

2003-01-21 Thread Peng Tuck Kwok
Venkat wrote: Hi, How to set up a connection poll and use the connection pool from jsp in tomcat4.0? Any url or doc will help's me. Look up the tomcat docs , go to the section that says jndi datasources. There is a copy of the docs that come with each distribution of tomcat. That should set

TR : Prob with tomcat 4.1.18 LE

2003-01-21 Thread eric
Hi, i configure some host on my domain But the jsp doesn t work under this host , html ok jsp no I ve a website on webapps\site1 Two access: Exemple http://127.0.0.1/site1 jsp html work http://site1 jsp no, but html yes Thank for helping... Windows XP sp1, tomcat 4.1.18 LE jdk 1.4

RE: Please help with LogConfigurationException

2003-01-21 Thread Collins, Jim
Any feedback would do, even if you tell me to shut up :) It's the silence I can't stand. Jim. PS I might change the subject to: How do you change the port Tomcat listens to. I bet there would be hundreds of replies then. -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]]

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-21 Thread Dan Tran
No I only set debugLevel in the registry, how do I set it in workers2.properties? -Dan - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Dan Tran [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 1:42 AM Subject: Re: Tomcat 4.1.18, JK2, IIS

BUG tomcat admin

2003-01-21 Thread Jochen Schurich
hello! when i added a new virtual host and then a new context i can't use this new context until i restart my tomcat! i get the following error: WebappClassLoader: Lifecycle error : CL stopped after that i can't restart/remove the context until i restart my tomcat! my configuration:

Re: Apache Version

2003-01-21 Thread Peng Tuck Kwok
Tammer Salem wrote: Then Tomcat has it's own web server? Can anyone point me to any reference documentation that shows how this works? Tomcat can serve html pages, if you'd poke around in the ROOT webapp you will see plenty of html pages in there. Basically if your webapp needs to have html

Re: allow HTTPS connection only to some contexts

2003-01-21 Thread mwm
Check out the security-constraint, user-data-constraint and transport-guarantee tags for requiring that access is confidential (pretty much meaning via https). Not sure about requiring non-http. (Can connectors be defined per context?) Mike. - Original Message - From: Fabrizio

How do you change the port Tomcat listens to

2003-01-21 Thread Collins, Jim
Hi, I thought this subject might at least get some response. Has anyone ever had or know anything about the following error I have started getting from Tomcat? It cause Tomcat to crash and I then need to restart Tomcat. org.apache.commons.logging.LogConfigurationException:

Doing something on the server when user session expires

2003-01-21 Thread Renato Romano
Is it possible to activate a method call when a user session expires, independently of the client browsing activity ? A mean, for example: a user logs in, then stops his activity for 30 minutes. Supposed that user sessione expires after 20 minutes, when he tries to access a page tomcat

Re: How do you change the port Tomcat listens to

2003-01-21 Thread Adam Fowler
Hello, Sounds like you've got a version of Log4J that Tomcat doesn't like. You've probably upgraded one of them without upgrading the other. It sounds like a Java error where the version of Log that Log4J implements is not the one Tomcat is using. I'd reccommend making sure you have two

RE: Doing something on the server when user session expires

2003-01-21 Thread Barney Hamish
Try defining a finalize method in an object that resides in the user's session. When the session is destroyed that object's finalize method will be called. Hamish -Original Message- From: Renato Romano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 11:31 AM To: 'Tomcat

RE: How do you change the port Tomcat listens to

2003-01-21 Thread Collins, Jim
Hi Adam, Thanks for replying. I don't think it is Log4J. I was getting the exception when I was using the JDK1.4 Logger: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class

RE: trouble with bean returning boolean

2003-01-21 Thread Petter Karlström
For the archives, a reboot of Tomcat solved this problem. Still a bit strange, since I checked for caching or similar by modifying other pieces of code. No matter, lesson learned: reboot reboot reboot. /Petter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-21 Thread Ari Suutari
Hi, On Tuesday 21 January 2003 11:58, Dan Tran wrote: No I only set debugLevel in the registry, how do I set it in workers2.properties? In all [keywordhere] sections it is possible to add debug level. For example: [channel.socket:test_tomcat] info=Ajp13 forwarding over socket debug=1000

Help: Route all tomcat traffic through IIS (port 80)

2003-01-21 Thread Jan Schmitz-Reinthal
Hi, I'm stuck with the problem trying to use IIS (5.0) as my regular webserver and handle Tomcat connections to the servlet via ISAPI_REDIRECTOR. I don't want the default Tomcat-Port 8080 to appear in the URL. The redirector seems to work as announced but as soon as the servlet is approached,

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-21 Thread Dan Tran
setting debug value in the workers2.properties does not work. I dont see any detailed message in the eventview. The permission setting to the virtual directly as been checked many times, . I set it to read and scripts and executables. I even change it from /jakarta to /scripts Well, I am going

EXECUTE an external .exe-file (+Parameters) that creates data-filesI want to use later in my servlet

2003-01-21 Thread Patrick Kosiol
Hi, I'm runnung TomCat 4.0.4 and I want to start an external .exe-File. My Code: String[] runString = {relativeDataPath + data.exe, parameter0, parameter1, parameter2, parameter3}; Process p = Runtime.getRuntime().exec(runString); System.out.println(runString);

RE: Doing something on the server when user session expires

2003-01-21 Thread Daniel Brown
When the session is created, you could store an object that implements the 'javax.servlet.http.HttpSessionBindingListener' interface. When the session is invalidated, that object will receive an event, according to the doco, just after the session has been invalidated, or expired. The interface

Re: JK2 workers2.properties (was Re: Apache Tomcat Virtual Host)

2003-01-21 Thread Rasputin
* Rasputin [EMAIL PROTECTED] [0148 21:48]: Sorted! Just re-enabled the pussy.tenten vhost and mapped [uri:pussy.tenten/*] insread. - workers2.properties has this: - [uri:pussy.tenten] group=lb [uri:/examples/*.jsp]

Pick a Platform - Linux, Windows, Unix, Solaris...

2003-01-21 Thread Andoni
If you could pick any platform to run Tomcat on what would it be. Also what version of Tomcat is now the one to go with? I.e. stable, reliable, etc. Andoni. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Pick a Platform - Linux, Windows, Unix, Solaris...

2003-01-21 Thread Turner, John
You're begging for a flame war. Use the platform that works for you. The current stable release of the 4.1 tree is 4.1.18. Of the 4.0 tree it is (I think) 4.0.6. John -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 7:23 AM To: Tomcat

RE: tomcat configuration with apache 1.3.27 ssl

2003-01-21 Thread Helene Figueiredo
Hello, I've done again my certificate for ssl. Actually, when I start first tomcat, it's ok. Then I start apache ssl, it's ok. But when I go to the url : https://... It tells me that the file does not exit. And the message in the error log of apache is : [Tue Jan 21 13:25:29 2003] [error]

Re: Pick a Platform - Linux, Windows, Unix, Solaris...

2003-01-21 Thread Andoni
I realise this may be contentious so if you wish to email me directly that's fine. I would very much like your opinions on this though. The Op Sys part particularly. Andoni. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent:

tomcat4.1.18 iis5 - new user

2003-01-21 Thread John Ruffin
new user I'm running win2k, tc4.1.18, iis5, j2sdk1.4.1. I've added the the isapi_redirect.dll to the IIS Manager. Question 1: Is this SOP or should I add it to all websites iis is managing? I can run the examples from http://localhost/examples with no problem. I have another website that I'm

RE: Pick a Platform - Linux, Windows, Unix, Solaris...

2003-01-21 Thread Andy Eastham
Adoni, Version 4.1.18 seems to be the current one and seems to be stable for me. As for platforms, the best one depends on the situation. Personal use: go for your favourite platform. Customer use: Ask them what their favourite platform is. If it's windows protest mildly, tell them windows

Re: How to Run Apache and Tomcat separately!!!!

2003-01-21 Thread Jacob Kjome
Hi Vivek, The following was posted to the list a while ago. I don't have the archived URL for it, so I'm just re posting it here. Hopefully it will help you out. Note that it was not written by me so, if you have question, I'm afraid I won't be of much help. Jake Here it

!!!HELP!!! how to execute an external .exe-file (+Parameters) thatcreates data-files I want to use later in my servlet

2003-01-21 Thread Patrick Kosiol
Hi, I'm runnung TomCat 4.0.4 and I want to start an external .exe-File. My Code: String[] runString = {relativeDataPath + data.exe, parameter0, parameter1, parameter2, parameter3}; Process p = Runtime.getRuntime().exec(runString); System.out.println(runString);

Re: !!!HELP!!! how to execute an external .exe-file (+Parameters) that creates data-files I want to use later in my servlet

2003-01-21 Thread ningr
I met the same problems under linux, maybe you should put the data.exe in the directory $CATALINA_HOME/bin, and Process p = Runtime.getRuntime().exec( ./data.exe ); you can try it. - Original Message - From: Patrick Kosiol [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

RE: Caucho Resin to Tomcat Conversion

2003-01-21 Thread Shapira, Yoav
Hi, Very interesting. Thank you for the account. I'm not going to get into a tomcat vs. resin (or vs. other for that matter) debate. My question is: why did you change from Resin to Tomcat? Yoav Shapira Millennium ChemInformatics -Original Message- From: Edgar Dollin [mailto:[EMAIL

Re: !!!HELP!!! how to execute an external .exe-file (+Parameters)that creates data-files I want to use later in my servlet

2003-01-21 Thread Patrick Kosiol
Hi, that might be a problem because my data.exe needs access to some data-files placed in a special relative path from its. And this programm also creates other files (they were also placed relative to its position) and I must also be able to access these files through out the Tomcat

lifetime of servlet instance and of instance-spawned threads

2003-01-21 Thread Mark Francillon
Hi. Servlet spec 2.3 says (section 2.3.4, 'End of Service'): ...Before the servlet container calls the destroy method, it must allow any threads that are currently running in the service method of the servlet to complete execution, or exceed a server defined time limit. Questions: 1. Is

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Shapira, Yoav
Howdy, I meant entirely using a 3rd party logging toolkit, such as log4j (jakarta.apache.org/log4j). Tomcat provides great logging capabilities for a web server, but is not a full-featured logging toolkit nor should it be IMHO. Yoav Shapira Millennium ChemInformatics -Original Message-

RE: Please help with LogConfigurationException

2003-01-21 Thread Shapira, Yoav
Howdy, A couple of things: - It's commons-logging, not tomcat, that's throwing the exception. It's most likely misconfigured, i.e. you have some jars (probably the commons-logging jars themselves) in the wrong place. - Can you temporarily take out commons logging, i.e. code directly to JDK 1.4

Re: !!!HELP!!! how to execute an external .exe-file (+Parameters)that creates data-files I want to use later in my servlet

2003-01-21 Thread Mr. Cristian Romanescu
here's a sample of code that would send an e-mail using mail command under Linux. I guess that the exe probably should be within your PATH As you can observe, cmd[0] is the name of the app cmd[1], cmd[2], .are command line arguments to the app private static void sendMail(String

could you help me please?

2003-01-21 Thread [EMAIL PROTECTED]
Hi all,sorry for bothering you ;-) I'm just a student trying to develop some Servlet... I'm trying to use COM ports from a servlet running in TOMCAT 3.2.4 ,but i get the error message :Port COM1 does not exist. What can i do to make com ports visible from a servlet? Could you help me please?

RE: lifetime of servlet instance and of instance-spawned threads

2003-01-21 Thread Shapira, Yoav
Hi, Questions: 1. Is Tomcat's behavior on this point user-configurable (and if so how)? 2. If it's not, I'd appreciate any pointers to information about exactly how Tomcat handles this. [...On re-reading this passage from the servlets spec, I realize that any threads that are currently

Help java.sql.SQLException: JZ006: Caught IOException.java.net.SocketException: Broke

2003-01-21 Thread Iván Escobedo
Hello, I need to know what is this error, I'm using Tomcat, Sybase java.sql.SQLException: JZ006: Caught IOException.java.net.SocketException: Broke n pipe at com.sybase.jdbc.ErrorMessage.raiseError(ErrorMessage.java) at com.sybase.tds.Tds.language(Tds.java) at

Re: could you help me please?

2003-01-21 Thread Peter Choe
isn't COM microsoft specific? At 06:59 AM 1/21/2003, you wrote: Hi all,sorry for bothering you ;-) I'm just a student trying to develop some Servlet... I'm trying to use COM ports from a servlet running in TOMCAT 3.2.4 ,but i get the error message :Port COM1 does not exist. What can i do to

RE: could you help me please?

2003-01-21 Thread Turner, John
He's talking about COM ports, as in serial ports (COM1, COM2, etc.). John -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:31 AM To: Tomcat Users List Subject: Re: could you help me please? isn't COM microsoft specific? At

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Madhava Reddy
Howdy, I meant entirely using a 3rd party logging toolkit, such as log4j (jakarta.apache.org/log4j). Tomcat provides great logging capabilities for a web server, but is not a full-featured logging toolkit nor should it be IMHO. Yes, I aggree its good idea to use log4j. Time a problem, you know.

RE: Please help with LogConfigurationException

2003-01-21 Thread Collins, Jim
Hi Yoav, Thanks for your reply. I could see it was commons logging throwing the exception and I tried changing the actual logging implementation that it uses to log4J to see if that would stop it happening but it did not. I don't really think it is a commons logging problem either because it

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Shapira, Yoav
Howdy, Yes, I aggree its good idea to use log4j. Time a problem, you know. It takes more time for me to use those. Yes, it does. But when debugging a problem takes 1 times less, you won't be complaining ;) I was not sure whether we can avoid mapping/request information in Logger or Valve (

Caucho Resin to Tomcat Conversion

2003-01-21 Thread Edgar Dollin
I recently completed a cutover of moderately sized app from Resin to Tomcat and just wanted to put my experiences somewhere for posterity. First Resin allows out of order xml documents. Tomcat goes by the book with xml. So web.xml, struts-config.xml and any other xml files you have must but

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Madhava Reddy
All Loggers and Valve elements in server.xml are optional. Comment them all out and see what you get ;) Then comment them back in if you'd like, and experiment with their verbosity levels. I tried this out, but I was always getting some mapping/request information. I dont find a way out !!

Re: could you help me please?

2003-01-21 Thread Vinay
Does COM ports have anything to do with Tomcat and servlets - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 9:32 AM Subject: RE: could you help me please? He's talking about COM ports, as in serial

RE: lifetime of servlet instance and of instance-spawned threads

2003-01-21 Thread Mark Francillon
Thanks for the response Yoav. On Tue, 21 Jan 2003, Shapira, Yoav wrote: [...On re-reading this passage from the servlets spec, I realize that any threads that are currently running in the service method is murky to me. Is this supposed to be more restrictive than any threads that have ever

RE: could you help me please?

2003-01-21 Thread Turner, John
It does if you want to access one from a servlet. I've never done it, but I think you use the Java Communications API: http://java.sun.com/products/javacomm/ John -Original Message- From: Vinay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:43 AM To: Tomcat Users

Re: could you help me please?

2003-01-21 Thread Mr. Cristian Romanescu
The problem isn't that easy. First of all I developed an application using parallel port (it's a matter of choice :)): I found a big issue accesing port from Java...finally my option was to write an dynamic library (dll) in Ms Visual C (because is directly in assembler) where I wrote the basic

Re: could you help me please?

2003-01-21 Thread Mr. Cristian Romanescu
Yeah, like John said, you could also use Java Comm api, but unfortunately in my project, when I wanted to send something to parallel port, the print spooler started, then complaining about corrupted print jobs, so it seems that port isn't directly accesed...in the final. Maybe for COM ports

RE: lifetime of servlet instance and of instance-spawned threads

2003-01-21 Thread Shapira, Yoav
Howdy, Just one point of clarification here: Tomcat would stop its own threads, my servlet-spawned threads would keep executing, but when they terminate destroy() on the servlet instance is still guaranteed to be called? No. Destroy() on the servlet is guaranteed to be called when the servlet

RE: HP-UX 10.20 + Oracle

2003-01-21 Thread John Clark
In case it is of use to anybody else, this is what worked in the end. HP-UX 10.20, Oracle 8.0.4, Tomcat 3.3.1 (JDK 1.1.8) 1. Install the JDBC package off the Oracle CD onto the HP server 2. This installs the correct classes111.zip and shared library for that version of Oracle 3. Make sure that

Re: !!!HELP!!! how to execute an external .exe-file (+Parameters) that creates data-files I want to use later in my servlet

2003-01-21 Thread ningr
% try { Process process = Runtime.getRuntime().exec( cmd /C more.com c:\\file_id.diz ); DataInputStream in = new DataInputStream( new BufferedInputStream( process.getInputStream() ) ); String s; while ( null != ( s = in.readLine() ) ) {

REPOST: tomcat4.1.18 iis5 - new user

2003-01-21 Thread John Ruffin
new user I'm running win2k, tc4.1.18, iis5, j2sdk1.4.1. I've added the the isapi_redirect.dll to the IIS Manager. Question 1: Is this SOP or should I add it to all websites iis is managing? I can run the examples from http://localhost/examples with no problem. I have another website that I'm

URL mapping problem

2003-01-21 Thread Varley, Roger
Hi (Tomcat 3.2, IIS 4.0 Win NT5.0 Sp6) I have a commercial web application (to which I have no access to the source) that exists in two configurations (i.e two sets of web directories below Inetpub/wwwroot). The application ends by calling exit.htm in their respective html directories (ipshtml

AIX HELP apache won't load mod_jk.so

2003-01-21 Thread HAMILTON, DALE K (SBCSI)
I am trying to connect Apache 1.3.26 to tomcat 4.1.18 via mod_jk or mod_jk2. Apache has the following modules statically linked: Compiled-in modules: http_core.c mod_vhost_alias.c mod_env.c mod_log_config.c mod_mime_magic.c mod_mime.c mod_negotiation.c mod_status.c mod_info.c

RE: Please help with LogConfigurationException

2003-01-21 Thread Roberts, Eric
Hi Jim, Just a thought - you say the application has been running without this error except for the last week or so, and then this week no problems. It sounds to me as though a particular use case may have arisen where an incorrect logging statement is being invoked, and that this use case had

RE: URL mapping problem

2003-01-21 Thread Shapira, Yoav
Howdy, You realize one page can only map to one servlet, right? There can only be one /exit.htm for your webapp. You can, however, code that servlet to see whether the request came from ip or elcom and do different things accordingly. Yoav Shapira Millennium ChemInformatics -Original

Unable to execute/see JSP pages

2003-01-21 Thread Curt LeCaptain
I've set-up our Java development server with my own server.xml, and added virtual hosts to my apache, both linked via mod_jk, using apache 1.3.27 and Tomcat 4.0.6. The following are my config files. What I'm wondering is, I've got a basic this's this page... jsp created, with a basic output

RE: lifetime of servlet instance and of instance-spawned threads

2003-01-21 Thread Mark Francillon
Thanks again. On Tue, 21 Jan 2003, Shapira, Yoav wrote: No. Destroy() on the servlet is guaranteed to be called when the servlet specification says it should be called. Same thing goes for the servlet context listener's contextDestroyed() event. Tomcat could legally decide to swap out

RE: Unable to execute/see JSP pages

2003-01-21 Thread Turner, John
Where is the JSP located in your directory structure? Do the examples work? John -Original Message- From: Curt LeCaptain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:37 AM To: [EMAIL PROTECTED] Subject: Unable to execute/see JSP pages I've set-up our Java

RE: Unable to execute/see JSP pages

2003-01-21 Thread Curt LeCaptain
Thanks for responding. No, the examples also don't work, they get the same 404 page. Our directories are setup as follows: Path to apache: /usr/local/apache Path to tomcat: /usr/local/tomcat Path of websites: /data/www/docs/ Linuxtest site: /data/www/docs/linuxtest.itol.com/ The index.jsp file

webdav search is not possible?

2003-01-21 Thread Zsolt Koppany
Hi, when I create a webdav folder via tomcat-4.1.18 I cannot search for files from my client. Does it depend on the tomcat implementation? Normally when I select a directory I can search for files using the right mouse and Search menu item. -- Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL

help tomcat-user

2003-01-21 Thread joel . dewitt
help tomcat-user This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to

unsubscribe tomcat-user

2003-01-21 Thread joel . dewitt
unsubscribe tomcat-user This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted

RE: lifetime of servlet instance and of instance-spawned threads

2003-01-21 Thread Shapira, Yoav
Hi, The difference is between threads you spawn and threads tomcat spawns. servlet container calls the destroy method, it must allow any threads that are currently running in the service method of the servlet to complete Threads that are currently running in the service methods means just that.

Opening Files Outside Context

2003-01-21 Thread Gladwell, Ricardo X -ND
Hi All, I have written a JavaBean accessed from a JSP page in Tomcat 4.1 that opens a file to read from. However, when I open the file using the FileInputStream constructor I get a FileNotFoundException. This method works outside of Tomat on the same machine - the file exists, the path is correct

Re: Pick a Platform - Linux, Windows, Unix, Solaris...

2003-01-21 Thread Austin Gonyou
On Tue, 2003-01-21 at 06:23, Andoni wrote: If you could pick any platform to run Tomcat on what would it be. Also what version of Tomcat is now the one to go with? I.e. stable, reliable, etc. You need to qualify the decision with a situation. If I could pick anything, I'd always pick Linux,

unsubscribe tomcat-user

2003-01-21 Thread St. Louis, Thomas (Research)
g GE Global Research Center _ __ Tom St.Louis Computer Scientist Advanced Computing Technologies

Setting up mod_jk in a cluster environment

2003-01-21 Thread Garrick Dasbach
I am presently working on setting up several tomcat clusters with in-memory session replication using Java groups. My proposed setup would be: 2 Apache Servers running mod_jk 4 Tomcat servers broken into 2 clusters of 2. To reduce network bandwidth, I only want to do in-memory session

RE: lifetime of servlet instance and of instance-spawned threads

2003-01-21 Thread Mark Francillon
Ah, I get it: threads that are currently running in the service method = requests that are currently being handled. Of course. The container lets those terminate (or timeout), then calls destroy(). If I've still got some threads of my own working away, I'd better deal with them somehow in

RE: Please help with LogConfigurationException

2003-01-21 Thread Collins, Jim
Hi Eric, Thanks for your 2p :). That sounds reasonable. My app is not doing any logging apart from System.out.println. I am using Struts which also uses the commons-logging so I might search the Struts users mail archive to see if I can find anything helpful there. Jim. -Original

RE: URL mapping problem

2003-01-21 Thread Varley, Roger
Howdy, You realize one page can only map to one servlet, right? There can only be one /exit.htm for your webapp. My mistake, I assumed that Tomact would see /ipshtml/exit.htm and /elcomhtml/exit.htm as two. You can, however, code that servlet to see whether the request came from ip

RE: HP-UX 10.20 + Oracle

2003-01-21 Thread John Clark
In case it is of use to anybody else, this is what worked in the end. HP-UX 10.20, Oracle 8.0.4, Tomcat 3.3.1 (JDK 1.1.8) 1. Install the JDBC package off the Oracle CD onto the HP server 2. This installs the correct classes111.zip and shared library for that version of Oracle 3. Make sure that

RE: Unable to execute/see JSP pages

2003-01-21 Thread Curt LeCaptain
Well, after looking through some error logs... A bit of insight came to mind. Seems that they're trying to load examples from /data/www/docs/linuxtest.itol.com/webapp/examples.. Something that doesn't exist, so, I've changed my server.xml a bit to reflect that, and receive errors. That

JDBC Authentication

2003-01-21 Thread Ed Robbins
Ok, bear with me. This is my first attempt at configuring Tomcat for any type of authentication. I've configured a host with a JDBCRealm to use a Sybase database for authentication. I added a security constraint, login-config and a security role, however when I point my browser to the URL, I

Tomcat 4.03 Configuration

2003-01-21 Thread Alfie Pino
This might be a dumb question, but I need some help. 1. Tomcat 4.03 on Windows OS 2. how do I get tomcat to pre-compile JSP pages? 3. How do I configre Tomcat to use the complied pages only? So that I can remove the JSP pages? I am having performance issues, and also, I do not want to store the

Weblogic MS SQLServer Driver

2003-01-21 Thread Pipho Matt
We are running Tomcat on Win2000 and trying to connect to a MS SQL Server. We are using Weblogic's JDBC Driver. We are running into a problem when we try to use it. The log file states the following error: Your WebLogic license file, named either WebLogicLicense.xml or

Help java.sql.SQLException: JZ006: Caught IOException.java.net.SocketException: Broke

2003-01-21 Thread Iván Escobedo
Resending this message 'cause I deleted all the previous messages without seeing them Hello, I need to know what is this error, I'm using Tomcat, Sybase java.sql.SQLException: JZ006: Caught IOException.java.net.SocketException: Broke n pipe at

RE: Unable to execute/see JSP pages

2003-01-21 Thread Turner, John
I'm a little confused. Does /data/www/docs/linuxtest.itol.com/webapp/examples exist or not? You've got an appBase in your Host element, that means that CATALINA_HOME/webapps will be ignored for that host name. The only place that /examples exists, unless you've copied the directory, is

RE: Weblogic MS SQLServer Driver

2003-01-21 Thread Reynir Hübner
This is a tomcat mailing list, but I suspect you could talk with Datadirect technologies, that have been developing MSSQL drivers for a long time. They're MSSQL driver was used for the MsSQL2000 server, and is distributed for free (at microsofts website).

RE: Help java.sql.SQLException: JZ006: Caught IOException.java.net.SocketException: Broke

2003-01-21 Thread Reynir Hübner
Well it's an exception thrown from the JDBC driver you are using. The error code is JZ006, I recommend you look it up in google.com. The first match I got was this one : http://webforums.sybase.com/nntp/nd41.nsf/85255e6f0052055e85255d7f005ed8bc/a2f5a11abbcec9a9376a775bd27d2bb2?OpenDocument

RE: Unable to execute/see JSP pages

2003-01-21 Thread Curt LeCaptain
My apologies. /data/www/docs/linuxtest.itol.com/webapp/examples does not exist... I did copy the /examples directory from CATALINA_HOME/webapps/examples to /data/www/docs/linuxtest.itol.com/examples Hopefully this clears this up for you. Thanks again. Curt -Original Message- From:

RE: URL mapping problem

2003-01-21 Thread Daniel Brown
Roger, It sounds like you've created a web application to hold these servlets, and Tomcat is inserting the name of the web application when creating the path to the 'exit.htm's that you're trying to replace. If you try this using the ROOT web application, it should do what you're wanting.

Re: Setting up mod_jk in a cluster environment

2003-01-21 Thread Jacob Kjome
Hello Garrick, See: http://www.filip.net/tomcat/ http://www.theserverside.com/resources/article.jsp?l=Tomcat http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html?page=1 or http://www.onjava.com/lpt/a/2422 http://www.tangosol.com/products-clustering.jsp That should get you started.

Closed OutStream doesn't throw exception when using Tomcat with Apache?

2003-01-21 Thread Thomas Lange
Closing the connection doesn't throw an exception when writing to the OutStream of my Servlet when using Tomcat with Apache. I can write to it indefinitely. It works however, when using Tomcat as standalone. How can I make the servlet throw an exception when the connection ist closed? I'm using

Re: Tomcat 4.1.18 and HttpsURLConnection

2003-01-21 Thread Becky Phaneuf
Ed, I had this same problem and discovered that JDK 1.4.1 no longer uses com.sun.ssl., but somehow my url.openConnection() was returning it. I spent days tearing out my hair and couldn't figure out how it was happening (I even began declaring and instantiating everything using the fully

  1   2   >