Newbie problem with Sessions

2004-03-02 Thread Derek Clarkson
Hi guys, Not sure if I'm in the right list for this ;-) I'm trying to debug an application which has basically been cobbled together by a number of previous programmers using a mix of servlets, jsp and struts. The app also uses 3 contexts - 2 normal and 1 secure via apache. The problem is this, if

Re Re: ReRe: Need Help in Session Management !!!

2004-03-02 Thread amit varshney
Thanks Tim I didn't see that one.It was really a silly mistake. Now it worked. Thanks .. Amit Varshney Quoting [EMAIL PROTECTED]: > Le lun 01/03/2004 à 08:58, Tim Kelly a écrit : > > There are missing parenthesis in the line: > > > > String user1=request.getUserPricipal.getName(); > > > > I

Re: CLIENT-CERT login (5.0.19)

2004-03-02 Thread Bill Barker
"Remy Maucherat" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Almaz Sharipov wrote: > > > Hi! I am newbie here. > > I spent a lot of time discovering that: > > > > 1. CLIENT-CERT login works only with MemoryRealm, all > > other predefined realms must be commented in > > server.xml

Re: reclaiming memory problem PS

2004-03-02 Thread Jerald Powel
PS is the session time out linked wirth inactivity? My session attribute only persists as long as I am using the app. G. - Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Re: [OT] Re: Process Died | Production

2004-03-02 Thread Christopher Schultz
Ankur, I've experienced even more random crashes (SEGV). It turned out to be bad memory (or bus), and it only showed up under pretty heavy load. :( > This is a little OT, but just out of curiosity, has anybody been successful in gaining root/tomcat/whatever-uid shell by capitalizing on a JVM's

Re: reclaiming memory problem

2004-03-02 Thread Jerald Powel
Hello and thank you for that (all), Originally, request.getSession().setMaxInactiveInterval(-1); was set. After some deliberation (not a lot), I opted for setting the session to time out, defined in web.xml: 1 After defining the above, setting a value in the session

cgi-bin

2004-03-02 Thread George Hester
In my webapp in /WEB-INF/lib I put servlets-cgi.jar. I then added just this to the web.xml in \WEB-INF cgi org.apache.catalina.servlets.CGIServlet clientInputTimeout 100 debug 6 cg

Two JK2 Connector Questions

2004-03-02 Thread Cunningham Emmett
1. Are the JK2 connector releases decoupled from Tomcat? 2. When is connector release 2.0.4 expected to be released? I'm specifically interested in BUG # 13869. "mod_jk2 becomes confused when client breaks the connection" http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13869 If this bug nee

[OT] Re: Process Died | Production

2004-03-02 Thread Ankur Shah
Christopher Schultz wrote: I've had the displeasure of experiencing a Tomcat JVM core dump on me not too long ago (in a multi-user development environment, fortunately) on a Sparc/Solaris box. It turned out to be due to insufficient swap memory in the system. I didn't see any OutOfMemoryExceptions

Error when starting tomcat ListenerNotFoundException

2004-03-02 Thread Joao Araujo
Hi, I've installed tomcat many times without problems. Unfortunately, after I downloaded the last version of tomcat 5.0.19 the following error is driving me crazy: java.lang.NoClassDefFoundError: javax/management/ListenerNotFoundException at javax.management.MBeanServerDelegate.(

Re: Tomcat 5 SSI problems

2004-03-02 Thread Nathan Maves
Never mind... my own mistake! On Mar 2, 2004, at 2:21 PM, Nathan Maves wrote: I have followed the instructions in the documentation to a t and still can not get the following line to work. Any ideas? - To unsubscribe, e-mai

FAIL - Application at context path /[context] could not be started ???

2004-03-02 Thread Timothy Stone
List, I did an archive search. Nothing meaningful returned, so I'm posting what must be a regular question. I can get a development tree to install via the Manager interface, but I can't get it started. This seems to be a UNIX problem at the moment. For example on Windoze: Install directory o

Tomcat 5 SSI problems

