centralized log server

2009-11-16 Thread Kaushal Shriyan
Hi, is there a centralized application to access all the tomcat server catalina.logs Thanks, Kaushal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Multiple war files for the same application context.

2009-11-16 Thread Ziggy
Hi Pid, That is interesting. Is the # supposed to be part of the filename? Thanks On Mon, Nov 16, 2009 at 8:38 PM, Pid wrote: > On 16/11/2009 19:25, Ziggy wrote: > >> Are you trying to deploy elements of a larger applications separately? >>> >> Yes that is exactly what i am trying to do. >> >

Re: Deployment specific configuration - best practice

2009-11-16 Thread Ziggy
Right this thread has totally confused me now.. On Tue, Nov 17, 2009 at 12:15 AM, Mark Thomas wrote: > Rainer Frey wrote: > > * settings in /META-INF/context.xml > This one please. > > Tomcat will extract it on first deployment. OK that will fail but we can > then > edit the extracted version a

RE: Cannot Start Apache Tomcat 6 service

2009-11-16 Thread Neil Aggarwal
> [994 prunsrv.c] [error] failed creating java c:\program > files\\java\jre6\bin\server\jmv.dll You have two backlashes after program files, that might be a problem. Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net Host your tomcat app on a CentOS VPS for only $25/month! Unm

Cannot Start Apache Tomcat 6 service

2009-11-16 Thread Ron Halford
Running Windows 7 - 64 bit o/s Installed the following: Jdk - 6u18-ea-bin-b04-windows-adm64 Jre-6u18-ea-bin-b04-windows-adm64 Apache HTTP Web Server 2.2.14 Tomcat 6.0.20 After completing Tomcat install - cannot start Tomcat 6 service. Checked Tomcat log: Jakarta_service_20091116 a

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Yagnesh Chawda
Hey, Thanks Chris, That was just a typo. Thanks for pointing it out. But in real configuration was was not commented. It was some other config which I was trying and forgot to uncomment it in posting. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yagnes

RE: Tomcat - Xms and Xmx size

2009-11-16 Thread Neil Aggarwal
Chuck: > Not quite true; a 32-bit Windows environment normally has a 2 > GB process space, and everything has to fit within that - > Java heap, C heap, code, stacks, etc. > > > If you have 3.5 GB RAM in the machine, I would set > > the heap no larger than 3 GB. > > Not possible on a 32-bit Win

RE: Java Out of Heap Issue

2009-11-16 Thread Caldarale, Charles R
> From: kulbir Saini [mailto:kulbir.sai...@gmail.com] > Subject: Java Out of Heap Issue > > just a snapshot of jmap, Try using jhat to actually see what's consuming the space in the heap. > Heap Configuration: >MaxNewSize = -65536 (-0.0625MB) That looks suspicious... > Heap Usage: >

RE: Tomcat - Xms and Xmx size

2009-11-16 Thread Caldarale, Charles R
> From: Neil Aggarwal [mailto:n...@jammconsulting.com] > Subject: RE: Tomcat - Xms and Xmx size > > You can set the heap size to whatever you want. > There is no restriction from Tomcat. Not quite true; a 32-bit Windows environment normally has a 2 GB process space, and everything has to fit wit

RE: Tomcat - Xms and Xmx size

2009-11-16 Thread Neil Aggarwal
Abdul: >  Please let me know whether maximum and minimum heap size can > be configured to 512MB.  What is the upper limit? I am using > RAM 3.5GB. You can set the heap size to whatever you want. There is no restriction from Tomcat. If you have 3.5 GB RAM in the machine, I would set the heap no

RE: Tomcat - Xms and Xmx size

2009-11-16 Thread Caldarale, Charles R
> From: abdul razack [mailto:sh_abd...@yahoo.com] > Subject: Tomcat - Xms and Xmx size > >  Please let me know whether maximum and minimum heap size can be > configured to 512MB.  What is the upper limit? I am using RAM 3.5GB. The amount of RAM is largely irrelevant. On a 32-bit Windows system,

Tomcat - Xms and Xmx size

