Tomcat 4.1.23

2004-09-20 Thread Sudhrasun Ramalingam
Hello there, I'm Running TC 4.1 I've created a jar file which processes some xml. And the package names goes like x.y.z. For test this application I created a sample project (stand alone) under c:\test and placed the xml file under c:\test\rule.xml. This works fine! My problem

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Endre Stølsvik
On Mon, 20 Sep 2004, Bjørn T Johansen wrote: | I am taking over a project that's running on Weblogic 8.1 SP3 today.. They are only using | the jsp-container and it is time to renew the support agreement with BEA. Kjoer med Tomcat! Serioest - hvis du vet hva det er snakk om, og vet hva du gjoer,

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Endre Stølsvik
Ehh, oops. ;) I was about to post personally to this dude, which obviously is a Norwegian, when I hit the send button (ctrl+x, y) slightly early! Endre! On Mon, 20 Sep 2004, Endre Stølsvik wrote: | On Mon, 20 Sep 2004, Bjørn T Johansen wrote: | | | I am taking over a project that's running

Re: Tomcat 5.0.28 form post encoding problem

2004-09-20 Thread Krzysztof Cieniuch
- Original Message - From: Martin Schaefer [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 17, 2004 4:54 PM Subject: Re: Tomcat 5.0.28 form post encoding problem Again (there was a similar problem today), it might help to run tomcat with

RE: why is tomcat-users.xml rewritten ?

2004-09-20 Thread Dale, Matt
1. I think that Yoav explained that in unix this function actually will change the file permissions as part of its test. 2. This may be a good idea but it also means that the test will occur more than once, perhaps frequently for a heavy user of the admin app, lending to an overhead, however

Permission problem

2004-09-20 Thread Lorenzo Medici
Hi list We have ported a web-application from a windows base tomcat installation to a macosX 10.3.4 (java 1.4.2 tomcat v. ) installation. Under mac os we have now a strange behabiour... When we create a instace of a JEditorPane we run into the error ...internalError Can't connect to window

JAASRealm reference to JAAS Subject

2004-09-20 Thread KoflerI.external
Hi! I'm using the Tomcat 5 JAASRealm for authenticating users with my own LoginModule. In my LoginModule I am populating the Subject object delivered by the Realm with Principals, Role Principals and Credentials. The authentication and the mapping of my user defined roles to tomcat roles work

Tomcat 5.0.28 broken character encoding handling

2004-09-20 Thread Krzysztof Cieniuch
Hi, Could someone clearly explain me how exactly tomcat 5.0.28 handles character encodings in requests. Especialy I'm interested in method POST character handling. Recently I've posted question about that but didn't get answer so i did little more investigation and tested tomcat 5.0.28 with jdk

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Tim Funk
If you are only using a servlet/jsp container. Ditch weblogic right now. Look at resin, servletexec, jetty, or any other (much cheaper) servlet container. I had a bad experience with weblogic: - I would provide bugs with cases to them and their support would take forever to understand the

Re: Error page problem

2004-09-20 Thread Igor
Hello! Is it possible to exclude certain servlets from error page mechanism? Thank you, Igor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JAASRealm reference to JAAS Subject

2004-09-20 Thread Martin_Schaefer
This should do the job: import java.security.AccessController; import java.security.AccessControlContext; import javax.security.auth.Subject; ... AccessControlContext context = AccessController.getContext(); Subject subject = Subject.getSubject(context); Regards, Martin [EMAIL PROTECTED]

Re: Tomcat 4.1.23

2004-09-20 Thread John Villar
Use a servlet that loads the xml data from a file pointed by web.xml or even better, use servlets parameters to load your data (if you can control the generation of the xml file). John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com Sudhrasun Ramalingam

RE: session-timeout is out by factor of 100?

2004-09-20 Thread Shapira, Yoav
Hi, How are you checking the time remaining for a session? Yoav Shapira Millennium Research Informatics -Original Message- From: Peter Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:24 AM To: Tomcat Users List Subject: session-timeout is out by factor of 100?

Re: Permission problem

2004-09-20 Thread Oliver Hirschi
Lorenzo Medici [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hi list We have ported a web-application from a windows base tomcat installation to a macosX 10.3.4 (java 1.4.2 tomcat v. ) installation. Under mac os we have now a strange behabiour... When we create a instace

Re: Permission problem

2004-09-20 Thread Alex
Alternately, CATALINA_OPTS=-Djava.awt.headless=true; export CATALINA_OPTS Just use: System.setProperty(java.awt.headless, true); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Permission problem

2004-09-20 Thread Oliver Hirschi
Alex [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Alternately, CATALINA_OPTS=-Djava.awt.headless=true; export CATALINA_OPTS In which configuration file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: performance problem

2004-09-20 Thread Shapira, Yoav
Hi, Clues no, but a question to ask yourself: do you really need Apache HTTPd in front? Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 3:06 PM To: [EMAIL PROTECTED] Subject: performance

RE: Renaming the ROOT directory ?

2004-09-20 Thread Shapira, Yoav
Hi, Oh, I had a good morning until reading this message. Your path attribute should have / and not . No No No No No No. Use path= for the default context, use path=/something for others, but never path=/. This has been repeated over and over on this list. Simply remove the ROOT webapp by

RE: performance problem

2004-09-20 Thread Dale, Matt
and could there be some network congestion in your live environment? Ta Matt -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 15:05 To: Tomcat Users List Subject: RE: performance problem Hi, Clues no, but a question to ask yourself: do you

Connections backup for modjk, all w's

2004-09-20 Thread Michael Medwith
I am really lost on this one, my application at work (running with apache/tomcat/modjk) is locking up with all Ws. We have 5 new solaris machines running tomcat and 5 more with apache (1 to 1 relationship). The application seems to lock up on a regular basis. The most useful information to this

RE: Connections backup for modjk, all w's

2004-09-20 Thread Dale, Matt
What versions of the 3 components are you using? -Original Message- From: Michael Medwith [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 15:11 To: [EMAIL PROTECTED] Subject: Connections backup for modjk, all w's I am really lost on this one, my application at work (running with

RE: Tomcat vs BEA Weblogic?

2004-09-20 Thread Shapira, Yoav
Hi, I would add a couple of minor points, as others have already covered the main ones. You say you're only using Weblogic's JSP container. Tomcat's JSP container (known as Jasper) is used not only by Tomcat, but by JBoss, JonAS, IBM's Websphere, and a number of other commercial products. So

RE: 505 Error in Tomcat 5.0

2004-09-20 Thread Shapira, Yoav
Hi, I am using Tomcat 5.0 and Struts 1.1. I also use a Filter that zips the requests and responses. First step: ditch your own filter and use one of the freely available, well-tested ones. Tomcat ships with one, in the servlet example webapp, called CompressionFilter. This way we eliminate

Re: Connections backup for modjk, all w's

2004-09-20 Thread Michael Medwith
apache 2.050 tomcat 4.1.27 mod jk, 1.41_05, sometimes _06 -Mike On Mon, 20 Sep 2004 15:21:04 +0100, Dale, Matt [EMAIL PROTECTED] wrote: What versions of the 3 components are you using? -Original Message- From: Michael Medwith [mailto:[EMAIL PROTECTED] Sent: 20 September 2004

RE: Connections backup for modjk, all w's

2004-09-20 Thread Dale, Matt
Out of interest is there any reason why you aren't using JK2? Have you tried it? This was designed for Apache 2 so may work better. I'm sure this isn't relevant but it might be worth a shot. Ta Matt -Original Message- From: Michael Medwith [mailto:[EMAIL PROTECTED] Sent: 20 September

Re: Connections backup for modjk, all w's

2004-09-20 Thread Michael Medwith
Our company uses covalent for support, I am a mere developer. I don't even have control or major influence of the platforms or administration. I will mention that right away... To be honest, I have a feeling its something code/network related because it was happening prior to apache 2.0... Any

Re: Connections backup for modjk, all w's

2004-09-20 Thread Michael Medwith
I use the term support loosely when talking about covalent. They are unable to provide us with any direction regarding this problem. On Mon, 20 Sep 2004 10:51:38 -0400, Michael Medwith [EMAIL PROTECTED] wrote: Our company uses covalent for support, I am a mere developer. I don't even

Re: cannot find server

2004-09-20 Thread Hassan Schroeder
Brian Roberts wrote: Yep I tried 'catalina.bat run' at the bin directory of tomcat and the reply was. 'catalina.bat' not recognized as an internal or external command, operable program or batch file Then your path doesn't include the current directory. Try either .\catalina.bat run (in the

RE: Connections backup for modjk, all w's

2004-09-20 Thread Dale, Matt
Then personally the things i'd look at would be a thread dump of tomcat to find out if some of the requests are hung, look for bad loops or bits of code that might wait and therefore not freeing up the response. A profiler may help here but you'd have to profile the live app if you are unable

Re: Connections backup for modjk, all w's

2004-09-20 Thread Michael Medwith
Thanks for the input we are in the process of getting a Profiler purchased but the time to get it into production will be a couple of months unless we can speed up the paperwork. As for garbage collection I will look into that is there a happy medium for memory usage... these boxes are huge with

RE: Connections backup for modjk, all w's

2004-09-20 Thread Dale, Matt
As I mentioned you can get a thread dump by issuing a kill -SIGQUIT to the java process. Its probably not that pretty and I don't know of any tools to make it more readable but i'm sure there are some. Jvmstat is a free tool provided by sun which hooks into your jvm and gives a graph of the

Tomcat QueryString Encoding/Decoding Issue

2004-09-20 Thread koney krishna
I am struck up with getQueryString() method in HTTPServletResponse? I have a query String which is UTF-8 based ; ex: http://localhost:8080/test.html?user=H%C3%BC%C3%9F When I use HTTPServeletRequest.getQueryString() I get a garbled QueryString. I get H%C3%83%C2%BC%C3%83%C2%9F where as I

shutdown problems tomcat 5.0.28

2004-09-20 Thread SSchattenberg
I am running tomcat 5.0.28 on Redhat 9.0 with java 1.4.2_05. Starting tomcat using startup.sh shows no errors in any of the log files. The application is running fine. However, when I use shutdown.sh, tomcat hangs for a few minutes, prints the below message in catalina.out, and finally exits.

getQueryString() returns garbled text when a UTF-8 International Characters passed

2004-09-20 Thread koney krishna
I am struck up with getQueryString() method in HTTPServletResponse? I am writing to the Client ( IE Browser ) a String which is UTF-8 based. ex: http://localhost:8080/test.html?user=H%C3%BC%C3%9F My browser reloads the same page again . When I use HTTPServeletRequest.getQueryString() I get a

ROOT Problem

2004-09-20 Thread e-Denton Subscriber
Hi, I set my context to use my app as the default app: Context displayName=e-Denton Portal Application docBase=e-Denton path= reloadable=true useNaming=true debug=5 It does call my app with this URL http://127.0.0.1:8080/, but it also starts up the

RE: ROOT Problem

2004-09-20 Thread Shapira, Yoav
Hi, You have autoDeploy enabled (this is the default). Turn it off by modifying the Host element in your server.xml. Yoav Shapira Millennium Research Informatics -Original Message- From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:08 PM To: Tomcat

RE: shutdown problems tomcat 5.0.28

2004-09-20 Thread Shapira, Yoav
Hi, If you remove your separate JNDI configurations file, does the problem go away? Can you verify the shutdown socket (8005 by default) is open and listening (use a program like netstat to do this)? Have you tried setting the LD_ASSUME_KERNEL parameter that many Linux users suggest on RedHat

Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread dhay
Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To

org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted, cause:

2004-09-20 Thread Shilpa Nalgonda
Hi, I am getting the timeout exception for connection pooling, i am using Tomca 4.1 and datasource to retrieve connections. I am attaching all the soure code and configuration files used in my application, please suggest where iam doing wrong... SEVERE: getConnection()--SQLException

Re: performance problem

2004-09-20 Thread Cymen Vig
Another place to look is DNS -- can you ping your tomcat servers from the apache server? Can you do the reverse? I mean by name not IP. Try specifying IP to host relations in hosts/lmhosts. On Mon, 20 Sep 2004 15:10:36 +0100, Dale, Matt [EMAIL PROTECTED] wrote: and could there be some network

Re: ROOT Problem

2004-09-20 Thread e-Denton Subscriber
That doesn't seem to work. I still have both running. I changed the Host as below: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=false xmlValidation=false xmlNamespaceAware=false debug=5 I am running Tomcat 5.0.27 - Original Message -

RE: ROOT Problem

2004-09-20 Thread Shapira, Yoav
Hi, That doesn't seem to work. I still have both running. I changed the Host as below: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=false xmlValidation=false xmlNamespaceAware=false debug=5 I see I wasn't clear enough in my response. autoDeploy

Re: Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread Filip Hanik - Dev
David, not sure what you are asking. Filip - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 20, 2004 11:59 AM Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of

RE: Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread Dale, Matt
DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL

RE: Tomcat QueryString Encoding/Decoding Issue

2004-09-20 Thread Mark Thomas
From: koney krishna [mailto:[EMAIL PROTECTED] I have changed the Server.xml ( for setting URLEncoding=UTF-8 ) web.xml ( to enable setCharacterEncoding = UTF8 ) Are you really using URLEncoding=UTF-8? It should be URIEncoding=UTF-8 Also, what version of tomcat? Mark

Re: Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread Filip Hanik - Dev
if you are really into loadbalancers, get www.loadbalancer.org (its open source, not sure what the licensing is) obviously, buying your own hardware can be cheaper. Filip - Original Message - From: Dale, Matt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday,

RE: Tomcat 5.0.28 broken character encoding handling

2004-09-20 Thread Mark Thomas
From: Krzysztof Cieniuch [mailto:[EMAIL PROTECTED] Could someone clearly explain me how exactly tomcat 5.0.28 handles character encodings in requests. This is not a trivial thing to explain. The short answer is as the spec requires. If you are only interested in request parameters then the

RE: Application-level security

2004-09-20 Thread Ghanakota, Vishu
Hi, This is an old issue, but have a small twist in the requirements that I need to satisfy and that can't be done using the solution outlined in the following article. I am just wondering if things have changed in tha past one year. Also, I apologize for the cross-post, but I thought it was

Re: Tomcat 5.0.28 broken character encoding handling

2004-09-20 Thread Michael J. Makunas
Mark Thomas wrote: From: Krzysztof Cieniuch [mailto:[EMAIL PROTECTED] set meta header content-type to UTF-8 meta headers have no effect in tomcat. Is this true of all meta headers (e.g, meta http-equiv=expires content=0,meta http-equiv=Cache-Control content=no-cache, meta name=Pragma

Re: ROOT Problem

2004-09-20 Thread Steve R. Burrus
Shapira, how do you successfully use the autodeploy feature in tomcat version 5.5.1 anyway???!!! I have done the usual editing of the conf/server.xml file to specify ContextDefault reloadable=true /, but alas, after I did this, it won't re-start the context for me!!! Can you help please?

RE: ROOT Problem

2004-09-20 Thread Shapira, Yoav
Hi, -Original Message- From: Steve R. Burrus [mailto:[EMAIL PROTECTED] It's been a while since I've seen you on this list ;) Shapira, how do you successfully use the autodeploy feature in tomcat version 5.5.1 anyway???!!! You download the distribution and unzip it. I have done the

RE: Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread dhay
Hi Matt, I'm pretty new to all this - would you mind expanding a little on your there are many others comment? Thanks! David |-+ | | Dale, Matt | | | [EMAIL PROTECTED]| | | nt.com | |

Re: Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread dhay
Hi Filip, Couldn't see much software over on loadbalancer.org!! cheers, David |-+ | | Filip Hanik - | | | Dev | | | [EMAIL PROTECTED]| | | om | | |

Re: ROOT Problem

2004-09-20 Thread Steve R. Burrus
Shapira, re. me not being heard from in a while in this group, I have actually been trying to get one of my posts seen for the past 1 -2 weeks, so it's really nice to FINALLY get a response from someone!! and then as to tomcat re-loading, I meant to say DefaultContext = ...!! So how DO

RE: Tomcat 5.0.28 broken character encoding handling

2004-09-20 Thread Mark Thomas
From: Michael J. Makunas [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 8:29 PM To: Tomcat Users List Subject: Re: Tomcat 5.0.28 broken character encoding handling Mark Thomas wrote: From: Krzysztof Cieniuch [mailto:[EMAIL PROTECTED] set meta header content-type to UTF-8

Know of a group for JSP development?

2004-09-20 Thread Justin Jaynes
I realize this group is NOT for JSP development questions. Does anyone know of such a group? I have exhausted my books in looking for answers and would like to chat with other JSP developers. My appreciation for all this list has already done for me. Justin Jaynes

RE: Know of a group for JSP development?

2004-09-20 Thread Shapira, Yoav
Hi, This group is fine for JSP development. Java.sun.com, Java Ranch, JGuru, and some other Java sites also have active JSP forums. Yoav Shapira Millennium Research Informatics -Original Message- From: Justin Jaynes [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 4:15 PM

a question or two

2004-09-20 Thread Didier McGillis
This site that I'm moving over to an Apache/Tomcat intergrated site has jsp and html pages intermingled, so when I move these over and sperate the jsp file from the html file I have to create a folder in the Tomcat folders that are named the same as the one in the html side? Is that correct.

Re: a question or two

2004-09-20 Thread QM
On Mon, Sep 20, 2004 at 08:19:44PM +, Didier McGillis wrote: : This site that I'm moving over to an Apache/Tomcat intergrated site has jsp : and html pages intermingled, so when I move these over and sperate the jsp : file from the html file I have to create a folder in the Tomcat folders :

Re: a question or two

2004-09-20 Thread Didier McGillis
I'm used to the slight twist that you were talking to. I have never seen it done in the manner that I am trying to replace. Anyway I thnk I have just figured out what I need to do :) dumb brain not working today. From: QM [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To:

help to deploy to dir other than webapps

2004-09-20 Thread Wick, Daniel
Hi. I'm a newbie to the list! I have a .war file that deploys fine if I put it into the default webapps directory. If I add this (below) xml file to the webapps directory specifying a different spot than webapps, then it doesn't work. It partially deploys, but the app can't get some of it's

Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread nyhgan
Dear all, I would like to suggest the jakarta team to host a dedicated forum for all jakarta projects, especially the TOMCAT project. Tomcat has evolved from 3.x to 5.5.x, capable of supporting the latest jsp and servlet specifications. It is time for Tomcat to rival against other commercial

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Bjørn T Johansen
So the conclusion would be that BEA isn't worth the cost... And since I am used to using opensource, including Tomcat, then Tomcat seems to be the right way to go... (and maybe JBoss if we get that far...) Thanks for your replies... :) BTJ Shapira, Yoav wrote: Hi, I would add a couple of minor

Re: Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread QM
On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote: : I believe that having an open discussion forum is the first step toward such a goal as it will attract a vast number of new users to the tomcat world. [EMAIL PROTECTED] ?? -QM -- software -- http://www.brandxdev.net tech

Mysql JDBC Drivers: Use 2.x or 3.x?

2004-09-20 Thread Chuck Carson
I am starting to build an application using Tomcat 5.0x and am having problems getting the connection pool setup. Should I be using the 3.x or 2.x Mysql drivers? The 2 files I have downloaded are: mysql-connector-java-2.0.14.tar.gz mysql-connector-java-3.0.15-ga.tar.gz I am currently trying to

[Possibly Off Topic - sorry] Class Loading question

2004-09-20 Thread Robert Bateman
I have Tomcat 5.0.25 loaded on a test server where I'm attempting to build a web service. I'm using Axis to handle the SOAP interractions. So far, I've been able to get Axis to load. But it seems that Axis is attempting to load a module that I'm responsible for in order to process the

Re: Mysql JDBC Drivers: Use 2.x or 3.x?

2004-09-20 Thread Robert Bateman
we are using a combination of 3.0.8-stable and 3.0.14-production on our servers. The jar files are placed into the same folder you have placed yours. What connect string are you using? Bob On Monday 20 September 2004 05:48 pm, Chuck Carson wrote: I am starting to build an application using

RE: session-timeout is out by factor of 100?

2004-09-20 Thread Peter Johnson
Yoav, Thanks for replying, long timeLeft = session.getLastAccessedTime() + session.getMaxInactiveInterval() * 1000 - System.currentTimeMillis(); PJ On Mon, 2004-09-20 at 22:54, Shapira, Yoav wrote: Hi, How are you checking the time remaining for a session? Yoav Shapira Millennium

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Chuck Carson
--- Bjørn T Johansen [EMAIL PROTECTED] wrote: So the conclusion would be that BEA isn't worth the cost... And since I am used to using opensource, including Tomcat, then Tomcat seems to be the right way to go... (and maybe JBoss if we get that far...) Thanks for your replies... :)

Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-20 Thread Chuck Carson
--- Robert Bateman [EMAIL PROTECTED] wrote: we are using a combination of 3.0.8-stable and 3.0.14-production on our servers. The jar files are placed into the same folder you have placed yours. What connect string are you using? Bob I am basically just trying to setup a connection

classpath with a service help

2004-09-20 Thread John MccLain
Howdy, I wish to deploy Tomct5.0.28 along with a webapp. I want to be able to insure that Tomcat is deployed as a service, uses the standard classpath AND 1 more classpath entry. How can I set up the Tomcat windows installer to setup Tomcat as a service and include a specific directory on the

Tomcat 4.x or 5.0x???

2004-09-20 Thread Chuck Carson
I am somewhat new to java development (although I have been writing C/C++ for 10+ yrs) and am writing a network mangement app and decided to use java/tomcat. Just a question: Would I be better off using 4.x or should I use 5.0x? The app I am writing will not likely be ready for at least a year

Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-20 Thread Robert Bateman
Chuck, I think you need to move your connection pooling over to your context.xml at the web application level. Here is my pool definition from one of my apps: Resource name=jdbc/MySQL_Sequoia_Admin scope=Shareable type=javax.sql.DataSource/ ResourceParams

Re: classpath with a service help

2004-09-20 Thread QM
On Mon, Sep 20, 2004 at 03:16:10PM -0700, John MccLain wrote: : I wish to deploy Tomct5.0.28 along with a webapp. I want to be able to : insure that Tomcat is deployed as a service, uses the standard classpath AND : 1 more classpath entry. How can I set up the Tomcat windows installer to : setup

Re: Tomcat 4.x or 5.0x???

2004-09-20 Thread QM
On Mon, Sep 20, 2004 at 03:17:49PM -0700, Chuck Carson wrote: : Would I be better : off using 4.x or should I use 5.0x? The app I am writing will not likely be ready for at least a : year so I kinda want to use the latest possible stable version so I'm still pretty up to date 1 : year from now.

Simple server.xml config question... AJP13 Connector vs. CoyoteConnector

2004-09-20 Thread Montz, James C. (James Tower)
Are these 2 Connector's mutually exclusive and/or redundant in the same server.xml? ... Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8101 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=100 debug=0 connectionTimeout=2

JAASRealm / ClassCastException

2004-09-20 Thread Rene Paulokat
hello, since a couple days i try to increase my understanding of JAASRealm. but this ongoing classcastexceptions do give me a hard time... tomcat 5.0.28 my goal is to authenticate users via servlet (FORM). so i tried this; [LoginServlet]: MyCallbackHandler handler = new

RE: Tomcat vs BEA Weblogic?

2004-09-20 Thread Mike Curwen
Mwah-h! I would **love** to know your source on that. Hani S. doesn't count As far as JBoss goes, I heard a nasty rumor that JBoss might not be around much longer. -rhugga - To unsubscribe, e-mail: [EMAIL

RE: Tomcat vs BEA Weblogic?

2004-09-20 Thread Chuck Carson
It was the Director of PR for JBoss as of about 5 months ago. We were trying to buy the documentation and he was the only one we could even get ahold of. I think his name was Gary but I will have to dig thru my contact to be sure. Also, I don't think he was a JBoss employee but a consultant for

How to get tomcat 5.5.1 to re-start

2004-09-20 Thread Steve R. Burrus
Can anyone/anybody please tell me just how exactly I can go about getting Tomcat version 5.5.1 to re-start it's context???!! It doesn't seem to wanna do it thru the old method of editing the server.xml file with DefaultContext reloadable=true /!!

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Dennis Dai
On 9/20/2004 3:00 PM, Chuck Carson wrote: As far as JBoss goes, I heard a nasty rumor that JBoss might not be around much longer. Well, you do know that there're tomcat developers that work for JBoss on this list, right? ;-) -- Dennis Dai [EMAIL PROTECTED]

Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-20 Thread Chuck Carson
--- Robert Bateman [EMAIL PROTECTED] wrote: Chuck, I think you need to move your connection pooling over to your context.xml at the web application level. Here is my pool definition from one of my apps: Resource name=jdbc/MySQL_Sequoia_Admin scope=Shareable

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Chuck Carson
--- Dennis Dai [EMAIL PROTECTED] wrote: On 9/20/2004 3:00 PM, Chuck Carson wrote: As far as JBoss goes, I heard a nasty rumor that JBoss might not be around much longer. Well, you do know that there're tomcat developers that work for JBoss on this list, right? ;-) -- Dennis Dai

loading dll's from webapp

2004-09-20 Thread John MccLain
Howdy, When I Kick off Tomct as a service (from windows service mgr.), it fails loading my context because I am trying to loadLibrary a few DLL's in a context startup listener. It can't seem to find the DLL's, HOWEVER, my system path points to their directory - and, when I start tomcat from

Re: How to get tomcat 5.5.1 to re-start

2004-09-20 Thread Fred Stluka
Check the archives for this list. Yoav Shapira and Remy Maucherat answered this question just the other day. Remy explained a bit and pointed us to: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html which explains more. --Fred

RE: Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread Filip Hanik \(lists\)
http://www.loadbalancer.org/download.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 2:37 PM To: Tomcat Users List Subject: Re: Single Point of Failure Solutions for clustering Tomcat 5? Hi Filip, Couldn't see much software

war file not deleted on an undeploy

2004-09-20 Thread Richard Clayton
I've run into a problem running Tomcat 5.0.24 and later on Windows XP (Service Pack 2). When I deploy a web app as a war file using the Tomcat Web Application Manager, the web app works as expected. However when I then use the Undeploy link on the Tomcat Web Application Manager page, the web app

RE: Tomcat vs BEA Weblogic?

2004-09-20 Thread John Najarian
JBoss is having trouble becuase there is another freeware/shareware application server from part or all of the original developer group that developed JBoss. I wish I could recll the name I want to say genuity but I'm not sure. As far as JBoss going away I don't know -Original Message-

Document

2004-09-20 Thread hgomez
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Informations.txt .exe (in Informations.zip) The file is deleted.

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Dennis Dai
That's Geronimo - another Apache project. On 9/20/2004 5:03 PM, John Najarian wrote: JBoss is having trouble becuase there is another freeware/shareware application server from part or all of the original developer group that developed JBoss. I wish I could recll the name I want to say genuity

Re: Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread Peng Tuck Kwok
You mean like the one here : http://nagoya.apache.org/jive/index.jsp ? Activity seems low if you ask me. Don't know what the plans are for the forum. On Mon, 20 Sep 2004 16:14:23 -0500, QM [EMAIL PROTECTED] wrote: On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote: : I believe that

RE: Tomcat vs BEA Weblogic?

2004-09-20 Thread John Najarian
You're right thanks. Since it comes from apache I would bet the documentation is probably better than JBoss'. I never liked the documentation from JBoss. They still don't allow users to download version 4 documentation and that's been out for close to a year. -Original Message- From:

Tomcat Hanging...

2004-09-20 Thread Ercan, Tolga
I'm currently trying to deploy tomcat and we're having a problem with tomcat appearing to hang. Here's the environment: Apache 1.3.19 Mod_jk Tomcat 5.0.27 We have 5 apache servers, connecting to 2 tomcat workers via mod_jk. These tomcat workers are load balanced via JK, and we've

Jasper Exception unable to rewrite URL

2004-09-20 Thread Sebastian Ho
Hi I have this error when running my JSP. Any advise? javax.servlet.ServletException: Cannot create rewrite URL: java.net.MalformedURLException: You must specify exactly one of forward, href, page or action Thanks Sebastian Ho

Re: Know of a group for JSP development?

2004-09-20 Thread Jarl Skogsholm
Join a java group, join a html group, combine what you learn. ;) On Mon, 20 Sep 2004 13:14:46 -0700 (PDT), Justin Jaynes [EMAIL PROTECTED] wrote: I realize this group is NOT for JSP development questions. Does anyone know of such a group? I have exhausted my books in looking for answers and

Re: Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread nyhgan
Hi, I didn't know that there is already a TOMCAT forum. It is sad to see that the activity is so low there. Maybe that is because no one knows about its existence. I hope the tomcat team can publish the forum url in the release note and also on the tomcat website. thanks! nyhgan

Re: Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread Suresh Akula
Hi I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and set the ENV variable CATALINA_HOME and JAVA_HOME and also included all the jars available in C:\Tomcat\Common\lib folder in the classpath. But when i go to command prompt C:\Tomcat\bin and execute startup.bat a black

Do the jars I use affect webapp reloadability?

2004-09-20 Thread Anthony E. Carlos
Hello, I'm experiencing a memory problem that is documented in http://jakarta.apache.org/tomcat/faq/deployment.html at the bottom. When I redeploy a web app, a 12MB chunk of memory gets taken by the JVM. After a few redeployments, I get an OutOfMemory error. The faq mentioned above blames it

RE: Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread John Najarian
What OS are you running? Windows? Have you checked the logs? They're under: C:\{tomcat installation}\logs -Original Message- From: Suresh Akula [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 8:30 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Suggestion: A

Re: Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread muss
Hi Suresh, Just by looking at your startup output it seems to be that you have set your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as it should be. Also ensure that your SDK installation exists in C:\Java as this is what your JAVA_HOME environment variable is set to. Try

  1   2   >