Re: JSTL

2005-11-28 Thread Lists
Try this. download : http://cvs.apache.org/builds/jakarta-taglibs/nightly/ In unix gzip -c ~/dls/jakarta-taglibs-20051122.tar.gz | tar xvf - mv jstl.jar and standard.jar (from jakarta-taglibs/standard/lib/) to $CATALINA_HOME/shared/lib Now its available to all your webapps.. This would r

Re: JDBC/MySQL user login goes stale

2005-11-29 Thread Lists
This is an interesting problem. But first try setting autoReconnect=true in your connections string. If you continue to experience a timeout.. Check the logs, and see what specifically is happening. You may be experiencing an exhaustion of connections not being released properly. If

Re: JSP on apache

2005-11-29 Thread Lists
Mukesh, I would use tomcat with Apache to accomplish this... Or jetty. the links are below: To integrate the Tomcat server processes with the Apache HTTP server we need the mod_jk module, which implements the interface between Tomcat and Apache, combined with some small steps to configur

RE: Coyote connector and documentation..

2008-07-29 Thread Lists
Ok thats great, I think i came across the 4.1 connector docs by googling and wasnt able to navigate to that page easily! Thanks. Dan - Original Message From: Tomcat Users List To: Tomcat Users List Subject: RE: Coyote connector and documentation.. Date: 28/07/08 16:52 > > From

Does the http connector have any kind of debug logging?

2008-08-01 Thread lists
Hi, I've been trying to enable debug logging on my http connector, but it never seems to go anywhere. ( Tomcat 5.5 ) I tried debug="4" in the connector but that didnt seem to generate something. Is there a full class name for the connector i can use, and set that to DEBUG in the log4j perhaps?

Tomcat - threads / throughput limits?

2007-11-08 Thread lists
Hi, We have an architecture where we have many tomcat app servers load balanced by apache at the front. In resolving our current bottleneck i used JProfiler to see what the tomcat applications were doing and when under high load there are a lot of threads which are blocked on this: org.apache.to

Re: Tomcat - threads / throughput limits?

2007-11-08 Thread lists
> > Have you tried running your profiler against a tomcat not doing ANY > requests? > > I agree with Jim on this one - These are threads WAITING on a > connection... > and not doing anything. > > Have a look in tomcat manager, and then you can see how many 'free' > connections > you have. > > We

CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
Hi, We have a Tomcat app that is loadbalanced by hardware. I have 4 boxes available in our test env, all of which vary slightly but not massively in spec. Anyway I moved from 2 tomcat instances on each machine ( listening on different ports ) down to 1 and I noticed for the same load the cpu uti

