Re: common image practice?

2004-12-02 Thread Nikola Milutinovic
D. Stimits wrote: I'm looking for a good or best practice to deal with site-wide logo type files...things that will never change, and that every app will want access to. This is on linux, but enabling sym links just seems to be an admin/backup complexity, and duplicating logos in every project

RE: ssl configuration. 5.0.28

2004-12-02 Thread Pawson, David
-Original Message- From: Shapira, Yoav Now how do I close down the http://localhost/ port, just remove the port 80 connector? Yeah. And the next tiny step: To make the entire site use https, no port mentioned, Two more changes, to use 443 instead

tomcat5.0 shutdown

2004-12-02 Thread usman usman
tomcat shuts down without any warning what could be the problem? also how do i remove my name from the mailing list? _ Get 10Mb extra storage for MSN Hotmail. Subscribe Now! http://join.msn.com/?pgmarket=en-hk

Problem with JAAS

2004-12-02 Thread Julian Templeman
I'm evaluating an ISP that uses Tomcat to host webapps, and am running into a security problem. Any webapp that uses FORM authentication triggers an error from JAAS, saying that it can't find a login configuration. I'm certainly not using JAAS, and have just been adding users to the

Re: tomcat5.0 shutdown

2004-12-02 Thread Roberto Cosenza
You are cool... First you ask a question and then you ask to be removed from the list very cool... Take a look a the logs, there should be some message which can help you. /rob usman usman wrote: tomcat shuts down without any warning what could be the problem? also how do i remove my name from

Runtime exec (again)

2004-12-02 Thread andy wix
Hi, Still can't get this to work. There must be some reason why this won't run under Tomcat but does work stand-alone. To recap, I am trying to execute the following code on an Xp box with Tomcat 5.0.27: Process proc = runtime.exec(cmd.exe /C shutdown -r -f -m \\myPC -t 50); int exitVal =

Ajp12Interceptor: HANDLER THREAD PROBLEM

2004-12-02 Thread Mayuresh Kshirsagar
Hi All, I have set up a website on my test machines using Apache1.3 Tomcat3.3.2 and mod_jk. While connecting to http://localhost/ I get the following error shown for Tomcat. Also attaching the error.log of httpd.conf. 2004-12-02 14:11:51 - Ctx() : Class not found: TOMCAT/JSP/index.jsp

RE: Runtime exec (again)

2004-12-02 Thread Allistair Crossley
Hi, I can't test this because shutdown is only a command on Windows XP it seems ... that's what you're running right? I did however try ipconfig and that works .. % try { Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec(cmd.exe /C

Re: Runtime exec (again)

2004-12-02 Thread Edward Barrow
On Thursday 2 December 2004 09:12, andy wix wrote: Hi, Still can't get this to work. There must be some reason why this won't run under Tomcat but does work stand-alone. To recap, I am trying to execute the following code on an Xp box with Tomcat 5.0.27: Process proc =

Asynchronous statistics logger

2004-12-02 Thread Michael Cornell
Hi, I am trying to implement an asynchronous statistics logger that would load on startup and be destroyed on shutdown of tomcat. This logger then needs to write to a log file / to disk / to log4j every x seconds with these statistics. Methods to add some statistic to it need to be accessible

RE: Asynchronous statistics logger

2004-12-02 Thread Allistair Crossley
this strikes me as being something JMS would handle well, but Tomcat doesn't support JMS by default. I have seen people installing openJMS on Tomcat though. as for the startup/shutdown, that's going to be a Context Listener you want to implement and add to web.xml with listener. that's about

Errors in Log file

2004-12-02 Thread Pradeep Chauhan
Hi All, We have Tomcat 4.1.12 in production. Sometime users get INTER SERVER ERROR 500. In log files we have only two errors without any clues. Can any body explian the possible reasons of these errors. 1. java.net.SocketException: Connection reset by peer: socket write error at

RE: Errors in Log file

