which apache

2006-07-03 Thread Tomcat
Hello I have installed Tomcat and Apache, and both of them works fine, however , tomcat has been installed as standalone and just listen to Apache that came with Tomcat, how I can change it, so Tomcat works with my desired Apache. Thanks for your help

decompile java class

2006-07-25 Thread Tomcat
Hello I am trying to decompile the java class file with javap command but it returns my-class-name.class contains some-other-package so I am unable to decompile it . is any one has experience with javap command ? how can I decompile a class that cotains other package or classes. I am aware

Re: decompile java class

2006-07-26 Thread Tomcat
/26/06, Tomcat <[EMAIL PROTECTED]> wrote: Hello I am trying to decompile the java class file with javap command but it returns my-class-name.class contains some-other-package so I am unable to decompile it . is any one has experience with javap command ? how can I decompile a class that c

decompile java class

2006-08-07 Thread Tomcat
Hello would you pleas help me with this , when I am trying to decompile a class file with javap -c myclass.class I am receiving following error : Error: Binary file myclass contains com.cnsw.reveiw.conf how can I decompile the class file that contain another class , also I want to use it wit

difference between thread and session

2006-08-14 Thread Tomcat
Hello what is the difference between thread and session in tomcat ? I was thinking that they are the same, but in server setting of tomcat manager it shows different thread number to session number in application list. Thanks for help

Multiple apache web servers single Tomcat, how many Connectors are needed?

2006-08-25 Thread tomcat
to a single Tomcat instance (on its own server) but need clarification on the number of Connectors I need to define on the Tomcat side (server.xml). Is it a Connector listening on individual ports for each web server or one Connetor for all web servers? Apache 2.0.59 mod_jk 1.2.18 Tomcat 5.5.17 T

Data source realm, using primary keys (not varchar)?

2005-11-13 Thread tomcat
Hi I'm trying to learn authentication and authorization within a web application, and I think I know the basic stuff an maybe a bit more. I just read the Tomcat howto guide on realm, and especially data source realm. But I think their data base example is a bit strange. They have a

tomcat-apache ajp13 connection problem (answer time)

2005-12-21 Thread tomcat
hello there, i have two servers inside the dmz, one with redhat 9 the other with fedora core 4. the box running with fedora core has tomcat 5.5.9 and apache 2.0.54. the connection is made with ajp13. the redhat 9 has an older apache and java version. these two servers run separated, so each one

Re: tomcat-apache ajp13 connection problem (answer time)

2005-12-26 Thread tomcat
9 the other with > >fedora core 4. the box running with fedora core has tomcat 5.5.9 > >and apache 2.0.54. the connection is made with ajp13. > >the redhat 9 has an older apache and java version. > >these two servers run separated, so each one has all it > >needs

Context files disapearring

2006-04-03 Thread tomcat
Hello, I am using Tomcat 5.5.16 and every now and then, my context.xml files get deleted from the $TOMCAT_HOME/conf/Catalina/localhost directory. This seems to be random and it is becoming very frustrating. Does anyone know what's causing this to happen? and how the problem can be

Re: Context files disapearring

2006-04-03 Thread tomcat
gt; I am using Tomcat 5.5.16 and every now and then, my context.xml files >> get >> deleted from the $TOMCAT_HOME/conf/Catalina/localhost directory. This >> seems to be random and it is becoming very frustrating. >> >> Does anyone know what's causing this

Re: Context files disapearring

2006-04-03 Thread tomcat
I'm running tomcat on Linux machine (FC2) and it is installed in: /usr/local/jakarta/tomcat Aladin > Sounds to me like some other process is responsible for this. Out of > curiosity, what platform are you on (Windows, Linux, etc., ...) and > where is tomcat installed? > >

crossContext breaking class hierarchy?

