Hello, im running an app that has a class that implements
ServletContextListener (Server class), on that class i create a thread of
Listener (that implements Runnable)
Listener starts a ServerSocket that listen on a port, and in a periodically
manner, this app receives a string, parses the stri
On 5/23/2011 6:50 AM, Martin Knoblauch wrote:
Hi,
while moving an application from Tomcat 5.5 to Tomcat 6 I found some
differences in clustering, that I could not resolve myself:
e. G. What happened to replicationMode, ackTimeout waitForAck? In TC 5.5 I had:
channelSendOptions
h
Hi Martin,
> 3)webapp (everything found in WEB-INF/lib and WEB-INF/classes)
>
> you are using system classloader to loaf WEB-INF/lib jar
> use the webapp classloader
So according to this, the servlet as well as the classes from
WEB-INF/lib are loaded with the same classloader?
What I did in the s
> From: Clemens Eisserer [mailto:linuxhi...@gmail.com]
> Subject: Class.forName doesn't find classes located in WEB-INF/lib
> I have a servlet which dynamically loads classes from jar-files
> located in WEB-INF/lib/,
Do you do your own classloading, or let Tomcat's classloaders do it? If the
f
OK, thanks. I'll keep plugging away at it.
-S
On 6/6/2011 5:21 PM, ma...@apache.org wrote:
Seth Lenzi wrote:
I'm using Tomcat v7.0.14, Apache v2.2.17, and mod_jk v1.2.30.
The Servlet I have does not implement CometProcessor. It's just a
regular HttpServlet which creates an AsyncContext
Hi,
I have a servlet which dynamically loads classes from jar-files
located in WEB-INF/lib/,
however tomcat somehow seems to ignore those jar-files.
in WEB-INF/lib/Notepad.jar there is a class Notepad.class (without any package),
however loading that class yields:
Loading Application Class: Note
Seth Lenzi wrote:
>
>I'm using Tomcat v7.0.14, Apache v2.2.17, and mod_jk v1.2.30.
>
>The Servlet I have does not implement CometProcessor. It's just a
>regular HttpServlet which creates an AsyncContext from the
>HttpServletRequest object. Like the example Servlet at this page,
>http://develop
I'm using Tomcat v7.0.14, Apache v2.2.17, and mod_jk v1.2.30.
The Servlet I have does not implement CometProcessor. It's just a
regular HttpServlet which creates an AsyncContext from the
HttpServletRequest object. Like the example Servlet at this page,
http://developerlife.com/tutorials/?p=14
Seth Lenzi wrote:
Anyone here have any experience with asynchronous servlets under a
Tomcat that's linked to Apache via mod_jk? I have an asynchronous
servlet that's working nicely when accessed directly from Tomcat, but,
when I access it by going through Apache and mod_jk the
ServletRequest.
Anyone here have any experience with asynchronous servlets under a
Tomcat that's linked to Apache via mod_jk? I have an asynchronous
servlet that's working nicely when accessed directly from Tomcat, but,
when I access it by going through Apache and mod_jk the
ServletRequest.startAsync() functi
Hi Tomcaters,
I try to implement a cluster (tomcat 7, 2 instances) but I get some problem.
I have a simple application, myapp, in which the web.xml contains the
element.
I wrote the element in the server.xml, from the documentation.
When I start tomcat, I get this debug :
I don't have speci
Hey,
I use Tomcat's JDBC pool (tomcat-jdbc.jar)
sorry, I haven't quite understood why shouldn't I use the
ValidationInterval="3" (30 seconds) string on my configuration..
On tomcat's documentation, it says that testonborrow=true and
validationQuery=SELECT 1 were part of the DBCP , and the
Valid
On 06/06/2011 15:25, Remon Sadikni wrote:
> Dear Tomcat-Developers and Users,
>
> I think there is an error in the Tomcat 6.0 logging documentation with
> log4j:
> http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j
>
> For every appender there is a layout missing and in front of
> c
On 06/06/2011 15:09, Christopher Schultz wrote:
> David,
>
> On 6/2/2011 8:12 AM, David kerber wrote:
>> I would think overriding Integer.parseInt(), or adding an equivalent
>> method to the code section that loads the various configuration files
>> would be the most efficient way to do this globa
>-Original Message-
>From: Nash [mailto:iamlegen...@163.com]
>Subject: About JAVA_HOME!
>
>Hello!
>I am using tomcat under RHEL5.4 and I haven't build JAVA_HOME
>environment variable. However, the tomcat 6.0.32 can run normally. Why?
>Thank you for your attention.
>Best wishes!
>
>2011-06-0
Hello!
I am using tomcat under RHEL5.4 and I haven't build JAVA_HOME environment
variable. However, the tomcat 6.0.32 can run normally. Why?
Thank you for your attention.
Best wishes!
2011-06-06
Nash
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 6/6/2011 9:56 AM, הילה wrote:
> I've set testonborrow, validationquery and validationinterval - and it did
> the trick. After ESX migration or just disconnect and reconnect of the
> network card, the application recovers by itself.
Note that
Dear Tomcat-Developers and Users,
I think there is an error in the Tomcat 6.0 logging documentation with
log4j:
http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j
For every appender there is a layout missing and in front of
conversionPattern there is missing "layout.". So for e
Christopher Schultz wrote:
...
For whatever reason, httpd wants to send a
content-type and makes the default (text/plain) explicit for you if none
is present.
..
per RFC 2616 :
7.2.1 Type
...
Any HTTP/1.1 message containing an entity-body SHOULD include a Content-Type header field
defining t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 6/2/2011 8:12 AM, David kerber wrote:
> I would think overriding Integer.parseInt(), or adding an equivalent
> method to the code section that loads the various configuration files
> would be the most efficient way to do this globally.
Of c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
On 6/3/2011 9:43 AM, Kevin Claver wrote:
> When the custom error servlet fails to display, I get the stock tomcat http
> 500 error page.
>
> If I look at the access log, I see the 500 error:
>
> 192.168.xxx.xxx - - [02/Jun/2011:13:53:14 -060
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 6/3/2011 5:18 PM, Pid wrote:
> On 03/06/2011 14:50, Ivo Kammerath wrote:
>
>> Is this something I can do myself, If yes how can I do this? Is there
>> some kind of content management behind the general web pages or is this
>> simply static co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 6/2/2011 4:02 PM, André Warnier wrote:
> As others already mentioned, setting the proper header at the Tomcat
> webapp level would be the best solution (and a "clean" application
> should do that anyway).
+1
The lack of a header being set
Thanks :]
I've set testonborrow, validationquery and validationinterval - and it did
the trick. After ESX migration or just disconnect and reconnect of the
network card, the application recovers by itself.
Thanks
Hila
2011/6/6 Christopher Schultz
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 6/1/2011 5:14 PM, הילה wrote:
> when using the string
> testonborrow="true"
> do I need to use it alone?
It is not effective alone. In fact, testOnBorrow="true" is the default,
oddly enough.
http://commons.apache.org/dbcp/configuration.html
The Apache Software Foundation (ASF)'s Travel Assistance Committee (TAC) is
now accepting applications for ApacheCon North America 2011, 7-11 November
in Vancouver BC, Canada.
The TAC is seeking individuals from the Apache community at-large --users,
developers, educators, students, Committers, a
2011/6/6 Adib :
> Hi,
>
> I have noticed that tomcat7 by default has two log files one called
> localhost.DATE.log and one called localhost_acces_log.DATE.txt it is
> pretty clear to me what the access log file is but what is the purpose
> of the localhost.DATE.log is to print out log messages from
Hi,
I have noticed that tomcat7 by default has two log files one called
localhost.DATE.log and one called localhost_acces_log.DATE.txt it is
pretty clear to me what the access log file is but what is the purpose
of the localhost.DATE.log is to print out log messages from all apps
deployed to the l
28 matches
Mail list logo