2004-12-02 Thread Allistair Crossley
a cursory glance on Google with tomcat java.net.SocketException: Connection reset by peer This exception occurs when a client made a request, and before receiving the full response, either of the following happened: client's browser has been closed. client's connection has been disconnected.

RE : Problem with JAAS

2004-12-02 Thread LERBSCHER Jean-Pierre
Use tomcat env JAVA_OPTS=-Djava.security.auth.login.config=java config file to declare your login module. -Message d'origine- De : Julian Templeman [mailto:[EMAIL PROTECTED] Envoyé : jeudi 2 décembre 2004 09:56 À : [EMAIL PROTECTED] Objet : Problem with JAAS I'm evaluating an ISP that

Re: RE : Problem with JAAS

2004-12-02 Thread Julian Templeman
On Thu, 2 Dec 2004 11:36:48 +0100, LERBSCHER Jean-Pierre [EMAIL PROTECTED] wrote: Use tomcat env JAVA_OPTS=-Djava.security.auth.login.config=java config file to declare your login module. Thanks... But what I want to know is *why* it wants to use JAAS at all. *I* certainly don't want to have

OFF-TOPIC : tool to generate JSP pages for a DB table

2004-12-02 Thread Sreejith
Hi all, Is there a tool that can generate JSP pages for a given table. It would be ideal if it can generate a insert, modify, delete and one search page (based on primary key or some indexes) Any pointers? Thanks Sreejith

RE: [SPAM_EMAIL] - RE: Errors in Log file - Found word(s) list error in the Text body.

2004-12-02 Thread Pradeep Chauhan
Hi , No, we are not connecting to a resource using sockets. Is it possible that server is closing sockets after some interval of time by default. and because we are not getting response in that interval of time thats why it is generating such errors? Thanks, Pradeep -Original Message-

RE : RE : Problem with JAAS

2004-12-02 Thread LERBSCHER Jean-Pierre
Perhaps because your configure your jaas realm in engine/host configuration. -Message d'origine- De : Julian Templeman [mailto:[EMAIL PROTECTED] Envoyé : jeudi 2 décembre 2004 11:53 À : Tomcat Users List Objet : Re: RE : Problem with JAAS On Thu, 2 Dec 2004 11:36:48 +0100, LERBSCHER

