Re: is it ok to run tomcat 3.3 in jre 1.4?

2006-02-16 Thread Parsons Technical Services
Yes. By the nature of the design, Java is almost always backward compatible in that older software will run on newer versions. As usual there are sometimes exceptions to this. If you are going to change Java version, you may wish to change it to the current version. 1.5 is very stable,

RE: Assistance required

2006-02-16 Thread Medha Parathasarathy
I have gone through the server.xml model given by the tomcat site. However when i try to test the connectivity using a java program : import java.sql.*; public class jdbc { public static void main(String args[]) throws Exception

RE: Assistance required

2006-02-16 Thread Medha Parathasarathy
I have gone through the server.xml model given by the tomcat site. However when i try to test the connectivity using a java program : import java.sql.*; public class jdbc { public static void main(String args[]) throws Exception

Re: Assistance required

2006-02-16 Thread Medha Parathasarathy
I am using tomcat 5 which come along the fedora core 4 Regards Sarathy On Thu, 16 Feb 2006 03:02:34 -0500, Parsons Technical Services [EMAIL PROTECTED] said: Search the archives as this has been done many times on the list. Links are available on the website along with some basic

RE: Assistance required

2006-02-16 Thread Klotz Jr, Dennis
Just in case you missed them, study the following links. There is a wealth of information here: http://tomcat.apache.org/faq/ and of course http://tomcat.apache.org/tomcat-5.5-doc/index.html -Original Message- From: Medha Parathasarathy [mailto:[EMAIL PROTECTED] Sent: Thursday,

Multiple Sessions per user

2006-02-16 Thread Daniel Guggi
Hi! I ran into session-issue with a webapp. There are situations when it would be nice for a user (same browser/same machine/same webapp) to have the possibility to login twice and thus have two different JSESSIONIDs. There is also a problem if the user opens a second browser-window or -tab,

Reg: J2SE 1.4 and Tomcat5.5 compatability package

2006-02-16 Thread Ayyanar Inbamohan
Hi, I am using J2SE 1.4 and Tomcat 5.5, What is the compatability package I should add in the Tomcat 5.5 server to work with J2SE 1.4. Thanks in advance, Ayyanar... - Yahoo! Autos. Looking for a sweet ride? Get pricing,

RE: J2SE 1.4 and Tomcat5.5 compatability package

2006-02-16 Thread Caldarale, Charles R
From: Ayyanar Inbamohan [mailto:[EMAIL PROTECTED] Subject: Reg: J2SE 1.4 and Tomcat5.5 compatability package I am using J2SE 1.4 and Tomcat 5.5, What is the compatability package I should add in the Tomcat 5.5 server to work with J2SE 1.4. It's the one on the Tomcat download page

Best practice for detecting session expiration for applets?

2006-02-16 Thread Klotz Jr, Dennis
This might be off topic but I am hoping someone has the time to help me out. I recently moved from basic to forms based authentication and I am having some problems with session expiration and my applets. I serialize plain old java objects back and forth from my client applet to tomcat 5.5.15

RE: Multiple Sessions per user

2006-02-16 Thread Peter Crowther
From: Daniel Guggi [mailto:[EMAIL PROTECTED] I ran into a session-issue with a webapp. There are situations when it would be nice for a user (same browser/same machine/same webapp) to have the possibility to login twice and thus have two different JSESSIONIDs. If you use cookies to store

RE: Best practice for detecting session expiration for applets?

2006-02-16 Thread Klotz Jr, Dennis
More information: The code I'm using to get the response code always comes back with http status 200. The very next line: ObjectInputStream result = new ObjectInputStream (in); Is the one that generates the exception of EOF on stream. Makes perfect sense... I just wish I had a reliable way

re: trying to make sense of thread dump in Tomcat 5.5.9

2006-02-16 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 We are using Tomcat 5.5.9, and am having a problem with a memory leak. Most of the threads in the thread dump have the similar stack trace as this one does. It doesn't make sense, because it seems that the ldap connection came from the tomcat

Re: Tomcat 5.5.15 Context Reloading issue

2006-02-16 Thread Filip Hanik - Dev Lists
Looks like a log4j error, not Tomcat error. What does your log4j.properties file look like? Filip Joey Geiger wrote: I've done some further searching, and noticed that tomcat was also dumping information into stdout. There is another log trace that might be helpful if anyone else recognizes

Re: Tomcat 5.5.15 Clustering ?

2006-02-16 Thread David Avenante
Now tell us 1. OS Version - gentoo with 2.6.15 kernel 2. Java version - Sun JDK 1.5.0.06 OK in response of your previous message. I start the two servers and run MCast output is : On agnes : java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 ovea-inspiron Usage MCaster [address port

No processor available, rejecting this connection in Catalina logs

2006-02-16 Thread Divya
Hi Support, Here is a summary of the issue: When we open telnet sessions to port 8009(or any other port for that matter), where the number of sessions = value of maxProcessors in server.xml, opening any further telnet sessions throws the following errors in the catalina logs :

RE: New to apache / Tomcat

2006-02-16 Thread Caldarale, Charles R
From: Andrew English [mailto:[EMAIL PROTECTED] Subject: RE: New to apache / Tomcat Does Jboss have Catalina as a component to it, or is Catalina a apache component only? JBoss uses the embedded form of Tomcat; Catalina is the internal name given to the servlet container components of

Re: New to apache / Tomcat

2006-02-16 Thread Filip Hanik - Dev Lists
JBoss uses Tomcat (catalina) as its default webserver and servlet engine. Filip Andrew English wrote: Does Jboss have Catalina as a component to it, or is Catalina a apache component only? Andrew -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent:

Re: mod_jk error numbers

2006-02-16 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: 1. What does the 449 and 461 numbers mean? A: My guess would be line numbers Sure those are line numbers, but for [debug] those are not errors :) As well as for [info] and [warn]. Anyhow the format is: [DATE] [PID:ThreadID] [LEVEL] sourcefile (line number):

RE: How to install a simple servlet in Tomcat?

2006-02-16 Thread Caldarale, Charles R
From: Marc Wentink [mailto:[EMAIL PROTECTED] Subject: RE: How to install a simple servlet in Tomcat? One addition, my version of Tomcat is 4.1 Unless you're tasked with development or maintenance of an old application environment, I'd suggest moving up to the current 5.5.x version of

RE: New to apache / Tomcat

2006-02-16 Thread Andrew English
Does Jboss have Catalina as a component to it, or is Catalina a apache component only? Andrew -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 10:58 PM To: Tomcat Users List Subject: RE: New to apache / Tomcat From: Andrew

Re: How to install a simple servlet in Tomcat?

2006-02-16 Thread Zorro3692
To display a servlet, open your browser, and in address bar type in %TOMCAT_HOME%(the path to your Tomcat installation)/webapps/myapp (the name of the dir where your app is located)/servlet/HelloIZ, and lo an behold, your servlet should pop up! Jimmy

Re: How to install a simple servlet in Tomcat?

2006-02-16 Thread David Delbecq
You must put the class in a .jar itself located in the WEB-INF/lib folder of a .war or you must put the class in WEB-INF/classes of a .war You must also setup your servlet un WEB-INF/web.xml Then you must deploy you .war in tomcat (the easiest way is to use the manager:

RE: How to install a simple servlet in Tomcat?

2006-02-16 Thread Marc Wentink
One addition, my version of Tomcat is 4.1 I read somewhere that the default way to install a servlet is changed, from 3.x to 4.x, at least I think that is what was said, so the Tomcat version probably matters in this question. Marc

RE: How to install a simple servlet in Tomcat?

2006-02-16 Thread Marc Wentink
From: Daniel Guggi Basically you have to set up a context for your webapp. Which context is actually used by the default examples? Ok, I think..., when I move my class file to the directory where I find the examples: C:\Program Files\Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\classes

Re: Assistance required

2006-02-16 Thread Hadraba Petr
Try upgrade from GNU Java (which is the default JVM in the Fedora distribution) to the Sun Java 5. GNU Java has too many issues because of is not in the final version (I remembere) :-( PETR On 2/16/06, Medha Parathasarathy [EMAIL PROTECTED] wrote: I have gone through the server.xml model

[Fwd: How can we capture all errors without defining it]

2006-02-16 Thread Java Pro
Is there anyone who can help me with this query? Original Message Subject:How can we capture all errors without defining it Date: Wed, 15 Feb 2006 12:30:04 +0530 From: Java Pro [EMAIL PROTECTED] To: users@tomcat.apache.org Hi, I would like to know, if we

OCI Driver and NLS_SORT

2006-02-16 Thread Jean-Philippe Boily
Hi, I am trying to use OCI Drivers with Tomcat. We have Tomcat 5.5, JDK 1.5 and classes12.jar for Oracle DB 8.1.7. Here is the error we have when we try to connect. I found some places telling me it can only be loaded once unless you turn on Cache jars memory setting...but I can find how with

Re: OCI Driver and NLS_SORT

2006-02-16 Thread Martin Gainty
Bonjour Jean-Phillipe You can alter the default sort by manipulating SESSION NLS_SORT SESSION attribute ..for example connect [EMAIL PROTECTED] alter session set nls_sort=FRENCH; CREATE INDEX NLS_GENERIC ON TABLENAME ( NLSSORT(ColumnName,'NLS_SORT=FRENCH'));Bon Chance!Martin-Etats

RE: New isapi_redirect.dll has problems

2006-02-16 Thread David Thielen
Hi; Well it's been running for almost 24 hours and the only error is (got this 10 times) below. I will turn off debug and see if that causes it to come back. [Thu Feb 16 11:37:46 2006] [1680:2112] [debug] jk_isapi_plugin.c (835): Default redirection of / [Thu Feb 16 11:37:46 2006] [1680:2112]

RE: Multiple Sessions per user

2006-02-16 Thread Duan, Nick
In your situation, you probably don't want to mess around with the HttpSession object. The session object is designed for sharing info within the same session, not the same user. If sharing info among multiple sessions is desired, use ServletContext instead. One solution would be store your

RE: Assistance required

2006-02-16 Thread Caldarale, Charles R
From: Giorgio Clavelli [mailto:[EMAIL PROTECTED] Subject: Re: Assistance required It seems you don't have the MySql driver in your classpath. Nor should any Tomcat administrator or user. Jars for JDBC drivers should be placed in specific directories, as described in the Tomcat JDBC and

Re: [Fwd: How can we capture all errors without defining it]

2006-02-16 Thread Ramin Farhanian
Throws advice in AOP concept is another mechanism. Go for AspectJ or Aspect Werkz, Spring AOP or They all support the lovely Aspect Oriented Concept. Regards, Ramin Java Pro [EMAIL PROTECTED] wrote: Is there anyone who can help me with this query? Original Message

Tomcat in debug mode

2006-02-16 Thread harmeek singh jhutty
Hi Friends, I am using tomcat5.5.7 and I want to start it in debug mode...I researched and found this link: http://tomcat.apache.org/faq/development.html I followed and tried to do this: Set environment variables JPDA_ADDRESS=8000 and JPDA_TRANSPORT=dt_socket and then start tomcat using

RE: Tomcat in debug mode

2006-02-16 Thread Caldarale, Charles R
From: harmeek singh jhutty [mailto:[EMAIL PROTECTED] Subject: Tomcat in debug mode But there is no catalina.bat file under tomcat5.5.7/bin folder,so how to make this work. Download and install the .zip version of Tomcat, rather than the .exe file. For reasons unknown, the scripts are not

Website on Tomcat- few problems

2006-02-16 Thread harmeek singh jhutty
Hi Friends, I have a JSP/Java/Tomcat website on which I am able to view the images from the outside world but for some reason the images are not gettin resolved locally.You can see the site at: www.customsportsplaques.com My other question is rite now,I have set the IIS so that any link to

RE: is it ok to run tomcat 3.3 in jre 1.4?

2006-02-16 Thread Akoulov, Alexandre
thanks a lot, Doug. I am interested to know if there is anyone who runs tomcat 3.3 in java 1.4. As far as I remember when tomcat 3.3 was released we were still in java 1.3 world and therefore I assume no proper testing was done on tomcat 3.3 in java 1.4 environment. Kind regards, Sasha.

Re: Website on Tomcat- few problems

2006-02-16 Thread Warren Pace
From: harmeek singh jhutty [EMAIL PROTECTED] Date: 2006/02/16 Thu PM 03:57:49 EST To: users@tomcat.apache.org Subject: Website on Tomcat- few problems Hi Friends, I have a JSP/Java/Tomcat website on which I am able to view the images from the outside world but for some reason the

Re: Website on Tomcat- few problems

2006-02-16 Thread Filip Hanik - Dev Lists
working with the JK connectors can be an adventure on its on, so make sure you don't look yourself down by only looking at one solution. you can google for other alternatives as well like this one http://jspisapi.neurospeech.com/ or you can run Apache on your windows platform, or run tomcat on

Re: Re: context error

2006-02-16 Thread Warren Pace
From: jacky [EMAIL PROTECTED] Date: 2006/02/15 Wed PM 09:00:29 EST To: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: context error hi, RedHat7.3, J2sdk1.4.2_10 server.xml is the default server.xml: !-- Tomcat Root Context -- !-- Context

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Michael Andreas Omerou
Dear all, Thanks for your replies to my problem. However, I think the discussion has been diverted into a debate totally irrelevant to the issue. As far as Chuck's question whether this could be related to the popup, this is not the case as the problem happens on other pages too, even on

Re: Re: Website on Tomcat- few problems

2006-02-16 Thread mail4micky
Hi, Thanks for the help,I researched on that and started working by following this tutorial: http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html But my problem is I am using IIS-5.0,and I got struck on last step of his i.e. Authorise the DLL as a web application Select Web Service Extensions

sePrincipal

2006-02-16 Thread anil_a
Hi All I trying setPrincipal on request on tomcat 5.0.30. But servlet.api.jar that comes with tomcat does not have setPrincipal method on HttpRequest class. I look at the tomcat source and on AuthenticationBase class uses that method to setPrincipal. Am I using wrong servlet api jar?

Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread Mike Reynolds
What is the best development environment for developing a Tomcat servlet? - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.

Re: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread Pulkit Singhal
I would say Eclipse web edition...but you have to figure out how to integrate it with tomcat...shld be able to find a tutorial on that out there somewhere. On 2/16/06, Mike Reynolds [EMAIL PROTECTED] wrote: What is the best development environment for developing a Tomcat servlet?

Re: Loading data in tree model from database table by Java

2006-02-16 Thread Pulkit Singhal
I guess you would just have to write a function to process the data. you probable need to look at the result set and use a data structure where you can, one by one, add the each child to the parent. Then you could write a output method that goes through this and for each node tabs the children and

RE: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread James Reynolds
Or use NetBeans. It comes with Tomcat Bundled and you can deploy to it using one button. You can also configure it to deploy to your existing Tomcat Installations, very easily, with one button execution. I've only had one side effect from using NetBeans with Tomcat. When my company switched to

Re: Re: context error

2006-02-16 Thread jacky
I added the reloadable=true crossContext=true, but the same errors occur. Best Regards. jacky - Original Message - From: Warren Pace [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, February 17, 2006 5:35 AM Subject: Re: Re: context

Re: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread Glen Mazza
Pulkit Singhal wrote: I would say Eclipse web edition...but you have to figure out how to integrate it with tomcat...shld be able to find a tutorial on that out there somewhere. I use Eclipse WTP but don't bother integrating it with Tomcat--I use the manager Ant tasks[1] for autodeploying

RE: Re: context error

2006-02-16 Thread Caldarale, Charles R
From: jacky [EMAIL PROTECTED] Subject: Re: Re: context error server.xml is the default server.xml: !-- Tomcat Root Context -- !-- Context path= docBase=ROOT debug=0/ -- Part of the problem may be that you have no default Context. There should be one

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread George Sexton
Just out of curiousity, why do your pages have two HEAD blocks (one at the top, and one at the bottom of the page)? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED] Sent:

configuring mod_jk with apache / tomcat

2006-02-16 Thread Brad O'Hearne
I am trying to get the Tomcat connector configured to connect tomcat and apache and I have two questions: 1) I downloaded the binary distribution for linux, and the filename was: jakarta-tomcat-connectors-jk-1.2.14-linux-sles9-x86_64-worker.so. Is this supposed to be mod_jk? 2) What kind of

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Wade Chandler
Monitoring the HTTP headers for both IE and Firefox using HttpAnalyzer for IE and LiveHttpHeaders for Firefox gives the following: 1) IE (Request-Line):GET http://www.tophotelchoices.com/ HTTP/1.1 Accept:*/* Accept-Language:en-gb Accept-Encoding:gzip, deflate

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread George Sexton
Since I regularly use Firefox and sessions I'm pretty sure that there is really nothing unique to that combination that is causing the problem. It could be the proxy server below is causing the issue. The obvious thing to do would be to try from a different network without a proxy server and see

Re: sePrincipal

2006-02-16 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All I trying setPrincipal on request on tomcat 5.0.30. But servlet.api.jar that comes with tomcat does not have setPrincipal method on HttpRequest class. I look at the tomcat source and on AuthenticationBase class uses that

Re: Question about caseSensitive - how does it work?

2006-02-16 Thread Bill Barker
Bob Faist [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] My guess is that the web app name will need to be treated as case sensitive regardless of the Context configuration. http://localhost:8080/tomcat-docs/INDEX.html http://localhost:8080/tomcat-docs/index.html Both of these

Re: Change Max Post Size

2006-02-16 Thread Bill Barker
Diwan, Dronesh (Genworth, Contractor) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any idea on how to change the maxPostSize in the Connector instead of using the dafault values. I have problem in uploading files 2 MB. I tried setting different values as prescribed but it

Re: sePrincipal

2006-02-16 Thread anil_a
Thanks for reply Bill. Is there anyway to setPrincipal on HttpServletRequest? can I cast to concreate class that implemented that HttpServletRequest? Which class is it? anil anil All I want to do is setPrincipal from a servlet filter. Bill Barker wrote: [EMAIL PROTECTED] wrote in

Re: Re: context error

2006-02-16 Thread jacky
I added the Context path= docBase=ROOT debug=0/, it still doesn't work Best Regards. jacky - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, February 17, 2006 10:13 AM Subject: RE: Re:

Re: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Bill Barker
Michael Andreas Omerou [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear all, Thanks for your replies to my problem. However, I think the discussion has been diverted into a debate totally irrelevant to the issue. Not that I'm all that interested, but just to push this

RE: New isapi_redirect.dll has problems

2006-02-16 Thread David Thielen
Hi; Ok, I went back to Info and it is happening again. I think it's the logging because the IIS logs don't match the isapi log. Not only does the list of files not match (these are the only places most of these filenames occur) but there are files listed in the isapi log that never appear in the

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Michael Andreas Omerou
This is really an old thing I read somewhere that IE might not respond to the top headers so the only way to force IE to work as you want it to (no caching) was to do this (put one more header at the end). Back at that time (IE 5 was used with 6 not being released yet) this solved me many

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Michael Andreas Omerou
Thanks for the suggestion Wade but I really did what you are saying and headers reach the server correctly. Michael -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: 17 February 2006 05:16 To: Tomcat Users List Subject: RE: Session Expires At Every Request

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Michael Andreas Omerou
More or less this what I think as well! That Cache-control: max-age=0 is applied to cookies too. However the cookies in Firefox seem to have the correct expiration date. Michael -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: 17 February 2006 06:03

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread BuyRentVillas.com Administrator
Thanks for the suggestion George. I don't think is the proxy because IE and other browsers work with the same proxy so I don't see why FireFox should not. I will try your suggestion though and let you know the outcome. As far as other suggestions, no. 1 is particularly interesting and will try

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-16 Thread Michael Andreas Omerou
Thanks for the suggestion George. I don't think is the proxy because IE and other browsers work with the same proxy so I don't see why FireFox should not. I will try your suggestion though and let you know the outcome. As far as other suggestions, no. 1 is particularly interesting and will try

Load testing with Tomcat 5.5, Apache 2.2 and mod_proxy_ajp

2006-02-16 Thread Ian Shafer
Hello, I'm currently load testing a webapp running on Tomcat 5.5 that is fronted by Apache 2.2 and uses mod_proxy_ajp to communicate between the two. I'm seeing some odd behavior that I cannot explain. I have this line in my httpd.conf file: ProxyPass /webapp/

Re: Load testing with Tomcat 5.5, Apache 2.2 and mod_proxy_ajp

2006-02-16 Thread Mladen Turk
Ian Shafer wrote: Hello, I have this line in my httpd.conf file: ProxyPass /webapp/ ajp://localhost:8009/webapp/ min=256 max=256 and in tomcat I have maxThreads set to 256 for both my HTTP connector and my AJP connector. For some reason, though, I still get a message in my tomcat log

JAAS /Tomcat : Which Realm should I use with my custom LoginModule ?

2006-02-16 Thread Vincent Delhommois
Hello, I had a problem implementing JAAS with Tomcat and I found my error, I was specifying my custum loginModule in the realm (server.xml) and not in the JAAS.conf file. Can you tell me which classname of realm I need to use : Realm className=org.apache.catalina.realm.JAASRealm appName=appJAAS