SocketException: Broken pipe

2005-01-13 Thread Cédric Buschini
Hi there, I got a problem with a Tomcat 5.5.6 server and Java (jdk and jre 1.5.0_01) on a Debian R3. On my server, there is a JAVA application which is supposed to connect to a C++ client appliction through sockets. But it doesn't establish!! From the logs (catalina.out) I got :

RE: Tomcat monitoring scripts

2005-01-13 Thread Rajaneesh
Another simple way is to have start a tomcat once in 2 min using a shell script. If tomcat instance is already running then the ports are in use which prevents the another tomcat instance running. But in this case If the tomcat hangs and the port is in use by other application, there is no means

RE: 24X7 deployment tips

2005-01-13 Thread Rajaneesh
Oh! Thanks Now I realise that in some appservers/ tools changing the WAR file does not need restarting and Changing the EJB requires restarting the server. So it is the same case here then :-) Regards Rajaneesh -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent:

regarding starting or tomcat

2005-01-13 Thread Ramesh_Choudhury
Hi I have installed the tomcat and set the entire class path properly. My problem is that ,when I want to start tomcat it is immediately getting shutdown. I have tried so many times but result is same. Thanks regards Ramesh kumar choudhury BCMD,BHUBANESWAR EXTN-41510

SSL Application problem

2005-01-13 Thread Juan Pedro López Sáez
Helo everybody. I have a problem with a SSL web application. This are the global settings: - Tomcat 4.1.27 running on a Linux Debian machine. - SSL application configured in the web.xml file as follows: security-constraint web-resource-collection web-resource-nameSecured

RE: regarding starting or tomcat