Re: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-02 Thread Eirik Øverby
Hi again, Shapira, Yoav wrote: Hi, After upgrading from tomcat 4.1 to 5.0, a critical application here has It'd be a shame if the upgrade wasn't tested first in a test/QA environment ;( In 5.0.29, this comes out as Content-Type: application/xml;charset=utf-8 It's also interesting that you

Re: OFF-TOPIC : tool to generate JSP pages for a DB table

2004-12-02 Thread Dave Butler
Middlegen ? Original message Date: Thu, 2 Dec 2004 16:43:23 +0530 From: Sreejith [EMAIL PROTECTED] Subject: OFF-TOPIC : tool to generate JSP pages for a DB table To: TCUser [EMAIL PROTECTED] Hi all, Is there a tool that can generate JSP pages for a given table. It would be ideal

Re: Fedora Core 3

2004-12-02 Thread sbeam
On Wednesday 01 December 2004 11:34 am, Elihu Smails wrote: I have Tomcat 5.5.4, Java 1.5.0 and Apache 2.1 running on a Fedora Core 3 box. I have not seen any problems to date.. Ditto. Installed Tomcat from the latest tarball. Was ridiculously easy. Did not bother to un-install the

mod_proxy_ajp

2004-12-02 Thread Dale, Matt
Title: mod_proxy_ajp Hi, Anyone know where i can downloaded it? And anyone know if it works with httpd 2.0.x? Ta Matt Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are

Re: LogOut from JDBC Realm

2004-12-02 Thread Chris Chappell
Hi there - Thanks for the responses and sorry to get back to this - I haven't made any progress and have had other problems (challenges?) to fix first! I have a link to a logout servlet with the doGet() method below. Using eclipse debugging shows that the session isValid=false on invalidate

RE: LogOut from JDBC Realm

2004-12-02 Thread Allistair Crossley
instead of doing this, on your logout confirm JSP, use a meta expires tag to kill everything, then back will not function. http://www.htmlhelp.com/reference/wilbur/head/meta.html -Original Message- From: Chris Chappell [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 11:52 To:

Re: common image practice?

2004-12-02 Thread QM
On Thu, Dec 02, 2004 at 12:51:21AM -0700, D. Stimits wrote: : I'm looking for a good or best practice to deal with site-wide logo : type files...things that will never change, and that every app will want : access to. This is on linux, but enabling sym links just seems to be an : admin/backup

RE: common image practice?

2004-12-02 Thread Allistair Crossley
On Thu, Dec 02, 2004 at 12:51:21AM -0700, D. Stimits wrote: : I'm looking for a good or best practice to deal with site-wide logo : type files...things that will never change, and that every You could address your problem at build time instead of runtime: have Ant (or whatever) pull the

Re: tomcat5.0 shutdown

2004-12-02 Thread QM
On Thu, Dec 02, 2004 at 08:51:55AM +, usman usman wrote: : tomcat shuts down without any warning : what could be the problem? Could be anything. Log messages, situations, OS, version, etc -- these would be helpful. There are few mind-readers here. : also how do i remove my name from the

RE: Character Encodig/ CodePage Problem

2004-12-02 Thread Allistair Crossley
where are you pulling the actual character data from? a database or is in *in* the jsp? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 07:53 To: [EMAIL PROTECTED] Subject: Re: Character Encodig/ CodePage Problem Hi, the HTML code

Re: Problem with JAAS

2004-12-02 Thread QM
On Thu, Dec 02, 2004 at 08:56:26AM +, Julian Templeman wrote: : I'm evaluating an ISP that uses Tomcat to host webapps, and am running : into a security problem. : : Any webapp that uses FORM authentication triggers an error from JAAS, : saying that it can't find a login configuration. I'm

Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread Gokul Jeyapaul
  Hello Guys, Im pretty new to JSP and Servlets. I want to know wheather.. can i make Tomcat read my own Deployment Descriptor and act accordingly.Like can i make Tomcat read my own XML file which is similar to WEB.XML and act in a specified way. Also i have a doubt that when we are

JSTL forEach acting funny

2004-12-02 Thread sbeam
Hi, Tomcat n00b here just installed 5.5.4. Trying to do the HOWTO at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html Finally got the JDBC connection working I think, but my final JSP output just shows == Results Foo ${row.foo} Bar ${row.bar}

RE: Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread Allistair Crossley
you might start by telling us what specific things you want to have tomcat do for you. yes you can read whatever files you like be it xml, text, properties or whatever but you will have to be a little more specific about the specific things you want tomcat to do. as far as struts is concerned

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
for a question on forEach I would expect you to have copied in the forEach part ;) i am surprised if you are seeing the actual dollar signs and braces as tomcat should be picking those up as expression language. is there any errors in stdout? also, which scope are you placing your results into

Re: Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread QM
On Thu, Dec 02, 2004 at 12:32:11PM -, Gokul Jeyapaul wrote: : I want to know wheather.. : can i make Tomcat read my own Deployment Descriptor and act accordingly.Like : can i make Tomcat read my own XML file which is similar to WEB.XML and act in : a specified way. Likely, not. Tomcat is a

Re:Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread Gokul Jeyapaul
  Sir, Thanx for your reply. I want to replace WEB.XML with my own Deployment descriptor such that the Tomcat engine reads the XML files and act accordingly. Im in the process of developing my own framework for a small Web based application project. Like im still in the preparatory

Re: JSTL forEach acting funny