2004-03-02 Thread Nathan Maves
I have followed the instructions in the documentation to a t and still can not get the following line to work. Any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: web.xml config, dif between 4.0 and 5.0

2004-03-02 Thread Shapira, Yoav
Hi, > Does this sound like a good idea? I notice several people are still >talking about configuring new 4.0 installs. Is 5.0 stable enough? Yes, it's a good idea. Yes, 5.0 is stable enough. Questions about new 4.0 installs have been rare on this list over the past few months, so maybe

Re: web.xml config, dif between 4.0 and 5.0

2004-03-02 Thread Jim Beard
Tim, Thanks for the quick reply. That is exactly what the problem was. I understand that statically defining and mapping servlets would be much more secure, however I'm not sure I want to map the several hundred servlets involved I put the invoker back in place and things are moving alo

re-newbie help

2004-03-02 Thread crombie
hi, i'm re-introducing myself to tomcat after 2 yrs. for some reason i cannot get my servlet apps to run. i installed tomcat, got the welcome screen at port 8080 but when i put my class files in the /webapps dir, it won't run. um, can i get some pointers on where to get docs and etc. the do

Re: web.xml config, dif between 4.0 and 5.0

2004-03-02 Thread Tim Funk
Jim Beard wrote: I work with a rather large and comlex web application. We have been hosting the application with Jakarta Tomcat for a while now. I am working on upgrading our environment to 5.0.18. Does this sound like a good idea? I notice several people are still talking about conf

Re: ClassNotDefError problems within JAR files under Tomcat 4.1.12

2004-03-02 Thread Nathan Rogers
I just noticed a slight (but important typo). Sorry for the reply to my own message. It should say "and they are picked up on a reload without having to restart the entire container." rather than what it actually does say. Spellcheckers should be smart enough to know what I mean, even if what I sa

web.xml config, dif between 4.0 and 5.0

2004-03-02 Thread Jim Beard
Hi folks, I work with a rather large and comlex web application. We have been hosting the application with Jakarta Tomcat for a while now. I am working on upgrading our environment to 5.0.18. Does this sound like a good idea? I notice several people are still talking about configuring new

ClassNotDefError problems within JAR files under Tomcat 4.1.12

2004-03-02 Thread Nathan Rogers
I am developing an imaging servlet under Tomcat 4.1.12 using JAI 1.1.2. Every time I update my code to add new features, it will return with a NoClassDefFoundError until I restart Tomcat. At that point, it finds the 'missing' class and everything works as expected. Only the superficial ImageIO cla

RE: How do I automatically post urls?

2004-03-02 Thread Riaan Oberholzer
Thanks I was trying to get the answers in the HTTPRequest/Response classes I want to use it for PayPal verifications. They send me a url (which a servlet of mine accepts), I send something similar back. Do they have libraries to do it? Or has someone done it before? --- "Shapira, Yoav"

RE: How do I automatically post urls?

2004-03-02 Thread Shapira, Yoav
Hi, >How do I "dymanically" create a url, eg: > >http://domain.com/servlet.do?name=xxx Umm, like java.net.URL url = new URL(http://domain.com/servlet.do?name=xxx";); ? >and then, from my Java app, post it. Ie, the receiver >will see it as a normal client accessing. Will be used >in processing o

How do I automatically post urls?

2004-03-02 Thread Riaan Oberholzer
Not quite Tomcat, but I figure most people here will now: How do I "dymanically" create a url, eg: http://domain.com/servlet.do?name=xxx and then, from my Java app, post it. Ie, the receiver will see it as a normal client accessing. Will be used in processing of automatic payments. ___

RE: problem with server.xml

2004-03-02 Thread Dave Robbins
Hi Yoav, Well, I got it working Simply went back to original server.xml and it works with no modification That sure was a lot easier than all the hair pulling I've been going thru :) Thanx Dave > > Hi, > > Both howto's say to backup the default server.xml and start from > scratch, > > That's unfo

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
Either. I'll look at the java.util.regex one. I posted at taglib-user earlier and still waiting for response. Thanks again. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 2:52 PM To: Tomcat Users List Subject: RE: RegExp issues with Tomcat 5

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Shapira, Yoav
Hi, >Is there a regexp library people recommend? I saw there is one on the >Jakarta site. Library in general or JSP tag library specifically? I've been fine with java.util.regex, which I think requires JDK 1.4. If you must use a JDK older than 1.4, use jakarta-regexp (which tomcat uses). For

