Is Tomcat is an application server ?

2005-06-21 Thread Anto Paul
Hi all, Many might have asked this question but I need a more elaborate answer. Today I attended an interview and the interviewer insists that Tomcat versions above 4.x is an application server. Is that true ?. What are the points to support the argument ?. -- rgds Anto Paul

Re: Installing SSL

2005-06-21 Thread Matej Kafadar
Hi, try this one http://portecle.sourceforge.net/ regards, Matej Stephen Caine wrote: All, I have reviewed the man pages and java.sun.com docs for keytool. I have used keytool to import a certificate from a Certificate authority. Keytool seems to be lacking the option to

RE: Is Tomcat is an application server ?

2005-06-21 Thread Richard Mixon (qwest)
I think for most practical purposes Tomcat is an application server. What Tomcat does not have is a builtin Enterprise Java Beans container - however Tomcat supports many other parts of the J2EE spec. Simply by the numbers, the vast majority of Java web applications do not use EJBs - so Tomcat

Re: follow simboilic links when requesting an html page using tomcat 5.0.25

2005-06-21 Thread Ariel Pessah
Thank you Darek for your fast response it gave me the direction to resolve the problem. Looks like it is enough to add the attribute allowLinking=true the the context element. Thanks again. Ariel Darek Czarkowski wrote: Add Resources className=org.apache.naming.resources.FileDirContext

Re: Is Tomcat is an application server ?

2005-06-21 Thread Anto Paul
On 6/21/05, Richard Mixon (qwest) [EMAIL PROTECTED] wrote: I think for most practical purposes Tomcat is an application server. What Tomcat does not have is a builtin Enterprise Java Beans container - however Tomcat supports many other parts of the J2EE spec. Simply by the numbers, the

Re: Tomcat Version detection

2005-06-21 Thread Holger Klawitter
Steve Vanspall wrote: Hi there, I am running tomcat under linux, unfortunately can't remember whether it is 4.1.24 or 4.1.31, which made me relise, I don't know how to find out. When i look at the logs it jsut says Tomcat 4.1 unlike on windows where it actually gives the full version

Problem running three tomcats and not having a sticky session

2005-06-21 Thread Ralph Lange
Dear Tomcat users, Our setup: cocon 2.1.5.1, tomcat 5.5.4, jdk 1.5.0. In order to manage much more requests, I have installed three tomcats connected to one apache via mod_jk's loadbalancer and on each of the tomcats runs a cocoon. The problem now is, when I build a session via Firefox,

RE: Is Tomcat is an application server ?

2005-06-21 Thread Richard Mixon (qwest)
Antonio, I will be generous and not assume you are arguing for arguments sake - maybe just being a little too theoretical :) I gave you some real world examples. If you want some third party definitions, Google on the following: Application Server definitions And you will see that Tomcat is

RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solaris 10

2005-06-21 Thread pierre . lebrun
I'm sorry for the flood but as I'm new to this list, I wondered why I did not receive back the message I posted. So now, I suppose its a rule in ezmlm. Sorry again. Phillip, I applied your suggestions with no more success. As my test environment is on a sigle machine for apache and tomcat, it's

RE: Embedded Tomcat SSL

2005-06-21 Thread Freddie Willis
Hi Diarmuid, I was investigating running Embedded Tomcat, I also ran into problems running SSL, getting a SSLHandshakeException. Did you find a s solution Thanx, Freddie -Original Message- From: Diarmuid McDonald [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 14:40 To: Tomcat Users

TagHandlerPool

2005-06-21 Thread javendo
I am using struts 1.2, Win XP and I am trying to upgrade the app/web server from jboss 3.2.3 with tomcat 4.1 to jboss 4.0.1 with tomcat 5.5 and I am getting this exception: java.lang.NullPointerException org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:108)

Utilizing Port 81 for Apache/Tomcat

2005-06-21 Thread uttam.g.dubal
I am running Apache 1.3 and Tomcat 3.3 currently in my production environment. I want to test Apache 2.0 and Tomcat 5.5 in the same environment and ensure that all the virtual hosts which I am accessing are in fact accessible through that configuration. In order to do this, I must keep the

RE: How to make tomcat work on a remote server?

2005-06-21 Thread sai krishna
Can anyone help me out here?? Im unable to access my jsp page on the net. I get internal server error. Im using included both mod_jk and mod_jk2 module, /var/logs/httpd/log shows that mod_jk2 starts but down below this module I loaded mod_jk module so it will support JkMount command in