2004-12-02 Thread QM
On Thu, Dec 02, 2004 at 07:33:01AM -0500, sbeam wrote: : Hi, Tomcat n00b here just installed 5.5.4. Trying to do the HOWTO at : http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html : : Finally got the JDBC connection working I think, but my final JSP output :

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 07:39 am, Allistair Crossley wrote: for a question on forEach I would expect you to have copied in the forEach part ;) i am surprised if you are seeing the actual dollar signs and braces as tomcat should be picking those up as expression language. is there any

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
you need %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % at the top of your jsp though. -Original Message- From: sbeam [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 13:06 To: Tomcat Users List Subject: Re: JSTL forEach acting funny On Thursday 02 December 2004

Re: JSTL forEach acting funny

2004-12-02 Thread David Smith
As I understand it, you need to make sure Tomcat knows you want the 2.4 spec as opposed to the 2.3 spec to use JSTL semantics like ${}. What does your web.xml file show at the top? Does it use the 2.4 schema? --David sbeam wrote: On Thursday 02 December 2004 07:39 am, Allistair Crossley

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:07 am, Allistair Crossley wrote: you need %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % at the top of your jsp though. Have that - if I didn't then c:forEach ... would show up in the output, but it doesn't. My apologies, I should have

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
ensure web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; in your web.xml as the previous poster

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:12 am, David Smith wrote: As I understand it, you need to make sure Tomcat knows you want the 2.4 spec as opposed to the 2.3 spec to use JSTL semantics like ${}. What does your web.xml file show at the top? Does it use the 2.4 schema? --David I think so.

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
that will be because the tag lib is imported so that will work, but your webapp is not running in 2.4 mode. you mention you changed your server.xml .. that's wrong. i said web.xml and this will be at webapps/yourwebapp/WEB-INF/web.xml Allistair. -Original Message- From: sbeam

Re: OFF-TOPIC : tool to generate JSP pages for a DB table

2004-12-02 Thread Dov Rosenberg
Check out Apple's WebObjects (http://www.webobjects.com). It has a real slick tool called Direct To Web that can reverse engineer an entire database (include relationships between tables) and generate a web based application that can maintain all of the data and the relationships. It takes about

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:27 am, Allistair Crossley wrote: you mention you changed your server.xml .. that's wrong. i said web.xml and this will be at webapps/yourwebapp/WEB-INF/web.xml Sorry, I misspoke there. Actually it _was_ web.xml that has the contents changed as indicated, in

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
i don't know sorry. i can however tell you that i just pasted your simplified code into one of my JSPs and it works (i.e foo is 1 ..). you've installed standard.jar and jstl.jar as your forEach is now working. it's probably very obvious but I cannot spot it. you have not got any EL disabling I

RE: Asynchronous statistics logger

2004-12-02 Thread Shapira, Yoav
Hi, A Singleton using Timer/TimerTask is NOT necessarily a bad practice. There are a lot worse things you could do. It'd be a lower-maintenance, lower-overhead, and lower-overall-effort solution over JMS. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair

RE: Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread Allistair Crossley
Hi, replace WEB.XML with my own Deployment descriptor such that the Tomcat engine reads the XML files and act accordingly. Sorry friend, but personally I'm totally lost. Acts accordingly ok but *how* and *what* do you want tomcat to *do* from your own descriptor? A. -Original

RE: tomcat5.5 configuration issue

2004-12-02 Thread Shapira, Yoav
Hi, Ensure the client has sufficient disk space where Tomcat is installed... Yoav Shapira http://www.yoavshapira.com -Original Message- From: vishal nalwa [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 1:49 AM To: [EMAIL PROTECTED] Subject: tomcat5.5 configuration issue

RE: Runtime exec (again)

2004-12-02 Thread Shapira, Yoav
Hi, You would also want to give the full path to cmd.exe possibly, depending on how you launch Tomcat. Yoav Shapira http://www.yoavshapira.com -Original Message- From: andy wix [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 4:12 AM To: [EMAIL PROTECTED] Subject: Runtime

Tomcat 5.5.4 memory JVM settings

2004-12-02 Thread sipdev
Hi all, Does anybody know how to change the memory allocation of JVM in Tomcat 5.5.4? Previously in 4.1.x a registry setting -Xmx was needed, is this still the same? Many thanks Spyros Papantoniou

RE: Can i make Tomcat read my own Deployment Descriptor??

2004-12-02 Thread Ben Souther
You can add contextInitParams and servletInitParams to your web.xml file. Why would you want to replace it altogether? On Thu, 2004-12-02 at 08:56, Allistair Crossley wrote: Hi, replace WEB.XML with my own Deployment descriptor such that the Tomcat engine reads the XML files and act

RE: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-02 Thread Shapira, Yoav
Hi, When you get a chance, please read http://www.river.com/users/share/etiquette/#quotes -- it's helpful and appreciated on this list ;) Until now I have simply placed the tomcat-coyote.jar file into server/lib; this has worked fine. However, when following your suggestion (placing the modified

RE: Tomcat 5.5.4 memory JVM settings

2004-12-02 Thread Shapira, Yoav
Hi, It's the same as 4.x and 5.0.x. Yoav Shapira http://www.yoavshapira.com -Original Message- From: sipdev [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 9:12 AM To: [EMAIL PROTECTED] Subject: Tomcat 5.5.4 memory JVM settings Hi all, Does anybody know how to change

Re: Asynchronous statistics logger

2004-12-02 Thread Tim Funk
I second using JMS. Having a JMS server somewhere and tomcat as a JMS client. Then all the events are sent to the JMS server. Then the server can decide to consume the messages on demand and log as needed. -Tim Allistair Crossley wrote: this strikes me as being something JMS would handle well,

RE: UTF-8 Encoding in Jsp | RESOLVED

2004-12-02 Thread Arnab Chakravarty
Hi all, First of all thanks to all the people who helped in the first place (I am grateful). The problem was resolved and was due to some problem with the home grown framework we were using with the application. Tomcat had nothing to do with the problem and content type is the only thing

RE: UTF-8 Encoding in Jsp | RESOLVED

2004-12-02 Thread Shapira, Yoav
Hi, Thanks for posting your findings ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Arnab Chakravarty [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 9:03 AM To: Tomcat Users List Subject: RE: UTF-8 Encoding in Jsp | RESOLVED Hi all, First of all

Re: JSTL forEach acting funny [SORT OF SOLVED]

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:52 am, Allistair Crossley wrote: i don't know sorry. i can however tell you that i just pasted your simplified code into one of my JSPs and it works (i.e foo is 1 ..). you've installed standard.jar and jstl.jar as your forEach is now working. it's probably very

Re: Tomcat 5.5.4 memory JVM settings

2004-12-02 Thread David Boyer
Since you mention the registry, I take it you're running Tomcat as a Windows Serivce? I believe both Tomcat 4.x and 5.x using procrun , so the method for setting -Xmx would still be the same. [EMAIL PROTECTED] 12/2/2004 8:11:52 AM Hi all, Does anybody know how to change the memory

not starting up

2004-12-02 Thread James Peterson
I am having a problem getting Tomcat to stay up. I do the following command $: ./startup.sh start I get the following feedback Using CATALINA_BASE: /usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build Using CATALINA_HOME: /usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build Using

Re: Content-Type rewriting in jakarta-tomcat-connectors

2004-12-02 Thread Eirik Øverby
Shapira, Yoav wrote: Hi, When you get a chance, please read http://www.river.com/users/share/etiquette/#quotes -- it's helpful and appreciated on this list ;) I'm sorry; I'm following several mailing lists, and the etiquette expected varies slightly. I will keep this in mind ;) /Eirik

RE: Tomcat 5.5.4 memory JVM settings

2004-12-02 Thread Pradeep Chauhan
Run TOMCAT5w.exe and set the value in JAVA tab. -Original Message- From: sipdev [mailto:[EMAIL PROTECTED] Sent: 02.12.2004 07:42 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.5.4 memory JVM settings Hi all, Does anybody know how to change the memory allocation of JVM in Tomcat 5.5.4?

RE: not starting up

2004-12-02 Thread Allistair Crossley
are you quitting from the shell afterwards? does ps -e show a bunch of JVM processes pointed to tomcat? is there any exception logging in tomcat's logs? also, try to use nohup nohup ./startup.sh Allistair. -Original Message- From: James Peterson [mailto:[EMAIL PROTECTED] Sent: 02

RE: not starting up

2004-12-02 Thread Shapira, Yoav
Hi, Look at your logs in $CATALINA_HOME/logs. It seems like you're running a tomcat version you built yourself? If so, you might wish to try one of the provided binary distributions. Finally, note that the startup.sh script returns right away anyways, it doesn't keep the console after

Tomcat Security Application

2004-12-02 Thread Luca Antonelli
Hi, i've implemented an application using tomcat security FORM based, and authenticating against a database. My login page is the standard FORM: form method=POST action='%=response.encodeURL(j_security_check) %' table border=3 align=center cellpadding=3 cellspacing=1 bordercolor=#99

Re: mod_proxy_ajp

2004-12-02 Thread Mladen Turk
Dale, Matt wrote: Hi, Anyone know where i can downloaded it? http://svn.apache.org/repos/asf/httpd/httpd/trunk See http://httpd.apache.org/dev/ how to svn. And anyone know if it works with httpd 2.0.x? Yes. You'll need to replace exiting proxy module files with the one from 2.1, and use 2.1 build

RE: not starting up

2004-12-02 Thread James Peterson
ok I looked at the logs and updated java to 1.5.0 and am now getting this error dl failure on line 704Error: failed /opt/jdk1.5.0/jre/lib/i386/client/libjvm.so, because /opt/jdk1.5.0/jre/lib/i386/client/libjvm.so: symbol dl_iterate_phdr, version GLIBC_2.2.4 not defined in file libc.so.6 with link

JSP: final variable value lost in anonynous inner class

2004-12-02 Thread Oliver Jonas
Hi, I have the following test JSP (see below.) When I use the final variable obtained by class A inside an anonymous subclass of B the values are lost. However, if I define the final variables' values directly without using class A it works. Both cases work fine when using this as a normal

RE: final variable value lost in anonynous inner class

2004-12-02 Thread Allistair Crossley
this looks like a school assignment ;) -Original Message- From: Oliver Jonas [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 15:00 To: [EMAIL PROTECTED] Subject: JSP: final variable value lost in anonynous inner class Hi, I have the following test JSP (see below.) When

getting desperate here :)

2004-12-02 Thread Alex Korneyev
Hello all, i have sent this one before, but i am hoping someone else has had this particular problem. __ i am hoping someone has seen the following behavior. TomcatA sends a redirect to TomcatB on the backend, I can see that TomcatB receives a JSESSIONID that was

RE: Tomcat 5.5.4 memory JVM settings

2004-12-02 Thread sipdev
Many thanks !!! Is this documented somewhere? IS there I manual that I missed waiting for me somewhere? Tx again -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 4:24 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 5.5.4 memory JVM settings

Re: getting desperate here :)

2004-12-02 Thread Peter Mengell
Hi, Are you invalidating the session from TomcatA before you redirect to TomcatB?, even a redirect should be able to clear the session cookie if you've invalidated the session. We do much the same thing sometimes and don't have this problem, the session.invalidate seems to be the only thing

RE: getting desperate here :)