2006-04-06 Thread tomcat
Hello, I am experiencing a problem with Tomcat and class hierarchies. In particular when an object (which implements interface X) is shared among serveral contexts I am unable to cast the object back into interface X. Here is the setup (for simplicity I'll illustrate this with 2 con

RE: crossContext breaking class hierarchy?

2006-04-06 Thread tomcat
My interface is only in the 2 context specific locations: Application A context a: /WEB-INF/lib/interface.jar Application B context b: /WEB-INF/lib/interface.jar It is not in the Tomcat common or shared lib folders; I've verified this just in case I had a brain cramp. > I've s

RE: crossContext breaking class hierarchy?

2006-04-06 Thread tomcat
Problem sovled. Thanks Tim you got me thinking on the right path. I put the interface.jar in the tomcat shared/lib rather than in the individual context's lib folder. This worked because the jar in the shared/lib folder is common to each of the context's classloader. Putting the int

Re: Spam Score

2008-07-22 Thread tomcat
At 02:38 PM 7/22/2008, you wrote: What is the tomcat mailing list spam score, and why am I unable to send my email to post a question? Patrick Well, your first message that made it in looked like this: X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_RFC_BOGUSMX

Re: need mod_jk for apache http server 2.0.63 - urgent

2008-10-03 Thread tomcat
At 04:57 PM 10/3/2008, you wrote: Hi, I need mod_jk or the comcat connector. I dont know where to get it from. I searched on google but could not find. Basically i would like to connect from tomcat 5.5.9 to apache http server 2.0.63 installed on solaris 10 machine. Could some body tell me

Applet not initiated

2007-03-24 Thread Tomcat
Hello When I am trying to open a very simple applet on my browser it returns "applet not initiated" or "failed to load applet". class file is located in tomcat WEB_INF/classes and I am calling it from ROOT directory and through index.html file. t

Re: Applet not initiated

2007-03-26 Thread Tomcat
folder is protected from client/browser's access, applet classes can't be accessed if they are under WEB-INF. Also use jsp:plugin tag , if you are accessing the Applet from a JSP file. -Rashmi On 3/25/07, Tomcat <[EMAIL PROTECTED]> wrote: class file is located in tomcat WEB_INF/c

session time out

2007-04-30 Thread Tomcat
Hello Does application WEB-INF/web.xml override default conf/web.xml setting? specifically session time out , but want to know if other setting is overriden. and can we disable this through server.xml ? Thanks Adam - To start

Re: session time out

2007-04-30 Thread Tomcat
/web.xml Cheers Adam Martin Gainty wrote: On the http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html also a tcpSelectorTimeout on the Receiver which I believe defaults to 100 sec web.xml (webapp) specific 30 HTH M This email message and any files transmitted with it

Suspected mod_jk connection problems

2007-05-17 Thread tomcat
is up? Configuration: CentOS 4.4 Apache 2.0.52 Jakarta-Tomcat 5.5.7 mod_jk-1.2.8 Thanks, Glenn - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Suspected mod_jk connection problems

2007-05-18 Thread tomcat
is up? Configuration: CentOS 4.4 Apache 2.0.52 Jakarta-Tomcat 5.5.7 mod_jk-1.2.8 Thanks, Glenn At 05:41 PM 5/17/2007, you wrote: I used to work with a Sys Admin whose expertise was chaing the sys admin password when asked about issues such as interconnecting thru Pix he would say let me get ba

Re: I've been trying to unsubscribe from this list for years.

2007-05-18 Thread tomcat
At 11:48 PM 5/17/2007, you wrote: When you send an email to [EMAIL PROTECTED] add the word Unsubscribe to the email's subject and body, that worked for me when I was trying to switch my e-mails. I think it sends you an additional e-mail to confirm unsubscription, reply to that one as well. The

war file name

2007-05-29 Thread Tomcat
Hello there is a directive in server.xml or context file, which force us having war file name be the same as context file or the same as name of directory which war file unpacked, would you please let me know which directive it is. Thanks Adam ---

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread tomcat
At 01:30 PM 10/4/2007, you wrote: Gabe, That is great. yes, It is sending mails to junk folder. Thanks a lot lol. How can I avoid it ? why does gmail treats this mail as spam? We were palnning to move our application to a new server. I had written a build script using perl. Every thing went fin

Re: Best Linux distribution

2007-11-15 Thread tomcat
Agreed! At 06:19 AM 11/15/2007, you wrote: And that is the correct answer. On Nov 15, 2007 5:54 AM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Andrew Hole [mailto:[EMAIL PROTECTED] > > In your opinion what is the best LINUX distribution for a server with > > a

ajp advantages over http connector

2007-06-09 Thread Tomcat
Hello is there any advantage using ajp over http connector ? what are those advantages? Cheers Adam - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: How do I unsubscribe ?

2007-07-12 Thread tomcat
gt; From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 11, 2007 5:25 AM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: Re: How do I unsubscribe ? > > [EMAIL PROTECTED] wrote: > >> Hi, >> >> Is there an alternative way to unsubscribe from

RE: Legal Risk of Using Tomcat

2007-09-07 Thread tomcat
ubt there's anything to worry about there, because Tomcat > has been written as open source from the beginning, and > nobody has ever > claimed patent rights over it. > You are right - I think this is the primary concern. Yes, most likely the M$ vs. Linux and the whole SCO vs Li

Re: pls unsubscribe my name from tomcat users group

2008-03-07 Thread tomcat
Please use a mail client that you can read email headers in. The unsubscribe address is in your email header from the listgroup. List-Unsubscribe: <mailto:[EMAIL PROTECTED]> Cheers! At 12:19 PM 3/7/2008, you wrote: pls unsubscribe [EMAIL PROTECTED] from tomcat uers

multiple truststores

2009-10-16 Thread tomcat
able to use "Web Application 1". People getting a connection through port 444 should only be able to use "Web Application 2". How can i configure this? I hope I wont need to hae two tomcat instances running for this. Thank you and wish you

requested resource not available

2009-05-12 Thread tomcat
I am running Tomcat 5.5.26, Java 1.6.0_13, and Centos 5.2 64 bit. I am really stumped, getting "The requested resource not available". I Googled and found quite items on this topic and everything points to an incorrect path. I have checked all the paths I can find, and am not f

RE: requested resource not available

2009-05-12 Thread tomcat
Thank you for your help, Chuck. I get the message when trying to access the application through a browser. I did try with and without the firewall enabled on the server, and nothing changed. I am not sure I have Tomcat logging set up correctly, so I have not learned anything there. I am brand

RE: requested resource not available

2009-05-12 Thread tomcat
12 May 2009 15:11:15 -0500 "Caldarale, Charles R" wrote: >> From: tom...@nym.hush.com [mailto:tom...@nym.hush.com] >> Subject: RE: requested resource not available >> >> I am not sure I have Tomcat logging set up correctly, >> so I have not learned anything t

RE: requested resource not available

2009-05-12 Thread tomcat
act same package on my development box with no problems. The preconfigured installation of Tomcat does appear (to me at least) to follow the deployment guidelines on the link you sent. On Tue, 12 May 2009 15:28:50 -0500 "Caldarale, Charles R" wrote: >> From: tom...@

Tomcat 6.0.20 "unable to create new native thread"

2010-05-19 Thread tomcat
Hi all, we have a problem with our tomcat 6.0.20 which throws occasionally the following exception: java.lang.OutOfMemoryError: unable to create new native thread Information about the system: - Win2003 Server Standard Edition 32 bit - 2GB RAM - Apache 2.2.13 with open SSL and mod_jk 1.2.28

Tomcat latency

2011-05-23 Thread tomcat
g CATALINA_BASE: /opt/tomcat6 Using CATALINA_HOME: /opt/tomcat6 Using CATALINA_TMPDIR: /opt/tomcat6/temp Using JRE_HOME: /usr/lib/jvm/java-6-sun/jre Server version: Apache Tomcat/6.0.20 Server built: May 14 2009 01:13:50 Server number: 6.0.20.0 OS Name:Linux OS Version: 2

Re: starting tomcat

2014-06-11 Thread tomcat
Check this file C:\Users\francesco\.keystore exist or not ? 在 2014年6月11日,下午9:30,Francesco Viscomi 写道: > C:\Users\francesco\.keystore

Re: Tomcat available memory

2015-12-11 Thread tomcat
(218624K)] 159969K->71550K(283136K), 0.0305672 secs] [Times: user=0.02 sys=0.02, real=0.03 secs] I want to print like below in log file: Free memory: 244.47 MB Total memory: 512.00 MB Max memory: 910.50 MB What parameters need to set in JVM option of Tomcat to achieve this? You need to look at