2005-01-13 Thread Rajaneesh
Probably due to the following reasons 1. The port is already in use by other application 2. Tomcat is already running 3. Incompatible issues in Tomcat and JVM Regards Rajaneesh -Original Message- From: Ramesh_Choudhury [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 1:53 PM

RE: Minimum Memory Requirement for TC 5.0.x

2005-01-13 Thread Rajaneesh
I would benchmark the hardware requirement based on the appliation load that is run on the machine -Original Message- From: Yang Xiao [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 11:58 PM To: Tomcat Users List Subject: Minimum Memory Requirement for TC 5.0.x Hi all, What

AW: Tomcat 5.0.28 exiting randomly

2005-01-13 Thread Bernhard Slominski
Hi Greg, we had simalar problems and couldn't find out the exact reason. We solved it by just making an automated nightly restart of Tomcat. It's maybe just running out of memory after some time. Cheers Bernhard -Ursprüngliche Nachricht- Von: Greg Lappen [mailto:[EMAIL PROTECTED]

Re: Deploying an application with its own xml file

2005-01-13 Thread Paul Taylor
Ok, it is working on my test (Windows) environment. But with same war deploying it to my Live environment(Linux) results in it creating myapp.xml as a directory rather than a file ! Ive doubled checked this and the behaviour is constant, anyone ever sdeen this? Paul Taylor wrote: Thanks now

Tomcat 5.0.25: Requested resource not available

2005-01-13 Thread Mumanyi Bravismore
Hi ALL, I have the error message below whenever I 'm launch the following url: I run http://localhost:8080/ OR http://localhost:8080/dspace; I get : HTTP Status 404 - / type Status report message / description The requested resource (/) is not available. Apache Tomcat/5.0.25 when I run

jass login and login error messages

2005-01-13 Thread Olve Hansen
How can I pass on what kind of error happened during a jass login? The only kind of error report I get the j_security_check sends me to my loginError.jsp in: form-login-config form-login-page/login.jsp/form-login-page form-error-page/loginError.jsp/form-error-page

Re: Multiple domain names to a single site

2005-01-13 Thread Paul Taylor
Still struggling perhaps I need to buy a book but Ive had a tentaive look at your options Parsons Technical Services wrote: Does the dnsmanager have a choice for redirection of an URL? It has lots of choices, you can change the dn server, and can use their own dnsmanager to chanage various

Connections not released during reload

2005-01-13 Thread Bernhard Slominski
Hi, I'm using the following conmfiguration: - tomcat 5.0.28 - Windows 2000 - Oracle 9i database on Sun Solaris I'm using the Tomcat connection pooling dbcp and have the following problem. When reloading the applcation, the open connections are not released and just stay open on the database

Re: Connections not released during reload

2005-01-13 Thread Antony Paul
Write a ServletContextLlistener and in its contextDestroyed() method use the shutdown() method of the DBCP pool to close connections. rgds Antony Paul On Thu, 13 Jan 2005 11:37:22 +0100, Bernhard Slominski [EMAIL PROTECTED] wrote: Hi, I'm using the following conmfiguration: - tomcat 5.0.28

Re: Tomcat 5.0.28 exiting randomly

2005-01-13 Thread Ben Souther
Hi Greg, Until you can track down the culprit, you may want to look into the security manager to disallow System.exit calls. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/security-manager-howto.html Are you using any 3rd party jar files? If it's in your code, grep should find it in seconds.

session across webapps

2005-01-13 Thread Kieu Huu Dung
Hi all, I prefer one (only one) session for all webapps (Tomcat 5.0.28 and I've turned on SingleSignOn - user login once for all webapps) or how can I know user is in the same session between the login and logout when he/she is in differents webapps. Does anyone know is it possible or not? If

AW: session across webapps

2005-01-13 Thread Bernhard Slominski
Hi Huu, First of all the session is ALWAYS on application scope, this is not an Tomcat specific behaviour but a requirement of the Specification: SRV.7.3 Session Scope HttpSession objects must be scoped at the application (or servlet context) level. The underlying mechanism, such as the cookie

Re: SocketException: Broken pipe

2005-01-13 Thread Cédric Buschini
Hi again Sorry to insist but it 's quiet important. I running out of ideas to solve my problem.. :'( Is there a way to allow/denied access using sockets Cédric Hi there, I got a problem with a Tomcat 5.5.6 server and Java (jdk and jre 1.5.0_01) on a Debian R3. On my server, there is a JAVA

Re: AW: session across webapps

2005-01-13 Thread Kieu Huu Dung
You are great too :-) It helps me alot, thanks very much. Huu Dung Kieu. --- Bernhard Slominski [EMAIL PROTECTED] wrote: Hi Huu, First of all the session is ALWAYS on application scope, this is not an Tomcat specific behaviour but a requirement of the Specification: SRV.7.3 Session

AW: Connections not released during reload

2005-01-13 Thread Bernhard Slominski
Antony, thanks a lot, that's a very good idea and should fix it definitly! Cheers Bernhard -Ursprüngliche Nachricht- Von: Antony Paul [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 13. Januar 2005 11:56 An: Tomcat Users List Betreff: Re: Connections not released during reload Write a

Multiple realms in one context

2005-01-13 Thread Roland Carlsson
Hi! My company has desided to put our customers in our LDAP (Active Directory) in there own ou. They have also desided that our intranet and extranet shall be the same pages where buttons shall be visible depending on the users rights. They have desided that employees and extranet-users shall be

RE: Shutdown port

2005-01-13 Thread Frank Parato
Don't think you can do it with a browser, but you can telnet localhost 8005 and type SHUTDOWN and it will bring down tomcat, unless you change the server.xml. -Original Message- From: Rajaneesh [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 2:55 AM To: 'Tomcat Users List'

SSL accelerator

2005-01-13 Thread Frank Parato
Hello all, I'm still trying to figure out how to use my SSL accelerator card with tomcat. Is there an equivalent to Apache's SSLPassPhraseDialog derivative in tomcat ? Thanks, Frank - To unsubscribe, e-mail: [EMAIL

Re: JAR locking / Tomcat 5.5.4 / Windows

2005-01-13 Thread Siarhei Dudzin
Did you find a solution? On Tue, 4 Jan 2005 15:27:56 -0800 (PST), TomK [EMAIL PROTECTED] wrote: I've been following the recent threads regarding JAR locking with Tomcat 5.x on Windows platforms. A few people mentioned they had been able to get either the antiJARLocking or

RE: SSL accelerator

2005-01-13 Thread Frank Parato
Alright.. The SSLPassPhraseDialog is not relevant... I found some documentation that states that if I want to use some other application with the card, I need to recompile openssl with a separate include directory. Unfortunately I didn't have to install openssl with tomcat so the question is,

Re: Tomcat monitoring scripts

2005-01-13 Thread Didier McGillis
I have this running on my dev, and so far i have not had any issues with it. From: Faisal Abdullah [EMAIL PROTECTED] Reply-To: Faisal Abdullah [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Tomcat monitoring scripts Date: Thu, 13 Jan 2005 11:59:03 +0800 On

Dead connections detection

2005-01-13 Thread Thomas Recloux
Hello , I'm using tomcat 4.1.29 on a linux box for deploying a web application. This application uses a db2 connection pool using the tomcat datasource with dbcp. For some reasons, this connections die (server restart, force deconnection). The problem is that I must restart Tomcat for

Problem with TC 4.1.30 manager app and new Oracle JDBC driver

2005-01-13 Thread Norris Shelton
In the process of moving a newer version of the Oracle driver (from 9.2.05 to 9.2.06) through out environments, we had the following error: Apache Tomcat/4.1.30 SQL Error. count = 0, total = 498 count = 0, total = 498 The server is set-up to use multiple services with a root context configured

Re: SSL accelerator

2005-01-13 Thread John Smith
I think your way to go is front ending TC with apache httpd. that might also offer you a number of other beneffits. I don't know of anyway to make the SSL implementation of java use an SSL accelerator card Even if an implementation of the JVM might use openssl (which I am not possitive about

RE: Deploying an application with its own xml file

2005-01-13 Thread Phillip Qin
Windows and linux use different url. -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: January 13, 2005 4:22 AM To: Tomcat Users List Subject: Re: Deploying an application with its own xml file Ok, it is working on my test (Windows) environment. But with same war

Re: JAR locking / Tomcat 5.5.4 / Windows

2005-01-13 Thread Dominik Drzewiecki
Siarhei Dudzin [EMAIL PROTECTED] wrote: Did you find a solution? FYI it has been fixed on 17/12/2004 and the latest CVS version does not suffer from the nasty jar locking. The root of the problem was the JasperLoader locking (using cached getResourceAsStream()) the jars containing jsp tag

SV: Multiple realms in one context

2005-01-13 Thread Roland Carlsson
Hi again! I realized that I was reading in old documentation (4.1) where the documentation say it is possible to search two directories in the ldap. Is this still posible in 5.0? The documentation is changed so it doesn't mention the possibility and I can't make the syntax from 4.1 to work in my

Tomcat 5 architectural questions

2005-01-13 Thread T K
Hi, 1) Is T5.0 nio based? 2) Is T5.5 nio based? 3) For the version that's nio based, how many threads are typically in use? 4) Are there any articles on performance diffs between the two versions? 5) Why would one want to use one over the other? 6) Why would one want to use any of them over 4.1

Beanshell as Language under Tomcat

2005-01-13 Thread Furash Gary
I searched under beanshell and BSH on http://mail-archives.apache.org/eyebrowse/SearchList?listId=[EMAIL PROTECTED]searchText=bshdefaultField=subjectSearch=Search No items. Can you send me the configuration instructions. I'll get them posted on the Beanshell list also. Thanks!!! Gary

Re: Tomcat 5 architectural questions

2005-01-13 Thread Tim Funk
There is no nio in tomcat. -Tim T K wrote: Hi, 1) Is T5.0 nio based? 2) Is T5.5 nio based? 3) For the version that's nio based, how many threads are typically in use? 4) Are there any articles on performance diffs between the two versions? 5) Why would one want to use one over the other? 6) Why

