Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
After further investigations: If I install a tomcat6 windows binary, and edit the Catalina/localhost/webappName.xml file in order to use a different database host, it's OK: the Windows tomcat6 go and use the other database. So, my deduction is the Linux tomcat6 has a setting that avoid reading

RE: Apache Tomcat 6.0 loads blank page

2009-02-03 Thread Caldarale, Charles R
> From: zia mohades [mailto:zia.si...@gmail.com] > Subject: Re: Apache Tomcat 6.0 loads blank page > > HTTP Status 404 - /bin/test.cgi We already told you what you needed for that: http://marc.info/?l=tomcat-user&m=123359042706979&w=2 > since my master project is based on this And I presume you

Re: Apache Tomcat 6.0 loads blank page

2009-02-03 Thread zia mohades
Hello everyone, sorry to bug you guys again! Just to follow up on my last problem. I have re-formatted my whole hard drive and reinstalled ubuntu from scratch now the tomcat apache runs perfectly and i can access http://localhost:8080/mms_test/index.html with no problem. However the same problem

RE: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-03 Thread Shweta Parakh -X (shparakh - Infosys at Cisco)
Hi Pieter, Thank you for the response. I did check my config.log and I can see something like below. I have attached my config.log file. It has been more than a week that I am stuck with this issue. It would be really great if you could help me with this. Regards, Shweta conftest.c:10:28: ac_no

Re: AJP vs HTTP connectors?

2009-02-03 Thread Mark Thomas
Eric B. wrote: > However, all this begs the question - what is the difference between mod_jk > which communicates via AJP and mod_proxy_ajp? Doesn't mod_proxy_ajp just > communicate via the AJP protocol as well? In which case, isn't that > tantamount to having the same issues/considerations as

Re: AJP vs HTTP connectors?

2009-02-03 Thread Mark Thomas
Eric B. wrote: > "Filip Hanik - Dev Lists" wrote in message > news:49876e0d.4020...@hanik.com... >> first and foremost, always apply "ol' grandpa's logic" >> The famous quote is "if it ain't broke, don't fix it" >> So if you are using something that is working, don't even consider >> switching j

Re: AW: Tomcat 6/IIS/Windows 2003 Server x64 (Intel E2180)

2009-02-03 Thread Mark Brocato
I actually installed the OS myself, so I'm sure it's 64-bit. - Mark On Feb 3, 2009, at 5:59 PM, Thomas Strauß wrote: Hi, Please excuse if this is a stupid idea in your case, but we had the same issue, until we realized that the hosting provider setup IIS x32. Did you check in task-manager

Re: apache tomcat connector header size

2009-02-03 Thread eric tse
how can I bump up the header size of connector? > apache tomcat connector header ??? > > How? > > I think I am trying to a big header transfer .. and it breaks in proxy point, > saying fail to append header. and did route > > Thanks > > Eric Tse On Tue, Feb 3, 2009 at 2:08 PM, eric tse wrote: >

Re: Tuning Tomcat

2009-02-03 Thread Markus Schönhaber
Sergey Livanov: > Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 I hope you follow Chuck's good advice and re-describe your problem in a way others can understand. Moreover, if you're interested in tuning, you could start by downloading a Tomcat version that is not a

AW: Tomcat 6/IIS/Windows 2003 Server x64 (Intel E2180)

2009-02-03 Thread Thomas Strauß
Hi, Please excuse if this is a stupid idea in your case, but we had the same issue, until we realized that the hosting provider setup IIS x32. Did you check in task-manager if the IIS is actually running 64bits (without the asterisk)? We gave the 32bit dlls a try and - tada just works. With be

Fwd: Tomcat 6/IIS/Windows 2003 Server x64 (Intel E2180)

2009-02-03 Thread Mark Brocato
Hi all, I've been using tomcat and the isapi filter with win32 for years now. I recently tried to get tomcat 6 working on windows server 2003 x64 and have run into trouble. Using the Tomcat Connector 1.2.27 64-bit, I get the dreaded red arrow next to the ISAPI filter in IIS. I have tried both A

RE: Tomcat 6: How to tell a Context/Webapp where to look for files?

