Re: [OT] How to obtain the id of the current process

2010-11-20 Thread Pid
On 19/11/2010 19:55, André Warnier wrote: Like that JVM's JMX port for instance ? That's not a bad idea. If JMX was configured using the new Listener in server.xml and the port set in catalina.properties, then you'd be able to find out the port number without having to parse XML etc. p

SSL Renegotiation

2010-11-20 Thread Pid
All, I thought this might be of interest: http://www.oracle.com/technetwork/java/javase/documentation/tlsreadme2-176330.html p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Should I upgrade to 7.0

2010-11-19 Thread Pid
On 19/11/2010 02:28, Robillard, Greg L wrote: I am relatively unfamiliar with tomcat. I am currently running 6.26 in a production system that support 1 webapp for approximately 60 clients that continually poll the server for updates ( weather files ). Is there any reason why I should

Re: Tomcat hung

2010-11-19 Thread Pid
On 18/11/2010 16:23, Caldarale, Charles R wrote: Yes, it was identifying it just as 10.0-b19 that was confusing. Lightbulb: this was the Hotspot VM version number. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Several hosts within one tomcat / catch-all problem

2010-11-19 Thread Pid
On 19/11/2010 15:48, Steffen Heil wrote: Hi We have a web application which usually runs on a certain host all alone - it is the only context for that host. However, it allows to use different hostnames and therefore we use aliases in our server.xml per host. Now more and more users of

Re: [OT] How to obtain the id of the current process

2010-11-18 Thread Pid
On 17/11/2010 22:41, André Warnier wrote: Typical Java thinking.. Sure, let's pull in another 15 classes.. Gotta use those GB of RAM for something.. Why do simple when complicated would do just as well, he ? That doesn't make sense*. Leon's trying to avoid using more RAM. The JMX method

Re: how to setup HOME_PATH for Java and CATALINA_HOME

2010-11-18 Thread Pid
On 18/11/2010 09:46, Salam Y. ELIAS wrote: I need to set up the environment variable JAVA_HOME and and CATALINA_HOME to start some web and Java EE, am little bit confused with conflicting information. OK. No problem. When I run java -version ie get java version 1.6.0_18 OpenJDK

Re: Dynamic GlobalNamingResources / Shared JDBC connection pools

2010-11-18 Thread Pid
On 18/11/2010 09:34, Rob Gregory wrote: Thanks Chris, After messing around with JNDI yesterday I came to the same conclusion that Tomcat is doing some isolation and I can understand why. I will look into the JMX approach you suggest as I am running out of options. If That doesn't provide

Re: [OT] How to obtain the id of the current process

2010-11-18 Thread Pid
On 18/11/2010 10:47, André Warnier wrote: The justification according to which a PID is not necessarily available on every platform seems a very weak one. Quite. In which case, return a null. Enough other methods do... p 0x62590808.asc Description: application/pgp-keys signature.asc

Re: Tomcat Consultant

2010-11-18 Thread Pid
On 24/09/2010 18:25, tdelesio wrote: My fortune 500 company is testing a pilot for switching over a J2EE web app over from Web Sphere application server to Tomcat and we are looking for a consultant to setup a crusted production instance of tomcat. Does anyone have any recommendations for a

Re: Tomcat Consultant

2010-11-18 Thread Pid
On 18/11/2010 19:35, Pid wrote: On 24/09/2010 18:25, tdelesio wrote: My fortune 500 company is testing a pilot for switching over a J2EE web app over from Web Sphere application server to Tomcat and we are looking for a consultant to setup a crusted production instance of tomcat. Does anyone

Re: Tomcat Consultant

2010-11-18 Thread Pid
On 18/11/2010 21:04, Leo Donahue - PLANDEVX wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Subject: Re: Tomcat Consultant On 18/11/2010 19:35, Pid wrote: On 24/09/2010 18:25, tdelesio wrote: My fortune 500 company is testing a pilot for switching over a J2EE web app

Re: Tomcat Consultant

2010-11-18 Thread Pid
On 18/11/2010 21:52, Martin Gainty wrote: can we get someone from the vatican to translate? I think there's a couple of Cardinals lurking on the list, but you might have to wait until it's working hours in Europe again. p Martin Gainty __

Re: Request count increases drastically in tomcat 6.0.29