Variable in server.xml

2005-01-13 Thread Zakaria kHABOT
* * * * * * * * * * * * * * * Vexira NOTICE * * * * * * * * * * * * * * * This version of Vexira MailArmor is a DEMO version and not full featured. Vexira has processed a mail addressed to you, which contained no known potential malicious software. In case you notice abnormal behavior of your

Re: [OT]shared memory

2005-01-13 Thread Elihu Smails
--- Wade Chandler [EMAIL PROTECTED] wrote: Elihu Smails wrote: I have a C based application running on the same box as tomcat, and I want to know if I would be able to access the shared memory segment using Java. The C program is setting up the shared memory using shmctl, and not

some TC5 benchmark results for static file

2005-01-13 Thread Peter Lin
I've started a series of benchmarks to measure tomcat5 performance for static files and compare it to apache2. Here are the results I have so far. I thought others might find it interesting. Server: Redhat Fedora Core 1 AMD 2hgz 1Gb ram jdk1.4.2 TC5.0.x ( have to double check the release number)

Re: Variable in server.xml

2005-01-13 Thread Tim Funk
You can only do this with tomcat 5. But the variable would be a system property. (Or a property defined in catalina.properties) See the FAQ for how to set system properties on startup. -Tim Zakaria kHABOT wrote: Hi all, How can I declare a variable in server.xml. Insitide of having