2009-02-03 Thread Caldarale, Charles R
> From: Steve Mysterious [mailto:tinker...@gmail.com] > Subject: Tomcat 6: How to tell a Context/Webapp where to look > for files? > > I noticed that if I don't give my JSPs and my servlet a > path that they look for files in CATALINA_HOME You should probably be using ServletContext.getResourceAsS

Tomcat 6: How to tell a Context/Webapp where to look for files?

2009-02-03 Thread Steve Mysterious
Hi; Tomcat: 6.0 Tomcat Installation Directory: C:\Program Files\Apache Software Foundation\Tomcat 6.0 OS: Windows XP ( Windows 5.1 service pack 2 ) Java: JDK 1.6.0_10-beta Context/Webapp Name: abcdev I'm using the above configuration to set up a development environment for myself. I used th

Re: apache tomcat connector header size

2009-02-03 Thread eric tse
On Tue, Feb 3, 2009 at 2:08 PM, eric tse wrote: > Can I bump up the header size of the > > apache tomcat connector header ??? > > How? > > I think I am trying to a big header transfer .. and it breaks in proxy point, > saying fail to append header. and did route > > Thanks > > Eric Tse >

Re: tomcat including files from apache

2009-02-03 Thread H. Hall
chuckvb wrote: I have a basic configuration working where Apache serves my static html and tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6 and mod_jk. How do I include header files and other files from apache for my tomcat jsp files. right now I use <%@ include file="/he

RE: Re: dbcp pool freezing

2009-02-03 Thread Propes, Barry L
In addition to explicitly closing the connection, are you also explicitly closing out any prepared or callable statements? I had overlooked this issue one time, and while it wasn't causing a great performance hindrance per se, I could tell by my monitoring tool that many rogue connections were sti

Re: Tomcat startup issue

2009-02-03 Thread dan_b
Actually, no I didn't need to. It seems to work without the double quotes. But I agree with you, it's better to do the install in a directory without spaces. -Dan - Original Message - From: "André Warnier" To: "Tomcat Users List" Sent: Tuesday, February 3, 2009 3:59:57 PM G

Re: tomcat including files from apache

2009-02-03 Thread André Warnier
chuckvb wrote: I have a basic configuration working where Apache serves my static html and tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6 and mod_jk. How do I include header files and other files from apache for my tomcat jsp files. right now I use <%@ include file="/he

Re: Tomcat startup issue

2009-02-03 Thread André Warnier
da...@comcast.net wrote: Chuck, Thanks for the reply. That did the trick. And, just by curiosity, did you have to quote the "\Program Files\" or not ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addit

Re: Tomcat startup issue

2009-02-03 Thread dan_b
Chuck, Thanks for the reply. That did the trick. Thanks again! -Dan - Original Message - From: "Charles R Caldarale" To: "Tomcat Users List" Sent: Tuesday, February 3, 2009 3:28:49 PM GMT -05:00 US/Canada Eastern Subject: RE: Tomcat startup issue > From: da...@comcast

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
"Philippe Martinou" wrote in message news:49887d2f.3000...@sparkom.com... >Hi, > > The first thing to be checked is probably your application. If some method > does not properly close an SQL connection, you will have a leak that will > ultimately lead to this resource exhaustion. > To bette

RE: Tomcat startup issue

2009-02-03 Thread Caldarale, Charles R
> From: da...@comcast.net [mailto:da...@comcast.net] > Subject: Tomcat startup issue > > I've opened "Apache Tomcat Properties", selected the Startup > tab and appended -security to start That's wrong; the -security option is for the startup.bat (and catalina.bat) scripts, not for the Bootstrap c

tomcat including files from apache

2009-02-03 Thread chuckvb
I have a basic configuration working where Apache serves my static html and tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6 and mod_jk. How do I include header files and other files from apache for my tomcat jsp files. right now I use <%@ include file="/header.html"%> bu

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
> "Caldarale, Charles R" wrote in message > news:0aae5ab84b013e45a7b61cb66943c17215b604a...@usea-exch7.na.uis.unisys.com... > > From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. > > Subject: Re: dbcp pool freezing > > > > Then the question becomes why aren't they being returned at > > a