2010-11-17 Thread Pid
On 17/11/2010 13:51, rujin raj wrote: s it the normal for any application to keeps increasing the request count. Yes, if either the number of users is increasing, or you are counting cumulative requests. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP

Re: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Pid
On 17/11/2010 20:56, Brian wrote: I will have to swallow my pride with this question. I bet this is a very easy issue, but for some reason I haven't found an answer. I moved my JARs from the .../tomcat/shared/lib directory to the web-inf/lib directory in the app itself, but it seems that the

Re: [OT] How to obtain the id of the current process

2010-11-17 Thread Pid
On 17/11/2010 21:30, Leon Rosenberg wrote: Hi, I have a ugly issue I'm sure many people on this list already solved. For multiple purposes I need pid's of processes, to stop/start them or ensure they are running. So far nothing spectacular. To obtain the pid I have following util: String

Re: Tomcat hung

2010-11-17 Thread Pid
On 17/11/2010 21:50, Robillard, Greg L wrote: I continually get tomcat in this state and can only recover by restarting tomcat from the command line. Here is the stack trace that I gathered while getting into this state, but it does not make any sense to me. Production or testing? Are

Re: [OT] How to obtain the id of the current process

2010-11-17 Thread Pid
On 17/11/2010 22:02, Konstantin Kolinko wrote: 2010/11/18 Leon Rosenberg rosenberg.l...@gmail.com: Is there another method to obtain the process id from within the process? Of Tomcat process, or of something else? You can set $CATALINA_PID in your bin/setenv.sh, and Tomcat's PID

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-16 Thread Pid
On 16/11/2010 05:08, Brian wrote: I still have to find the reason of the leak. Tomcat attempts to find notify you of potential memory leaks. You reported messages in your logs at app reload. Did you tell us what they are yet? p 0x62590808.asc Description: application/pgp-keys

Re: Tomcat Going down Frequently

2010-11-16 Thread Pid
On 16/11/2010 07:34, Amol Puglia wrote: Hello Pid, Thanks for the updates.It would be great if you could let us know whether the issue is in application server or application. Well, the problem class isn't in an org.apache package, it's in a com.ericsson package. Is that your code

Re: Shutting down one instance of tomcat 6 from a listener

2010-11-16 Thread Pid
Patrick Sauts. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: lundi 15 novembre 2010 12:44 To: Tomcat Users List Subject: Re: Shutting down one instance of tomcat 6 from a listener On 15/11/2010 09:37, Patrick Sauts wrote: So, how to shut down properly the current

Re: Tomcat Going down Frequently

2010-11-16 Thread Pid
? As you said that there is problem in application code, Is there anything we can point out where exactly is the problem in the code or configuration? I thought that Pid already pointed that out. - To unsubscribe, e

Re: Tomcat 6.0.29 Cookie.getMaxAge() always returns -1 regardless of actual value of maximum age

2010-11-16 Thread Pid
On 16/11/2010 16:58, Igor Barkon wrote: I run Tomcat 6.0.29 on Windows XP and IE 8.0.6001.18702. I noticed that getMaxAge() method of any cookie always returns -1 even for persistent cookie with real positive value of maximum age. IE treats this cookie correctly: cookie persists for

Re: Tomcat Going down Frequently

2010-11-16 Thread Pid
On 16/11/2010 21:15, Christopher Schultz wrote: 2. There is no way for a client to check the validity of an HttpSession object before calling getAttribute (or setAttribute for that matter) The HttpSession interface javadoc says For session that are invalidated or expire, notifications are

Re: Tomcat Going down Frequently

2010-11-15 Thread Pid
On 15/11/2010 11:35, André Warnier wrote: Amol Puglia wrote: Hello team, Tomcat Server going down frequently with the following messages in the logs. kindly help. Hello Amol. If it is not too much of an inconvenience, would you kindly care to let us know which version of Tomcat this is,

Re: Shutting down one instance of tomcat 6 from a listener

2010-11-15 Thread Pid
On 15/11/2010 09:37, Patrick Sauts wrote: So, how to shut down properly the current application from a 'listener' leaving the other webapps deployed into Tomcat to continue their business? It depends on what the problem actually is, and when it occurs. If you do all of your initialisation in

Re: Tomcat Going down Frequently

