Re: NIOConnector and high memory consumption

2009-05-21 Thread sagi tomcat
around managing the size of these objects to ensure they don't overgrow. Thank you very much for the report Filip sagi tomcat wrote: Yes I am referring to the Http11NioProcessor objects. Playing with the cache size did not help, since I had to deal with ~7000 registered Http11NioProcessor

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 finding the problem

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
Caldarale, Charles R chuck.caldar...@unisys.com 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 there. For a standard Tomcat installation (downloaded

RE: requested resource not available

2009-05-12 Thread tomcat
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 chuck.caldar...@unisys.com wrote: From: tom...@nym.hush.com

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

Re: #of Site can be run on single Tomcat Instance?

2008-08-06 Thread Tomcat User6
It should not be an struts error, as this error appears like a whack-a-mole in all sites. All sites are built on same Framework. Sometime the particular site works fine but after restarting a tomcat instance the same site which was working fine, starts giving an error and other sites which has

#of Site can be run on single Tomcat Instance?

2008-08-05 Thread Tomcat User6
I am running around 10 different site on single Tomcat Instnace i.e. 6.0. I am facing some unexpected errors while running some of the sites. Everytime I restart the Tomcat, the same error is throwing by individual site. This is the error.. java.lang.NoClassDefFoundError: com/opensymphony

Server.xml Host Configuration

2008-07-24 Thread Tomcat User6
-tp18636070p18636070.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

Server.xml Host Configuration

2008-07-21 Thread Tomcat User6
Hi All, I am new to configuring Server.xml for tomcat. I am using Tomcat 6.0. I have an application called Roller from apache for blogging purposes. I want to configure its host by forum.abc123.com. I did the configuration as below: Host name=forum.abc123.com appBase=/usr/local/apache-tomcat

Re: tomcat giving a response without parsing the header at all

2008-07-18 Thread tomcat tom
... On 7/16/08, Mark Thomas [EMAIL PROTECTED] wrote: tomcat tom wrote: scenarion client sends a http request to tomcat nos, is there anytime tomcat sends a response without parsing the header at all No. Mark

does tomcat cache any data in its intermediate state

2008-07-18 Thread tomcat tom
like, can it cache ejb in transition

tomcat giving a response without parsing the header at all

2008-07-16 Thread tomcat tom
scenarion client sends a http request to tomcat nos, is there anytime tomcat sends a response without parsing the header at all

does tomcat have a rewrite engine of its own

2008-07-15 Thread tomcat tom
does tomcat have a rewrite engine of its own other then mod_rewrite of apache? Tom

does tomcat use any kind of parser

2008-07-15 Thread tomcat tom
does tomcat do header parsing?

Re: does tomcat use any kind of parser

2008-07-15 Thread tomcat tom
hi mark I'm looking for a scenario like; mod_rewrite and forbidden flag, wherein the server gives the 403 response pls give me the link On 7/15/08, Mark Thomas [EMAIL PROTECTED] wrote: tomcat tom wrote: does tomcat do header parsing? Yes

templates based on the request protocol

2008-07-14 Thread tomcat tom
does tomcat use any templates based on the incoming request's protocol? what are the different protocols supported by tomcat any pdf docs which talks about the architecture of tomcat with images

Tomcat 6 cipher suites / Nessus

2008-06-04 Thread tomcat question
Hi everybody, I am having trouble configuring Tomcat right... The machine I'm using is a Win2003 server with Tomcat 6.0.14 installed. In general everything works fine, but for security reasons, I need the server to pass a Nessus security scan. With Nessus, I receive the following message about

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 group

Forcing a session lastaccessedtime update

2008-01-31 Thread tomcat user
a server (not the browser). Supplying the sessionID I can retrieve that session from a hashtable I keep, yet manipulating the session does not update the last accessed time, leaving it vulnerable to a timeout. Probably more of a servlet question than Tomcat, but hopefully somebody can help me

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

RE: Legal Risk of Using Tomcat

2007-09-07 Thread tomcat
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 Linux and Novell deal. It is rather dicey. Tomcat

Re: How do I unsubscribe ?

2007-07-12 Thread tomcat
:[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 this user group ? I have sent numerous blank emails to [EMAIL PROTECTED

securing directory

2007-06-25 Thread tomcat user
Hi all, I would like to know if anybody can tell me how to restrict web access to my web app's base directory and its sub directories. i.e. webapp Test1 has a file root.xml (tomcat\webapps\Test1\root.xml) While I do need read access programmatically, I need for web users to not access that file

Re: securing directory

2007-06-25 Thread tomcat user
Chuck, I appreciate the response, but assuming that a file does need to reside directly under the webapp folder, can it be hidden from view. Again, I understand the alternative, but can I secure the webapp directory? On 6/25/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: tomcat

Re: securing directory

2007-06-25 Thread tomcat user
to be able to allow certain directories to be viewed or not within a web server, but I guess not. Thanks again. Frank On 6/25/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: tomcat user [mailto:[EMAIL PROTECTED] Subject: Re: securing directory assuming that a file does need to reside

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,

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: Suspected mod_jk connection problems

2007-05-18 Thread tomcat
? 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 back

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.

Suspected mod_jk connection problems

2007-05-17 Thread tomcat
? 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: [EMAIL

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

Re: session time out

2007-04-30 Thread Tomcat
/web.xml Cheers Adam Martin Gainty wrote: On the Connector you can set connectionTimeout = 0 for indefinite timeout also a keepAliveTimeout on the Sender which I believe defaults to 60 sec http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html also a tcpSelectorTimeout on the Receiver which

Re: Applet not initiated

2007-03-26 Thread Tomcat
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/classes and I am calling

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. thanks for help Adam

Tomcat context.xml problems

2006-12-04 Thread Tomcat User
Hi I need to register a custom JNDI resource after my web application started and unregister when it's stopped, how can I achieve this? Definition of the JNDI resource has to be stored in context.xml or web.xml. LifecycleListener afaik requires one of the servers' classloader Thanks in

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 Thanks

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

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

decompile java class

2006-07-26 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 cotains

Multiple security-constraint elements

2006-07-24 Thread scw . tomcat
I am trying to set up restricted access to several folders within the = same engine context. I have a web.xml file within the WEB-INF folder, and can get a single = security constraint to work OK. When I try and set up a second one, = nothing happens, and the second constraint is never

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

tmmcat ignoring my log4j threshold

2006-05-22 Thread lio tomcat
Hello world, I'm a bit estonished by the BEHAVIOUR duo tomcat4.1/log4j-1.2.13; Even if my threshold is set to DEBUG, only WARN and ERROR levels appear in console. (Morever the log file is never created...) log4j-1.2.13.jar is in [tomcat]\webapps\myApp\WEB-INF\lib log4j.xml is in [tomcat

Re: javamail for numerous mail servers on tomcat

2006-05-22 Thread lio tomcat
PROTECTED] wrote: Dynamically-defined mail servers work fine in Tomcat; I'd be in deep kimshe if they didn't. Here are some excerpts from the code I use: Properties props = new Properties(); props.put( mail.smtp.host, however you get the server name

Re: tmmcat ignoring my log4j threshold

2006-05-22 Thread lio tomcat
forget this thread. everything is ok. just not testing the right env. Apologize On 5/22/06, lio tomcat [EMAIL PROTECTED] wrote: Hello world, I'm a bit estonished by the BEHAVIOUR duo tomcat4.1/log4j-1.2.13; Even if my threshold is set to DEBUG, only WARN and ERROR levels appear in console

javamail for numerous mail servers on tomcat

2006-05-19 Thread lio tomcat
Hello world, I'm trying to use javamail api in order to fecth/sen mails in a tomcat servlet. Sor far, it's fine. more : it works. But my needs are going beyond this firsyt step. As i understand, the mail servers (smtp, pop, ...) are defined as resources in tomcat (or watever servlet) in its

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 contexts

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 seen

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 interface.jar

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 fixed

Re: Context files disapearring

2006-04-03 Thread tomcat
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 fixed? I've never seen

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? --David [EMAIL PROTECTED

Jaas authentication refresh

2006-01-31 Thread lio tomcat
Hello world, I wonder what configuration or piece of code is doing a jaas authentication refresh while it's unecessary and unwanted... I have a web-app running on jboss 3.2.2/tomcat 4.1. It's form based authenticated. login-config auth-methodFORM/auth-method realm-namemyRealm

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

2005-12-26 Thread tomcat
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 on its system. there are multiple virtual hosts and web applications on each server

Re: restart servlet from cron

2005-12-23 Thread rusty+tomcat
Here's what's in one of my ant files to stop a web app. Start and restart are probably similar. taskdef name=tc-stop classname=org.apache.catalina.ant.StopTask / target name=tomcat-stop tc-stop url=http://myhost.mycompany.com/manager/; username=manager password

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: setup for web designers?

2005-12-13 Thread rusty+tomcat
JkMount /printing01/*.jsp ajp13 If I type into the web browser's address box xyz.jsp, that goes to tomcat, and if I type in xyz.html that goes to apache. That's what I want. The problem is if the output of xyz.jsp has the line !--#include virtual=/header.html

Re: setup for web designers?

2005-12-13 Thread rusty+tomcat
Hah! I figured it out; only one of the apache directives in httpd.conf should be used, not all 3: #AddType text/html .jsp AddOutputFilter INCLUDES .jsp #AddHandler server-parsed .jsp Thanks for everyone's help. I'm now a happy camper.

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 table

<    4   5   6   7   8   9