Re: Utilizing Port 81 for Apache/Tomcat

2005-06-21 Thread Anand Vijay
U need to configure that in httpd.conf of new apapche instance change directive port regards Vijay [EMAIL PROTECTED] said the following on 21/06/2005 5:32 PM: I am running Apache 1.3 and Tomcat 3.3 currently in my production environment. I want to test Apache 2.0 and Tomcat 5.5 in the same

RE: Is Tomcat is an application server ?

2005-06-21 Thread David Johnson
To expand a bit on Richard's note ... On Tue, 2005-06-21 at 00:32 -0700, Richard Mixon (qwest) wrote: - Remoting implies distributing your objects across the network - a nice feature, but not often needed. Its talked about a lot - but for most applications its just not needed. J2EE is a

RE: Utilizing Port 81 for Apache/Tomcat

2005-06-21 Thread Raghupathy,Gurumoorthy
And also the port for ajp13 listener and worker.properties and server.xml .. Make sure that they don't clash with each other -Original Message- From: Anand Vijay [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 13:08 To: Tomcat Users List Subject: Re: Utilizing Port 81 for Apache/Tomcat U

RE: How to make tomcat work on a remote server?

2005-06-21 Thread Raghupathy,Gurumoorthy
Sorry could not get back to you earlier ... I think you are worker2.properties ... Remove LoadModule jk2_module modules/mod_jk2.so Include /usr/local/tomcat/conf/auto/mod_jk2.conf Your workers. Should be somehting like this .. ..

Re: got an error for a admi-entry

2005-06-21 Thread Christian Stalp
Am Montag, 20. Juni 2005 20:20 schrieb Steve Ochani: Hi, You don't have the admin rolename defined. Yes, this it was. Thank you. But I have now another Problem. Now I can login as a 'manager' but still cannot login as an admin. I have changed the tomcat-user.xml this way: [code] ?xml

RE: How to make tomcat work on a remote server?

2005-06-21 Thread Raghupathy,Gurumoorthy
From my experience Your DocumentRoot should be different to the appBase of your virtual host ... Set the document root to something else and try Regards Guru -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 13:45

RE: How to make tomcat work on a remote server?

2005-06-21 Thread Raghupathy,Gurumoorthy
Hey just got it Look at : http://www.junlu.com/msg/170819.html -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 14:04 To: 'Tomcat Users List' Cc: '[EMAIL PROTECTED]' Subject: RE: How to make tomcat work on a remote server? From my

RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s 10

2005-06-21 Thread Phillip Qin
Can you replace that *:80m with something like host.com:80 or ip:80? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 21, 2005 3:54 AM To: Tomcat Users List Subject: RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solaris 10 I'm sorry for the

RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s 10

2005-06-21 Thread Raghupathy,Gurumoorthy
Did you start apache as root ? You need root access to start any service for ports less than 1024 -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 14:17 To: 'Tomcat Users List' Subject: RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s

RE: User authentication using Realms

2005-06-21 Thread Gagnon, Joseph M \(US SSA\)
Hey Frank, No the space seemed to make no difference. I tried it by replacing the space with an underscore and got the same result. Yes, I tested the DSN via my simple Java class and it works fine. The two methods I was talking about are as follows: Class.forName

cannot format messages for consolehandler

2005-06-21 Thread tc_newbie
I'm having problems formatting messages processed by the consolehandler. Using Tomcat 5.5.9 with jdk 1.5.0 on Windows XP. Since yesterday (see previous post about ConsoleHandler), I have re-installed fresh copy of Tomcat. I can modify other parts of the logging.properties file and see those

Problem with apache 2.0.46 and jakarta connector 1.2.13

2005-06-21 Thread Jarkka Kivikanta
Hi, I'm having a very strange problem with the connector. It creates only one connection and after this it does not create any additional connections. In the mod_jk.log I only get : [Tue Jun 21 16:16:12 2005] [13609:34976] [debug] ajp_done::jk_ajp_common.c (2046): recycling connection cache

periodically servlet call

2005-06-21 Thread Luciano Costa
Hi all! I would like to configure Tomcat to run a specific servlet periodically (e.g. hourly). it's possible? where do I this config? thanks in advance!

RE: periodically servlet call

2005-06-21 Thread Martín Cabrera
You may try a Job Scheduler like Quartz...servlets are not suitable for this. http://www.opensymphony.com/quartz/ Regards. Martín. -Mensaje original- De: Luciano Costa [mailto:[EMAIL PROTECTED] Enviado el: Martes, 21 de Junio de 2005 11:35 a.m. Para: tomcat-user@jakarta.apache.org

