On 07.04.2009 08:21, Leon Brouwers wrote:
> Hello Rainer,
>
> Our scripts doesn't guess the pid. One of the script in question has
> the following lines:
>
> PID_FILE=/vol/www/server/logs/httpd.pid ...
>
> # Restart the httpd to build new logfiles kill -HUP `cat $PID_FILE`
>
> This file only co
Hello Rainer,
Our scripts doesn't guess the pid. One of the script in question has the
following lines:
PID_FILE=/vol/www/server/logs/httpd.pid
...
# Restart the httpd to build new logfiles
kill -HUP `cat $PID_FILE`
This file only contains one pid which is het
gt; Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAknadrYACgkQ9CaO5/Lv0PDeyQCeKmvIe/PCN4xVo6RcanQHrlw+
> AY0AoKoScVuourkKk6wgK2ivwL+JypyZ
> =hW1J
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-ma
> From: timmy_ [mailto:afd...@yahoo.com]
> Subject: Cannot access Tomcat from Host Machine PLZ Help
>
> However I may not access them through http://{ipAddres}:8080/{appName}
What exact error message are you seeing?
What IP address are you using in your URL?
What IP addresses do you have config
> From: Tomas Rodriguez [mailto:admhards...@yahoo.ca]
> Subject: Re: advantages using tomcat + mod_jk
>
> I want to have a different directory for my examples of
> java, or web pages, wherever, but I will don't like to
> have the default directory for my examples.
You've hijacked your own thre
---
> > Version: GnuPG v1.4.9 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEARECAAYFAknadrYACgkQ9CaO5/Lv0PDeyQCeKmvIe/PCN4xVo6RcanQHrlw+
> > AY0AoKoScVuourkKk6wgK2ivwL+JypyZ
> > =hW1J
> > -END PGP SIGNATURE--
unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
__ NOD32 3990 (20090406) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
-
To u
No, it did not help. NameTrans does not seem to work here. WebServer still
looks for subfolder examples under its docroot.
Rainer Jung-3 wrote:
>
> On 02.04.2009 21:47, dmitriz wrote:
>> I'm attaching log and config files here. Thanks.
>
> I compared with my test setup. I'm not sure whether th
On 07.04.2009 01:01, John Oliver wrote:
> On Tue, Apr 07, 2009 at 12:40:42AM +0200, Rainer Jung wrote:
>>> [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive
>>> failed
>>> [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this
>>> error code: proxy: read respons
On 02.04.2009 21:47, dmitriz wrote:
> I'm attaching log and config files here. Thanks.
I compared with my test setup. I'm not sure whether the following
changes are relevant, but you can try:
- magnus.conf:
I have the two Init lines related to jk as the first Init lines,
directly after the Temp
On Tue, Apr 07, 2009 at 12:40:42AM +0200, Rainer Jung wrote:
> > [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive
> > failed
> > [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this
> > error code: proxy: read response failed from (null) (localhost)
>
>
> 1
On Mon, Apr 06, 2009 at 05:30:49PM -0500, Caldarale, Charles R wrote:
> > From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> > Subject: Re: ajp_read_header: ajp_ilink_receive failed
> >
> > > [r...@mda-services ~]# rpm -qa | grep java
> > > java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.
On Mon, Apr 06, 2009 at 06:08:54PM -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> John,
>
> On 4/6/2009 5:51 PM, John Oliver wrote:
> > RHEL 5.2, httpd-2.2.3-11.el5_1.3, tomcat5-5.5.23-0jpp.7.el5_2.1
>
> 2.2.3 is pretty old... any chance of upgrading to 2
On 03.04.2009 21:01, Andy Wang wrote:
> Has anyone used the nsapi redirectory to connect SJSWS 7.0 with Tomcat?
> I noted that the documentation all still refers to 6.0, but the README
> on the binaries page is somewhat encouraging:
>
> # nsapi_redirector-1.2.28-sjsws6.1sp11.so is for Sun Java Sy
Hey all,
I have an xp host with a CentOS 5.3 installed with vmware.
I installed tomcat 6.0.18 and I may access my applications from localhost.
However I may not access them through http://{ipAddres}:8080/{appName}
I have port 8080 open, the address attribute on the connector tag is not set
so i
On 07.04.2009 00:08, Christopher Schultz wrote:
> On 4/6/2009 5:51 PM, John Oliver wrote:
>> RHEL 5.2, httpd-2.2.3-11.el5_1.3, tomcat5-5.5.23-0jpp.7.el5_2.1
>
> 2.2.3 is pretty old... any chance of upgrading to 2.2.11? You're nearly
> 3 years out of sync with the state-of-the-art.
++1
mod_proxy_
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: ajp_read_header: ajp_ilink_receive failed
>
> > [r...@mda-services ~]# rpm -qa | grep java
> > java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115
> > gcc-java-4.1.2-42.el5
> > java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
>
> H
Solved. You gave me a clue that helped solve it, though Tomcat could handle
this better (not put '0 POST' in for the method name in the first place).
Sun's implementation of HttpURLConnector apparently creates a new
ChunkedOutputStream every time you call .getOutputStream(). In other words,
On 01.04.2009 09:46, Leon Brouwers wrote:
> Hello,
>
> We have a large number of tomcats (5.5.26) on serveral servers. These
> tomcats communicate with a apache httpd on the same server using
> mod_jk (1.2.26). They all work fine until I restart apache httpd.
> Then randomly and certainly not all
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
On 4/6/2009 5:51 PM, John Oliver wrote:
> RHEL 5.2, httpd-2.2.3-11.el5_1.3, tomcat5-5.5.23-0jpp.7.el5_2.1
2.2.3 is pretty old... any chance of upgrading to 2.2.11? You're nearly
3 years out of sync with the state-of-the-art.
> There is no fire
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
On 4/6/2009 5:42 PM, Dan Armbrust wrote:
> System.setProperty("log4j.defaultInitOverride", "true");
>
> And also, since this is a global JVM variable, one webapp setting this
> property would affect the behaviour of other webapps - but again, it
On Mon, Apr 06, 2009 at 05:42:21PM -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> John,
>
> On 4/6/2009 5:15 PM, John Oliver wrote:
> > [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive
> > failed
> > [Sun Mar 29 04:05:33 2009] [error]
> From: Jonathan Abrams [mailto:jonathanabr...@gmail.com]
> Subject: JasperException and ClassNotFoundException when Tomcat is
> restarted
>
> Thank you if you have any idea what is causing this or how to get
> Tomcat to wait until it is ready before responding to HTTP requests.
No thoughts on ho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 4/6/2009 5:45 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: How to debug Error: listenerStart?
>
>
>> In my webapp, I have a defined first that does this:
>>
>>
>>
>
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: How to debug Error: listenerStart?
> In my webapp, I have a defined first that does this:
>
>
>
> This appears to load my configuration correctly, but I don't see any
> Tomcat messages in my log4j.log file.
What v
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
On 4/6/2009 5:15 PM, John Oliver wrote:
> [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive
> failed
> [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this
> error code: proxy: read response failed from (nu
> If you deploy more than one
> webapp, log4j doesn't attempt to self-configure in the second or any
> subsequent webapps.
>
Just to close out this thread - no big surprise here - I found the bug
in a library that I was deploying in one of my webapps that caused
this behaviour.
Some code was exec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tomas,
On 4/6/2009 4:12 PM, Tomas Rodriguez wrote:
> I wanna know what advantage can I have if I'll install tomcat with
> the mod_jk for work with Apache http?.
There are a number of advantages to using Apache httpd + mod_jk instead
of just Tomcat s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Siddhartha,
On 4/6/2009 1:50 PM, Siddhartha Purkayastha wrote:
> Looks like this should solve my problem -
> HttpSession.setMaxInactiveInterval() ?
That sounds like a good start.
> Are there any implications of using this method?
Yes: the session
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 4/6/2009 2:17 PM, Martin Gainty wrote:
> /WEB-INF/web.xml:
>
> jdbc/jpetstore
> javax.sql.DataSource
> Container
>
>
>--looks for jdbc/jpetstore and finds it here in dataAccess-context.xml--
*sigh*
T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrey,
On 4/6/2009 11:47 AM, Andrey Razumovsky wrote:
> if (connect.getResponseCode() != HttpURLConnection.HTTP_OK) {
> logObj.warn("file " + pack.getPath() + " was not transfered -
> response code " +
> connec
[Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive
failed
[Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this
error code: proxy: read response failed from (null) (localhost)
I get these messages a *lot* in my ssl_error_log Google isn't helping,
and I've had
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 4/2/2009 3:03 PM, Caldarale, Charles R wrote:
>> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
>> Subject: Re: How to debug Error: listenerStart?
>>
>> my webapp dynamically configures log4j with a pattern like this:
>>
>> LogMa
Hi all, does anyone else ever see weird compile and IO errors when
Tomcat is restarted under load, in response to HTTP requests from
robots?
We have a JSP/Servlet based site running multiple Apache Tomcat 5.5
servers on Linux.
We set reloadable to false in our server.xml, and when we update our
c
Hi. for everyone
I wanna know what advantage can I have if I'll install tomcat with the
mod_jk for work with apache http?.
It will be more easy to configurate the tomcat with the virtual directory ?,
because I wanna have in other directory my owner examples and until now I
can't doing that.
b
Not as much unrelated to the topic that my interventoion was - sorry didn't
see it had already been addressed.
On Mon, Apr 6, 2009 at 10:00 PM, Chris Lenart wrote:
> I am using Tomcat 6.0.18 with Eclipse. It says the port is being used.
> Where do I change?
>
>
>
I am using Tomcat 6.0.18 with Eclipse. It says the port is being used.
Where do I change?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
I'll see if I can set up a working example. And I didn't mean to say "proxy,"
not that there is one. We aren't using JK connector. :-)
-Original Message-
From: Jason Smith [mailto:jsm...@infotrustgroup.com]
Sent: Monday, April 06, 2009 1:28 PM
To: Tomcat Users List
Subject: RE: Help with
Jason Smith wrote:
> Just Tomcat, no proxy.
>
> And I agree, that isn't the way you'd want to fix it ultimately, but I was
> experimenting to find out what worked. You'd ultimately like to not see the
> '0' at the beginning of the buffer. I found the place where it was getting
> copied to t
Just Tomcat, no proxy.
And I agree, that isn't the way you'd want to fix it ultimately, but I was
experimenting to find out what worked. You'd ultimately like to not see the
'0' at the beginning of the buffer. I found the place where it was getting
copied to the beginning of the buffer, but
Jason Smith wrote:
> I have intercepted the socket InputStream (in Http11BaseProtocol) and looked
> at the data coming in. It is what I expect ('POST .'). Yes, let me repeat
> that, the data coming in from the socket is good. I've visually inspected
> it, and it matches the spec.
It isn't ju
Something more to consider relating to specifying charsets in meta tags :
It's of course ok that a server sends http headers specifying in what
charset the page is encoded but when the user comes to saving that web page
on local drive there's nothing left that meta tags to inform browsers the
page
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/3/2009 6:43 PM, André Warnier wrote:
> 4) the HTML specs are distinct from the HTTP specs. [...] It also
> seems to be superfluous and confusing considering (1) and (2) above.
> (Like, what if (1) and (4) specify different charsets/encod
Sorry for the spam if you are on both newsgroups. I have been asked to move
this to the user's group rather than the developers group. I still think it's
a developer issue, but I am more interested in actually finding answers than
arguing the point.
I am using a standard UrlHttpConnection to
/WEB-INF/web.xml:
jdbc/jpetstore
javax.sql.DataSource
Container
--looks for jdbc/jpetstore and finds it here in dataAccess-context.xml--
WEB-INF/dataAccess-context.xml
--looks for dataSource and finds it here in dataAccessContext-local
Looks like this should solve my problem -
HttpSession.setMaxInactiveInterval() ?
Are there any implications of using this method?
2009/4/6 Siddhartha Purkayastha
> Hello All -
>
> How is it possible to implement variable session timeouts?
> My use case is: for a set of users with certain proper
Mighty Tornado wrote:
> I added the same entry to context.xml under $CATALINA/conf and it did work.
> Could there be something else wrong?
Did you remove it before trying to add it here?
p
> On Mon, Apr 6, 2009 at 12:30 PM, Pid wrote:
>
>> Mighty Tornado wrote:
>>> JVM: 1.5.0_16Tomcat: 6.0.1
I added the same entry to context.xml under $CATALINA/conf and it did work.
Could there be something else wrong?
On Mon, Apr 6, 2009 at 12:30 PM, Pid wrote:
> Mighty Tornado wrote:
> > JVM: 1.5.0_16Tomcat: 6.0.16 2
> > OS: Mac OS X Leopard
> >
> > Hi,
> >
> > I defined the following context.xml
Hello All -
How is it possible to implement variable session timeouts?
My use case is: for a set of users with certain properties (which in turn
will be stored in the session, say x = 10), I want to have a time out of 30
mins. For others (say with property x = 15), I want to have a timeout of 1
hr
Mighty Tornado wrote:
> JVM: 1.5.0_16Tomcat: 6.0.16 2
> OS: Mac OS X Leopard
>
> Hi,
>
> I defined the following context.xml under META-INF:
>
>
>
> crossContext="true">
>
>
> auth="Container"
>
> description="DB Connection"
>
> name="jdbc/vhousehold"
>
> type="javax.sql
JVM: 1.5.0_16Tomcat: 6.0.16 2
OS: Mac OS X Leopard
Hi,
I defined the following context.xml under META-INF:
In web.xml I have the following:
Connection Pool
jdbc/vhousehold
javax.sql.Datasource
Container
I try to get this data source in my a
Hi list,
I'm pretty sure I'm missing something obvious, but I just can't understand
what the root of problem is.
I try to send file from java to Tomcat6's http servlet. I need to send file
alone (and probably some parameters in request), so I don't wanna mess with
multipart libraries (commons-file
On Apr 6, 2009, at 4:10 AM, André Warnier wrote:
Caldarale, Charles R wrote:
[...]
The metaphysical implications of existing without a trace are
rather intriguing...
I am surprised that you would not have heard of stealth technology.
What do they call a stealthy Tomcat ? a Raptor ?
No t
To stick with the analogy:
Your session's baby part is: FEBA6A8127A69079C79B7A641158CE20 and
that remains the same if with daddy or mommy.
Your session's daddy part is: itchy
and
Your session's mommy part is: scratchy
Enjoy them :)
János
On Apr 3, 2009, at 5:32 PM, Roy McMorran wrote:
J
On Sat, Apr 4, 2009 at 9:08 PM, Caldarale, Charles R
wrote:
> I think I figured out what's going on. Tomcat 5.5 uses an unmodified
> LogFactory from commons-logging, which pokes around for logging mechanisms -
> and finds your log4j.jar inside your webapp. Tomcat 6.0, on the other hand,
> us
> From: Laura Bartolomé [mailto:la...@secways.com]
> Subject: Re: CPU 100% and restart...
>
> How can I take a thread dump???
On a Windows box, jstack is probably the easiest thing to use.
http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstack.html
- Chuck
THIS COMMUNICATION MAY CONTAIN C
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: [OT] Tomcat 5.5 embedded vs Tomcat 6.0.18 embedded
>
> I am surprised that you would not have heard of stealth technology.
> What do they call a stealthy Tomcat ? a Raptor ?
I think it will be the Lightning II; the US Navy passed on th
killbulle wrote:
Hi
i'am actually fighting with a modjk/tomcat 404 issue
if a webapps is stopped it returns a 404 not a 503 so i ihave to configure
404 as a KO error for the modjk
but 404 is a current code for some stupid css ressource or html page miss
so i ask myself why not a 503 web the weba
killbulle wrote:
> Hi
> i'am actually fighting with a modjk/tomcat 404 issue
> if a webapps is stopped it returns a 404 not a 503 so i ihave to configure
> 404 as a KO error for the modjk
> but 404 is a current code for some stupid css ressource or html page miss
> so i ask myself why not a 503 we
Hi,
How can I take a thread dump???
Thanks
Laura
Mark Thomas escribió:
> Laura Bartolomé wrote:
>
>> ps! sorry...
>>
>> it's a Windows 2003 Server with Tomcat 6 and java 1.5.7
>>
>> I don't think the application was delivering a big file but I'll take a
>> look on this
>>
>
> When
Hi
i'am actually fighting with a modjk/tomcat 404 issue
if a webapps is stopped it returns a 404 not a 503 so i ihave to configure
404 as a KO error for the modjk
but 404 is a current code for some stupid css ressource or html page miss
so i ask myself why not a 503 web the webapps is stopped
Re
André Warnier wrote:
> Hi.
>
> In this page :
> http://tomcat.apache.org/connectors-doc/reference/apache.html
> it says
>
> JkLogLevel set the log level between :
>
> * info log will contain standard mod_jk activity (default).
> * warn log will contain non fatal error reports.
> * er
Hi.
In this page : http://tomcat.apache.org/connectors-doc/reference/apache.html
it says
JkLogLevel set the log level between :
* info log will contain standard mod_jk activity (default).
* warn log will contain non fatal error reports.
* error log will contain also error reports.
Laurent SAUVEL wrote:
> Hello all,
>
> I'd like to know why the ServletContext.java file found in the Tomcat
> 6.0.16 or 6.0.18 source code seems to belong to the Servlet 2.4
> specifications whereas Tomcat 6.0.x supports the Servlet 2.5
> specifications:
>
> In this file, we can read:
>
> /
Hello all,
I'd like to know why the ServletContext.java file found in the Tomcat
6.0.16 or 6.0.18 source code seems to belong to the Servlet 2.4
specifications whereas Tomcat 6.0.x supports the Servlet 2.5
specifications:
In this file, we can read:
/**
* Returns the major version of the
hi Roger,
DBCP works the abandonment slightly different. It doesn't 'abandon'
connections unless all connections are in use.
This means you wont get notified of abandoned connections until you are
actually using all, or all are abandoned.
So if you used DBCP, you still might experience the error
This would happen if the application has been shutdown and a new request
happens concurrently.
Are you hot redeploying the application? most likely you are, since the
other scenario would be restarting tomcat.
Filip
Don Millhofer wrote:
Hi, we have an application that was developed using NetB
Caldarale, Charles R wrote:
[...]
The metaphysical implications of existing without a trace are rather
intriguing...
I am surprised that you would not have heard of stealth technology.
What do they call a stealthy Tomcat ? a Raptor ?
--
what you're seeing is correct.
the server did fail over, and by changing the session id, it ensures
that it does not do "fail back"
Filip
Roy McMorran wrote:
Hello all,
I've built a very simple 2-member Tomcat cluster for testing, but I am
unable to get the session replication quite right.
Apr 1, 2009 3:28:42 AM
org.apache.catalina.tribes.transport.nio.NioReceiver socketTimeouts
WARNING: Channel key is registered, but has had no interest ops for the
last 3000 ms.
this is a sign of a thread being stuck, and its confirmed by the session
transfer timing out.
Do a thread dump on the
Mighty Tornado wrote:
> Hi,
> I have an index.jsp page with 3 links to other JSP's.
> These links don't seem to work. I get the 404 error.
>
> Do I have to register the JSP's somewhere similarly to how I create servlet
> mappings?
>
> in the href attribute I tried passing along both relative path
71 matches
Mail list logo