2004-12-02 Thread Shapira, Yoav
Hi, Messing with the JSESSIONID cookie by rewriting it is cruising for a bruising. If it's not browser differences (which seems to be your case), then it would be an unhappy firewall, proxy, or NAT that gets you. That's why no one wants to dive into this Pandora's box I guess ;) Yoav Shapira

RE: Asynchronous statistics logger

2004-12-02 Thread Vincent Gogan
I'll agree using the Context Listener for starup/shutdown but you probably don't need to add JMS to the mix. As a first approach, you could simply switch all your logging to log4j. I haven't used it that much but I know it has many types of appenders (including JMS). Log4j is thread safe and is

Re: getting desperate here :)

2004-12-02 Thread Al Gidden
Perhaps I am missing something here, so my apologies if this comes off a bit green. Looking at the code it would appear that the FOR loop looks for the existing JSESSIONID cookie value. But it appears that whether it is found or not you are using .addCookie. I would think you would use

Re: Runtime exec (again)

2004-12-02 Thread Jeanfrancois Arcand
Actually, take a look at: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -- Jeanfrancois Shapira, Yoav wrote: Hi, You would also want to give the full path to cmd.exe possibly, depending on how you launch Tomcat. Yoav Shapira http://www.yoavshapira.com -Original Message-