Tomcat 5.5.9 and jdk 1.4.2

2005-06-21 Thread Carlos Bracho
Hello everybody... Maybe this issues is not new in the mailing list, I having problem to start tomcat 5.5.9, I got this error message in my netbeans output: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a

RE: Tomcat 5.5.9 and jdk 1.4.2

2005-06-21 Thread Caldarale, Charles R
From: Carlos Bracho [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.9 and jdk 1.4.2 I could not see the compatibility package in the tomcat download page... http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi It's the download cleverly hidden under the name Compat... - Chuck

Re: Tomcat 5.5.9 and jdk 1.4.2

2005-06-21 Thread Anand Vijay
You should upgrade your JRE Carlos Bracho said the following on 21/06/2005 8:23 PM: Hello everybody... Maybe this issues is not new in the mailing list, I having problem to start tomcat 5.5.9, I got this error message in my netbeans output: This release of Apache Tomcat was packaged to

RE: Tomcat 5.5.9 and jdk 1.4.2

2005-06-21 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
You should be able to find it here. http://apache.bestwebcover.com/jakarta/tomcat-5/v5.5.9/bin/ -SB -Original Message- From: Carlos Bracho [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 9:53 AM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.9 and jdk 1.4.2 Hello

Possibly a dumb question.

2005-06-21 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Am I wrong in thinking that I may get better performance from Tomcat by building it from source rather than using a binary? My thought is that I will be able to more tightly integrate the connector and Tomcat by doing this... Also is anyone doing this...I seem to be getting actively refused by

RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s 10

2005-06-21 Thread pierre . lebrun
sa1.tomcat.fr:80 in apache Virtual Host section doesn't change anything. I start apache as root. I think that apache routes the query through mod_jk because logs are in the file given by JkLogFile directive. But mod_jk is not able to open a socket with tomcat on port 8009. There is no log of

Re: periodically servlet call

2005-06-21 Thread Charl Gerber
You can also start/stop a 'standard' java.util.Timer in your ServletContextListener. This will only work correctly on a single server, not a cluster with multiple servers, depending on what the task(s) do. I've used this on single server installations without any problems. --- Luciano Costa

RE: Possibly a dumb question.

2005-06-21 Thread Caldarale, Charles R
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] Subject: Possibly a dumb question. Am I wrong in thinking that I may get better performance from Tomcat by building it from source rather than using a binary? Yes, you're wrong - unless you happen to have a truly miraculous

Re: Differences between service startup and batch startup

2005-06-21 Thread John Lindley
I tried checking the box to allow interaction with the desktop, but it didn't seem to make a difference. It's just so strange that it works completely fine when started from the batch file, but not the service? John --- Jason Bainbridge [EMAIL PROTECTED] wrote: On 6/20/05, John Lindley

jsp:include and in-server forward from included resource

2005-06-21 Thread Michael Jouravlev
Hello! I sent this message to dev list a week ago and did not get an answer, so I thought that I might come across someone in the user list, who might help me. I also had raised this question about three months ago, and was assured by a member of dev group, that my concerns would be shared with

running tomcat on port 80

2005-06-21 Thread Tony Smith
Hi, Can I run Tomcat 5.0 on port 80? I do not want my visitor have to type the port number. After setting 80 as port number in the server.xml and starting tomcat, I got the following error message: SEVERE: Error starting endpoint java.net.BindException:permission denied:80 Thanks,

RE: running tomcat on port 80

2005-06-21 Thread Raghupathy,Gurumoorthy
Is it unix / linux box ? Then yo need to be root when you start tomcat -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 17:47 To: tomcat-user@jakarta.apache.org Subject: running tomcat on port 80 Hi, Can I run Tomcat 5.0 on port 80? I do not want my

RE: running tomcat on port 80

2005-06-21 Thread Fredrik Liden
Shouldn't be any problems. Are you sure there are not other programs bound to 80? Try netstat -a in the dos window. -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 9:47 AM To: tomcat-user@jakarta.apache.org Subject: running tomcat on port 80

Re: running tomcat on port 80

2005-06-21 Thread Anoop kumar V
Or it is possible that something else is running on port 80 - possibly a webserver. U can use the netstat command to check/verify this. HTH, Anoop On 6/21/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: Is it unix / linux box ? Then yo need to be root when you start tomcat