Global URL Redirect Tomcat 5

2004-03-02 Thread Nathan Maves
I am trying to migrate to Tomcat 5 from a different app server. Is there a way to define url redirects? i.e. if a page moved off your server to a different location and you do not want to make a redirect page. Nathan - To uns

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
Is there a regexp library people recommend? I saw there is one on the Jakarta site. Karl -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 1:14 PM To: Tomcat Users List Subject: RE: RegExp issues with Tomcat 5 Hi, >Using the regexp tag libr

RE: The purpose of WEB-INF\classes ?

2004-03-02 Thread Justin Ruthenbeck
Just for historical accuracy (not that anyone cares)... ;) I looked back at the 2.2 spec and, as Yoav mentioned, it doesn't say anything about class loading order from the /classes and /lib directories. Although WL61 is 2.3 non-final compliant, apparently the ordering clarification didn't mak

site slow problems

2004-03-02 Thread Shantanu
Hello all, I have a Mandrake 9.2 server with, JBOSS-2.2.2 Tomcat-3.2.2 JDK 1.3 Now I have a page at http://192.168.1.1/Sbp/. When I click there I can see the directory listing which shows a folder jsp/ But when I click on the jsp folder it takes a hell lot of time to show me the index page. The s

site slow problems

2004-03-02 Thread Shantanu
Hello all, I have a Mandrake 9.2 server with, JBOSS-2.2.2 Tomcat-3.2.2 JDK 1.3 Now I have a page at http://192.168.1.1/Sbp/. When I click there I can see the directory listing which shows a folder jsp/ But when I click on the jsp folder it takes a hell lot of time to show me the index page. The

Re: cross context include

2004-03-02 Thread Asim Alp
If indeed we need to put it on all pages, then yes, it's no problem. We do have a couple perl geniuses on staff :) I'm sure we'll find a way to get around it. My main concern right now is to to understand the reason of the problem first. I read the bug report, but still can't understand why

RE: cross context include

2004-03-02 Thread Mike Curwen
If you have a perl genius on staff, he can do ALL pages with a single command. Scary stuff, but cool when it works. :) > -Original Message- > From: Asim Alp [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 02, 2004 12:33 PM > To: Tomcat Users List > Subject: Re: cross context include >

RE: java connection throught proxies

2004-03-02 Thread Armenio Pinto
Olá Edson, Check this and see if it solves your problem: http://www.ideas2work.com/CoreJava6.html Cumprimentos, Arménio Pinto -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: terça-feira, 2 de Março de 2004 18:29 To: 'Tomcat-User List' Subject: java conne

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
Thanks a lot. I will check into it further. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 1:14 PM To: Tomcat Users List Subject: RE: RegExp issues with Tomcat 5 Hi, >Using the regexp tag library I think it is still at version 1.0. You

RE: problem with server.xml

2004-03-02 Thread Shapira, Yoav
Hi, Both howto's say to backup the default server.xml and start from scratch, That's unfortunate, as you can clearly see the howto's are for tomcat4. Class names, attributes, and other elements were changed in tomcat 5. You should take supplied tomcat 5 server.xml and customize it as needed. Yo

problem with server.xml

2004-03-02 Thread Dave Robbins
Hello All, I'm trying to setup the mod_jk connector between tomcat 5.0.16 and apache 1.3.x on a linux box. I've got the connector compiled and installed in apache and I can point a browser at www.mydomain.com/servlet/foo and I get an error message from tomcat, not apache, saying resource not avail

problem with server.xml

2004-03-02 Thread Dave Robbins
Hello All, I'm trying to setup the mod_jk connector between tomcat 5.0.16 and apache 1.3.x on a linux box. I've got the connector compiled and installed in apache and I can point a browser at www.mydomain.com/servlet/foo and I get an error message from tomcat, not apache, saying resource not avail

Re: cross context include

2004-03-02 Thread Asim Alp
I guess we'll have to find a way of going over the 10,000+ pages. Maybe we can write a small program to automate it. I don't like dirty solutions :) If this is indeed a bug in our software, it should better be fixed. One last question though. As much as I know, setting page session to fals