Re: Deployment problem

2004-12-02 Thread Dustin
In tomcat 4, I first created the following folder: $CATALINA_HOME/work/Standalone/${hostname}/manager/srv This folder is where the war and context file for the application will be placed when deploying via ant or maven using the manager. Now, in the application's context.xml file, I set the

RE: Tomcat 5.5.4 memory JVM settings

2004-12-02 Thread sipdev
Hello Pradeep, Many thanks for the info, Where can I find a manual? I trust I have to set the Jva Pool between the min and max values in the bottom of the Java Tab. Tx Spyros -Original Message- From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 4:29 PM

No Cookies

2004-12-02 Thread Andrew Steady
Hi, I require that an application never uses cookies, even if the user's browser accepts cookies. I have set cookies=false in the server.xml, however it is still attempting to send cookies to the client. If the browser accepts the cookie, then the session is maintained via cookies and if I

Cert. and accred. for gov't use.

2004-12-02 Thread Sessoms, Mack
Does anyone know if there is any reason why Tomcat can't be certified for use by the federal gov't? Has anyone actually sent Tomcat through the federal CA process? I'm being told it can't be because it is open source. - To

RE: Cert. and accred. for gov't use.

2004-12-02 Thread Shapira, Yoav
Hi, I *think* what you're being told is BS. From a technical perspective there's no reason Tomcat and other Open-Source software can't be CA'ed. The usual issue people raise is the CYA (Cover Your ...) topic; whom do we go to when it crashes? The answer is numerous vendors, the choice is up to