RE: running tomcat on port 80

2005-06-21 Thread Mandar Vaidya
Permission denied means you are running it with non-root user. Normal user can not bind to port 80. Thanks, Mandar -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 12:47 PM To: tomcat-user@jakarta.apache.org Subject: running tomcat on port 80

Re: Utilizing Port 81 for Apache/Tomcat

2005-06-21 Thread Anoop kumar V
In addition to the answers u have got!! IMO - it would be best (and safe) if you use ports 1024 and up. ports lesser than 1024 are used for system level tasks and there is a greater possibility of clashing with them. U have 1025 until 64000 (I think) ports to choose from.. -Anoop On 6/21/05,

Clustering: Slow session creation

2005-06-21 Thread Durfee, Bernard
I have been having a problem with clustered sessions in Tomcat 5.5.7. I am using the pooled replication mode, but I have also tried asynchronous mode. Right now there is one machine, the other machine is down. I would have assumed that machine one would have seen that machine two is down and not

tc 5.5.x subdirectory contexts?

2005-06-21 Thread Woodchuck
hihi all, i'm using Tomcat 5.5.9 and i can't figure out how to setup a URL like this: http://localhost:8080/subdirectory/myapp in the $CATALINA_HOME/conf/[enginename]/[hostname] directory i have placed myapp.xml but that only works with the following: http://localhost:8080/myapp i tried

Explicitly close ServletOutputStream?

2005-06-21 Thread August Detlefsen
If you use response.getOutputStream() to get an output stream for binary data such as PDF or images, do you need to explicitly close that stream when you are done writing to it or does the servlet container do it for you automatically? Thanks, August

debugging tomcat itself with netbeans

2005-06-21 Thread Hernan Ochoa
Hi all, I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck. I'm able to attach to a running instance of tomcat using JPDA, but then my breakpoints are activated erraticaly. Did someone try this before? These are the things I did: -compiled tomcat 5.5.9 with a

RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s 10

2005-06-21 Thread Phillip Qin
Can you JkLoglevel debug -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 21, 2005 11:05 AM To: Tomcat Users List Subject: RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s 10 sa1.tomcat.fr:80 in apache Virtual Host section doesn't

Location of backwards compatibility patch

2005-06-21 Thread Scott, Brian
Hello friends. I'm curious if anyone can guide me to the Tomcat compatibility patch that will allow me to run Tomcat 5.5 under jdk 142_05. I spent some time on the jakarta site but was unable to locate the file. Thank you in advance. Brian Scott Database Analyst 850 891 5696 850 322 2410

Re: Location of backwards compatibility patch

2005-06-21 Thread Jason Bainbridge
On 6/21/05, Scott, Brian [EMAIL PROTECTED] wrote: Hello friends. I'm curious if anyone can guide me to the Tomcat compatibility patch that will allow me to run Tomcat 5.5 under jdk 142_05. I spent some time on the jakarta site but was unable to locate the file. Thank you in advance. look for

Re: Location of backwards compatibility patch

2005-06-21 Thread Matt Galvin
On 6/21/05, Scott, Brian [EMAIL PROTECTED] wrote: Hello friends. I'm curious if anyone can guide me to the Tomcat compatibility patch that will allow me to run Tomcat 5.5 under jdk 142_05. I spent some time on the jakarta site but was unable to locate the file. Thank you in advance. Its not

RE: Location of backwards compatibility patch