Re: [OT]shared memory

2005-01-13 Thread Wade Chandler
Elihu Smails wrote: --- Wade Chandler [EMAIL PROTECTED] wrote: Elihu Smails wrote: I have a C based application running on the same box as tomcat, and I want to know if I would be able to access the shared memory segment using Java. The C program is setting up the shared memory using shmctl, and

Information using JSWDP and Tomcat

2005-01-13 Thread Dave Russell
Ok I need some clarification on some things with the JWSDP and Tomcat 5 +. I am interested in deploying a JAX-RPC web service on Tomcat 5+ non jwsdp, is this even possible? The main reasons being: 1. For deployment purposes, we would rather not have to install development tools

RE: some TC5 benchmark results for static file

2005-01-13 Thread Derrick Koes
So, are the results for tomcat? Looks like you did some requests for png image files and HTML. Where are the numbers for apache so we can compare? Thanks, Derrick -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 10:16 AM To: tomcat-user

Re: some TC5 benchmark results for static file

2005-01-13 Thread Peter Lin
Good question. I haven't run the apache tests yet. I forgot that I don't have apache2 installed on my linux box, so this weekend I plan to install and run the tests. once all the tests are done, I plan to write up a quick article, generate some charts and zip up all the files, including the

Tomcat 4.1.x and mod_jk config

2005-01-13 Thread John Martyniak
Hi everyone, I am trying to configure my Apache server to talk to my Tomcat server using mod_jk. It is kind of a major nightmare. The first step for me is to get it working at any level. Meaning that I can do http://localhost/examples/jsp/index.jsp and it brings the page up and runs the jsp.

Re: JAR locking / Tomcat 5.5.4 / Windows

2005-01-13 Thread TomK
Thanks very much, I'll check the latest version out and post my results, in case anyone else has this issue. -tk didn't_get_my_coffee_this_morning_rant That I find myself saying In case anyone else has this issue is somewhat amazing to me. Either: 1) Hardly anyone is using Windows as

Re: Variable in server.xml

2005-01-13 Thread Zakaria kHABOT
* * * * * * * * * * * * * * * Vexira NOTICE * * * * * * * * * * * * * * * This version of Vexira MailArmor is a DEMO version and not full featured. Vexira has processed a mail addressed to you, which contained no known potential malicious software. In case you notice abnormal behavior of your

Re: Variable in server.xml

2005-01-13 Thread Tim Funk
Make it gipe.home=D:\\Projets\\GIPENV\\dist or gipe.home=D:/Projets/GIPENV/dist -Tim Zakaria kHABOT wrote: I use Tomcat 5.0.25. in catalina.properties I put : gipe.home=D:\Projets\GIPENV\dist in server.xml : Context path=/GIPENV reloadable=true docBase=${gipe.home}

RE: servlet help