RE: Tuning Tomcat

2009-02-03 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tuning Tomcat > > >> Free memory: 1.64 MB Total memory: 5.44 MB Max memory: 63.56 MB > > I like this post, because the system parameters remind me of Chuck's > portable phone, and my development system. Actually, those are just number f

Re: dbcp pool freezing

2009-02-03 Thread Kees Jan Koster
Dear Eric, and see that all my threads are in the WAITING state from org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject (GenericObjectPool.java:810) I don't believe I have any connection leaks in my code Belief is not a substitute for evidence... Your webapp is clearly not re

Tomcat startup issue

2009-02-03 Thread dan_b
I have installed Tomcat 5.5 on a Windows 2003 box. I have it installed as a service and need to use to the -security option but it's failing on startup. I've opened "Apache Tomcat Properties", selected the Startup tab and appended -security to start, so the Arguments are set to: start -

RE: dbcp pool freezing

2009-02-03 Thread Caldarale, Charles R
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. > Subject: Re: dbcp pool freezing > > Then the question becomes why aren't they being returned at > all? My timeout is 20secs; I would expect, if the Abandon > tracking was working properly for me, that the connections > would be return

Re: Tuning Tomcat

2009-02-03 Thread André Warnier
Caldarale, Charles R wrote: From: Sergey Livanov [mailto:sergey.liva...@gmail.com] Subject: Tuning Tomcat Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 system vars - JAVA_HOME=c:\jre153, CATALINA_HOME=c:\tomcat catalina.bat - set CATALINA_OPTS="-server -Xms256M -Xmx

Re: AJP vs HTTP connectors?

2009-02-03 Thread André Warnier
Hi. Maybe slightly off-topic, but having a moment of blues and lack of inspiration/motivation about working on what I should really be working on, and just in the spirit of communicating a "user experience"... We are using Apache and Tomcat to provide an application, both on-site and in ASP

RE: Tuning Tomcat

2009-02-03 Thread Caldarale, Charles R
> From: Sergey Livanov [mailto:sergey.liva...@gmail.com] > Subject: Tuning Tomcat > > Help me to adjust JVM, please. My configuration - win2k > server, Tomcat5.5.9 > system vars - JAVA_HOME=c:\jre153, CATALINA_HOME=c:\tomcat > catalina.bat - set CATALINA_OPTS="-server -Xms256M -Xmx512M" > After sta

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
> "Caldarale, Charles R" wrote in message > news:0aae5ab84b013e45a7b61cb66943c17215b600c...@usea-exch7.na.uis.unisys.com... > > From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. > > Subject: dbcp pool freezing > > > > and see that all my threads are in the WAITING state from > > org.apa

RE: What are the benefits of using Tomcat Native when using AJP connector?

2009-02-03 Thread Caldarale, Charles R
> From: Jorge Medina [mailto:jmed...@e-dialog.com] > Subject: What are the benefits of using Tomcat Native when > using AJP connector? > > "When APR is enabled, the AJP connector will use a socket poller for > keepalive, increasing scalability of the server. As AJP is designed > around a pool of pe

RE: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to createnew native thread

2009-02-03 Thread Caldarale, Charles R
> From: Steve Cohen [mailto:sco...@javactivity.org] > Subject: Re: [Tomcat] [daemon] java.lang.OutOfMemoryError > unable to createnew native thread > > Which means I'm looking for command-line equivalents for what > JConsole does, particularly the threads tab. The jstack tool will do much of that.

Tuning Tomcat

2009-02-03 Thread Sergey Livanov
Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 system vars - JAVA_HOME=c:\jre153, CATALINA_HOME=c:\tomcat catalina.bat - set CATALINA_OPTS="-server -Xms256M -Xmx512M" After start Free memory: 1.64 MB Total memory: 5.44 MB Max memory: 63.56 MB TIA . ---

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Kees Jan Koster
Dear Steve, One additional restriction I have is a security bureaucracy from hell. As far as console access I have a two-hop connection. Is there no test system that you can use to reproduce this, under less insane restrictions? Have you considered hauling your behind to the data center

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread ovidiu asiminei
Hi Steve, Also, a good tool for monitoring Tomcat is Lamda Probe http://www.lambdaprobe.org/d/index.htm Regards, Ovidiu On Tue, Feb 3, 2009 at 9:31 AM, Steve Cohen wrote: > We have an application that runs under Tomcat under RHEL 5.0 and is > launched by a jsvc daemon. > It chugs along s

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread André Warnier
Steve Cohen wrote: [...] Which means I'm looking for command-line equivalents for what JConsole does, particularly the threads tab. Any ideas along that path? Not really a help here, but as I have discovered JConsole wont't even work through a simple SSH tunnel, because it wants to dynami