Re: Tomcat 8.0.30 Session lost

2016-01-08 Thread tomcat
On 08.01.2016 10:07, Thomas Scheffler wrote: Hi, I have a very rare problem regarding session handling. It is reproducible only on a single server environment. Of cause this is the productive server. I use container authentication and for simplicity 'tomcat-user.xml'. Login i

Re: Tomcat 8.0.30 Session lost

2016-01-11 Thread tomcat
Thomas, On 11.01.2016 11:30, Thomas Scheffler wrote: Am 08.01.16 um 17:02 schrieb Christopher Schultz: Tomcat will change the session identifier when the user authenticates. If you are creating a session before login, you'll see that the session id changes when authentication is succe

Re: Tomcat 8.0.30 Session lost

2016-01-12 Thread tomcat
her #1, #2 or #3 does not harm security at all but will fix this bug in Tomcat. I also tried to use authenticate() on the request, but instead of using the last login() credentials it forced the use of Basic Authentication. So really I do not see a option left on the developer side, how to use log

Re: [EXTERNAL] Re: Problem starting Tomcat 7.0.59 as a Windows Service

2016-01-12 Thread tomcat
On 12.01.2016 18:29, Mark Thomas wrote: On 12/01/2016 17:10, McDermott, Becky wrote: I am definitely not a Java/Tomcat expert so I appreciate the info. I have 10GB of RAM and only 1.2 GB is in use when I try to start the tomcat service. OK. You should be OK then but you never know. One

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-13 Thread tomcat
, Rahul Kumar Singh From: David kerber Sent: Tuesday, January 12, 2016 6:07 PM To: Tomcat Users List Subject: Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79] On 1/12/2016 12:01 AM, Rahul Singh wrote