RE: Cert. and accred. for gov't use.

2004-12-02 Thread Shapira, Yoav
Hi, That'd be 24/7/365 hopefully, although 265 would allow for a nice number of vacation days for everyone ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shapira, Yoav Sent: Thursday, December 02, 2004 11:37 AM To: Tomcat Users List Subject: RE: Cert. and accred.

RE: [dbcp] Call Oracle stored procedure via DBCP?

2004-12-02 Thread Phillip Qin
If you need to get the underlying connection, ((BasicDataSource) dataSource).setAccessToUnderlyingConnectionAllowed(true); Before you can getConnection. -Original Message- From: Shankar Unni [mailto:[EMAIL PROTECTED] Sent: December 1, 2004 5:32 PM To: [EMAIL PROTECTED] Subject: Re:

Re: Cert. and accred. for gov't use.

2004-12-02 Thread Sessoms, Mack
Thanks for the reply. I had a feeling I was being FUD-ded. Shapira, Yoav wrote: Hi, That'd be 24/7/365 hopefully, although 265 would allow for a nice number of vacation days for everyone ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Shapira, Yoav Sent: Thursday,

RE: not starting up

2004-12-02 Thread James Peterson
ok I figured out the errors I had to upgrade from libc6-2.2.3 to libc6-2.2.5 -Original Message- From: James Peterson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 8:55 AM To: Tomcat Users List Subject: RE: not starting up ok I looked at the logs and updated java to 1.5.0

ServletContextListener lifecycle bug?

2004-12-02 Thread Morley Howell
Hi all, We have a web app running under Tomcat 5.0.28. We wrote a ServletContextListener and configured it in the web.xml, and all works fine. Then one day we wanted to disable the listener, so we commented it out in our web.xml. Tomcat then reloaded the app. Our listener got a

Re: Runtime exec (again)

2004-12-02 Thread andy wix
Hi, The shutdown command now works OK. There have been a few issues with this that I didn't have in the right combination. The Tomcat service must have suitable permissions. To do this: - Under control panel select Admin tools - Services - Right click Apache Tomcat service and select properties

RE: Cert. and accred. for gov't use.

2004-12-02 Thread Shapira, Yoav
Hi, Which mode is this? I'm shifting between all sorts of modes ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 12:16 PM To: Tomcat Users List Subject: Re: Cert. and accred. for

Badly need any hint on Illegal State exception

2004-12-02 Thread Pradeep Chauhan
Hi, Please any body provide any hint on following error. Because of this User got INTERNAL SERVER 500 Error. 2004-11-26 12:50:48 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException at

RE: Badly need any hint on Illegal State exception

2004-12-02 Thread Allistair Crossley
look at at org.apache.jsp.DreamScreen_jsp._jspService(DreamScreen_jsp.java:564) in tomcat/work .. it gives you the line number. -Original Message- From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 17:30 To: Tomcat Users List Subject: Badly need any hint on

Re: Badly need any hint on Illegal State exception

2004-12-02 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate Hint - you are performing a redirect after the response is committed. -Tim Pradeep Chauhan wrote: Hi, Please any body provide any hint on following error. Because of this User got INTERNAL SERVER 500 Error. 2004-11-26 12:50:48

mod_jk config on mac os x (Modifié par Cyril Godefroy)

2004-12-02 Thread Cyril Godefroy
I have some trouble using mod_jk to connect my apache web server and my tomcat app server with mod_jk. I use mac Os X 10.3.6, Tomcat 4.1.31 Apache 2.0.57 mod_jk 1.2.5 here's my mod_jk.conf: LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/local/tomcat/conf/workers.properties # Where

Re: Cert. and accred. for gov't use.

2004-12-02 Thread Parsons Technical Services
Yoav, School mode, back when you had summers off (about a hundred days, give or take). Doug - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 02, 2004 12:18 PM Subject: RE: Cert. and accred. for gov't use. Hi,

RE: Cert. and accred. for gov't use.

2004-12-02 Thread Shapira, Yoav
Hi, Ahh, I wish. There's no off summer for me in the near future ;( The program is very intense... Yoav Shapira http://www.yoavshapira.com -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 1:33 PM To: Tomcat Users List

RE: Badly need any hint on Illegal State exception

2004-12-02 Thread Pradeep Chauhan
Thanks i will try to reproduce the issue at development enviorment and then apply the fix to assure this is only reason of error. Pradeep -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 02.12.2004 11:03 PM To: Tomcat Users List Subject: Re: Badly need any hint on

Erika Schoenmoser/CENTRAL/AMComNET/DE ist außer Haus.

2004-12-02 Thread Erika . Schoenmoser
Ich bin ab 30.11.2004 außer Haus und ab 13.12.2004 wieder im Büro. Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten. Dringende Infos richten Sie bitte an [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

Problems loading mod_jk into apache.

2004-12-02 Thread Dan Zubey
Hi All. I downloaded the suse 9.0 pre-made mod_jk module for SuSE 9.0 (i386) and installed it. When I try to restart apache with mod_jk, I'm getting an: Syntax error on line 226 of /etc/httpd/httpd.conf: Cannot load /usr/lib/apache/mod_jk.so into server: /usr/lib/apache/mod_jk.so:

basic security tutorial

2004-12-02 Thread Jeff Ousley
hello! does anyone know if there's a tutorial or reference on how to set up basic security using tomcat (5.5)? i'd like to get a better understanding of how to secure particular pages in a webapp. thanks! - To unsubscribe,

number of sessions and OutOfMemoryException

2004-12-02 Thread Mark
Hi, Few questions: If I set session-timeout to -1 in web.xml will I get eventualy OutOfMemoryException or Tomcat will remove the session and not die? Is there any easy way to calculate how much memory will be used per session ( I know what objects will be stored) Thanks, Maek

RE: number of sessions and OutOfMemoryException

2004-12-02 Thread Shapira, Yoav
Hi, If I set session-timeout to -1 in web.xml will I get eventualy OutOfMemoryException or Tomcat will remove the session and not die? You will get OOMEs. Session removal is your responsibility. (BTW note that OutOfMemory is an Error, not an Exception, with everything the former implies). Is

  1   2   >