2010-11-15 Thread Pid
On 15/11/2010 11:03, Amol Puglia wrote: at org.apache.catalina.session.StandardSessionFacade.getAttributeNames(StandardSessionFacade.java:120) at com.ericsson.mars.jspbean.LoginBean.logout(LoginBean.java:2366) at

Re: Any tools to detect tomcat services failure, and start it again automatically?

2010-11-15 Thread Pid
On 15/11/2010 17:39, Tim Funk wrote: Has anyone successfully used (or experimented with) either of these? -XX:OnError=cmd args;cmd args -XX:OnOutOfMemoryError=cmd args; cmd args Yes. Context: an occasional app bug which started occurring with more frequency, under load. Couldn't track

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-14 Thread Pid
On 13/11/2010 23:10, Leon Rosenberg wrote: On Sat, Nov 13, 2010 at 10:19 PM, Pid p...@pidster.com wrote: On 12/11/2010 21:27, Leon Rosenberg wrote: P.S. I have a small tool that creates a diff of two subsequent histograms, i can share it if you need it. Post it to the wiki, perhaps? Which

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-14 Thread Pid
On 14/11/2010 17:37, Konstantin Kolinko wrote: 2010/11/14 André Warnier a...@ice-sa.com: Jon Mercer wrote: On 14 November 2010 16:55, Pid p...@pidster.com wrote: On 13/11/2010 23:10, Leon Rosenberg wrote: On Sat, Nov 13, 2010 at 10:19 PM, Pid p...@pidster.com wrote: On 12/11/2010 21:27

Re: Share session between apps

2010-11-14 Thread Pid
On 14/11/2010 00:30, PeiSong Xiong wrote: Hi guys, Any suggestion on how to share session status on web apps deployed on the same tomcat instance? Kind of sso for container. Sent from my Windows Phone What do you mean by 'session status'? p 0x62590808.asc Description:

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Pid
On 12/11/2010 21:27, Leon Rosenberg wrote: P.S. I have a small tool that creates a diff of two subsequent histograms, i can share it if you need it. Post it to the wiki, perhaps? p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Pid
On 13/11/2010 01:13, Brian wrote: I had noticed some warnings about that indeed. What might those have been? Posting the information about what you found will help others understand the process you've been through, whether their problem is similar to yours and if a similar solution applies. p

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Pid
On 12/11/2010 05:54, Brian wrote: Hi Pid, I did it, but shows no results. Anyway, it was nice to learn about Jconsole. Now I wonder what is the tool I could use to inspect the objets inside my app, and see which ones are using all the memory. Try VisualVM, another JDK6 tool, but a more

Re: question for next Tomcat 6.0 release

2010-11-12 Thread Pid
On 03/11/2010 15:06, Okubo, Yasushi (TSD) wrote: Hi I am wondering if someone knows about release scheduled for next version : Tomcat v6.0.30 or any release schedule in next six month. I am currently running tomcat 6.0.26 [my development box with single instance configuration] and 6.0.28

Re: Any tools to detect tomcat services failure, and start it again automatically?

2010-11-11 Thread Pid
On 10/11/2010 21:50, Christopher Schultz wrote: Bill, On 11/7/2010 2:35 AM, Bill Wang wrote: Thanks to Christopher , Rainer, and Rainer again. I will try to understand the jsvc. But for SMF, because we don't run tomcat as root, I am not sure if SMF can be set and run by normal user. I

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-11 Thread Pid
On 11/11/2010 19:55, Caldarale, Charles R wrote: From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? Yes, in a Finally block. This is what I do: I presume you mean you call your closeRsStmt() method in a finally block, since

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-11 Thread Pid
On 11/11/2010 18:54, Brian wrote: I don't think my app is taking all this RAM, because when I restart it, the RAM usage doesn't go down. It does only if I restart Tomcat itself, instead of my app running there. Yes, this is a classic sign of a problem with the app. Reboot Tomcat, restart your

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-11 Thread Pid
in the java/bin directory. p -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, November 11, 2010 03:06 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses? On 11/11/2010 18:54, Brian wrote: I don't think my app is taking all

Re: java.lang.Exception: Socket bind failed: [730048]

2010-11-11 Thread Pid
On 11/11/2010 20:24, Rajmohan Parayil wrote: I am adding this post so that it may help anyone who have faced this issue. Not without a detailed description of the error, how you identified it what the correct resolution was it won't. p Tomcat uses either APR implementation or JSSE