java connection throught proxies

2004-03-02 Thread Edson Alves Pereira
Does anyone here knows if Java-1.4.2 can make Network connections throught web-proxies? I´m using xercer to validade a xml file and i got java.net.ConnectException: Connection timed out: connect This isn´t a tomcat matter, but maybe somebody could tell how to make my java environ

Re: scope & order of initialization of variabes & includes

2004-03-02 Thread Marc Hughes
Ah.. figured it out... <% bandbg = "ok"; %> is like <% bandbg = new String("ok"); %> I wasn't setting a string, I was creating a new one... doh. Thanks anyways! -Marc Marc Hughes wrote: I have the following situation: Page1.jsp: <% bandbg = "ok"; %> First page: <%= bandbg %>

Re: cross context include

2004-03-02 Thread Remy Maucherat
Asim Alp wrote: Thank you for your prompt replies. I just read the bug, and understood what the problem was. Now, though, I have another question. Is there a way of setting page session to false at a higher level. For example somewhere from the server.xml file? My problem is that we have o

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Shapira, Yoav
Hi, >Using the regexp tag library I think it is still at version 1.0. You mean http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html? I wouldn't be surprised if this taglib didn't work on tomcat 5. It's designed and tested for a JSP 1.1/1.2 spec container, like tomcat 4. Tomcat 5 as you

Re: scope & order of initialization of variabes & includes

2004-03-02 Thread Christopher Schultz
Marc, I thought I should get the output: First page: ok Second page: ok I think this is what's happening. (You can probably verify this by looking at the java source code generated by Tomcat from your JSP): When you do a and declare where the bean lives, the translator essentially converts tha

RE: Deploying a simple servlet