property replacement in WEB-INF/web.xml

2016-01-13 Thread tomcat
Hi gurus. Under tomcat 8 and Linux, I am deploying an externally-provided web application, which in its web.xml configuration file, has a parameter like this : logroot /var/log/tomcat8 This works, but I would like to make this more "generic",

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-14 Thread tomcat
Hi. I have not followed this thread in details, but did you check this : http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Common_Attributes --> maxPostSize The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The limit can

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread tomcat
On 19.01.2016 13:53, Anand wrote: I am trying to install Tomcat 8.0.18 from location: http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18-windows-x64.zip JDK Used from below location http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread tomcat
On 19.01.2016 14:36, Anand wrote: I tried to start the tomcat from command line by executing the startup.bat. Ok. Again, I am not the ultimate expert, but the key error below seems to be around Caused by: java.lang.NoSuchMethodError: org.apache.naming.NamingContext.setExceptionOnFailedWrite

Re: switching between Java8 and Java 7 under tomcat7 leads to error

2016-01-26 Thread tomcat
On 26.01.2016 10:19, Christoph P.U. Kukulies wrote: Am 26.01.2016 um 09:36 schrieb Christoph P.U. Kukulies: Am 25.01.2016 um 19:34 schrieb George Sexton: On 1/25/2016 3:52 AM, Christoph P.U. Kukulies wrote: Thanks. Will give that a try. How can I tell, which java engine Tomcat is actually

mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, the following mod_jk binaries are available : tomcat-connectors-1.2.40-windows-i386-httpd-2.0.x.zip 2014-04-14 21:40 130K ZIP compressed archive tomcat-connectors-1.2.40-windows-i386-httpd-2.2

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
2016-01-28 15:00 GMT+03:00 André Warnier (tomcat) : Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, the following mod_jk binaries are available : tomcat-connectors-1.2.40-windows-i386-httpd-2.0.x.zip 2014-04-14 21:40 130K ZIP compressed archive

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
On 28.01.2016 14:44, Konstantin Kolinko wrote: 2016-01-28 15:00 GMT+03:00 André Warnier (tomcat) : Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, the following mod_jk binaries are available : tomcat-connectors-1.2.40-windows-i386-httpd-2.0.x.zip

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
On 28.01.2016 15:55, Konstantin Kolinko wrote: 2016-01-28 16:44 GMT+03:00 Konstantin Kolinko : 2016-01-28 15:00 GMT+03:00 André Warnier (tomcat) : Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, the following mod_jk binaries are available

Re: HTTP communication

2016-01-29 Thread tomcat
On 28.01.2016 18:38, Maxim Neshcheret wrote: I have a problem with my java application related to HTTP communication. Application description: 1. Client – server. Server is running in servlet container. We use Tomcat. Client use java HTTP library to communicate with the server. 2

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread tomcat
On 01.02.2016 17:55, Bomma, Nithun wrote: Hello, We are using Tomcat 6.x for one of our application. It was working fine until today morning and all of sudden we tomcat application was not responding and was throwing below errors: Feb 1, 2016 9:00:16 AM

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread tomcat
On 01.02.2016 18:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nithin, On 2/1/16 11:55 AM, Bomma, Nithun wrote: We are using Tomcat 6.x for one of our application. It was working fine until today morning and all of sudden we tomcat application was not responding

Re: Http 403: access to requested resource denied

2016-02-03 Thread tomcat
Quick note - please post at the bottom or inline. See item 6 of the Tomcat users mailing list here: http://tomcat.apache.org/lists.html On 2/3/2016 8:20 AM, prashant sharma wrote: That's true. But we are not doing any authn/authz in our application. Its just a simple webapp that exposes 1 e

Re: Http 403: access to requested resource denied

2016-02-04 Thread tomcat
On 03.02.2016 22:17, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/3/16 1:50 PM, André Warnier (tomcat) wrote: On 03.02.2016 19:07, David kerber wrote: On 2/3/2016 12:50 PM, prashant sharma wrote: On 3 Feb 2016 17:42, "David kerber" wrote

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-08 Thread tomcat
On 08.02.2016 19:41, Jason Ricles wrote: I have an application that sends binary websocket messages between a class and the web application using a websocket server written in java. The data being sent from the java class is encoded in a binary buffer with the bytes in ISO8859_1. However, when I

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-08 Thread tomcat
apache.org/lists.html#tomcat-users #6 2) this is now very confusing. Are you talking about data flowing from the server to a bowser client, or from a browser client to the server, or both, and in what order ? (maybe a little ASCII-graphic schema would help) Anyway, if you are sending/receiving

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-08 Thread tomcat
On 08.02.2016 23:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 2/8/16 3:43 PM, Mark Thomas wrote: On 08/02/2016 18:41, Jason Ricles wrote: I have an application that sends binary websocket messages between a class and the web application using a websocke

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-09 Thread tomcat
On 09.02.2016 15:06, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/8/16 6:25 PM, André Warnier (tomcat) wrote: On 08.02.2016 23:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 2/8/16 3:43 PM, Mark Thomas wrote: On

Re: Async servlet timeout behaviour