Re: CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
> My guess (and that's all it is) is that you have eliminated much of the > context-switching overhead that two instances would have compared to one. Ah I see. I guess i can look at that with mpstat and look at things like thread migrations etc. Important because if we install more CPU's i gues

Re: CPU usage quirk with multiple tomcat instances

2008-05-06 Thread Lists
- Original Message From: Tomcat Users List To: Tomcat Users List Subject: Re: CPU usage quirk with multiple tomcat instances Date: 04/05/08 12:49 > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Da, > > Lists wrote: > |> My guess (and that's a

Re: CPU usage quirk with multiple tomcat instances

2008-05-08 Thread Lists
we use sar and look at cpu utilisation.. - Original Message From: Tomcat Users List To: Tomcat Users List Subject: Re: CPU usage quirk with multiple tomcat instances Date: 07/05/08 08:13 > btw, how do you measure it? vmstats? top? > > On Wed, May 7, 2008 at 9:40 AM, Dan Keeley

Re: CPU usage quirk with multiple tomcat instances

2008-05-12 Thread Lists
no; We run sar and capture data every 5 seconds. - Original Message From: Tomcat Users List To: Tomcat Users List , Lists <[EMAIL PROTECTED]> Subject: Re: CPU usage quirk with multiple tomcat instances Date: 08/05/08 10:21 > but sar only shows you 10 minute averag

Re: Configuring second tomcat instance on same box

2009-09-17 Thread lists
before yo go lambasting about the inner workings of email, read the RFC. Now we've all made the mistake of changing subject lines. So can we please move on now Thanx Sent via BlackBerry from T-Mobile - To unsubscribe, e-mail:

Re: Tomcat hangs on Startup

2009-09-22 Thread lists
Path perhaps ? What's defined for java_home ? Sent via BlackBerry from T-Mobile - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Keepalives with tomcat 5.5 http connector?

2010-06-09 Thread lists
Hi, Having done some packet tracing with tomcat6 vs tomcat5.5 it seems that the 5.5 http connector doesnt support keepalives. Is that right? The doco is unclear, however i did read somewhere, that the "connectionTimeout" in tomcat5.5 is used for the keepalive timeout? However I cant get this to

RE: Keepalives with tomcat 5.5 http connector?

2010-06-09 Thread lists
Sure: java version "1.5.0_08" Solaris 10 x86 Servlet Engine: Apache Tomcat/5.5.17 The connector is setup like so: I'm testing with a JMeter SOAP request, which has keepalive turned on, then using wireshark to count packets, and comparing 5.5 to 6. Thanks, Dan >> From: li...@dankeeley.co.uk [

Re: tomcat logging

2022-06-09 Thread tomcat-lists
Hi Alan, On 09.06.22 12:56, Alan F wrote: > Tomcat logging > > I would like to add a delimiter or characters " " around {user-agent} for > logging, I wanted it in double quotes for example "Mozilla 5.0.." but can't > seem to make it work. Or even adding a # symbol before would help any ideas

Re: Archive or package install

2021-06-18 Thread tomcat-lists
Hi Onno, On 18.06.21 07:07, Sugar Moose wrote: > I am using Ansible role robertdebock.tomcat to install Tomcat. This role uses > archives from the Tomcat site to install Tomcat. I have always thought that > this is a fine approach but the customer has pointed out that a package > install is pre

Re: Archive or package install

2021-06-18 Thread tomcat-lists
Hi Christopher, On 18.06.21 20:54, Christopher Schultz wrote: >> I would only stick to the distro-provided packages, if it is a small >> (in other words not that important) application running in Tomcat. Just >> for reference: With Ubuntu 18.04, you would end up >> with 9.0.16 vs. 9.0.48 (Tomcat p

Re: HTTP error response payload

2020-02-08 Thread tomcat-lists
Hi Saurav, On 08.02.20 07:47, Saurav Sarkar wrote: > Through tomcat access valve i can view the HTTP request url ,response code > etc. > > But i can not view the error response being sent in the form of JSON > payload. > > Is their any valve/filter/ any other setting on tomcat level which can >

Re: Getting Tomcat to display a web page hosted by HTTPD

2006-06-15 Thread Filip Hanik - Dev Lists
how are you redirecting to http://localhost/Dir1/serverMessage.html Filip Mann, Bradley wrote: Hello, I have Tomcat running a web application behind HTTPD using the Jakarta connector. Here is my scenario: I navigate to http://localhost/Dir1/ This is essentially a login page for my web app

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
have you set jvmRoute in your engine element (server.xml)? this is how mod_jk does session affinity filipp Sharma, Siddharth wrote: I have IBM HttpServer 2.0 (it is an apache essentially) fronting two tomcat instances (version 5.5.16) using mod_jk over ajp13. I have configured a load balance

Re: mod_proxy a risk?

2006-06-16 Thread Filip Hanik - Dev Lists
you should turn off your proxyrequests ProxyRequests Off first line in the documentation http://httpd.apache.org/docs/2.0/mod/mod_proxy.html you can still use ProxyPass without using proxyrequests Christoph Kukulies wrote: I wonder whether mod_proxy can be a security risk in Apache2.0.54, whe

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
Fredrik Andersson wrote: Hi all Ok so heres the deal. I want my tomcat installation (5.5.17) to load pages from /var/www/webapps/R2M/SMC I´m also running a virtual host setup so I edit my server.xml file and point the appBase for the directory to /var/www/webapps and then I have the context par

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
, skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>: Fredrik Andersson wrote: Hi all Ok so heres the deal. I want my tomcat installation (5.5.17) to load pages from /var/www/webapps/R2M/SMC I´m also running a virtual host setup so I edit my server.xml file and point the

Re: flushing system.out

2006-06-16 Thread Filip Hanik - Dev Lists
System.out.println is a synchronized call, and will become a performance bottleneck on highly concurrent applications, the ideal is to use a logging framework, and setup an async logger Filip Glenn Holliday wrote: I frequently see it used for debugging. It's an easy place to log to. That's a

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>: the more logical setup would be (assuming the SMC is a webapp) I changed three things 1. Host.appBase 2. Context.path 3. Context.docBase Filip Fredrik Andersson wrote: Hi,

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
how do you verify that you don't have a cookie? I suggest using LiveHttpHeaders (firefox/mozilla) or TCPMonitor Filip Sharma, Siddharth wrote: Yes I did jvmRoute is set to the worker name. still, no jsessionid cookie. -Original Message- From: Filip Hanik - Dev Lists [m

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
telling me different things and none works.. :( I understand that I must be anoying and it´s really nice of you to help me. =) Den 6/16/2006, skrev "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]>: R2M.xml? where did that come from? it should be SCM.xml, although the name isn&#

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
finitely there is some issue. ____ From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Fri 6/16/2006 7:21 PM To: Tomcat Users List Subject: Re: Apache with Tomcat and session affinity problem how do you verify that you don't have a cookie? I suggest using Liv

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
, a C++ session. The Tomcat web app essentially has a servlet that delegates to the C++ component using JNI. Should we create an HttpSession before delegating? Is that the missing link? Thanks Sidd -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Friday

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
of the popup Expand the Node "Cookies" and click on button View Cookies. You can see the cookie JSESSIONID with its value. If you don't see the cookie, then definitely there is some issue. From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]

Re: org.apache.catalina.valves.RemoteHostValve issue

2006-06-16 Thread Filip Hanik - Dev Lists
Hi Lars, my guess is that it looks at 127.0.0.1, so adding 127\.0\.0\.1 to the list would solve it or, you can add enableLookups="true" to your element, although, I'm not sure why it just wouldn't look at the Host header Filip Lars Huttar wrote: On the tomcat-user list (http://www.mail

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Filip Hanik - Dev Lists
the only risk would be if you are running two environments, maybe QA and production, you don't want the cluster membership to cross over another option is to just change address and port in server.xml from the default Filip Peter Rossbach wrote: HI, I see no risk with the default membership c

Re: tomcat in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
you have two issues and would be better off trying to isolate them separately. 1. Session replication not working To Troubleshoot: Isolate the problem, so in this case, get rid of apache/mod_jk Follow these steps: 1. Get a small load balancer like http://siag.nu/pen/ If you are on windows, dow

Re: tomcat in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
also, use Tomcat 5.5.17 Sean O'Reilly wrote: Hi, I am trying to get in-memory session replication working and am testing running 3 seperate tomcat instances on the same server. I am using tomcat-5.5.15 and apache-2.0.54 with jk2. Whenever i run my test app although it should be doing round-ro

Re: Question about StandardSession and ApplicationContext

2006-06-21 Thread Filip Hanik - Dev Lists
the StandardSession is not big, I would go back and guess it is your application. The key is to read the profiling data correctly, that's where I would start. Tomcat has been optimized for memory and cpu usage, so 11MB session objects would have been discovered early on. John McClain wrote: I

Re: Tomcat session replication/cluster

2006-06-21 Thread Filip Hanik - Dev Lists
ist:website1website1 The config I'm using is exactly the same as the default from server.xml, except the cluster is defined in Engine, rather than each Host. Filip Hanik - Dev Lists wrote: also, use Tomcat 5.5.17 Sean O'Reilly wrote: Hi, I am trying to get in-memory session

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Filip thuss2 wrote: We have 10 web servers with Tomcat's running on them and a mod_jk configuration to prefer the tomcat on localhost and only failover to ano

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
Mladen Turk wrote: Filip Hanik - Dev Lists wrote: you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Recent mod_jk versions can take True/False instead 1/0 just as an convenience method. instead or &qu

Re: Tomcat session replication/cluster

2006-06-22 Thread Filip Hanik - Dev Lists
uot; as cluster engine container. Peter Am 22.06.2006 um 10:32 schrieb Pid: Filip Hanik - Dev Lists wrote: if the cluster is put in the engine element, the context names are prefixed with the engine name, since you can have multiple contexts with the same name in different host w

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager [/jsp-examples], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.4.121:

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
in tomcat you can write a Valve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html this is tomcat specific, so it wouldn't be portable across containers. Filip Dean Hiller wrote: Is there any way to install a ServletFilter that is run before all webapps(including the default servl

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNI

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 10:00:36 -0500 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Hi Guys, I appear to be finally gett

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
at specific but at least the filter isn't. Jon Filip Hanik - Dev Lists wrote: in tomcat you can write a Valve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html this is tomcat specific, so it wouldn't be portable across containers. Filip Dean Hiller wrote: Is t

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
redirection, as the name tells you, doesn't balance, it redirects, and there is nothing transparent about a redirection. what you are looking for is called proxying, and the best example for that, would be mod_proxy in the Apache httpd web server. Filip Madhur K Tanwani wrote: Hi, I'm separa

Re: starting with windows service

2006-07-13 Thread Filip Hanik - Dev Lists
http://people.apache.org/~fhanik/wrapper.html Vinu Varghese wrote: Hi Sk, Have u tried with the windows binary of tomcat ? - regards Vinu Shinya Koizumi wrote: Any word on this problem. SK. - Original Message - From: "Shinya Koizumi" <[EMAIL PROTECTED]> To: Sent: Monday, July 10,

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
t the LB gurus find obviously wrong here and would want to tell me (or would you want me to encounter it as it comes :) )? looks good, if you only have one httpd, is that a single point of failure for you? Awaiting your valuable comments, Madhur. Filip Hanik - Dev Lists wrote: redirection, a

Re: Tomcat clustering

2006-07-20 Thread Filip Hanik - Dev Lists
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html Konstantina wrote: Hello, I have read that in Tomcat5 there is a way to multicast session data to a group of servers, so that each has the same information and the client can contact any server. How can I multicast information saved

Re: cluster SimpleTcpCluster in 5.5.17

2006-07-21 Thread Filip Hanik - Dev Lists
Are you saying that the message below keeps repeating itself? over and over again? what does your full log say? Filip Jean-frederic Clere wrote: Hi, I have trying to get the SimpleTcpCluster running but I only get: +++ INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMe

Re: Setting heap once the tomcat JVM is started

2006-07-21 Thread Filip Hanik - Dev Lists
since the heap is a Java VM configuration, not a Tomcat setting, you would have to consult your VM vendors documentation. The short answer would be no. Filip sajid khan wrote: Hi All, Can we set the JVM heap size after the Tomcat has started ? I mean to say configure heap at runtime Thanks

Re: Servlet/session becoming null

2006-07-31 Thread Filip Hanik - Dev Lists
if you are saying the tomcat session is dropped then, two reasons could be: 1. the session cookie is dropped 2. the session has expired (been idle longer than your timeout setting) but your stack trace show TransactionSession, and it could be that your TransactionSession is holding a reference

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread Filip Hanik - Dev Lists
looks like your context XML file is not a valid XML format Filip Aynalem, Seblewengel (Trawick) wrote: Yes I do have SQL JDBC driver in common/lib as sqljdbc.jar and did drop from context.xml file. Another error comes ups as follows: Jul 31, 2006 3:01:05 PM org.apache.catalina.core.AprLife

Re: Tomcat Cluster

2006-08-01 Thread Filip Hanik - Dev Lists
it means that server-A has the webapp /edac but server-B doesn't. and server B is receiving messages, and ignoring them doesn't mean its an error, only if you expect both servers to have the webapp. This is not the case if one server is starting up and has not deployed the app yet Filip Ralf S

Re: tomcat 5.0 maintenance

2006-08-02 Thread Filip Hanik - Dev Lists
There is an interest and willingness to maintain, to my best knowledge we haven't received any complaints on fixes needed for 5.0.30-beta but once we have a list of required bug fixes, we can start working on it and issue a release Filip Frank Peters wrote: Hi, can someone give me a hint, if

Re: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Filip Hanik - Dev Lists
since 5.5.x is currently at .17, what don't you upgrade to that, before you call deploy, make sure you call remove/undeploy if the problem persists, post what is going wrong Warren wrote: I am running Tomcat 5.5.3 on a Windows XP box. When I run my Ant build task to "undeploy" my webapp, it dele

Re: SSL does not work on work.

2006-08-02 Thread Filip Hanik - Dev Lists
try using https for secure transport, ie, https://localhost:8443 ^ Chandra Muppavarapu wrote: Folks, I am trying to turn on SSL on my tomcat running as a webserver. I have followed the steps in the following link but my SSL still does not work. http://tomcat.apache.org/tomcat-5.5-doc/ss

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
that link contains all the necessary steps, when installing on the same machine, you must avoid port conflicts, the two instances aren't allowed to share ports like 8080,8009,4001 etc Filip Vinod Devarajan wrote: Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more in

Re: multiple instances of tomcat

2006-08-03 Thread Filip Hanik - Dev Lists
it could be easier to just cp -r TC_HOME_1 TC_HOME_2 and voila, two instances, just remember to change the ports in TC_HOME_2/conf/server.xml to be different from server_1 Filip Chris Lear wrote: * Pratap Parne wrote (03/08/06 15:50): how to setup and deploy applications on multiple insta

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
le. To do this, you should front-end the cluster with a load balancer (mod_jk, mod_proxy both are frequently-used.) Tim > > On 8/3/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > > > > that link contains all the necessary steps, when installing on the same >

Re: Help with redirection from http to https

2006-08-03 Thread Filip Hanik - Dev Lists
yes, web.xml for your web-application http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727 user-data-constraint & CONFIDENTIAL Filip Chandra Muppavarapu wrote: Folks, I have a packaged software that uses tomcat as the webserver. I would like the users to be automatically redirected

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Filip Hanik - Dev Lists
if you want a more complete Tomcat service, that lets you do thread dumps etc, take a look at: http://people.apache.org/~fhanik/wrapper.html Filip Patrick Wang wrote: Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Filip Hanik - Dev Lists
of course, stopping a service is used using the Windows "Services" GUI. Control Panel -> Administrative Tools -> Services Filip Patrick Wang wrote: Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however it did not mention

Re: steps multiple instances of tomcat

2006-08-04 Thread Filip Hanik - Dev Lists
if you don't install it as a service, it is as easy on windows as on linux, there is no requirement for it to run as a service. but if you want the simple way of creating two tomcats running as services, don't use the tomcat provided wrapper, use: http://people.apache.org/~fhanik/wrapper.html

Re: Tomcat SSL question

2006-08-04 Thread Filip Hanik - Dev Lists
set "redirectPort" on your AJP(port 8009) connector to 443 http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html using mod_jk, you will not use port 8080 and 8443, only 8009. Filip David Miller wrote: I can't do that because the web server uses those ports. Perhaps someone can just verify

Re: Restarting Tomcat causes application to be displayed across all instances

2006-08-04 Thread Filip Hanik - Dev Lists
could be several reasons, one common one is that somewhere in your restart script, you are setting the classpath manually to include the classes. another would be that your classes are in shared/classes or shared/lib if not, you'd need to dig deeper. Ryan O'Hara wrote: Currently, we have a few

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
I just responded to this yesterday, web.xml for your web-application http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727 user-data-constraint & CONFIDENTIAL Filip William Chu wrote: How do I direct a user to the https url when they use the http url? i.e. http:// is directed to http

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
logic developement and that would require to have two web.xml files. Is there a way to set the context to user for example web_tomcat.xml file instead ? I work in exploded format. Thanks, MC From: Filip Hanik - Dev Lists <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List"

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
the security constraint to my web.xml, I do not get redirected to the https url. I get the http url. Any ideas? Thank you, Will CONFIDENTIAL On 8/4/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: I just responde

Re: logging url of page

2006-08-05 Thread Filip Hanik - Dev Lists
Almir Kazazic wrote: Hi , I am using tomcat 5.5 with log4j to log my errors, and it works great, but it would be of great help if I could get information about URL of errror, this way I could reproduce it and remove much faster, I want to have this code on a single place and not for every excep

Re: Pointing domain to your application - Source Code is appearing

2006-08-07 Thread Filip Hanik - Dev Lists
Gamefaqs Philippines wrote: Hmmm.. I didn't have any choice but to search for more docs... I followed the instructions from the following sites... http://johnturner.com/howto/mod_jk_conf.html http://www.devside.net/web/server/windows/tomcat http://www.ccl.net/cca/software/UNIX/apache/debian-tom

Re: Tomcat Book Recommendation?

2006-08-09 Thread Filip Hanik - Dev Lists
I would say you don't need a book. The tomcat reference and usage docs are excellent, and then you have a gazillion tutorials online Filip M. Goodell wrote: Hello, Are there any text books / reference information about Tomcat on the maket that are considered to be the must haves ??? Yea

Re: mod_jk 1.2.15 connectivity failing errorcode =13

2006-08-09 Thread Filip Hanik - Dev Lists
hari168 wrote: I am using Tomcat 5.5 , Apache 1.3.27 and Mod_JK 1.2.15.. Connectivity is failing with following error message in mod_jk.log file [error] jk_init::mod_jk.c (2039): Initializing shm:${APACHE_HOME}/logs/jk-runtime-status errno=13 Please any one suggest, how i can dig this issue..

Re: JDBCReal drivers

2006-08-10 Thread Filip Hanik - Dev Lists
common/lib Zohar wrote: When using JDBCRealm, where should I put my driver jars? No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.8/415 - Release Date: 8/9

Re: Tomcat 5.5.17 not displaying jsp page???

2006-08-14 Thread Filip Hanik - Dev Lists
look in your tomcat log files, the answer will be in there Filip Patrick Wang wrote: One more thing, I am invoking Tomcat only, no apache involved here by using URL like http://169.229.141.108:8080/ -Original Message- From: Patrick Wang [mailto:[EMAIL PROTECTED] Sent: Monday, Augu

Re: Clustering in Tomcat-4.x

2006-08-16 Thread Filip Hanik - Dev Lists
clustering in 4.x was only experimental, and probably has a load of bugs http://people.apache.org/~fhanik/index.html.old Filip jaikiran pai wrote: Hi, Can someone point me to a step by step setup process for Clustering Tomcat4.x? The Tomcat documentations that i saw, only talk about Tomcat5

Re: JMS Alternative

2006-08-17 Thread Filip Hanik - Dev Lists
use qmail or one of those email frameworks, yes, you can access it using the JavaMail API you'd still need logic to handle bounces etc, so you do have some work ahead of you Feris Thia wrote: Hi All, Is there any alternative JMS api in Tomcat ? And how can I implement multi threading in JMS,

Re: Disable a web application

2006-08-17 Thread Filip Hanik - Dev Lists
yes, 1. remove it from webapps directory 2. set autoDeploy to false, but then you have to manually deploy all the others 3. you can stop it once its been deployed Ralf Schneider wrote: Hi, is there a way do disable a web application that is located in the webapps directory so that it will n

Re: Deploying web app over cluster.

2006-08-23 Thread Filip Hanik - Dev Lists
a recent change in 5.5, deploy dir must be your webapps directory, we'll revise this again in 6.0 [EMAIL PROTECTED] wrote: Hello, I am having some trouble getting a web app to deploy over a cluster. Node 1 is a Linux box, with /tmp/war-listen, /tmp/war-deploy, /tmp/war-temp Node 2 is a Windows

Re: Running Tomcat from Bootstrap.main

2006-08-23 Thread Filip Hanik - Dev Lists
your missing commons-logging from your classpath Zach Calvert wrote: I am running an Eclipse java application that makes a call to the Bootstrap.main function. I am using Log4J as my logger. I set the catalina.home, catalina.base, java.endorsed.dirs, and java.io.tempdir before I call Bootstr

Re: JK 1.2.18 win32 dll not working

2006-08-25 Thread Filip Hanik - Dev Lists
its a known bug, the developers are pushing for 1.2.19 to get released Filip Jessica wrote: Hi Julie, I`m facing exactly the same problem as you described. Have you found any solution yet? Has anyone else succeded in getting jk-1.2.18 to run under IIS? An answer would help in isolating the p

Re: Cluster serialization issue

2006-08-25 Thread Filip Hanik - Dev Lists
Mark's assessment is correct, how did you end up storing your request object in the session? Mark Hagger wrote: My best guess is that you've somehow stored the request object itself on the session, and thus the replication is trying to replicate that to the other nodes. If this is the case

Re: DataSource variables in replicated objects in a Tomcat cluster

2006-08-28 Thread Filip Hanik - Dev Lists
approach the problem from a different angle: why do you need to store the data source in a replicated object? there are so many other places you can store them :) Filip Dag Bjerkeli wrote: I have defined my datasource parameters in context.xml. I've initialized the datasource objects in th

Re: What is mcastBindAddr for??

2006-08-29 Thread Filip Hanik - Dev Lists
on a multihomed machine, you might only want to bind your multicast socket to one interface, hence you use the bind address Filip Patrick Wang wrote: Hi, I am currently setting up 2 linux server and enabled the clustering and multicast for these 2 servers. I verified using the cat /p

Re: Tool for monitoring Tomcat from the client side

2006-08-30 Thread Filip Hanik - Dev Lists
Leon Rosenberg wrote: I thought Filip coded something similar, a pooling NIO connector in java. Leon thats correct, it will be included in 6.0, in terms of performance it ranks like this HTTP Nr Of Connections < maxThreads 1. Blocking IO Connector 2. Java NIO connector and APR connector are

Re: Tool for monitoring Tomcat from the client side

2006-08-30 Thread Filip Hanik - Dev Lists
s, then it wont matter Tomcat Native -> APR lib -> C is no difference than NIO -> VM -> C, hence the performance shouldn't be very different. Filip Hence another evidence that java's performance are equal or better than c? leon On 8/30/06, Filip Hanik - Dev Lists <[

Re: tomcat not finding servlet....

2006-08-31 Thread Filip Hanik - Dev Lists
WARNING: A docBase C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\second inside the host appBase has been specified, and will be ignored try correcting the above error first, then continue your troubleshooting [EMAIL PROTECTED] wrote: The only entries that look abnormal in t

Re: Problem moving from HTTP to HTTPS

2006-08-31 Thread Filip Hanik - Dev Lists
* the "*" means all the roles that you have defined in web.xml, since you haven't defined any roles in web.xml, there is nothing to authenticate, hence its gonna deny the request Filip Glen Mazza wrote: Hello, I have developed a simple web application running on Tomcat that asks for a

Re: tomcat not finding servlet....

2006-08-31 Thread Filip Hanik - Dev Lists
hmm, have you tried putting the servlet in a package, to see if that makes a difference? it shouldn't, but you can easily rule it out. after that, it would have to come down to some debugging. Filip [EMAIL PROTECTED] wrote: OK i fixed the warning. The second.xml file located in the >>> C:\P

Re: Tomcat Startup Error

2006-09-01 Thread Filip Hanik - Dev Lists
Class not found problem java.lang.ClassNotFoundException: org.apache.catalina.Container you're probably missing some environment variable that is used to setup class loaders, such as CATALINA_BASE or CATALINA_HOME etc Filip Zach Calvert wrote: I have a problem with Tomcat and I cannot fig

Re: Tomcat as a Service

2006-09-01 Thread Filip Hanik - Dev Lists
I would suggest you use http://people.apache.org/~fhanik/wrapper.html with that kit, comes a script called TomcatService.bat, this is the same as you would have started it as a service and you can troubleshoot. This also lets you control a few more options and settings, as well as generate thre

Re: Clustering with mod_jk

2006-09-01 Thread Filip Hanik - Dev Lists
since you are using prefork, you must set cachesize=1 for your workers.properties file. However, you have 4096 MaxClients, in order to serve this up in tomcat, your JK connector should have maxProcessors="4096". An alternative, and safe solution, although much less performance, is to set "MaxReq

Re: Clustering with mod_jk

2006-09-01 Thread Filip Hanik - Dev Lists
ng that makes me think it's a mod_jk issue is the fact that suddenly all request flow locks onto a node and stays busy until I restart apache. e On 01/set/06, at 21:21GMT+02:00, Filip Hanik - Dev Lists wrote: since you are using prefork, you must set cachesize=1 for your workers.proper

Re: Low performance with Tomcat APR

2006-09-05 Thread Filip Hanik - Dev Lists
if (your max nr of open connections) < Connector.maxThreads ) then the regular connector is better, and will always be as it is using blocking IO else APR will scale better, as it can keep a larger set of keep alive connections open end Your biggest gain on the APR connector is if you are u

Re: 5.5.17 cluster doesn't sync sessions on startup

2006-09-06 Thread Filip Hanik - Dev Lists
are the nodes starting up simultanously, there is the risk of syncing not working if two nodes are starting at the same time as the cluster starts before the actual webapps are deployed. Filip Ronald Klop wrote: Hello, We are running a 4-node cluster of 5.5.17. Sometimes java or tomcat cra

Re: 5.5.17 cluster doesn't sync sessions on startup

2006-09-07 Thread Filip Hanik - Dev Lists
ok, in that case, there could so much session data that it takes longer than 60 seconds to retrive. you have two options 1. increase the transfer timeout 2. transfer data in chunks manager.className="org.apache.catalina.cluster.session.DeltaManager" manager.stateTransferTimeou

Re: decompiling classes

2006-09-07 Thread Filip Hanik - Dev Lists
gee, this is so BS, you don't have to go through all that effort. download all the source in a single package from http://tomcat.apache.org/download-55.cgi don't pay anyone for decompilation instructions, for open source, you can always get the source, for closed source its illegal anyway. Fi

Re: decompiling classes

2006-09-08 Thread Filip Hanik - Dev Lists
if you are trying to connect to Oracle, why do you use the JDBC-ODBC bridge, its filled with problems. Download Oracles JDBC driver, they have a type 4 driver (pure Java), and use that Filip Propes, Barry L wrote: maybe I didn't look in the right places, but I didn't exactly find what I was

Re: Tomcat CLustering listening address

2006-09-14 Thread Filip Hanik - Dev Lists
cause your `hostname` resolves to 127.0.0.1 in /etc/hosts Filip Patrick Wang wrote: Hi all: I setup the TCPListner's IP address to be "auto" on 2 separate machines. Then I used the command netstat -nlp to verify what's listed and found out one actually bound to 127.0.0.1, The ot

  1   2   3   4   5   6   7   8   9   10   >