2005-01-13 Thread Casas, Claudia
I am using jk2, apache2, and tomcat5.5 -Original Message- From: Edmon Begoli [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 6:42 PM To: Tomcat Users List Subject: Re: servlet help Claudia, Are you using mod_jk with Apache and Tomcat? You should be able to configure in

Re: some TC5 benchmark results for static file

2005-01-13 Thread Remy Maucherat
On Thu, 13 Jan 2005 10:16:08 -0500, Peter Lin [EMAIL PROTECTED] wrote: I've started a series of benchmarks to measure tomcat5 performance for static files and compare it to apache2. Here are the results I have so far. I thought others might find it interesting. Server: Redhat Fedora Core 1

Does tomcat cache compiled JSPs?

2005-01-13 Thread Matt Bathje
Hey everybody - I am trying to get Tomcat to dynamically compile JSPs that are uploaded through a web interface. I am using the org.apache.jasper.JspC ant task trough code to do it. After a bit of work, I am able to get the file parsed and compiled into the proper directory, which as far as I

Re: regarding starting or tomcat

2005-01-13 Thread venkats
Try running the attached startup.bat to start Tomcat. Hi I have installed the tomcat and set the entire class path properly. My problem is that ,when I want to start tomcat it is immediately getting shutdown. I have tried so many times but result is same. Thanks regards Ramesh kumar

Error registering RequestProcessor

2005-01-13 Thread John Sidney-Woollett
We're using Tomcat 5.0.28 which is fronted by Apache 1.3.29 + modjk 1.2.6 We're seeing this error message in the logs occasionally. The error occurs at any time interval AFTER tomcat has been started up - two hours was the last time it occured after startup. This server is one of two in a (jk)

Re: Does tomcat cache compiled JSPs?

2005-01-13 Thread Woodchuck
--- Matt Bathje [EMAIL PROTECTED] wrote: - Does that fact that the newly-compiled file is always called from a jsp:include page=xxx.jsp / make a difference? try %@ include file=xxx.jsp % __ Do you Yahoo!? Yahoo! Mail - Find what you

Re: Does tomcat cache compiled JSPs?

2005-01-13 Thread Matt Bathje
Woodchuck wrote: --- Matt Bathje [EMAIL PROTECTED] wrote: - Does that fact that the newly-compiled file is always called from a jsp:include page=xxx.jsp / make a difference? try %@ include file=xxx.jsp % This would not be an ideal situation as the path to include is dynamically calculated -

In Tomcat 5.x embedded, can't get dynamically created contexts to load

2005-01-13 Thread Tim Ramey
I have been trying to get Tomcat embedded in my application. The problem I am seeing is that when I attach a root context to the host, it doesn't start because of a null class loader. I have been using an example that I found on the web to start embedded Tomcat; my code is below. I have

Re: Does tomcat cache compiled JSPs?

2005-01-13 Thread Woodchuck
--- Matt Bathje [EMAIL PROTECTED] wrote: Woodchuck wrote: --- Matt Bathje [EMAIL PROTECTED] wrote: - Does that fact that the newly-compiled file is always called from a jsp:include page=xxx.jsp / make a difference? try %@ include file=xxx.jsp % This would not be

Re: JAR locking / Tomcat 5.5.4 / Windows

2005-01-13 Thread TomK
Success! I was able to get the antiResourceLocking attribute to finally take effect with Tomcat 5.5.4. The problem is the default Windows install does not set the Working Path (viewable on the Startup/Shutdown tabs of the service manager that sits in the SysTray). Once I set the working

Re: Does tomcat cache compiled JSPs?

2005-01-13 Thread Matt Bathje
is the jsp doing the %@ include being jsp:include-ed itself into another jsp? It isn't being included, but it is being called as part of a struts/tiles definition. also, are you using tomcat 5? if you are i believe you can use EL to do something like: %@ include

sessions do not work from homedirs and servlets do not work through apache

2005-01-13 Thread Casas, Claudia
Hello everyone, I am using apache2, tomcat5.5, and jk2. I have configured my tomcat to run from my user home directories. Also I have configure apache to run with tomcat with jk2 through my home directories as well. Now, I am facing two problems that are driving me crazy, here they are in order of

Problem with mod_jk 1.2 - 500 Internal Server Error

2005-01-13 Thread Pat Maddox
I'm using JBoss 4.0.1 with integrated Tomcat 5, and I'm trying to connect it to Apache 2. Whenever I make a request to a resource that should be passed along to Tomcat, I get a 500 Internal Server error. Looking at the mod_jk.log shows: [Thu Jan 13 13:45:34 2005] [jk_uri_worker_map.c

Re: Problem with mod_jk 1.2 - 500 Internal Server Error

2005-01-13 Thread Mladen Turk
Pat Maddox wrote: I'm using JBoss 4.0.1 with integrated Tomcat 5, and I'm trying to connect it to Apache 2. Whenever I make a request to a resource that should be passed along to Tomcat, I get a 500 Internal Server error. Looking at the mod_jk.log shows: [Thu Jan 13 13:45:34 2005]

Re: Problem with mod_jk 1.2 - 500 Internal Server Error

2005-01-13 Thread Pat Maddox
Well, I managed to get it. And I feel unbelievably stupid (as is the case with most problems). The simple fix is worker.list=default rather than workers.list=default On Jan 13, 2005, at 11:03 AM, Mladen Turk wrote: Pat Maddox wrote: I'm using JBoss 4.0.1 with integrated Tomcat 5, and I'm

Long running requests and timeouts?

2005-01-13 Thread Andrzej Jan Taramina
I have a situation where some requests that get sent to Tomcat are very long running (basically batch operations). I've been testing with a request that takes just over 7 minutes to process and returns and XML document as a response. The problem I'm having is that the response gets truncated.

how to load outside configuration file in tomcat 5

2005-01-13 Thread Limin Zhang
hello! i'm using a 3rd party natural language processing tool (API) in my web application. the NLP tool needs a configuration file (NLPRegistry.cfg) to run properly. i specified the absolute path in the program, but somehow tomcat 5 can't find the configuration file. it simply gives following

Re: Apache returning different sizes for same request [was Re: Controlling caching / session collision]

2005-01-13 Thread Brian McEntire
Ouch. ;) That was it. We searched through all the JSPs and fixed that in several places. The problems are greatly reduced now. Thank you very much! Is there any analog to this in Servlets? Is there a clearly incorrect way variables could be scoped in the a Servlet that could lead to the same

Sporadic Session Bug

2005-01-13 Thread Tyson Nunemacher
Hi folks, I'm running a Java/J2EE/EJB (stateless, no CMP) app on Jonas 4.1.2 with embedded Tomcat 5.0 and Struts 1.2. My problem also existed when I used to run the app in JBoss 3.2.2 with embedded Tomcat 4.1 and Struts 1.0. We're currently using Java 1.4.2_04 from Sun. The issue is that our

Using DNS name instead of port number

2005-01-13 Thread John Martyniak
I would like to be able to use the following Virtual host apps.beforedawn.com to run my app. Instead of having to include the 8080. Their is also a Webserver running on the box. So that I could run http://apps.beforedawn.com/index.jsp So my question is can this be done inside of Tomcat, or will

Re: Missing application log file, Realm authenication error

2005-01-13 Thread Peter Moore
I've managed to figure out what was going on. Hopefully someone else will find my struggles to be of use. Using the ant deploy task doesn't appear to do exactly the same thing as using Upload a WAR file to install via the manager application. I was assuming this was true, because I wasn't

Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
John Martyniak wrote: I would like to be able to use the following Virtual host apps.beforedawn.com to run my app. Instead of having to include the 8080. Their is also a Webserver running on the box. So that I could run http://apps.beforedawn.com/index.jsp So my question is can this be done

Re: Using DNS name instead of port number

2005-01-13 Thread John Martyniak
The server currently only has one IP address and several virtual hosts. Some that are served by the Web Server and some that are going to be served by Tomcat. For example on this box I would to do the following: Web Server: Serves http://www.beforedawn.com Tomcat Server:

Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
John Martyniak wrote: The server currently only has one IP address and several virtual hosts. For example on this box I would to do the following: Web Server: Serves http://www.beforedawn.com Tomcat Server: http://apps.beforedawn.com/index.jsp http://diagnostics.beforedawn.com/index.jsp Is this

Re: Using DNS name instead of port number

2005-01-13 Thread John Martyniak
Unfortunately this is for one of my external boxes (read have to pay ungodly sums of money to get another block of IP addresses). So if I set this up using mod_jk then I will have to do the following VirtualHost www.befordawn.com DocumentRoot /var/www/htmlbeforedawn ErrorLog

Tomcat issues

2005-01-13 Thread Krishna Gunturu \(kgunturu\)
Hi all, If any one of you come across some sort of comprehensive guide for tuning an apache-mod_jk-tomcat configuration, i would really appreciate you sending it. Thanks in advance, -Krishna - To unsubscribe, e-mail: [EMAIL

[OT] Making jsvc multiple instances enabled

2005-01-13 Thread Wolfgang Hackl
Hi! I would like to discuss whether it makes sense to have the commons daemon able to work with multiple tomcat instances out of the box. Since I know of at least two jsvc commiters reading this list and I think this is of interest for tomcat users, too, I start a discussion thread here. The

Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
John Martyniak wrote: Unfortunately this is for one of my external boxes (read have to pay ungodly sums of money to get another block of IP addresses). Well, you only need one, eh? :-) So if I set this up using mod_jk then I will have to do the following It's been a long time since I used Apache

Re: Using DNS name instead of port number

2005-01-13 Thread John Martyniak
Thanks for the help. I will try and get the mod_jk working. I think that will give me the most flexibility for the future. -John On 1/13/05 5:53 PM, Hassan Schroeder [EMAIL PROTECTED] wrote: John Martyniak wrote: Unfortunately this is for one of my external boxes (read have to pay ungodly

Benefit of multiple workers?

2005-01-13 Thread John Martyniak
I am preparing to set up my first production Tomcat using mod_jk. So what is the benefit of multiple workers? I can see that you can specify one worker per host, so the advantage would be that you could have one Webserver drive several app servers. I also read on this list, that you could use

Re: Apache returning different sizes for same request [was Re: Controlling caching / session collision]

2005-01-13 Thread Tim Funk
%! String myVar =;% creates an instance myVar in the servlet. Only 1 instance of a given servlet is loaded at a time and many requests all execute the service() method concurrently. %String myVar=;% would create a variable in the scope of the _jspService() method. Which is thread safe.

Re: sessions do not work from homedirs and servlets do not work through apache

2005-01-13 Thread Dennis Payne
My implementation is not as complex as yours, so my suggestion may not work for you... We always use the request object to get access to the session both in the servlet and the JSP (We don't use any specialized JSP tags to do this. We always use putAttribute to put a Serializable object on the

RE: sessions do not work from homedirs and servlets do notwork through apache

2005-01-13 Thread Casas, Claudia
We thought that the data from the session was being lost, but actually the session itself is recreated with a new ID every time we go from one jsp to the next one. I thought that tomcat manages the sessions through cookies so I do not see how my session id and data is being lost. By the way my

Authentication problem in Sending email from servlet. (tomcate 5)

2005-01-13 Thread Daxin Zuo
Hi, In my web page, user sends email with attachment, so upload is related. I load the file in a byte array, and try to send with JavaMail(I know there is Mail api in Tomcat-Common. But I have no a good example). The related code is copied at the end. The email serve needs no user-name and

Re: Tomcat issues

2005-01-13 Thread Tim Funk
http://wiki.apache.org/jakarta-tomcat/UsefulLinks -Tim Krishna Gunturu (kgunturu) wrote: Hi all, If any one of you come across some sort of comprehensive guide for tuning an apache-mod_jk-tomcat configuration, i would really appreciate you sending it.

RE: sessions do not work from homedirs and servlets do notwork through apache

2005-01-13 Thread Dennis Payne
One thing you might try is putting in debugging statements to print out the session id at strategic points and discover when the session is actually lost (changed). Also, check anywhere a req.getSession(true) might be found... that can be a source of ulcers sometimes... (This is just simple

[OT] Consulting Position in Costa Mesa, CA,

2005-01-13 Thread Ben Souther
I'm forwarding this message from a recruiter looking for a Tomcat/VMS consultant in CA if anyone's interested. Suzie Jimenez Sr. IT Recruiter mailto:[EMAIL PROTECTED] ISSG- Information Systems Support Group, LLC 300 E Magnolia Blvd. Ste 403 4th Fl. Burbank, CA 91502 818-846-4774 x116

Re: [OT] Consulting Position in Costa Mesa, CA,

2005-01-13 Thread Parsons Technical Services
Looks like she hit several of us on the list. But of course. Where else is a more logical place to go fishing? - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Sent: Thursday, January 13, 2005 8:03 PM

Re: [OT] Consulting Position in Costa Mesa, CA,

2005-01-13 Thread Ben Souther
Yea, that's the one 'off topic' type of message I don't mind seeing in here. On Thu, 2005-01-13 at 20:14, Parsons Technical Services wrote: Looks like she hit several of us on the list. But of course. Where else is a more logical place to go fishing? - Original Message - From:

Re: Tomcat 4.1.x and mod_jk config

2005-01-13 Thread Parsons Technical Services
If virtual hosts are your only need, then forget apache and jk. If there is another reason for apache, then ok. Also, you may want to move up to 5.x to get better support on the list and performance that can match Apache. I, for one, have never touched 4.x Tomcat. If you need Apache

Jdeveloper 3.2.3 - Tomcat 5.5 migration: Inordinate delay in JSPs returning XML

2005-01-13 Thread Rajeev Singh
I am going nuts trying to figure out why: An application created using Jdeveloper 3.2.3 (on Windows 2000). Some pages send XML as response. When using Jdev, JSP/Web-to-go server everything is fine. Now trying to migrate to TomCat 5.5. For pages that return XML, I am noticing a rather 'hang'

Re: Jdeveloper 3.2.3 - Tomcat 5.5 migration: Inordinate delay in JSPs returning XML

2005-01-13 Thread Ben Souther
(Not sure how to look at header - I do not see any headers in the response in telnet) http://livehttpheaders.mozdev.org/ Will show you the headers.. http://www.circlemud.org/~jelson/software/tcpflow/ Will show you everything, as will Ethereal. On Thu, 2005-01-13 at 22:03, Rajeev Singh

Tomcat 5.5 - path attrubute ignored in context fragments

2005-01-13 Thread Duncan, Sean
I'm migrating a suite of applications from 5.0.x to 5.5.x. The path attribute no longer has any effect on the web applications context path. I understand from the documentation that this is by design, but I think it may have been a mistake. Since we deploy a suite of applications to Tomcat our

Re: Tomcat 5.5 - path attrubute ignored in context fragments

2005-01-13 Thread Parsons Technical Services
From a previous poster, name your context xml file suitename#appname.xml and it will be deployed as needed. Doug - Original Message - From: Duncan, Sean [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, January 13, 2005 10:15 PM Subject: Tomcat 5.5 - path attrubute

How to remotely debug with Tomcat 5.5

2005-01-13 Thread Rolf Zelder
Hi In Tomcat 4.2 I was able to define dt_socket (see below) for remote debugging in the catalina.bat file. How do I configure a dt_socket in Tomcat 5.5 ? Cheers Rolf Catalina.bat: set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=3888,server=y,suspend=n

Multicast IP/port for session replication issue on VMWare Linux cluster

2005-01-13 Thread Edmon Begoli
I am really just getting into the area of session replication via multicast, so I need somebody's help here. I am running a cluster of Tomcats on a virtual Linux RH ES3 cluster on VMWare. (host-only networking, static IPs) My session replication is set with default settings:

RE: Jdeveloper 3.2.3 - Tomcat 5.5 migration: Inordinate delay in JSPs returning XML

2005-01-13 Thread Rajeev Singh
Updates - setting Internet Explorer to use HTTP 1.0 makes the problem go away. I still do not understand why this should happen and what can I do to have the 1.1 mass of clients work with this correctly. Any insights would be much appreciated. FYI - the header seen by the JSP page is: //inase of

Re: WELCOME to tomcat-user@jakarta.apache.org

2005-01-13 Thread Dinesh Sharma
Hi, I want to define my application with DEFAULT CONTEXT. When i changes the context root from to /, then context fragment file is changed to [.xml] and tomcat is not able to load properly. Anybody have any idea on this??? In General How do i define context / for my application? Thanks, D

Re: Benefit of multiple workers?

2005-01-13 Thread Faisal Abdullah
I'm using mod_jk 1.2.5 with Apache2. The benefit is to balance the load between multiple app servers in a round robin manner, with a certain factor you can set for each worker with say, for example have different hardware specs. Regards, Faisal On Thu, 13 Jan 2005 18:24:27 -0500, John Martyniak

is this possible?

2005-01-13 Thread jungsoo kim
Hi all, I have an applet that communicate with server. And, of course, the server maintains a session. If I insert the applet in the JSP page, the applet fails to communicate with server because of session ID problem. My problem is I can't chage applet's code. I can't get session id from a jsp

Installing and running tomcat as a user other than root

2005-01-13 Thread Mumanyi Bravismore
How can one achieve to install and run tomcat as a user other than root. I have tried to extract tomcat from the *.gz as a user but once I try to access it from the browser I get the Connection Failed error when in actually fact tomcat is running. When I su -l to root and restart tomcat, I am

Tomcat and CORBA

2005-01-13 Thread Andreas Vombach
I would like to have a servlet which offers a CORBA interface. An applet for example could then read the IOR string of the orb and connect to the interface. Unfortunately instantiating servant objects seems to block the server so I had to spawn of threads from a servlet. (??) As far as I read a

Realms and context

2005-01-13 Thread Roland Carlsson
First I'm sorry for flooding in this subject but since I have not got any answer and I must inform my managers today about if I can do the projects they want to me to do. So, refering to my earlier mail with the subject Multiple realms in one context Is there a way to configure tomcats

  1   2   >