Re: DBCP abandoned trace - unable to understand the leak

2010-11-10 Thread Pid
On 10/11/2010 06:51, sasidhar prabhakar wrote: After changing time out value now I am getting this problem org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object Shall we guess what you set it to? My guess is 7. Am I right? What

Re: DBCP abandoned trace - unable to understand the leak

2010-11-10 Thread Pid
On 10/11/2010 08:29, sasidhar prabhakar wrote: Sorry for that. I changed it 300 seconds. OK What else did you change? [hint hint] p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: DBCP abandoned trace - unable to understand the leak

2010-11-10 Thread Pid
On 10/11/2010 09:41, sasidhar prabhakar wrote: private static DataSource dataSource; Getting the DataSource shouldn't be an expensive operation, so 'optimising' by retaining a static reference to it doesn't make much sense. Try just getting a fresh DataSource every time - your DB queries are

Re: [OT] Re: DBCP abandoned trace - unable to understand the leak

2010-11-10 Thread Pid
On 04/11/2010 11:09, Peter Crowther wrote: On 4 November 2010 10:54, Mark Thomas ma...@apache.org wrote: On 04/11/2010 05:01, sasidhar prabhakar wrote: I have one doubt. You have a question not a doubt I see this on many forums, and have come to realise it's associated with speakers of at

Re: DBCP abandoned trace - unable to understand the leak

2010-11-10 Thread Pid
On 04/11/2010 15:41, Mikolaj Rydzewski wrote: On Thu, 4 Nov 2010 10:37:25 -0500, Propes, Barry L barry.l.pro...@citi.com wrote: Not sure if it matters or not, but in your SponserSummaryDAO method, it appears you establish the rs as null, but don't ever close it? You might specifically

Re: DBCP abandoned trace - unable to understand the leak

2010-11-10 Thread Pid
On 04/11/2010 07:50, sasidhar prabhakar wrote: We are using struts and following DAO pattern. This is the code public String getCountryName(long ipSum){ String name = null; Connection connection = null; PreparedStatement pstmt = null; ResultSet rs = null;

Re: DBCP abandoned trace - unable to understand the leak

2010-11-10 Thread Pid
On 04/11/2010 12:04, sasidhar prabhakar wrote: dataSource = ConnectionUtil.getDataSource(); } Is the class you posted the only DAO? Could the leak be from another class? Can you post ConnectionUtil.java? p 0x62590808.asc Description: application/pgp-keys signature.asc Description:

Re: Tomcat application with memory leak

2010-11-10 Thread Pid
On 10/11/2010 14:50, Robillard, Greg L wrote: Version: 6.0.26 I currently have 2 apps deployed in my tomcat container. I originally was running tomcat with 1024M of memory. The symptom was the applications would stop responding after approximately 5 days. The log stated there was out of

Re: NIO connecter does not work after startup normally

2010-11-09 Thread Pid
On 09/11/2010 06:25, Ben Xiong wrote: xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; web-app version 2.5 xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd; id=WebApp_ID

Re: Shutting down one instance of tomcat 6 from a listener

2010-11-09 Thread Pid
On 09/11/2010 12:04, Patrick Sauts wrote: What is happening is that the tomcat is becoming unstable with the exit(1). Hehe. Yes, Tomcat will be 'unstable' if you call System.exit(1). p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: servlet-mapping order?