2016-02-11 Thread tomcat
On 11.02.2016 12:07, Thomas Boniface wrote: Hi, I'm using async servlet with a timeout configured to 300ms naive question : is that not awfully short, if this relates to some over-the-Internet communication ? but I can observe in live environnement some big differences with the actual appl

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
Sorry, I lost the original message, so I can't respond in-thread. I only saw the last message, but to that, isn't this what the Op is asking for : http://tomcat.apache.org/tomcat-7.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html No matter which jar these things are in

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
On 12.02.2016 20:08, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/12/16 1:11 PM, André Warnier (tomcat) wrote: Sorry, I lost the original message, so I can't respond in-thread. I only saw the last message, but to that, isn't this what the Op

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
rily trust the code which is (directly) calling you. But you would trust it if you were sure that it is the original Tomcat code. 2) if I remember correctly, a HttpServletRequest object is immutable, so nobody can have modified the original data of the request, as it came in and was parsed by

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
On 12.02.2016 21:00, Leo Donahue wrote: On Feb 11, 2016 4:56 PM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: I would like to have a jar file in tomcat/lib that can be called from any of the running web apps. I need for the code in the jar to be

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-15 Thread tomcat
On 15.02.2016 11:06, Christoph Nenning wrote: Perhaps I¹m naïve, but I was looking for a Tomcat provided ³getCurrentURL ()² call, and assumed that nothing else could have that. :-) Thank you for the SecurityManager suggestion, I hadn¹t thought about that. I¹ll look in to how much of a

Re: Block urls using X-forwaed-for

2016-02-15 Thread tomcat
On 15.02.2016 13:03, Dhanushka Parakrama wrote: Hi Guys I have a Tomcat instance behind the load balancer (LB) , LB will pass the client ip address to backed tomcat instance using *X-forward-for* header . I basically want to filter user traffic based on the *X-forwaed-for* header in tomcat

Re: Close_wait state

2016-02-18 Thread tomcat
On 18.02.2016 16:50, Elias, Michael wrote: Hi - We are running tomcat version 7.0.50. Starting 2 days ago are application stopped responding to requests. Our investigation showed us that we are not closing connections. We see after 300 tcp sessions, for the tomcat PID, in CLOSE_WAIT state out

Re: Sessions number issue

2016-02-19 Thread tomcat
oblem, rather than tomcat. What I do not really understand here, is that the (partial) information provided so far seems to at least indicate that this is a JBOSS site and a RedHat customer; that RedHat does the development and support of JBOSS and has several JBOSS support forums available; and

Re: context doesnt pick up

2016-02-21 Thread tomcat
On 20.02.2016 23:40, Me Self wrote: Hi All When I put the context in server.xml it works fine, but if I put the same context tag in a xml file under /conf/Catalina/localhost/test.xml then tomcat doesn't pick it up. I would rather want to use the latter. The test.xml is Its a set up

Re: Sessions number issue

2016-02-21 Thread tomcat
x27;s question here: http://marc.info/?l=tomcat-user&m=145530442623563&w=2 In general, I went through the archives and read all of the threads. First, you're not reporting a version of tomcat. Second, you haven't verified the code is creating sessions by inspecting it. Third

Re: Tomcat memory

2016-02-22 Thread tomcat
that you already received. All the information is there. In my case, the Tomcat is running on windows and I don't have setenv.bat or sentenv.sh or even catalina.bat and catalina.conf does not have the OPT config for min and max. HTH Thank you -Gokul -Original Message- From: Olaf

Re: Tomcat7/8 - Leap year compliant

2016-02-22 Thread tomcat
On 22.02.2016 11:40, Shree, Shubha wrote: Hi , As 2016 is a Leap year, can you please confirm is Tomcat7 and Tomcat8 leap year compliant so that there should not be any impact on the applications running on tomcat 7/8 . Maybe you could define "leap year compliant" for us,

Re: Tomcat memory

2016-02-22 Thread tomcat
ing to as "application". For the OS, the JVM is an application. For the JVM, Tomcat is the application. And for Tomcat, the web applications (webapps) are the applications. The JVM is one process that is running on a machine, under an OS. That OS probably imposes limits on how much resourc

Re: Tomcat memory

2016-02-23 Thread tomcat
specific case, as OS is 64bit and total amount of memory available is 6GB) unless the memory consumption by other processes does not get impacted or grows near 5GB - 6GB limit. From my earlier posts --- i. It is a Tomcat / Application question as well, as memory default can be configured in

Re: HTTP CONNECT method not being accepted by Tomcat 7