2005-06-21 Thread Caldarale, Charles R
From: Scott, Brian [mailto:[EMAIL PROTECTED] Subject: Location of backwards compatibility patch I'm curious if anyone can guide me to the Tomcat compatibility patch that will allow me to run Tomcat 5.5 under jdk 142_05. (Second time this has come up today. Why is this so hard for some

Move Webapps to a different path using Tomcat 4 with IIS

2005-06-21 Thread MW
I am a novice with Tomcat 4. We have it running as a service on Windows 2003, and are using Tomcat with IIS 6. It works fine using the default installation. However, I would like to move the Webapps from the current default path (CATALINA_HOME\WEBAPPS) to a different path on a different drive -

Generate dynamic form with jsp

2005-06-21 Thread Carlos Bracho
Hello everybody... I am writting because I am working in a tabla maintanance database application, the thing is, clicking on a database's table name show all the rows and you can edit, delete or add rows. The form to add or edit must be created dynamically and of course the way you display the

JNDI Bean problem - Tomcat 5.0.28

2005-06-21 Thread Jimmy Ray
Trying to get a bean through a JNDI context: My context.xml in the META-INF directory entry is: Context path=/apppath Resource name=bean/properties type=com.ifx.ric.dwh.bean.PropertiesBean auth=Container/ ResourceParams name=bean/properties parameter

getRemoteUser() always returns null

2005-06-21 Thread Scott Heitkamp
I'm currently using tomcat with the apache connector. I use apache to authenicate the user and then allow them to access certain servlets in tomcat. My problem is that when I call getRemoteUser in the servlet, it always returns null even though I was authenticated through apache. I'm

Just testing please ignore it.

2005-06-21 Thread Kam Lung Leung
Sincerely yours, br br br br br Kam Lung Leung br Presidentbr strong Advanced Voice Technologies, Inc.br /strong strong A href=http://www.advoicetech.com; target=_blankwww.advoicetech.com /A /strongbr strongOffice:/strong 303.539.2950br strongFax:/strong 303.539.2951br strongOur

Can't rename a file using renameTo()

2005-06-21 Thread Kam Lung Leung
Hi, I have a servlet, Servlet-A, that rename a file from /tmp/oldFile to /someDirectory/newFile. The Servlet-A runs fine when it runs by itself in a Red Hat Linux 7.2 server that has jakarta-tomcat-4.1.30 running. However, it false to rename the /tmp/oldFile to /someDirectory/newFile when the

Re: Can't rename a file using renameTo()

2005-06-21 Thread Jason Bainbridge
On 6/21/05, Kam Lung Leung [EMAIL PROTECTED] wrote: Hi, I have a servlet, Servlet-A, that rename a file from /tmp/oldFile to /someDirectory/newFile. The Servlet-A runs fine when it runs by itself in a Red Hat Linux 7.2 server that has jakarta-tomcat-4.1.30 running. However, it false to

TOMCAT AND APACHE question

2005-06-21 Thread AAKhopkar
Hey guys, I was wondering if anybody has seen an intermittent communication error between Apache web server and Tomcat.  We were seeing something happening intermittently about every 15-30 minutes where the apache logs were showing something like this: [Tue Jun 21 14:47:25 2005] [error]

Re: Tomcat con pooling to Oracle RAC

2005-06-21 Thread Shankar Unni
Frank W. Zammetti wrote: Yep, I had a coworker suggest using the OCI driver as well... And you have to use the right JDBC driver as well. At least up to the 9.* timeframe, Oracle used to release two JDBC drivers: one was a thin-only driver with its JDBC distribution, and one was the full

Re: Can't rename a file using renameTo()

2005-06-21 Thread Kam Lung Leung
Hi Jason, Thank you for the information. It is a long paragraph. I checked the /SomeDirectory again, and it is the same name. I was able to create directory with the mkdir -p /SomeDirectory/firstSubdirectory/secondSubdirectory and manually created a file by this command touch

Re: Is there a kind of EJB container in Tomcat?

2005-06-21 Thread David Blevins
On Mon, Jun 20, 2005 at 05:50:47PM -0700, Wendy Smoak wrote: From: Kevin Kang (CSS) [EMAIL PROTECTED] I still have an issue about OpenEJB. 1. Is it an independent EJB Server for Tomcat? Is it necessary to install in Tomcat as a module or something else? This page gives various options

Re: Is Tomcat is an application server ?

2005-06-21 Thread Anto Paul
On 6/21/05, David Johnson [EMAIL PROTECTED] wrote: To expand a bit on Richard's note ... On Tue, 2005-06-21 at 00:32 -0700, Richard Mixon (qwest) wrote: - Remoting implies distributing your objects across the network - a nice feature, but not often needed. Its talked about a lot - but for

Re: Is Tomcat is an application server ?

2005-06-21 Thread Jason Bainbridge
On 6/21/05, Anto Paul [EMAIL PROTECTED] wrote: On 6/21/05, David Johnson [EMAIL PROTECTED] wrote: To expand a bit on Richard's note ... On Tue, 2005-06-21 at 00:32 -0700, Richard Mixon (qwest) wrote: - Remoting implies distributing your objects across the network - a nice feature,

RE: How to make tomcat work on a remote server?

2005-06-21 Thread sai krishna
Thank You Mr. Gurumoorthy, Sorry I couldnt reply You back as it was already late night here I went away from my desk. Thank you for the urls, But couldnt get what us this below url for? Is it for testing whether my server is running tomcat or not? Hope Im right