2009-11-16 Thread abdul razack
Hi,   I am using tomcat-5.5.23 for JSP/servlet application on Windows server 2003. The database is SQL SERVER 2005  and  java version is jdk_1.5.0_12.   Currently the maximum and minimum heap size(-Xms256m -Xmx256m) has been configured as 256MB.    Very frequently (almost every 10 days)  I am get

MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-16 Thread Imad Hachem
Dear all, I am using Tomcat-5.5.12 as Clustering nodes, and after one node shutdown sessionDestroyed is called before contextDestroyed. How can I know if sessionDestroyed is called from session.invalidate() from the real expiration of the session or shutdown of one cluster node? Note that

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yagnesh, On 11/16/2009 9:09 AM, Yagnesh Chawda wrote: > My bean definition is as follows for DBCP: > > class="org.apache.commons.dbcp.BasicDataSource"> > > Your bean appears to be almost entirely commented-out. Is this your r

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-16 Thread ndunn1979
Rainer Jung-3 wrote: > > > BTW: Do you use the tomcat native connector? If so, try whether the > problem comes from tcnative. > > So, I tried increasing the log level on the Tomcat side, but it was a stab in the dark because I'm not very familiar with the default style of logging (I use log4

RE: Some advice on apache tomcat

2009-11-16 Thread Neil Aggarwal
t Host your tomcat app on a CentOS VPS for only $25/month! Unmetered bandwidth, 7 day no risk trial, Google Checkout __ Information from ESET NOD32 Antivirus, version of virus signature database 4613 (20091116) __ The message was checked by ESET NOD32 Antivirus. http://www.es

Re: Some advice on apache tomcat

2009-11-16 Thread Anthony Jay
Thank you very much for your informative comments. In terms of breaking an application into single servlets, I agree that there would need to be strong reasons for doing it, and the clear one that springs to mind is the requirement to have different authn methods for each, None, Form, and http bas

Re: "Tomcat 6.0 requires JRE 5.0" issue

2009-11-16 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Elizabeth Gorkic [mailto:egor...@hotmail.com] >> Subject: "Tomcat 6.0 requires JRE 5.0" issue >> >> When you open http://apache.crihan.fr/dist/tomcat/tomcat-6/ >> v6.0.20/README.html , you get this message: >> >> Tomcat 6.0 requires JRE 5.0. Read the RELEASE-NOT

Re: Some advice on apache tomcat

2009-11-16 Thread Anthony Jay
Thanks. Squid may be a contender but I need the CMS and blogging that comes with apache/php. Although maybe someday our traffic may get to the point where we will need squid to keep up! Now that would be a good problem to have! Thanks for the pointer. On Mon, 16 Nov 2009 15:36 -0800, "Elli Albek"

Re: Java Out of Heap Issue

2009-11-16 Thread Anthony Jay
What I have found works well in some circumstances where you do not have a profiler to hand. 1. Look for static declarations in your code that point to singletons or collection objects. They might just grow and grow 2. You may not be using third party libs correctly, e.g. Not closing connection

Re: Deployment specific configuration - best practice

2009-11-16 Thread Mark Thomas
Rainer Frey wrote: > * settings in /META-INF/context.xml This one please. Tomcat will extract it on first deployment. OK that will fail but we can then edit the extracted version and Tomcat will use that from then on. Mark - T

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Mark Thomas
Peter Crowther wrote: > 2009/11/16 Pid : >> You managed to subscribe to the list, can't you follow the instructions on >> how to unsubscribe? Clues at the bottom of every email. > > We keep saying that, and it keeps being a problem for users. > > The email-based unsubscribe appears to be unrelia

Re: Java Out of Heap Issue

2009-11-16 Thread Elli Albek
You can try getting an object dump from a profiler and see which objects are the source of memory starvation. Simple JSPs are very unlikely to cause memory starvation, but you mentioned “application code”, which implies that you have more than simple JSPs. A few things you want to cross off your p

Re: Some advice on apache tomcat