What are the benefits of using Tomcat Native when using AJP connector?

2009-02-03 Thread Jorge Medina
Does anybody know what "significantly" means on the following paragraph of the Tomcat Native library? "When APR is enabled, the AJP connector will use a socket poller for keepalive, increasing scalability of the server. As AJP is designed around a pool of persistent (or almost persistent) connect

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Steve Cohen
One additional restriction I have is a security bureaucracy from hell. As far as console access I have a two-hop connection. As far as GUI access I have some crappy device to log into that lets me have really bad keyboard/mouse control of the machine, which, unless I can overcome this means t

RE: dbcp pool freezing

2009-02-03 Thread Caldarale, Charles R
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. > Subject: dbcp pool freezing > > and see that all my threads are in the WAITING state from > org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject > (GenericObjectPool.java:810) > > I don't believe I have any connection leaks

Re: dbcp pool freezing

2009-02-03 Thread David Boreham
Check that you don't have garbage collection problems. A heavy GC load will show up with these symptoms you are seeing (because GC stalls threads as they acquire or release locks). - To unsubscribe, e-mail: users-unsubscr...@to

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
"Philippe Martinou" wrote in message news:49887d2f.3000...@sparkom.com... >Hi, > > The first thing to be checked is probably your application. If some method > does not properly close an SQL connection, you will have a leak that will > ultimately lead to this resource exhaustion. > To bett

Re: dbcp pool freezing

2009-02-03 Thread Philippe Martinou
Hi, The first thing to be checked is probably your application. If some method does not properly close an SQL connection, you will have a leak that will ultimately lead to this resource exhaustion. To better trace if this is a case, you may for example create a Wrapper of SqlConnection that

dbcp pool freezing

2009-02-03 Thread Eric B.
Hi, I'm having some trouble with my dbcp pool freezing up when running a load, and am having trouble figuring out why. I have enabled JMX on the server and connected via jConsole, and see that all my threads are in the WAITING state from org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borr

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
"Hassan Schroeder" wrote in message news:4eedb92a0902030808n399c1107x90207c3edb9d9...@mail.gmail.com... > On Tue, Feb 3, 2009 at 7:38 AM, Eric B. wrote: > >> Is there any documentation / howtos available for securely setting up >> mod_proxy_http and/or mod_proxy_ajp with tomcat? The little that

Re: servlets. TC classpaths

2009-02-03 Thread Dave Pawson
2009/2/3 David Smith : > Yes -- your webapp's jars are placed in your webapps's WEB-INF/lib > folder. Unjarred classes are placed in WEB-INF/classes w/ a folder > layout mirroring the package layout for your classes. > > BTW, listeners.ContextListener AFAIK is not a tomcat class. Maybe > you've c

Re: Tomcat resets the connection during load

2009-02-03 Thread Barak Yaish
Ok, will try to search after the relevant attributes in jconsole, for the mean time I ran ab against a load balancer connected to 3 Tomcat on 3 different boxes and the scenario repeated it self: [ad...@ltse1 ~]$ ab -n 2 -k -c 1500 " http://lbmachine/scale/ctx1?cc=123456"; This is ApacheBench,

RE: ExtendedAccessLogValve pattern?

2009-02-03 Thread CameronL
I decided to dig through the source code myself as well and also found that this is the case, so thanks. Not exactly sure why they subclassed this without inheriting any of that functionality. Caldarale, Charles R wrote: > >> From: CameronL >> Subject: ExtendedAccessLogValve pattern? >> >> Ca