2004-03-02 Thread Leydhershnayder, Leon A.
That was the last problem. What I did was to remove the package statement from my java code and the servlet ran with out a problem. Thank you all for your assistance! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 1:01 PM To: Tomcat Use

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
Using the regexp tag library I think it is still at version 1.0. Because INSERT into tablename (field1) values ('I CAN'T DO THIS') generates an error in SQL Server. Karl -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 12:03 PM To: Tomc

Re: cross context include

2004-03-02 Thread Asim Alp
Thank you for your prompt replies. I just read the bug, and understood what the problem was. Now, though, I have another question. Is there a way of setting page session to false at a higher level. For example somewhere from the server.xml file? My problem is that we have over 100 websites

Re: Deploying a simple servlet

2004-03-02 Thread Christopher Schultz
Leon, I've set up a directory structure for this app exactly like the servlet examples structure and after making changes to web.xml I'm recieving the following root cause error: java.lang.NoClassDefFoundError: TestingServlet (wrong name: myApp/TestingServlet) Is your TestingServlet class in a pac

RE: Deploying a simple servlet

2004-03-02 Thread Shapira, Yoav
Hi, > TestingServlet The servlet-class needs to match the fully-qualified class name of your servlet. So if TestingServlet.java has "package myApp;" at the top, servlet-class is myApp.TestingServlet. Yoav Shapira This e-mail, including any attachments, is a confidential busin

RE: Deploying a simple servlet

2004-03-02 Thread Leydhershnayder, Leon A.
I've edited the web.xml file to contain the following: http://java.sun.com/dtd/web-app_2_3.dtd";> Testing TestingServlet Testing /Testing I've set up a directory structure for this app exactly like the servlet exa

Re: cross context include

2004-03-02 Thread Remy Maucherat
Asim Alp wrote: When I replace /hello.jsp with the following: <%@ page session="false"%> Hello World! The output on Tomcat 5.0.19 becomes: This is test.jsp Hello World! Isn't this weird? No. See bug 27309. -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL

Re: cross context include

2004-03-02 Thread Remy Maucherat
Asim Alp wrote: I found the reason of the previous error message. However, I'm still having a problem. This time my Here is my setup: /test.jsp (context "") <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> This is test.jsp /hello.jsp (context /jsp-apps) Hello World! When I view

Re: cross context include

2004-03-02 Thread Asim Alp
I noticed something interesting. I tried your example using /dates/date.jsp in the jsp-examples context. It worked. I opened date.jsp and noticed the line: <%@ page session="false"%> at the top of it. I pasted this line in my hello.jsp and it worked. Any idea why I need this line on Tomcat

Re: scope & order of initialization of variabes & includes

2004-03-02 Thread Asim Alp
I think you need to remove Asim On Mar 2, 2004, at 12:09 PM, Marc Hughes wrote: I have the following situation: Page1.jsp: <% bandbg = "ok"; %> First page: <%= bandbg %> Page2.jsp: Second page: <%= bandbg %> Viewing page1.jsp I get the output: First page: ok Second page: I thought I sh

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
We are using the regexp tag library in our jsp's. Yes, it worked fine with Tomcat 4. The rest of the application is working fine. Users just started noticing that where they are putting apostrophes and saving, when they bring the information back up it shows as $1. "Mary's purse" is being brough

scope & order of initialization of variabes & includes

2004-03-02 Thread Marc Hughes
I have the following situation: Page1.jsp: <% bandbg = "ok"; %> First page: <%= bandbg %> Page2.jsp: Second page: <%= bandbg %> Viewing page1.jsp I get the output: First page: ok Second page: I thought I should get the output: First page: ok Second page: ok I've tried with application & se

Re: cross context include

2004-03-02 Thread Asim Alp
I found the reason of the previous error message. However, I'm still having a problem. This time my Here is my setup: /test.jsp (context "") <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> This is test.jsp /hello.jsp (context /jsp-apps) Hello World! When I view /test.jsp, I onl

Re: RegExp issues with Tomcat 5

2004-03-02 Thread Christopher Schultz
Karl, We upgraded tomcat running one of our applications from 4 to 5 this past = Friday, March 27th. Since, one of our regular expressions is not = functioning properly. Here is the expression: s/(\\|')/\\$1/g Instead of escaping the apostrophe with another apostrophe for SQL = purposes, it is re

RE: Deploying a simple servlet

2004-03-02 Thread Leydhershnayder, Leon A.
The name of the servlet class is TestingServlet.class Here are the contants of my web.xml file for this servlet. http://java.sun.com/dtd/web-app_2_3.dtd";> Testing TestingServlet -Original Message- From: Shapira, Yoav [mailto:[E

Re: tomcat on jdk1.5

2004-03-02 Thread James Black
Shapira, Yoav wrote: I haven't spent time running tomcat on JDK 1.5 (I don't usually waste time on running product X on unsupported platform Y [especially if Y is alpha/beta]), so I can't help much there -- sorry ;( I think Remy has done this without any problems and even noticed a speed improve

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Shapira, Yoav
Hi, >We upgraded tomcat running one of our applications from 4 to 5 this past = >Friday, March 27th. Since, one of our regular expressions is not = >functioning properly. Here is the expression: > >s/(\\|')/\\$1/g > >Instead of escaping the apostrophe with another apostrophe for SQL = >purposes,

Re: Deploying a simple servlet

2004-03-02 Thread Christopher Schultz
Leon, I'm new to tomcat and am trying to run a very simple hello world type of servlet. I've configured the web.xml to mimic a similar servlet in tomcat examples. Still while all the example servlets from tomcat work mine fails to run. I receive the following message: HTTP Status 404 - /MyApp/s

Re: Deploying a simple servlet

2004-03-02 Thread epyonne
Usually the problem is on your deployment descriptor. Double-check it or post it for help. Thanks. - Original Message - From: "Leydhershnayder, Leon A." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 02, 2004 10:44 AM Subject: Deploying a simple servlet > I'm new to

RE: my problem of having a bad classpath is fixed

2004-03-02 Thread Shapira, Yoav
Hi, >I just realized I had tomcat-coyote.jar in /usr/java/jre/lib/ext and >that is what I think was causing the problem. I deleted it and it starts >up fine now. Thanks for posting your solution, it's good to know as I'm sure others will be or are trying to run on JDK 1.5 beta. Yoav Shapira

RE: can't find org/apache/tomcat/util/buf/ByteChunk.class

2004-03-02 Thread Shapira, Yoav
Howdy, > I am using JDK1.5.0beta and now I can't get tomcat to run. I haven't spent time running tomcat on JDK 1.5 (I don't usually waste time on running product X on unsupported platform Y [especially if Y is alpha/beta]), so I can't help much there -- sorry ;( I think Remy has done this with

re: my problem of having a bad classpath is fixed

2004-03-02 Thread James Black
I just realized I had tomcat-coyote.jar in /usr/java/jre/lib/ext and that is what I think was causing the problem. I deleted it and it starts up fine now. -- "Love is mutual self-giving that ends in self-recovery." Fulton Sheen James Black[EMAIL PROTECTED] -

RE: 5.0.19 docs about new clustering config?

2004-03-02 Thread Filip Hanik \(lists\)
hi Ronald, the docs are not yet up to date, gotta make sure I can pay rent first then Tomcat docs :) Filip -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 1:53 AM To: Tomcat Users List Subject: 5.0.19 docs about new clustering config? Hello,

Re: can't find org/apache/tomcat/util/buf/ByteChunk.class

2004-03-02 Thread James Black
Shapira, Yoav wrote: Hola, My tomcat server is failing to start up because it can't find this class. What jar file should it be in? For tomcat 5.0.19, it's in $CATALINA_HOME/server/lib/tomcat-util.jar. I am using JDK1.5.0beta and now I can't get tomcat to run. It couldn't find tomca

RE: Deploying a simple servlet

2004-03-02 Thread Shapira, Yoav
Hi, If your servlet class name is com.yourcompany.YourServlet, add the following to your web.xml: YourServlet com.yourcompany.YourServlet YourServlet /servlet/Testing Make sure the compiled servlet class is under the appropriate directory of your app's WEB-INF/classes directory or pa

RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
We upgraded tomcat running one of our applications from 4 to 5 this past = Friday, March 27th. Since, one of our regular expressions is not = functioning properly. Here is the expression: s/(\\|')/\\$1/g Instead of escaping the apostrophe with another apostrophe for SQL = purposes, it is replacin

Re: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread rsequeira
With due respect to everyone's opinion on this thread, I really appreciate it if this topic was taken offline. I think other than filling up people's mailbox, I don't seem to see any technical knowledge being shared. Just my 2 cents. Thanks, RS

RE: Automatic deployment in tomcat 5

2004-03-02 Thread Francois JEANMOUGIN
From: Remy Maucherat [mailto:[EMAIL PROTECTED] : > Is this really needed ? Many (most) context related container > configuration stuff can be put in context files. > > Reloading server.xml is not supported without restarting the whole > server, and there's the possibility of messing with the con

RE: Tomcat 4.1.29 and Iona ASP 6.0

2004-03-02 Thread Shapira, Yoav
Hi, Thanks for sharing this story. Make sure to let the Iona folks know they're doing a suboptimal packaging job ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Carolyn Gerrard [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 02, 2004 11:43 AM >To: [EMAIL PROTECTED

Re: cross context include

2004-03-02 Thread Remy Maucherat
Asim Alp wrote: My application was running without any problems on Tomcat 5.0.18. After upgrading to Tomcat 5.0.19, I started having problems with my cross context includes. I haven't changed a single line of code. Server.xml is the same as well. Here is the host section on my server.xm

Deploying a simple servlet

2004-03-02 Thread Leydhershnayder, Leon A.
I'm new to tomcat and am trying to run a very simple hello world type of servlet. I've configured the web.xml to mimic a similar servlet in tomcat examples. Still while all the example servlets from tomcat work mine fails to run. I receive the following message: HTTP Status 404 - /MyApp/servlet

Tomcat Version and Mod_jk2

2004-03-02 Thread Asif Chowdhary
Does Tomcat version 4.0.3 support mod_jk2? Thanks Asif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 4.1.29 and Iona ASP 6.0

2004-03-02 Thread Carolyn Gerrard
We hit the following problem when trying to run tomcat 4.1.29 and Iona Orbix ASP 6.0 in the same jvm. When the orbix jar file, asp-corba.jar, is included in the classpath that tomcat is started with this causes the tomcat jvm to throw the following exception and terminate at startup ERROR readi

Re: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread Christopher Schultz
Kennan, I can agree partially to yours. But if you see him, he doesn't know about the impact of JVM and tuning parameters, as he mentioned in his email. Do you expect him to take a lead in fixing that? I have seen the projects losing its focus by the nature of peoples deviating to get their intere

RE: can't find org/apache/tomcat/util/buf/ByteChunk.class

2004-03-02 Thread Shapira, Yoav
Hola, > My tomcat server is failing to start up because it can't find this >class. What jar file should it be in? For tomcat 5.0.19, it's in $CATALINA_HOME/server/lib/tomcat-util.jar. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may con

RE: Restrict to specific IP's

2004-03-02 Thread Shapira, Yoav
Hi, >The errors IO was talking about are in the catalina.out. I was refering to >teh seperate entries of: > >Mar 2, 2004 9:41:13 AM org.apache.catalina.core.StandardContext start >SEVERE: Error filterStart >Mar 2, 2004 9:41:13 AM org.apache.catalina.core.StandardContext start >SEVERE: Context sta

re: can't find org/apache/tomcat/util/buf/ByteChunk.class

2004-03-02 Thread James Black
Hello, My tomcat server is failing to start up because it can't find this class. What jar file should it be in? Thank you. I am using Tomcat 5.0.19 -- "Love is mutual self-giving that ends in self-recovery." Fulton Sheen James Black[EMAIL PROTECTED]

RE: Restrict to specific IP's

2004-03-02 Thread John . Peace
The errors IO was talking about are in the catalina.out. I was refering to teh seperate entries of: Mar 2, 2004 9:41:13 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Mar 2, 2004 9:41:13 AM org.apache.catalina.core.StandardContext start SEVERE: Context startup failed d

cross context include

2004-03-02 Thread Asim Alp
My application was running without any problems on Tomcat 5.0.18. After upgrading to Tomcat 5.0.19, I started having problems with my cross context includes. I haven't changed a single line of code. Server.xml is the same as well. Here is the host section on my server.xml:

RE: Restrict to specific IP's

2004-03-02 Thread Shapira, Yoav
Hi, >I deleted 4.1.30. I downloaded 5.0.19 and loaded it on my HP. I added just >theRemoteAddrValve deny valve. Same thing, everyone can connect. Attached >is catalina.out from the startup. There are some errors. I looked on the >web >and all I can find is to reload from scratch. This is a brand

Re: Automatic deployment in tomcat 5

2004-03-02 Thread Remy Maucherat
Francois JEANMOUGIN wrote: I think you should rely on Ant scripts for reloading of that kind of relatively complex situations. Unfortunately, my context is much more complicated. I can't use the manager or ant (at this step of what I could guess) because they are rewriting (sometimes) the server.xm

RE: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread Kannan Sundararajan
Yes, But that doesn't mean that we can put and point on developers for any problem. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 10:59 AM To: Tomcat Users List Subject: RE: Virtual Hosts with Apache and Tomcat No that's not true, My co

RE: Automatic deployment in tomcat 5

2004-03-02 Thread Francois JEANMOUGIN
From: Remy Maucherat [mailto:[EMAIL PROTECTED] : > Sent: Tuesday, March 02, 2004 4:33 PM [...] > I think I would deploy your context in the same way that the manager is > deployed, but I have a bit of trouble imagining your setup. Exactly. It is the same way the manager would be deployed. How is

Re: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread Christopher Schultz
Stephen, In fact, cap it at 10 and watch the app dring to a halt before it even gets going. This is a pretty compelling example. If the pool is drying up, they're definately screwing up. Whoa there pardner: I am not going to deliberately cripple a production box. The problem has been demonstated

RE: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread Ralph Einfeldt
No that's not true, My colleges and me are doing both sides of the border (me being mainly a developer, others being mainly sysadmins but we don't have any person that's not doing at least 20% of the other side's job (It's a bit of pair sysadministration) I don't like the notion of pure program

Re: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread Stephen Carville
On Monday March 01 2004 06:42 pm, Christopher Schultz wrote: > >> Tried that. Capped it at 35 and the webserver stopped servicing any > >> DB request as soon as the pool reached 35. This is why I believe the > >> pool management is faulty and/or something is hogging all the > >> connections. > >

RE: Tomcat users

2004-03-02 Thread Kannan Sundararajan
Hi Uma, If you tell the current setup of hardware, software and the estimation of the users trying to get in. And the short note on the application intense with the server. That can help in telling the server configuration. Regards, Kannan -Original Message- From: [EMAIL PROTECTED] [m

RE: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread Kannan Sundararajan
Sysadmins are sysadmins AND developers are developers. No one cannot cross the borderline or even compare. >>They are clowns. I wouldn't call the developers or professionals like this. I can agree partially to yours. But if you see him, he doesn't know about the impact of JVM and tuning paramet

tomcat clustering

2004-03-02 Thread shyam
Hi all, I am trying to do the clustering . I have tomcat set up on two different machines. Both these tomcats are joining the cluster. I have checked the logs and everything looks fine. I tried load balancing with apache2. I have apache set up on one machine. I have followed the instructions posted

Re: Automatic deployment in tomcat 5

2004-03-02 Thread Remy Maucherat
Francois JEANMOUGIN wrote: Hi all, Just a little (simple) question : I have (from my well known so called developers) several web applications. In additions to the web applications, I have several virtual hosts. God. Several Host are pointing to the same context (same Context path, docBase,

RE: Restrict to specific IP's

2004-03-02 Thread John . Peace
No. The connection to the database server is internal to our firewall. The setup now is: All test PC's (2) and HP server attached to the same hub on the network. John -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 10:22 AM To: Tomcat Users List

RE: Internationalization problem

2004-03-02 Thread Yansheng Lin
Hi, take a look at this thread. http://www.mail-archive.com/[EMAIL PROTECTED]/msg91815.html Like Ralph Einfeldt said, you need to encode the JSP files, the request and the response. You've done the JSP part, now you want to define a filter for the other two. Btw, ISO-8859-1(Latin 1) covers most

Re: Restrict to specific IP's

2004-03-02 Thread Tim Funk
Does everyone go through a firewall/nat/proxy so from a server point of view - every request is from the same IP address? I think one of the files in one of the examples displays the client ip address. -Tim [EMAIL PROTECTED] wrote: I deleted 4.1.30. I downloaded 5.0.19 and loaded it on my HP.

Automatic deployment in tomcat 5

2004-03-02 Thread Francois JEANMOUGIN
Hi all, Just a little (simple) question : I have (from my well known so called developers) several web applications. In additions to the web applications, I have several virtual hosts. God. Several Host are pointing to the same context (same Context path, docBase, appBase). So, now, the q

Re: CLIENT-CERT login (5.0.19)

2004-03-02 Thread Remy Maucherat
Almaz Sharipov wrote: Hi! I am newbie here. I spent a lot of time discovering that: 1. CLIENT-CERT login works only with MemoryRealm, all other predefined realms must be commented in server.xml I don't see how this is the case. I think you are making mistakes somewhere. 2. In tomcat-user.xml ther

RE: Restrict to specific IP's

2004-03-02 Thread John . Peace
I deleted 4.1.30. I downloaded 5.0.19 and loaded it on my HP. I added just theRemoteAddrValve deny valve. Same thing, everyone can connect. Attached is catalina.out from the startup. There are some errors. I looked on the web and all I can find is to reload from scratch. This is a brand new instal

  1   2   >