2010-11-08 Thread Pid
On 08/11/2010 15:06, Ronald Klop wrote: Hi, I have a couple of servlets and the mapping in web.xml is like this: servlet-mapping servlet-nameEntityServlet/servlet-name url-pattern/servlets/*/url-pattern /servlet-mapping servlet-mapping

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-07 Thread Pid
On 07/11/2010 01:27, Jim Riggs wrote: On Nov 6, 2010, at 2:17 PM, Christopher Schultz wrote: I believe (if I heard it correctly), either Mark T. or Tim F. explained at ApacheCon this week that the minimum is not immediate. It needs to build up to that level. So, when you start Tomcat, you

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-06 Thread Pid
On 06/11/2010 05:50, rujin raj wrote: Hi, Now my server.xml file is like this.As you told i added executor=tomcatThreradPool as follows Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=1000 minSpareThreads=150/ Connector port=8080 protocol=HTTP/1.1

Re: Secondary instance of Tomcat on single server does not process requests

2010-11-05 Thread Pid
On 04/11/2010 19:21, Ari King wrote: On Thu, Nov 4, 2010 at 1:09 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2010/11/4 Ari King ari.brandeis.k...@gmail.com: |-- conf |-- server.xml |-- web.xml Those two files are not sufficient. Note, that the conf folder is read only

Re: Is there a GOOD AJP-based cluster reference?

2010-11-05 Thread Pid
On 04/11/2010 20:12, Jeffrey Janner wrote: Notice I don't have any ProxyPassReverse lines. From reading the docs, I'm not sure they are needed for AJP proxying. Check the value of the path attribute, in Set-Cookie: header when a session is created. p 0x62590808.asc Description:

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Pid
On 05/11/2010 15:06, Christopher Schultz wrote: Chuck, On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: JSP Precompilation and Servlet 3.0 Hopefully, this will make JSP precompilation less onerous for users. I

Re: web.xml cant load because of listener

2010-11-04 Thread Pid
On 04/11/2010 16:06, Will Sumekar wrote: AFAIK if you dont specify contextConfigLocation system looks for default filename applicationContext.xml at default location of ./WEB-INF/. But it doesnt matter cos even if I put context-param the error still comes. So far it looks like the error is

Re: connection Pooling in tomcat 6

2010-11-04 Thread Pid
On 04/11/2010 05:50, mike houston wrote: Hi.. Is there a framework for implementing database connection pooling in tomcat 6? I am migrating my application from tomcat 4 to 6. There is already a connection pooling implemented for the sql2000 server using the MS pool.exe framework. But now

Re: Is there a GOOD AJP-based cluster reference?

2010-11-04 Thread Pid
On 04/11/2010 14:56, Jeffrey Janner wrote: p.s. Don't send me to the Tomcat Apache docs, I've read them. What happens if you define the balancer before you try to use it? p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Deploying Tomcat app with Ant to non-webapps location (Windows)

2010-11-03 Thread Pid
On 03/11/2010 06:24, Caldarale, Charles R wrote: From: Vikram Vaswani [mailto:vikram.melonf...@gmail.com] Subject: Deploying Tomcat app with Ant to non-webapps location (Windows) When deployed, the application ends up at C:\program files\Tomcat\lcs (lcs is the application name). Not an

Re: Dispatching request from Servlet to Portlet

2010-11-03 Thread Pid
On 03/11/2010 06:53, sachin_nabble wrote: Hi, I am new to servlets portlets and I need to set Session timeout at Application level, OK. Which docs have you read so far? in portlet somehow i am unable to set session time for Application,( Portlet level session available in Portlet thr

Re: How I can upgrade tomcat ship with JBoss

2010-11-03 Thread Pid
On 03/11/2010 07:20, ww...@ogcio.gov.hk wrote: Hi all, Does anyone know how I can upgrade the Tomcat ship with JBoss? My current version of Tomcat is 5.5.9 and need to upgrade to at least 5.5.28 to resolve the vulnerability issue. Appreciate all your advise. Thanks, FU This

Re: Tomcat shuts down with exception within few seconds?

2010-11-03 Thread Pid
On 03/11/2010 07:30, Karthik Nanjangude wrote: Hi TOMCAT 6.0.29 [ Startup port 8090 / Shut down Port 8091 ] Tomcat doesn't have a startup port, but why are those two ports different? $ ping localhost ping: unknown host localhost Fix your OS networking. $ cat /etc/hosts This file

Re: How to stop tomcat to be run more than two times.

2010-11-03 Thread Pid
On 03/11/2010 03:59, Bill Wang wrote: Hi all, I have installed apache-tomcat-6.0.29 on my solaris box, then i start the tomcat services succsfully. But my question is, when the tomcat services is running, I try to start it again, the script (startup.sh) don't stop me, and start the second

Re: web.xml cant load because of listener

2010-11-03 Thread Pid
On 03/11/2010 05:14, Will Sumekar wrote: Hi When I put these lines: listener listener-class org.springframework.web.context.ContextLoaderListener /listener-class /listener my appln can't load at all. When I go to http://localhost:8080/app it's not loaded. But

Re: web.xml cant load because of listener

2010-11-03 Thread Pid
On 03/11/2010 12:57, Thad Humphries wrote: Is listener in the proper place? I think order matters in web.xml. I load 2 listeners after my app's description and before my servlet tags. Yep, after description but before filter definitions. p On Wed, Nov 3, 2010 at 12:14 AM, Will Sumekar

Re: Discover the Datasource connection pool maxSize.

2010-11-03 Thread Pid
On 03/11/2010 12:15, GF wrote: Hello. i've not access to Tomcat's server.xml where the sysadmins defined a resource: Resource driverClassName=oracle.jdbc.driver.OracleDriver maxActive=65 maxIdle=30 maxWait=5 name=myDatasource type=javax.sql.DataSource url=jdbc:. / I wish to discover

Re: BackupManager vs DeltaManager

2010-11-02 Thread Pid
On 01/11/2010 14:44, Ossi wrote: On Fri, Oct 29, 2010 at 1:51 PM, Pid p...@pidster.com wrote: On 29/10/2010 11:17, Ossi wrote: Hi! Should BackupManager work well with any number of nodes? Yes. And with large clusters it should work even better than DeltaManager? Yes. *Should*. We

Re: Protecting static resources in IIS

2010-11-02 Thread Pid *
On 2 Nov 2010, at 15:48, Siva prakash I V sivaprakash...@gmail.com wrote: Hi Rob, My app contains a sequence of images like for eg. A/11.gif, A/12.gif, A/19.gif, B/21.gif... etc. These images are used to identify a valid user of my app. As these images are easily guessable, it may be

Re: Release COM Objects

2010-11-02 Thread Pid
On 02/11/2010 22:05, Len Popp wrote: I would use a ServletContextListener. It gets notified when the webapp is initialized and destroyed. +1 init happens before servlets shutdown, destroy happens after. p -- Len On Tue, Nov 2, 2010 at 14:53, Leo Donahue - PLANDEVX

Re: Release COM Objects

2010-11-02 Thread Pid
On 02/11/2010 22:23, Leo Donahue - PLANDEVX wrote: -Original Message- From: Len Popp [mailto:len.p...@gmail.com] Subject: Re: Release COM Objects I would use a ServletContextListener. It gets notified when the webapp is initialized and destroyed. -- Len Filter vs

Re: Java update from Apple broke Tomcat

2010-11-01 Thread Pid
On 01/11/2010 17:55, Rob Tanner wrote: Hi, While I run production on Linux servers, I do my development on my iMac. Last week, I ran the most recent Apple Java upgrade , and now Tomcat (which is a critical part of my development environment) won't start up. I get the error: Nov 1, 2010

Re: ISAPI Redirector Work-Flow

2010-11-01 Thread Pid
On 01/11/2010 21:48, Richard G Curry wrote: I am trying to understand how the ISAPI Redirector functions at an overview level but deeper than this: The request comes into IIS where the ISAPI Redirector filter sends the servlet and JSP requests to the Tomcat server. I know the redirector works

Re: running tomcat6 under a different user than root (debian)

2010-10-31 Thread Pid
On 30/10/2010 22:11, Darryl Lewis wrote: Yeah, well reasoned rebuttal therenot. Oh, I don't know. It was succinct, to the point, and unlike your statement, accurate. You declared, on a public mailing list which is republished on web based forums and is therefore Googlable, that Tomcat

Re: OpenID

2010-10-31 Thread Pid
On 31/10/2010 07:57, Simon Funnell wrote: Hi, Are there any projects specific for Tomcat, like a Realm/Authenticator combination with appropriate licensing, that implements openid features? None that I'm aware of. You'd need to implement a JAASRealm, but it might be easier to implement it

Re: running tomcat6 under a different user than root (debian)

2010-10-31 Thread Pid
On 31/10/2010 21:44, Darryl Lewis wrote: http://www.devdoctor.com/blog/2009/07/how-to-encrypt-passwords-in-tomcat.php That article is a little confused. Using digest in a Realm won't help you obfuscate a password in a DataSource defined in server.xml (or anywhere else). p 0x62590808.asc

Re: How to start my application without localhost, only with virtiual host ?

2010-10-30 Thread Pid
On 29/10/2010 17:15, M.Arkhypov wrote: Dear Chuck, thank you for your attention and reply, we have done a few of yours advices, but without success: We have this server.xml file: Host name=cntest2.de appBase=webapps unpackWARs=true autoDeploy=true

Re: Basic Question : Tomact Clustering

2010-10-30 Thread Pid
On 29/10/2010 11:49, alok kakani wrote: Hi All, I am working Business Objects 3.1(BOE) with tomcat being the application server. I am new to the web application part, hence i had some doubts We are trying to step up a BOE on 2 machines we will have tomcat installed on both machines. We

Re: running tomcat6 under a different user than root (debian)

2010-10-30 Thread Pid
On 30/10/2010 09:19, Christoph Kukulies wrote: Am 29.10.2010 15:29, schrieb Mark Thomas: On 29/10/2010 14:19, Darryl Lewis wrote: Are you serious? Completely. If you have a scheme that encrypts the database username and password in server.xml and provides genuine additional security over and

Re: Help on upgrade tomcat bundled with JBoss for resolving tomcat security issue -[SECURITY] CVE-2008-5515 RequestDispatcher directory traversal vulnerability

2010-10-30 Thread Pid
On 26/10/2010 03:42, ww...@ogcio.gov.hk wrote: Dear Sir/Madam, Recently it has been checked that there is security vulnerability for the tomcat (version 5.0.9) shipped with the JBoss 4.0.3SP1. From the link below, it is recommended to upgrade to 5.5.28.

Re: Tomcat 6.0.29: Failed to initialize the SSLEngine

2010-10-30 Thread Pid
On 06/10/2010 17:20, Samuel Hofer wrote: Hi, I'm trying to install Apache Tomcat 6.0.29 on a Debian GNU/Linux 5.0.4 32bit with kernel release 2.6.26-2-686 with APR and SSL. JDK 1.6.0_21 APR 1.2.9 OpenSSL 0.9.8 There seems to be a problem with the Tomcat Native library 1.1.20:

Re: running tomcat6 under a different user than root (debian)

2010-10-30 Thread Pid *
On 30 Oct 2010, at 15:20, Darryl Lewis darryl.le...@unsw.edu.au wrote: Well so far all this discussion has done is to make me realise that tomcat should not be used in an environment that requires security. Complete nonsense. p If cracking an app will let you get passwords on another

Re: running tomcat6 under a different user than root (debian)

2010-10-29 Thread Pid
On 29/10/2010 10:57, Christoph Kukulies wrote: How can I run tomcat under a different user than root (debian e.g.)? Use a service wrapper. http://tomcat.apache.org/tomcat-6.0-doc/setup.html#Unix_daemon p 0x62590808.asc Description: application/pgp-keys signature.asc Description:

Re: How to protect the plain text username and password in the server.xml

2010-10-29 Thread Pid
On 29/10/2010 10:19, 彬 乔 wrote: Dears, We are using Tomcat 5.5.20 in a RHEL 64bit box. The application running on it is a financial system. An internal audit indicated that we should not use plain text username and password in the server.xml, as: Resource name=jdbc/JiraDS auth=Container

Re: BackupManager vs DeltaManager

2010-10-29 Thread Pid
On 29/10/2010 11:17, Ossi wrote: Hi! Should BackupManager work well with any number of nodes? Yes. And with large clusters it should work even better than DeltaManager? Yes. *Should*. We have large production clusters (10+) nodes and we have evaluated if we can use BackupManager. In

Re: running tomcat6 under a different user than root (debian)

2010-10-29 Thread Pid
On 29/10/2010 12:03, Darryl Lewis wrote: No one should, but I had a supplier recommend to run their application as root. All their scripts and configuration instructions were for running as root. Needless to say I didn't run it as that and rewrote their installation scripts. Now I have to

Re: RV: Session Context variables architecture problem

2010-10-29 Thread Pid *
Nothing like wasting your time to get job satisfaction... p On 29 Oct 2010, at 17:39, falva...@geocom.com.uy falva...@geocom.com.uy wrote: Thanks Ronald and Pid for the help. Honestly I don't know if this parameters thing is really a performance issue, but I've been assigned to work

Re: how can i turn off This is very likely to create a memory leak.

2010-10-28 Thread Pid
On 28/10/2010 17:52, David Fisher wrote: Maybe the Memory Leak detection ought to have some parameter about whether the Sys Admin actually cares? Or, better couldn't it know if the whole JVM is going down and adjust the level and message accordingly? Not sure that's a good idea. On the

Re: RV: Session Context variables architecture problem

2010-10-28 Thread Pid
On 28/10/2010 18:31, falva...@geocom.com.uy wrote: Dear All, I'm currently using Tomcat 6.0.28 and having some doubt on how to solve and implement this problem: My webapp has a MySQL Database with a table named parameters, in which we have just

Re: Tomcat Maven and Axis 1.5.1 problem

2010-10-28 Thread Pid
On 28/10/2010 13:43, srd.pl wrote: Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.local.LocalTransportSender at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438) at

Re: mod_jk makes ajp connector run out of free connections

2010-10-27 Thread Pid
threads are idle. p 2010/10/26 Pid p...@pidster.com On 26/10/2010 13:47, Marc Wilmots wrote: Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ / Tomcat1 That's an interesting setup. What does it achieve? All

Re: mod_jk makes ajp connector run out of free connections

2010-10-27 Thread Pid
On 27/10/2010 11:16, Mark Thomas wrote: On 27/10/2010 11:08, Pid wrote: On 26/10/2010 16:08, Marc Wilmots wrote: Hi again. I checked out the executor element, although, I can't find a lot of information about it. Would you mind explaining why using the executor element would fix

Re: mod_jk 1.2.28 errors

2010-10-26 Thread Pid
On 26/10/2010 00:05, Hannaoui, Mo wrote: Hi, We are using mod_jk version 1.2.28, Apache 2.2.15 on Red Hat 4.1.2-46. The Apache server is 4-core CPU. The AJP is load balancing 2 Windows JBoss_4_2_2_GA / Tomcat-5.5 servers with 4-core CPU and 8GB RAM each. We are having couple

Re: Help with tomcat 5.5 and Apache2 (404 issues)

2010-10-26 Thread Pid
On 26/10/2010 12:47, Luiz Fabiano T.I CTO (Tempo Filmes) wrote: Hi folks, I'm trying to use Apche and Tocamt 5.5 together, I want to answer request in http://mydomain.com/ in tomcat with my ROOT/.do but when I use /blog for example, I want to answer this request by Apache,

Re: RES: Help with tomcat 5.5 and Apache2 (404 issues)

2010-10-26 Thread Pid
On 26/10/2010 14:14, Luiz Fabiano T.I CTO (Tempo Filmes) wrote: Dear PiD It's doesn't works for me, when I try to lauch apache2 the deamon sends it for me: ProxyPass URL must be absolute!, I've tried to put full path, with and without domain, anyway nothing good happened, I still

Re: mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Pid
On 26/10/2010 13:47, Marc Wilmots wrote: Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ / Tomcat1 That's an interesting setup. What does it achieve? All Apaches are version 2.2.3 (RedHat) Time for an

Re: Can we use Tomcat web server?

2010-10-26 Thread Pid
On 26/10/2010 10:19, Antonio Petrelli wrote: 2010/10/26 Chandra Shekar Bairi chandra.ba...@gmail.com: Hi Borut, Nothing though. But my company is not sure if we can use this for free. They are assuming that we should purchase the tomcat web server. Hence I want to get this clarified. heh,

Re: deploying as ROOT application

2010-10-26 Thread Pid
On 26/10/2010 20:31, Aggarwal, Ajay wrote: Where is the official Tomcat documentation on how to make your application a ROOT application? I am using Tomcat 6.0 and can't seem to locate the section on deploying as ROOT application. Call it ROOT.war, or name the directory 'ROOT'.

Re: IPV6 problem with tcnative-1.dll: unable to connect from other host

2010-10-25 Thread Pid
On 25/10/2010 11:51, Michael Wendt wrote: Hi, sorry please, this is my first contribution here and I'm no developer. Sorry please also for my bad english, I hope you can understand my problem. OS= Windows 2008 R2 - IPv6 is activ i have a standard installation Tomcat 5.5.29 +

Re: Upgradtion of tomcat and java version

2010-10-23 Thread Pid
On 23/10/2010 06:44, rujin raj wrote: Hi, My Company gave one assignment to upgrade the present setup. Herewith I explained my present setup. I am expecting your help and suggestion to finish this job. I'm a little behind on the list today, because I choked on my cornflakes earlier when I

<    8   9   10   11   12   13   14   15   16   17   >