2016-02-24 Thread tomcat
. I extended my code to accept the CONNECT, however the request never seems to get past the front door Tomcat. None of my code is ever called, so I have to assume that I have a setting wrong in Tomcat. Everything I can find online discusses how you shouldn’t have a Tunneling proxy in your

Re: HTTP CONNECT method not being accepted by Tomcat 7

2016-02-24 Thread tomcat
On 24.02.2016 23:30, André Warnier (tomcat) wrote: On 24.02.2016 22:39, Christopher Schultz wrote: Mark, On 2/24/16 8:44 AM, mark.lo...@cyrenllc.com wrote: Hi, I have written a PKI proxy servlet to support a tool that needs access to my customer’s secured web site, but the application does

Re: Cors-Filter

2016-02-25 Thread tomcat
On 25.02.2016 22:59, RICHARD DOUST wrote: Hi, I’m running Tomcat 7.0. Can’t find the version.bat file, so I don’t know more than that. It’s installed on a Windows computer running Windows Server 2003 DataCenter Edition. (How’s that for refusing to upgrade?) Anyway, it’s a client’s box. I’m

Re: Cors-Filter

2016-02-26 Thread tomcat
Hi. On this list, it is preferred to not top-post, but respond in-line or below the previous intervention. Re : http://tomcat.apache.org/lists.html#tomcat-users -> important -> 6 It makes it easier to follow the conversation, and for people with small screens, to avoid scrolling up an

Re: Windows Authentication

2016-03-03 Thread tomcat
On 04.03.2016 07:16, Chanchal Kariwala wrote: I am using Tomcat 8.0.32 and I have followed the guide given at - https://tomcat.apache.org/tomcat-8.0-doc/windows-auth-howto.html#Tomcat_instance_(Windows_server) - https://dzone.com/articles/do-not-publish-configuring-tomcat

Re: Windows Authentication