mod_jk sporadic errors

2009-02-03 Thread Jorge Medina
I am running Apache with mod_jk 1.2.26 module (on Solaris) In the same machine, I am running Tomcat 6.0.16 with the Tomcat Native Library 1.1.12 (linked to APR 1.3.3) I am getting sporadic errors on the mod_jk log as the shown below: [Tue Feb 03 08:48:29.367 2009] [13821:22] [error] ajp_get_re

RE: Request queue menagement Tomcat 5.5 + Axis

2009-02-03 Thread Caldarale, Charles R
> From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com] > Subject: Re: Request queue menagement Tomcat 5.5 + Axis > > Could you please tell me if it's possible to set the number > of dedicated threads and queue lenght? As usual, it's in the doc: http://tomcat.apache.org/tomcat-5.5-doc/confi

AW: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Ladislav Gaspar
oh gosh, how embarrassing... Someone had changed the default output folder for the compiled classes but my ant scripts still deployed from the old (and now wrong) location... sorry for bothering ye, and thanks for the replies. cheers Laci --- La

Re: servlets. TC classpaths

2009-02-03 Thread David Smith
Yes -- your webapp's jars are placed in your webapps's WEB-INF/lib folder. Unjarred classes are placed in WEB-INF/classes w/ a folder layout mirroring the package layout for your classes. BTW, listeners.ContextListener AFAIK is not a tomcat class. Maybe you've copied a web.xml off the web and us

servlets. TC classpaths

2009-02-03 Thread Dave Pawson
>From the logs [Loaded SimpleServlet from file:/apps/tomcat6/webapps/atom/WEB-INF/classes/SimpleServlet.class] Feb 3, 2009 3:57:06 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class listeners.ContextListener java.lang.ClassNotFoundExce

Re: Apache/mod_jk serves random files from tomcat

2009-02-03 Thread LukeK
yuvalperlov wrote: > > I am having the exact same symptoms with the latest versions of > everything: > Fedora 10 > Tomcat 6.0.18 > Apache Apache/2.2.10 > mod_jk-1.2.27 (and the same problem with the built-in mod_proxy_ajp). > > It takes a day or so for the problem to start but once it does it h

Re: AJP vs HTTP connectors?

2009-02-03 Thread Hassan Schroeder
On Tue, Feb 3, 2009 at 7:38 AM, Eric B. wrote: > Is there any documentation / howtos available for securely setting up > mod_proxy_http and/or mod_proxy_ajp with tomcat? The little that I > know/remember about mod_proxy_http is that if you're not careful, you can > end up with some major securit

RE: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create newnative thread

2009-02-03 Thread Caldarale, Charles R
> From: Steve Cohen [mailto:sco...@javactivity.org] > Subject: [Tomcat] [daemon] java.lang.OutOfMemoryError unable > to create newnative thread > > I have read in some places that this particular form of > OutOfMemoryError is actually made worse by increasing > the memory size. Not memory size, bu

Re: Able to access URL without port

2009-02-03 Thread David Smith
randhir.si...@elitecore.com wrote: > I had a doubt of something I had heard with regard to the access of URL > possible without port number if apache is used in the environment. We have > our application running with JBOSS as the AS and tomcat as the web server. > My question is that is the URL, >

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Pieter Temmerman
Hi Steve, Some great tools to monitor your Tomcat installations are: - Jconsole (make sure you get the topthreads plugin) - VisualVM - VisualGC - Jmap Hope that helps. On Tue, 2009-02-03 at 09:31 -0600, Steve Cohen wrote: > We have an application that runs under Tomcat under RHEL 5.0 and is >

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
"Filip Hanik - Dev Lists" wrote in message news:49876e0d.4020...@hanik.com... > first and foremost, always apply "ol' grandpa's logic" > The famous quote is "if it ain't broke, don't fix it" > So if you are using something that is working, don't even consider > switching just cause some dude on

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
"Mark Thomas" wrote in message news:4987ccc4.3080...@apache.org... > > The (very) short version is: > mod_proxy_ajp is not as stable as mod_jk. > > mod_jk and mod_proxy_http are prety much neck and neck. mod_proxy_http has > a > very slight edge on average but on a case by case basis either may