2009-11-16 Thread Elli Albek
You can also look at squid to serve static files and load balance. So squid fronts tomcat and your other apps. Squid can serve your static files as well. All you have to do it make sure your static files return a cache header like max-age, and squid will serve them without going to the origin (tomc

Re: Possible to do async processing?

2009-11-16 Thread Elli Albek
Hi, The advices given above are good. If you make this job triggered by a servlet, then an attacker can use it to easily bring down your system with excessive load. You also have problems of clean shutdown. The thread pool that you start needs to have blocking shutdown with some context listener,

Java Out of Heap Issue

2009-11-16 Thread kulbir Saini
Hi, I have a Apache-tomcat environment serving simple .jsp's. Issue - After few days of application been up, we see Java heap out of memory error. Steps taken: The Tomcat was configured to run with default heap size. Seeing Java Heap memory issue, i increased it and the setevn.sh file looks lik

Re: "Tomcat 6.0 requires JRE 5.0" issue

2009-11-16 Thread André Warnier
Elizabeth Gorkic wrote: My company has a policy to deploy only officially supported platforms, and I can’t move to Java 6 with Tomcat while “Tomcat 6.0 requires JRE 5.0” is there. Can you tell us which company that is, so that we make sure we never apply for a job there ? Considering that

Re: Some advice on apache tomcat

2009-11-16 Thread André Warnier
Anthony Jay wrote: My main issue now is about how the authentication works between Tomcat and Apache. That's the only one I can readily answer. It is extremely simple with mod_jk. If the user is authenticated at the Apache level, mod_jk will pass this on to the Tomcat server via AJP. The only

Re: Possible to do async processing?

2009-11-16 Thread André Warnier
David Balažic wrote: Hi! We are using tomcat 6.0 and now we have the need to trigger from the service() method of a servlet. So: - a request arrives - the servlet triggers an async event - servlet sends response and closes - the async task is done (independent of servlet opeartion) Is the

Re: search engine

2009-11-16 Thread André Warnier
Jill Han wrote: Sorry, for the non-tomcat issue, but I still hope I can get helps here. You are right, this is totally off-topic for this list. But even so, Is there any search engine you would recommend that could search public, You mean, like Google, Yahoo etc.. ? and non public( page n

Re: Some advice on apache tomcat

2009-11-16 Thread Pid
On 16/11/2009 17:53, Anthony Jay wrote: Hi, I am in need of some advice. My current setup is a web application running on Jboss which serves static and dynamic content, jsp, servlets and xml on two non load balanced servers (hot spare using mysql replication). It currently uses Ht

Re: How2 Disable Browser Access to specific port

2009-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 11/16/2009 2:13 PM, joeweder wrote: > We have an application where the user comes in through 8443 via https. > > But the same app also communicates headlessly with other apps through a > separate data port (also https). What port is that? Do

Re: Possible to do async processing?

2009-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 11/16/2009 1:04 PM, David Balažic wrote: > 2009/11/16 Joseph Morgan : >> Yes, there is a way, and I suspect you're doing "fire-and-forget" >> processing, but, could you give us a better idea as to what you are >> trying to do? >> >> Tomcat

Re: AccessLogValve calling order

2009-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 11/16/2009 11:35 AM, George Sexton wrote: > Uh, if the Access Log Value logged before the request was complete, how > would it know the number of bytes written to log? If you read the whole first post, you'd see that I mentioned that. - -

[OT] Intermittent deadlock in MySQL InnoDB transactions

2009-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, If anyone has some good experience using InnoDB tables in MySQL, I'd love some off-list communication. We are experiencing some intermittent deadlock in code that runs very very frequently within our application and appears to be coded correctly.

Re: Customizing Default Error page when Webapp stopped Or not loaded

2009-11-16 Thread Pid
On 16/11/2009 19:00, Konstantin Kolinko wrote: 2009/11/16 Arunkumar Janarthanan: Thank you very much for the info Konstantin, is this applicable to Tomcat 5.5.9 ? that is the version we are using. Sure, because this issue is an old one. I would even say that that is by design. Also, there mig

Re: Multiple war files for the same application context.

2009-11-16 Thread Pid
On 16/11/2009 19:25, Ziggy wrote: Are you trying to deploy elements of a larger applications separately? Yes that is exactly what i am trying to do. You can deploy so-called 'multilevel' apps, if you want to separate out (somewhat) independant components - which may make build & deploy cycles

Re: Possible to do async processing?

2009-11-16 Thread Pid
On 16/11/2009 18:19, George Sexton wrote: A pretty simple way of doing this is to have your context init create a background thread. Have the background thread monitor a queue for jobs. Then, have the servlet place the job in the queue. > The background thread can either process the job itself,

RE: Some advice on apache tomcat

2009-11-16 Thread Anthony Jay
Hi Neil, Thanks for the comments, I really appreciate hearing from someone that has actual production experience using these technologies! To answer your question below, I *could* have all my servlets in one webapp but that would not be my preference. For example I would like the capability

Re: Customizing Default Error page when Webapp stopped Or not loaded

2009-11-16 Thread Arunkumar Janarthanan
Hi Konstantin, Thank you very much,I will look for the fix or an alternate option to fix the issue. Once again many thanks. Cheers, Arun Janarthanan On Mon, Nov 16, 2009 at 2:00 PM, Konstantin Kolinko wrote: > 2009/11/16 Arunkumar Janarthanan : > > Thank you very much for the info Konstantin,

Re: Deployment of war file into a common locatiion

2009-11-16 Thread Ziggy
What exactly is the reason your team cannot access the application? It doesnt sound like its a Tomcat issue but probably something related to your network settings. Maybe the firewall? How are they accessing your system? On Mon, Nov 16, 2009 at 3:40 PM, Neil Aggarwal wrote: > Ajay: > > > I don't

Re: Multiple war files for the same application context.

2009-11-16 Thread Ziggy
I see what you mean Hassan. I had a look at how the core portal engine accesses the portlets and it looks like it uses the plugins context to access it and this is just hidden from the user. thanks On Mon, Nov 16, 2009 at 7:11 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Mon, N

RE: "Tomcat 6.0 requires JRE 5.0" issue

2009-11-16 Thread Caldarale, Charles R
> From: Elizabeth Gorkic [mailto:egor...@hotmail.com] > Subject: "Tomcat 6.0 requires JRE 5.0" issue > > When you open http://apache.crihan.fr/dist/tomcat/tomcat-6/ > v6.0.20/README.html , you get this message: > > Tomcat 6.0 requires JRE 5.0. Read the RELEASE-NOTES and the RUNNING.txt > file in

Re: Multiple war files for the same application context.

2009-11-16 Thread Ziggy
> Are you trying to deploy elements of a larger applications separately? Yes that is exactly what i am trying to do. I did consider the separate jar file option but i couldnt figure out a way of including the jsp files in a jar file. I basically have a large struts/Tiles based application and wou

Re: "Tomcat 6.0 requires JRE 5.0" issue

2009-11-16 Thread Peter Crowther
2009/11/16 Elizabeth Gorkic : > My company has a policy to deploy only officially supported platforms ... then why are they running open source software such as Tomcat, which has no "official" support? - Peter - To unsubscribe,

Re: How2 Disable Browser Access to specific port

2009-11-16 Thread Peter Crowther
2009/11/16 joeweder : > Question: How can I disable browser access through a specific port but > continue to allow headless https through? You *could* write a Filter that sniffed at the User-Agent header in the https: request, but most browsers have ways of faking that - you can't rely on *any* da

How2 Disable Browser Access to specific port

2009-11-16 Thread joeweder
We have an application where the user comes in through 8443 via https. But the same app also communicates headlessly with other apps through a separate data port (also https). When client authentication is turned on for 8443 the user/browser can get through the data port without being challenged

Re: Multiple war files for the same application context.

2009-11-16 Thread Hassan Schroeder
On Mon, Nov 16, 2009 at 10:51 AM, Ziggy wrote: > I was recently looking at a CMS portal and found that the portal allowed > plugins/application to be deployed as war files. The plugins themselves are > portlets so not quite the type of application i am using. > > Is it the case that maybe it is p

RE: Multiple war files for the same application context.

2009-11-16 Thread Joseph Morgan
Are you trying to deploy elements of a larger applications separately? It seems you just need different JAR files for the application, and, though those can be deployed to the same web app separately, you're not really gaining anything, since the app will have to be restarted anyway, and you might

Re: Customizing Default Error page when Webapp stopped Or not loaded

2009-11-16 Thread Konstantin Kolinko
2009/11/16 Arunkumar Janarthanan : > Thank you very much for the info Konstantin, is this applicable to Tomcat > 5.5.9 ? that is the version we are using. Sure, because this issue is an old one. I would even say that that is by design. Also, there might be a lot of other issues in 5.5.9, as well

Re: Multiple war files for the same application context.

2009-11-16 Thread Ziggy
Hi Hassan, I was recently looking at a CMS portal and found that the portal allowed plugins/application to be deployed as war files. The plugins themselves are portlets so not quite the type of application i am using. Is it the case that maybe it is possible with portlets but not standard servlet

Re: Multiple war files for the same application context.

2009-11-16 Thread Hassan Schroeder
On Mon, Nov 16, 2009 at 10:34 AM, Ziggy wrote: > is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and > have them all be as part of the one "myapp" application? > > ... And what is the term used for this kind of deployment? "impossible" HTH! -- Hassan Schroeder --

Multiple war files for the same application context.

2009-11-16 Thread Ziggy
Hi guys, Is it possible to deploy multiple war files for the same application? for example if i have an application that is accessed via http:/// www.test.com/myapp, i would usually have a single war file called myapp.war and deploy everthing in that one file. is it possible to deploy myapp1Artic

RE: Possible to do async processing?

2009-11-16 Thread Joseph Morgan
Sorry.. misunderstood your original when you asked if there was a way to create a Thread by hand No tricks/shortcuts. Are you saying each request will take a minute to process and is triggered a few times an hour? I suspect the client is anxiously awaiting a response like "OK, I got it",

Re: search engine

2009-11-16 Thread Pid
On 16/11/2009 14:34, Jill Han wrote: Sorry, for the non-tomcat issue, but I still hope I can get helps here. Is there any search engine you would recommend that could search public, and non public( page needs login) pages? Thanks as always, Jill If you have a question we recommend you start

RE: Some advice on apache tomcat

2009-11-16 Thread Neil Aggarwal
Anthony: > I am researching porting my site to Apache 2.2 and Tomcat, and hope to > gain the following. > 1. Serve the static content from apache e.g. images, clips sound, text > files etc. I do that will all of my JSP apps. I set up Apache on the front end and use mod_jk to push JSP/servlet stu

RE: Possible to do async processing?

2009-11-16 Thread George Sexton
A pretty simple way of doing this is to have your context init create a background thread. Have the background thread monitor a queue for jobs. Then, have the servlet place the job in the queue. The background thread can either process the job itself, or create a worker thread to process the job.

Re: Possible to do async processing?

2009-11-16 Thread David Balažic
2009/11/16 Joseph Morgan : > Yes, there is a way, and I suspect you're doing "fire-and-forget" processing, > but, could you give us a better idea as to what you are trying to do? > > Tomcat will handle servlet requests in multiple threads if needed, anyway.   > So it may not be necessary.  I'm thi

"Tomcat 6.0 requires JRE 5.0" issue

2009-11-16 Thread Elizabeth Gorkic
Hi, does anyone know what the 'official' Apache explanation is for the contradictory information in Tomcat 6 README and RELEASE-NOTES: When you open http://apache.crihan.fr/dist/tomcat/tomcat-6/v6.0.20/README.html , you get this message: Tomcat 6.0 requires JRE 5.0. Read the RELEASE-NOTES an

Some advice on apache tomcat

2009-11-16 Thread Anthony Jay
Hi, I am in need of some advice. My current setup is a web application running on Jboss which serves static and dynamic content, jsp, servlets and xml on two non load balanced servers (hot spare using mysql replication). It currently uses Http Basic Authentication over SSL. This has

RE: Possible to do async processing?

2009-11-16 Thread Joseph Morgan
Yes, there is a way, and I suspect you're doing "fire-and-forget" processing, but, could you give us a better idea as to what you are trying to do? Tomcat will handle servlet requests in multiple threads if needed, anyway. So it may not be necessary. I'm thinking you might want to investigat

Possible to do async processing?

2009-11-16 Thread David Balažic
Hi! We are using tomcat 6.0 and now we have the need to trigger from the service() method of a servlet. So: - a request arrives - the servlet triggers an async event - servlet sends response and closes - the async task is done (independent of servlet opeartion) Is there a way to do this? O

Re: jdbc-pool ignoring minIdle ?

2009-11-16 Thread Filip Hanik - Dev Lists
hi Xavier, the pool is not ignoring the minIdle flag, but you have configured p.setMaxAge(43200); This means,that if a connection has been connected longer than this, next time you call con.close() it will be closed and not returned to the pool. The connection pool itself at this poi

Re: Customizing Default Error page when Webapp stopped Or not loaded

2009-11-16 Thread Arunkumar Janarthanan
Thank you very much for the info Konstantin, is this applicable to Tomcat 5.5.9 ? that is the version we are using. However can we customize the class and make this internal error disappeared ? Please advice. On Sun, Nov 15, 2009 at 11:45 AM, Konstantin Kolinko wrote: > 2009/11/15 Arunkumar Ja

RE: AccessLogValve calling order

2009-11-16 Thread George Sexton
Uh, if the Access Log Value logged before the request was complete, how would it know the number of bytes written to log? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Jason Brittain [mailto:jason.britt...@mulesource.com] > S

jdbc-pool ignoring minIdle ?

2009-11-16 Thread Xavier Poinsard
Hi all, I have seen a strange behaviour with the new Tomcat jdbc-pool (1.0.7.1). It seems to ignore the minIdle parameter. I have been able to reproduce it with a simple program. minIdle is set to 5 and after a few seconds, I don't have any idle connection left. Could anybody confirm the bug or

Re: search engine

2009-11-16 Thread Konstantin Kolinko
2009/11/16 Jill Han : > Sorry, for the non-tomcat issue, but I still hope I can get helps here. > Is there any search engine you would recommend that could search public, and > non public( page needs login) pages? > > Thanks as always, > > Jill > Maybe you should look at http://lucene.apache.org/

RE: search engine

2009-11-16 Thread Jill Han
There are .html, .php, .jsp, .pdf pages on the apache server. Thanks, Jill -Original Message- From: Neil Aggarwal [mailto:n...@jammconsulting.com] Sent: Monday, November 16, 2009 9:15 AM To: 'Tomcat Users List' Subject: RE: search engine X-HOSTLOC: alverno.edu/10.0.60.10 Jill: > Is the

RE: Deployment of war file into a common locatiion

2009-11-16 Thread Neil Aggarwal
Ajay: > I don't think that would be a solution because that > application is fetching > some values from database also and through the google app > engine I may not > be able to get those values from the database. You will need to put both your database and tomcat app on a server that support

Re: Deployment of war file into a common locatiion

2009-11-16 Thread Hassan Schroeder
On Sun, Nov 15, 2009 at 11:47 PM, ajaypal wrote: > My name is Ajay and I have one web application which my whole team wants to > access . My problem is that all my team is scattered on different places (at > onsite and offshore) on different networks , So if I deploy that web > application on my

Re: Deployment of war file into a common locatiion

2009-11-16 Thread ajaypal
I don't think that would be a solution because that application is fetching some values from database also and through the google app engine I may not be able to get those values from the database. Pid Ster wrote: > > On 16/11/2009 07:47, ajaypal wrote: >> >> Hi , >> My name is Ajay and I hav

RE: Error starting the web server

2009-11-16 Thread Neil Aggarwal
John: > It appears that we have several JDK's loaded on our file > system (up to jdk > 1.5). what apache configuration files need to be modified to > point to the > correct jdk? i've modified the workers.properties. any other > locations I > should modify? I choose a JDK by setting a JAVA_HOME

RE: search engine

2009-11-16 Thread Neil Aggarwal
Jill: > Is there any search engine you would recommend that could > search public, and non public( page needs login) pages? If your pages are HTML, you can use something like HtDig: http://www.htdig.org/ If your pages are part of a web app, I have done this in the past: 1. Write some code to p

Re: Error starting the web server

2009-11-16 Thread John McCleskey
It appears that we have several JDK's loaded on our file system (up to jdk 1.5). what apache configuration files need to be modified to point to the correct jdk? i've modified the workers.properties. any other locations I should modify? worker.list=inprocess worker.inprocess.type=jni worker.inp

RE: Deployment specific configuration - best practice

2009-11-16 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Deployment specific configuration - best practice > > Auf seinen Nasen schreitet einher das Nasobēm. Es steht noch nicht im Brehm. Es steht noch nicht im Meyer. Und auch im Brockhaus nicht. Vielleicht, nur auf dem Tomcat-Mailing-Liste. - Chu

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Peter Crowther
2009/11/16 Pid : > You managed to subscribe to the list, can't you follow the instructions on > how to unsubscribe?  Clues at the bottom of every email. We keep saying that, and it keeps being a problem for users. The email-based unsubscribe appears to be unreliable, I suspect due to an overzealo

Re: Error starting the web server

2009-11-16 Thread John McCleskey
I'm running Apache 5.5 with a jdk 1.4 on my windows test server and everything works fine, so it appears these two may be the issue. Let me chat with our sys admin to determine when an upgrade can be completed. Thanks for your help. On Mon, Nov 16, 2009 at 8:39 AM, Caldarale, Charles R < chuck.cal

RE: Error starting the web server

2009-11-16 Thread Caldarale, Charles R
> From: John McCleskey [mailto:jmccleske...@gmail.com] > Subject: Re: Error starting the web server > > I'm running the web server on an iSeries v5r4 and the jdk is 1.3. JDK 1.3 hasn't been supported in a long, long time. Given André's assessment, the Tomcat version and connector you're using a

Re: Error starting the web server

2009-11-16 Thread David Smith
> > jdk is 1.3 Ouch! You really should consider an upgrade. What version of tomcat do you have ... it hasn't been recommended that anyone set classpath since tomcat 3 days. And then it was a nightmare trying to engineer classpaths so all the apps and tomcat were happy. More details would be gre

Re: Error starting the web server

2009-11-16 Thread John McCleskey
Here is my httpd: *1* * # Configuration originally created by Create HTTP Server wizard on Fri Nov 13 16:08:48 CST 2009* * 2* * LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM* * 3* * Listen 10.201.21.152:80* * 4* * DocumentRoot /www/webserver3/webapps/* * 5* * Options -

search engine

2009-11-16 Thread Jill Han
Sorry, for the non-tomcat issue, but I still hope I can get helps here. Is there any search engine you would recommend that could search public, and non public( page needs login) pages? Thanks as always, Jill

Re: Error starting the web server

2009-11-16 Thread John McCleskey
Sounds like I may be on a "much" earlier version of ASF Tomcat on my production server (worked fine in test). How do I tell what version of Tomcat I'm running on an iSeries? On Mon, Nov 16, 2009 at 8:19 AM, André Warnier wrote: > Just substituting momentarily for Chuck and Pid while they warm up

Re: Error starting the web server

2009-11-16 Thread John McCleskey
I'm running the web server on an iSeries v5r4 and the jdk is 1.3. It appears that the jvm is throwing an exception: java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource Guessing my classpath must be incorre

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey (Inxmail GmbH)
On Monday 16 November 2009 15:00:32 Pid wrote: > On 16/11/2009 13:54, Rainer Frey wrote: > > I forgot a very important information: the JDBC driver is in tomcat/lib > > because our server usually runs several instances of the same webapp, and > > the customers have to add the JDBC driver themselves

Re: Error starting the web server

2009-11-16 Thread André Warnier
Just substituting momentarily for Chuck and Pid while they warm up for the day : John McCleskey wrote: I'm recieving the following errors when starting my Tomcat server. I'm attempting to deploy a web application using a .WAR file and have configured the server to run servlets. Really ? How d

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Pid
On 16/11/2009 14:12, Evan Siegel wrote: UNSUBSCRIBE ME! I have been emailing you guys for over a week to unsubcribe me. > PLEASE CEASE AND DESIST FROM SENDING ME MORE MAILINGS FROM THIS LIST! "You guys"? There's only one email from you, that I can see to this list, which is this one. So... ?

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Evan Siegel
UNSUBSCRIBE ME! I have been emailing you guys for over a week to unsubcribe me. PLEASE CEASE AND DESIST FROM SENDING ME MORE MAILINGS FROM THIS LIST! Please visit our websites at http://www.geocities.com/evan_j_siegel'>http://www.geocities.com/evan_j_siegel";>http://www.geocities.com/evan_j_sie

Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Yagnesh Chawda
Hi, I am using Spring 2.5, Hibernate 3 and MySQL (5.0.45 (32 Bit), 5.0.84(64 Bit)) with commons-DBCP 1.2 in Tomcat-5.5 My issue is that even after specifying Connection pool of initialSize=40 and minIdle=35, my App. server is never keep only 9 connections open under zero load condition. Wha

Re: Error starting the web server

2009-11-16 Thread Pid
On 16/11/2009 14:00, John McCleskey wrote: I'm recieving the following errors when starting my Tomcat server. I'm attempting to deploy a web application using a .WAR file and have configured the server to run servlets. Any help would be greatly appreciated. *[jk_jni_worker.c (1028)]: Fail-> co

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Pid
On 16/11/2009 13:54, Rainer Frey wrote: On Monday 16 November 2009 14:24:37 Rainer Frey wrote: Hi, I found a problem when using DriverManager.getConnection() with a build from current 6.0 SVN (this morning). [...] Everything works fine with Tomcat 6.0.20. I forgot a very important informati

Error starting the web server

2009-11-16 Thread John McCleskey
I'm recieving the following errors when starting my Tomcat server. I'm attempting to deploy a web application using a .WAR file and have configured the server to run servlets. Any help would be greatly appreciated. *[jk_jni_worker.c (1028)]: Fail-> could not initialize Tomcat * *[jk_worker.c (22

Re: Deployment specific configuration - best practice

2009-11-16 Thread Pid
On 16/11/2009 13:39, Martin Gainty wrote: i think i will buy in UK as the price is only 2.29 (excl VAT) can you post html to demo JDBC parameters? any advantages for returning JSON over plain text? Early start this week, chaps, a triple shuffle from Martin to open. I'll follow with:- Auf seine

Re: Deployment specific configuration - best practice

2009-11-16 Thread Leon Rosenberg
Hello Martin, i think you are mixing up topics :-) > any advantages for returning JSON over plain text? JSON is not as bloated as xml, but more flexible as property files, has a validateable syntax and a set of standart parsers to use. regards Leon --

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey
On Monday 16 November 2009 14:24:37 Rainer Frey wrote: > Hi, > > I found a problem when using DriverManager.getConnection() with a build > from current 6.0 SVN (this morning). [...] > Everything works fine with Tomcat 6.0.20. I forgot a very important information: the JDBC driver is in tomcat/lib

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey
On Monday 16 November 2009 14:32:41 Mikolaj Rydzewski wrote: > Rainer Frey wrote: > > I found a problem when using DriverManager.getConnection() with a build > > from current 6.0 SVN (this morning). Basically I have a Servlet that's > > loaded on startup and does following in its init() method: > >

RE: Deployment specific configuration - best practice

2009-11-16 Thread Martin Gainty
i think i will buy in UK as the price is only 2.29 (excl VAT) can you post html to demo JDBC parameters? any advantages for returning JSON over plain text? thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidential

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Mikolaj Rydzewski
Rainer Frey wrote: I found a problem when using DriverManager.getConnection() with a build from current 6.0 SVN (this morning). Basically I have a Servlet that's loaded on startup and does following in its init() method: You should really use JNDI to obtain DataSource. -- Mikolaj Rydzewski

Re: The server encountered an internal error () that prevented it from fulfilling this request

2009-11-16 Thread Peter Crowther
2009/11/16 Bala_ji : > > The server encountered an internal error () that prevented it from fulfilling > this request message in IWSS server.  Please help > http://old.nabble.com/file/p26370991/iwss%2Bapache%2Berror.jpg You have a null pointer exception, caused by either your application code or s

Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey
Hi, I found a problem when using DriverManager.getConnection() with a build from current 6.0 SVN (this morning). Basically I have a Servlet that's loaded on startup and does following in its init() method: try { Class.forName( driver ); } catch( ClassNotFoundException x ) { log

Re: Deployment of war file into a common locatiion

2009-11-16 Thread Pid
On 16/11/2009 07:47, ajaypal wrote: Hi , My name is Ajay and I have one web application which my whole team wants to access . My problem is that all my team is scattered on different places (at onsite and offshore) on different networks , So if I deploy that web application on my system , all te

  1   2   >