2016-03-04 Thread tomcat
station OS version, browser settings, Domain Controller settings, Domain networkn policies, membership of Domain or not, etc.). Thanks, Chanchal R. Kariwala Product Engineer Seclore Technology chanchal.kariw...@seclore.com www.seclore.com On Fri, Mar 4, 2016 at 1:20 PM, André Warnier (tomc

Re: Windows Authentication

2016-03-04 Thread tomcat
ant to go over that thread to see it can give you pointers. [1] https://github.com/dblock/waffle/issues/268 -Original Message- From: Chanchal Kariwala [mailto:chanchal.kariw...@seclore.com] Sent: Friday, March 04, 2016 2:52 AM To: Tomcat Users List Subject: Re: Windows Authentication Bu

Re: Tomcat Training

2016-03-04 Thread tomcat
On 04.03.2016 17:58, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/3/16 11:39 AM, Brookbanks, Paul wrote: Could someone in the Toronto, Ontario, Canada area recommend a place that provides tomcat administrative training. I would consider online training

Re: Windows Authentication

2016-03-07 Thread tomcat
.. In response to *André Warnier*, I tired that to no avail :( In response to *Felix Schumacher*, It is not a problem with the webapp. I have tried both of what you asked. Tomcat Keytab is authenticated successfully. And KRB debug shows success for the keytab. So here are my additional findings ov

Re: Windows Authentication

2016-03-07 Thread tomcat
On 07.03.2016 11:39, André Warnier (tomcat) wrote: On 07.03.2016 06:10, Chanchal Kariwala wrote: The article which suggested that NTLM is being used by Winlogon instead of Kerberos : http://stackoverflow.com/questions/5597573/how-to-find-if-ntlm-or-kerberos-is-used-from-www-authenticate

Re: Advice on Cluster in one machine

2016-03-08 Thread tomcat
On 08.03.2016 14:19, Edwin Quijada wrote: Hi! I am new using Tomcat so I have a question about performance. I have installed a cluster with 2 tomcats and apache webserver like proxy in front of Tomcat cluster but this whole thing is in one server, somebody tell me that is not useful beacuse

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread tomcat
ately Joleen, you are here encountering the typical "irresistible force against unmovable object" paradigm. Every programmer in the world suffers from hubris and laziness. Java and Tomcat programmers are no different. Logging is boring, and it is thus not something that the average progra

Re: Need Help: - jk doesn't work after upgrade to 1.2.40 from 1.2.23

2016-03-12 Thread tomcat
On 12.03.2016 15:04, ZHAO Eric wrote: Hello, I am new to Tomcat Connectors, we are trying to upgrade the existing mod_jk 1.2.23 to 1.2.40 for IPV6 configuration. But we always got the following error in jk.log with 1.2.40, we don't know if anything need to adjust after upgrade to th

Re: [COMMERCIAL] Re: Need Help: - jk doesn't work after upgrade to 1.2.40 from 1.2.23

2016-03-14 Thread tomcat
tting, also this setting worked before. Do you have several minutes to check the setting in our server for mod_jk? Appreciate for your time. Best Regards, Eric. -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Saturday, March 12, 2016 10:18 PM To: users@tomcat

Re: porting jsvc startup script from init.d to systemd tomcat.service, resolved

2016-03-19 Thread tomcat
Daniel, first of all, stop top-posting (this applies to both of you). This is not the style of posting desired on this list. See http://tomcat.apache.org/lists.html#tomcat-users, #6. Secondly, the original poster (lyallex) wants to run Tomcat under Linux, without a front-end, as a webserver

Re: porting jsvc startup script from init.d to systemd tomcat.service, resolved

2016-03-19 Thread tomcat
On 19.03.2016 22:06, Lyallex wrote: ... I have it working now, I'd be glad to advise if required Yes, please describe your solution. With the increasing footprint of systemd, I am sure that this information will be helpful to other tomcat users, when they search the list archives.

Re: Tomcat port listening as SYSTEM

2016-03-28 Thread tomcat
On 28.03.2016 16:37, SUSIL SAHU wrote: netstat -ab | grep -B 1 "java" | grep "8080" | grep "LISTEN" How about netstat -ab | grep -A 1 "8080" | grep -A 1 "LISTEN" | grep -B 1 "java\.exe" - To unsubscribe, e-mail: users-unsub

Re: Tomcat Windows Services issue

2016-04-07 Thread tomcat
On 07.04.2016 00:14, Saurav Maulick wrote: Hi All, I am using tomcat 5.5.28. Before anything else, you do realise that Tomcat 5.5 was archived in 2012, do you ? And that the people developing Tomcat, as well as the experts available on this users list, are volunteers who do this on their

Re: Tomcat Windows Services issue

2016-04-11 Thread tomcat
On 10.04.2016 22:14, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Saurav, On 4/7/16 11:24 AM, Saurav Maulick wrote: On Thu, Apr 7, 2016 at 6:11 AM, André Warnier (tomcat) wrote: On 07.04.2016 00:14, Saurav Maulick wrote: Hi All, I am using tomcat 5.5.28

Re: Replacing default servlet using url-mapping

2016-04-13 Thread tomcat
Maybe also read this for details : http://wiki.apache.org/tomcat/HowTo#How_do_I_make_my_web_application_be_the_Tomcat_default_application.3F I have read the answers on these two links: http://stackoverflow.com/questions/4140448/difference-between-and-in-servlet-mapping-url-pattern

Re: Tomcat 8 uses high CPU

2016-04-13 Thread tomcat
On 13.04.2016 13:55, Josep M Beleta wrote: > >Could I find a workaround? Maybe for the meantime, you could try another Connector protocol ? http://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Common_Attributes -> protocol Note: I am not an expert, and not sure that in this p

Re: Tomcat 8 uses high CPU

2016-04-13 Thread tomcat
On 14.04.2016 03:21, David Kerber wrote: On 4/13/2016 6:04 PM, Josep M Beleta wrote: Following André suggestion I replaced the connector protocols, both for HTTP and AJP ports, to force NIO.2. Now Tomcat is working for seven hours without any problem. My findings until now are: 1. It is

  1   2   3   4   5   6   7   8   9   >