Re: Error, source unknown

2009-02-03 Thread Dave Pawson
2009/2/3 Gregor Schneider : > Dave, > > On Tue, Feb 3, 2009 at 2:38 PM, Dave Pawson wrote: >> >> [r...@marge apps]# netstat -lnp | grep 8080 >> tcp0 0 :::8080 :::* >> LISTEN 4014/java >> >> (Not very informative ?) >> > > informative enough: > > "ps -l

[Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Steve Cohen
We have an application that runs under Tomcat under RHEL 5.0 and is launched by a jsvc daemon. It chugs along seemingly fine on several servers, yet yesterday crashed on one of them with the above exception seemingly without experiencing any kind of abnormal load. I am trying to get a handle o

Re: Copy Apache

2009-02-03 Thread Gregor Schneider
André, just a quick one, since this becomes OT, but if you like, we can continue this discussion via personal email. André, if I'm not mistaken, you're quite new to the list. I've seen lots of similar posts here, which I consider being a complete neglet of respect to the people contributing to t

RE: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Caldarale, Charles R
> From: Ladislav Gaspar [mailto:ladislav.gas...@it-vision.com] > Subject: AW: NoClassDefFoundError: HttpServlet > > The sample servlets work. Good - which says the problem is isolated to your webapp, so that narrows the focus. > But what could that be? It looks like somewhere in your webapp, yo

RE: tomcat only query localhost database

2009-02-03 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: tomcat only query localhost database > > What are(or where can I find them) the rules on loading an app into > localhost | webapps or ROOT? In the Tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/config/index.html Note that you

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection("jdbc:mysql://localhost/baseName", "login", "password"); There, I see some hardcoded localhost. Might i

RE: Tomcat configuration with multiple services

2009-02-03 Thread Caldarale, Charles R
> From: Jaakko Taipale [mailto:jaakko.taip...@dbmanager.fi] > Subject: VS: Tomcat configuration with multiple services > >connectionTimeout="2" >redirectPort="8443" /> > port="443" minSpareThreads="5" maxSpareThreads="75" > enableLook

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection("jdbc:mysql://localhost/baseName", "login", "password"); There, I see some hardcoded localhost. Might it be the nasty evil code? Nope, it's

Re: Error, source unknown

2009-02-03 Thread Gregor Schneider
Dave, On Tue, Feb 3, 2009 at 2:38 PM, Dave Pawson wrote: > > [r...@marge apps]# netstat -lnp | grep 8080 > tcp0 0 :::8080 :::* > LISTEN 4014/java > > (Not very informative ?) > informative enough: "ps -lf 4041" gives you a bit more of information ab

RE: Error, source unknown

2009-02-03 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: Error, source unknown > > [r...@marge apps]# netstat -lnp | grep 8080 > tcp0 0 :::8080 :::* > LISTEN 4014/java > > (Not very informative ?) On the contrary, it tells you that pid 4014 i

Re: tomcat only query localhost database

2009-02-03 Thread Dave Pawson
2009/2/3 Caldarale, Charles R : >> From: Mihamina Rakotomandimby (R12y) >> [mailto:miham...@lab.vectoris.fr] >> Subject: Re: tomcat only query localhost database >> >> /etc/tomcat6/Catalina/localhost/webappName.xml >> >> > reloadable="true" >> docBase="norpassWeb"

RE: No workers.properties file in $TOMCAT_HOME/conf

2009-02-03 Thread Caldarale, Charles R
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > Subject: Re: No workers.properties file in $TOMCAT_HOME/conf > > before asking this list for help, I suggest you read the excellent > documentation first. You'll find it at the link I've provided in one > of my prevous posts. As well as thi

RE: tomcat only query localhost database

2009-02-03 Thread Caldarale, Charles R
> From: Mihamina Rakotomandimby (R12y) > [mailto:miham...@lab.vectoris.fr] > Subject: Re: tomcat only query localhost database > > /etc/tomcat6/Catalina/localhost/webappName.xml > > reloadable="true" > docBase="norpassWeb" > Note that the path attribute is not a

Re: Copy Apache

2009-02-03 Thread André Warnier
Gregor, Gregor Schneider wrote: I'm sorry, but the whole question is rediculous Yes, but the correct word is "ridiculous". and needs a rephrasing at least. And maybe your answer needs this also. - What does the OP want to copy? The whole of Apache? HTML only? To me it seems as if the OP do

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection("jdbc:mysql://localhost/baseName", "login", "password"); There, I see some hardcoded localhost. Might it be the nasty evil code? -- Chef de

Re: Tomcat resets the connection during load

2009-02-03 Thread Mark Thomas
Barak Yaish wrote: > How can I determine that? I haven't seen any exception in catalina.out Monitor the current thread usage (eg with LambdaProbe, JMC console, manager app) > regarding out of threads... There is a proposal to log a message when this happens but with current versions you won't se

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Gregor Schneider wrote: Sorry, but you're providing too few informations. - please post the file /etc/tomcat6/Catalina/localhost/webappName.xml (masquerade the user-id / password!) - please post the piece of code where the said webapp tries to create the database-connection.

Re: Error, source unknown

2009-02-03 Thread Dave Pawson
HI Gregor. 2009/2/3 Gregor Schneider : >> Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init >> SEVERE: Error initializing endpoint >> java.net.BindException: Address already in use:8080 >> > > that means that some process is using port 8080. Since a port can only > be bound to

Re: Error, source unknown

2009-02-03 Thread Kees de Kooter
Apparently you already have something running that is using port 8080. The Digester error means that an xml file that is being loaded contains characters after the closing root tag. Cheers, Kees de Kooter http://www.boplicity.net 2009/2/3 Dave Pawson : > from catalina.out log. > > Feb 3, 2009

Re: Error, source unknown

2009-02-03 Thread Gregor Schneider
Dave, On Tue, Feb 3, 2009 at 2:24 PM, Dave Pawson wrote: > from catalina.out log. > > Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init > SEVERE: Error initializing endpoint > java.net.BindException: Address already in use:8080 > that means that some process is using port 8080

Error, source unknown

2009-02-03 Thread Dave Pawson
from catalina.out log. Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in use:8080 I'm not sure what the 'null' part of this message is telling me. Any suggestions please? Then later (may/may not be

Deleting web application specific log files

2009-02-03 Thread Ashish Sarna
Hello I am using tomcat6 to deploy my web applications. For logging the messages which come through httpServletRequest.getSession().getServletContext().log("Some message"); calls. I have created a logging.properties file, which contains this: handlers = org.apache.juli.FileHandler

Re: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-03 Thread Pieter Temmerman
Maybe something went wrong during the configure step. Could you take a look at the config.log file and check whether there are any errors being logged. On Tue, 2009-02-03 at 17:59 +0530, Shweta Parakh -X (shparakh - Infosys at Cisco) wrote: > Hi, > > I am trying to build mod_jk for Apache 2.2.11

Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-03 Thread Shweta Parakh -X (shparakh - Infosys at Cisco)
Hi, I am trying to build mod_jk for Apache 2.2.11 and Tomcat 4.1.39 on Solaris platform 1. Downloaded mod_jk (version 1.2.27) source from http://tomcat.apache.org/download-connectors.cgi and is kept in /opt/mod_jk-1.2.27 directory 2. Installed apache2 in /opt/apache-2.2.11 directory. 3.

Re: Apache Tomcat 6.0 loads blank page

2009-02-03 Thread Sameer Acharya
Did you try the synaptic package manager in Ubuntu ? I dont know which version of Ubuntu you have but mine did not have Tomcat or Apache HTTP on it when I installed, but might be I had dome somethings different. -Sameer --- On Mon, 2/2/09, zia mohades wrote: From: zia mohades Subject: Re: A

Re: mod_jk vs mod_proxy

2009-02-03 Thread Gregor Schneider
Hi Andrew, we've just been duscussing this topic a few days ago. You'll might want to read the whole thread @ http://www.nabble.com/AJP-vs-HTTP-connectors--td21797851.html Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE02

Re: Copy Apache

2009-02-03 Thread Gregor Schneider
I'm sorry, but the whole question is rediculous and needs a rephrasing at least. - What does the OP want to copy? The whole of Apache? HTML only? To me it seems as if the OP doesn't have *any* clue when it comes to Apache / Tomcat (please also refer to his previous posts). I may appear rude, how

Re: Copy Apache

2009-02-03 Thread Kees de Kooter
What is the operating system? 2009/2/3 randhir.singh : > I have a requirement to migrate our application to a better configuration > server. For this, can I copy apache from the present server to the new > server? So, my question is whether we can just copy the apache folder to > the new server o

mod_jk vs mod_proxy

2009-02-03 Thread Andrew Hole
Hi guys! Wich is the recommend module and what are the differences? Thanks a lot

Re: No workers.properties file in $TOMCAT_HOME/conf

2009-02-03 Thread Gregor Schneider
On Tue, Feb 3, 2009 at 11:00 AM, wrote: > > I downloaded tomcat, intalled it but there is no file workers.properties > correct > in $TOMCAT_HOME/conf. I tried 2 downloads, the tomcat 4.1 and 5.5 series. try it with at least 5.5 or, better, with the latest 6.x-version dump the outdated version 4

Re: Tomcat resets the connection during load

2009-02-03 Thread Barak Yaish
How can I determine that? I haven't seen any exception in catalina.out regarding out of threads... On Tue, Feb 3, 2009 at 6:35 AM, Mark Thomas wrote: > Barak Yaish wrote: > > > I've records the traffic using Wireshark (http://www.wireshark.org), and > > I've noticed that Tomcat send TCP Reset to

Re: Documentation on the working of tomcat and architecture

2009-02-03 Thread Gregor Schneider
tomcat.apache.org rgds gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To unsubscribe, e-mail:

Copy Apache

2009-02-03 Thread randhir . singh
I have a requirement to migrate our application to a better configuration server. For this, can I copy apache from the present server to the new server? So, my question is whether we can just copy the apache folder to the new server or does it have to be installed? For tomcat, I had copied from the

No workers.properties file in $TOMCAT_HOME/conf

2009-02-03 Thread randhir . singh
I downloaded tomcat, intalled it but there is no file workers.properties in $TOMCAT_HOME/conf. I tried 2 downloads, the tomcat 4.1 and 5.5 series. The TOMCAT & JAVA home needs to be set in workers.properties files. I hope, my question is clear. Please, help in solving the doubt. regards ---

Documentation on the working of tomcat and architecture

2009-02-03 Thread randhir . singh
I need some good documentation on the working and architecture of TOMCAT. Actually, I have copied tomcat from our old server which has to be migrated to a new server but, the tomcat is not starting. So, I want some good documentation on tomcat. I hope, my question is clear. Please, help in solvi

Re: Able to access URL without port

2009-02-03 Thread Sameer Acharya
By default browsers route all http requests to port 80, so if you have Apache http in front of TC then this will be true. -Sameer http://in.groups.yahoo.com/group/indiaenergy/join --- On Tue, 2/3/09, randhir.si...@elitecore.com wrote: From: randhir.si...@elitecore.com Subject: Able to access

Re: Request queue menagement Tomcat 5.5 + Axis

2009-02-03 Thread Sergio Arrighi
Hi Mark, It's Sergio again about request queues on Tomcat + Axis. Could you please tell me if it's possible to set the number of dedicated threads and queue lenght? Is there a maximum for these two parameters?? Thank you very much! Sergio Mark Thomas ha scritto: Sergio Arrighi wrote: Hel

Re: help Comet Tomcat

2009-02-03 Thread sammmmm
hi, thanks for information, i download this folder whit subversion but when i open this proyect whit eclipse , the proyect give me 3 error, can you explain me how to do operate the project? please i will continue to try make it work Filip Hanik - Dev Lists wrote: > > If you simply are look

Re: Able to access URL without port

2009-02-03 Thread Kees de Kooter
You should configure mod_proxy in Apache for that. You basically proxy "no port" (is actually port 80) to your port 10080. The docs for mod_proxy can be found here: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Cheers, Kees de Kooter http://www.boplicity.net On Tue, Feb 3, 2009 at 09:57,

  1   2   >