RE: handling invalid URL

2022-04-04 Thread Joseph Michaud
SNIP > >> > >> I think the answer is 'no', but I'll ask anyway Is there a global-level > ErrorReportValve capability? Or some facility to easily remove the version > information from an 'invalid URL' error report? (I'm aware of modifying the > ServerInfo.properties file, but that affects

handling invalid URL

2022-04-01 Thread Joseph Michaud
As I understand it, an ErrorReportValve is an application-level filter. An HTTP request error (like an unknown URL) that reaches it will be processed. With the ErrorReportValve I can modify the information presented in the report. However, an *invalid* URL is not assignable to any

Re: Tomcat manager keystore reload

2019-07-29 Thread Joseph Dornisch
> Joseph, > > On 7/25/19 11:53, Joseph Dornisch wrote: > > Hello, > > > > I have a CRL configured in my tomcat server configuration. If I > > update it and want to have Tomcat refresh it, I can login into > > https://127.0.0.1/manager/html and click the &q

Tomcat manager keystore reload

2019-07-25 Thread Joseph Dornisch
Hello, I have a CRL configured in my tomcat server configuration. If I update it and want to have Tomcat refresh it, I can login into https://127.0.0.1/manager/html and click the "Re-read" button under "Configuration->Re-read TLS configuration files" and this causes my CRL to be reread. It works

recommendations for using multiple CRLs

2019-02-01 Thread Joseph Dornisch
Does this group have any recommendations for merging multiple external CRLs into one CRL for use with Tomcat, or just making Tomcat aware of multiple CRLs?

updating CRL in use in tomcat

2019-01-30 Thread Joseph Dornisch
It appears that it is possible to have tomcat refresh it's CRL specified in the Connector from reading: https://bz.apache.org/bugzilla/show_bug.cgi?id=60762 The bug/feature request seems to have been fixed/implemented, but I haven't found any documentation about how to tell Tomcat when to update

502 errors in Google Clod Platform Load Balancing with Tomcat Servers

2019-01-25 Thread Abin Joseph
Hi Team, Our application is deployed in google cloud and the back end instances are tomcat servers. Now our load balancer is returning 502 errors with status details “backend-timeout” for some requests and it is impacting our production in a huge way. The instances are healthy when the error

Re: Tomcat error at run-time.

2018-08-03 Thread noel joseph
ing-spring-boot-applications > > Hope it helps, > > Luis > > 2018-08-03 7:06 GMT+02:00 noel joseph : > > > Hey Chris, > > > > This is my code... > > > > package com.TomCat.EmbTC; > > > > import java.io.File; > > import javax.ser

Re: Tomcat error at run-time.

2018-08-02 Thread noel joseph
Hey Chris, This is my code... package com.TomCat.EmbTC; import java.io.File; import javax.servlet.ServletException; import org.apache.catalina.LifecycleException; import org.apache.catalina.startup.Tomcat; public class App { public static void main(String[] args) throws LifecycleException,

Re: Tomcat error at run-time.

2018-07-31 Thread noel joseph
Hey Chris, I am having a little difficulty in logging. As mentioned before I am new to tomcat and don't exactly know how to enable logging. Could you please instruct me on how to do so. Thanks, Noel On Tue, Jul 31, 2018 at 7:49 PM, noel joseph wrote: > Thank you so much Cris I will try y

Re: Tomcat error at run-time.

2018-07-31 Thread noel joseph
gt; > On 7/31/18 2:54 AM, noel joseph wrote: > > Hi, I am rather new to tomcat, I've been trying to embed tomcat in > > a java application. I further want to convert this into a java web > > start file so that on deploying it I can have a separate tomcat > >

Tomcat error at run-time.

2018-07-31 Thread noel joseph
Hi, I am rather new to tomcat, I've been trying to embed tomcat in a java application. I further want to convert this into a java web start file so that on deploying it I can have a separate tomcat server for my application. The error I am facing is... org.apache.catalina.LifecycleException: A

RE: Proxy authentication support for the Tomcat Websocket Client

2018-04-18 Thread Joseph Mokos
upport for the Tomcat Websocket Client On 18 April 2018 15:14:09 BST, Joseph Mokos <joseph.mo...@riverbed.com> wrote: >Mark > >I have the changes in a git branch I forked off of the trunk. Is there >some way I can push that branch up to you? PRs against github.com/apache/tomcat work t

RE: Proxy authentication support for the Tomcat Websocket Client

2018-04-18 Thread Joseph Mokos
Mark See bug 62312. Joe -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, April 18, 2018 10:11 AM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Proxy authentication support for the Tomcat Websocket Client On 18/04/18 14:59, Joseph

RE: Proxy authentication support for the Tomcat Websocket Client

2018-04-18 Thread Joseph Mokos
ubject: Re: Proxy authentication support for the Tomcat Websocket Client On 18/04/18 14:59, Joseph Mokos wrote: > Mark > > Thank you for confirming. > > Proxy authentication is a requirement for the project I am working on so I > went and added it. You are welcome to the code

RE: Proxy authentication support for the Tomcat Websocket Client

2018-04-18 Thread Joseph Mokos
ers@tomcat.apache.org> Subject: Re: Proxy authentication support for the Tomcat Websocket Client On 13/04/18 17:44, Joseph Mokos wrote: > I'm writing a websocket client using the Tomcat JSR356 compliant websocket > library. My client must connect through a proxy that requires > authentication. I'

Proxy authentication support for the Tomcat Websocket Client

2018-04-13 Thread Joseph Mokos
I'm writing a websocket client using the Tomcat JSR356 compliant websocket library. My client must connect through a proxy that requires authentication. I've successfully connected through the proxy without authentication using the JDK ProxySelector. But I can't figure out how to configure

RE: X-FRame-Option

2015-10-30 Thread Walsh, Joseph
From: Mark Eggers [mailto:its_toas...@yahoo.com.INVALID] Sent: Thursday, October 29, 2015 7:38 PM To: Tomcat Users List Subject: Re: X-FRame-Option -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joseph, As per list conventions, I'm posting at the bottom. I'll copy over the relevant parts of your XM

X-FRame-Option

2015-10-29 Thread Walsh, Joseph
good afternoon all... I have been recently been "relocated" within our IT dept and now tasked with supporting Apache Tomcat on windows... Our cyber dept scanner has identified my app as vulnerable to clickjacking ... Anyone have any luck adding the X-Frame-Option in a windows environment? I

RE: X-FRame-Option

2015-10-29 Thread Walsh, Joseph
...@gmail.com] Sent: Thursday, October 29, 2015 3:43 PM To: Tomcat Users List Subject: Re: X-FRame-Option 2015-10-29 22:35 GMT+03:00 Walsh, Joseph <jwa...@bnl.gov>: > good afternoon all... > > I have been recently been "relocated" within our IT dept and now > tasked w

Setting SSL in Tomcat 7.0

2015-07-12 Thread Joby J. Joseph
. It shows an error. keytool -list -keystore .keystore and it gives.. keytool error: java.lang.Exception: Keystore file does not exist: .keystore Any suggestion this error. Where is the keystore file located. Thanks in advance... Joby J. Joseph Systems Engineer - Application Support

RE: Setting SSL in Tomcat 7.0

2015-07-12 Thread Joby J. Joseph
does not exist. Joby J. Joseph Systems Engineer - Application Support -Original Message- From: Sanaullah [mailto:sanaulla...@gmail.com] Sent: 12/07/2015 12:37 PM To: Tomcat Users List Subject: Re: Setting SSL in Tomcat 7.0 Hi Joby, Where is your keystore file ? keytool

RE: Setting SSL in Tomcat 7.0

2015-07-12 Thread Joby J. Joseph
Hi Sanaullah, When I run the command, it creates the keystore successfulle. I saw all the steps that u mentioned and I am not able to find the created keystore file. I am not getting the location of the file created. That is my problem. Joby J. Joseph -Original Message- From

Re: Tomcat 8 Slow ?

2014-05-11 Thread Joseph
I would probably use jdk with mission control to record and analyze the hot class in your conf.this often works and gives me idea where to tune Regards 在 2014年5月11日,19:34,Akash Jain akash.delh...@gmail.com 写道: Hi, i recently tried to migrate from tomcat 7.0.53 to 8.0.5 I did some

AMD 64 version 1.6.0.45 jdk needed

2014-02-28 Thread Joseph Kelly
Hello I have a strange architecural problem , I am running the following versions: Processor and arch version [root@evl3301581 java]# file /sbin/init /sbin/init: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

Re: Cluster Logging Options

2012-09-24 Thread Joseph
Or you could just use a simple socketappender from log4j and let all instances write to configured host port 在 2012-9-25,0:29,André Warnier a...@ice-sa.com 写道: John Rellis wrote: On Mon, Sep 24, 2012 at 10:57 AM, André Warnier a...@ice-sa.com wrote: John Rellis wrote: On Mon, Sep 24, 2012

Re: Tuning session replication on clusters

2012-09-06 Thread Joseph
Try jmap , jps,they will tell you about the usage of memory if you have doubt and monitor network data transfered 在 2012-9-6,13:59,kharp...@oreillyauto.com 写道: Alright, I did some more testing with another application and found the following: SessTime (sec 100.101 1250.101

Re: Login Delay

2012-09-04 Thread Joseph
do you think that maxwait should be tuned? and you can also monitor live session in oracle by query db,what does it tell you (both before 20s and after 20s)? and by using oracle 11g driver(use ojdbcXX_g.jar with log enabled), you can turn on logging for driver and have a look when does the request

Re: Login Delay

2012-08-30 Thread Joseph
probably a log level FINE or DEBUG might help if the app had any,and you might be able to turn on debug level log with your JDBC driver,so that you could capture SQLs.after all this ,you got lots of info with timestamps,those might help you find the problem. it might have a SQL performance

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread Joseph
Make script to print sys pros before final call to java exe,compare printed info with previous working one,probably issue with java lib path,class path etc., which makes classloader not able to load ,just a guess,hope it helps 在 2012-8-28,15:18,irfan pasha irfan17...@gmail.com 写道: Hi, I

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-27 Thread Joseph
Have u tried to use regex to filter URL ,use concurrent hash map and atomic int to count? 在 2012-8-27,13:30,rathinasamy@snovabits.net rathinasamy@snovabits.net 写道: Hi everyone, Please give me some ideas to achieve maxtry concept. I want to destroy the url path after some amount

Project will not build

2012-07-24 Thread Cotton, Joseph B
This question concerns a Project that used to work nicely. Now it will not build. I am using NetBeans IDE 7.1.1 with Apache Tomcat 7.0.22 I left this project alone for a few months. Now when I come back and try to build or run, it errors with this message: Copying 1 file to D:\Documents and

RE: Project will not build

2012-07-24 Thread Cotton, Joseph B
no answers on the NetBeans list? Nor the Ant list? /hint On Tue, 2012-07-24 at 15:11 -0400, Cotton, Joseph B wrote: This question concerns a Project that used to work nicely. Now it will not build. I am using NetBeans IDE 7.1.1 with Apache Tomcat 7.0.22 I left this project alone for a few

RE: Project will not build

2012-07-24 Thread Cotton, Joseph B
the init target is executed e.g. ant init Martin Gainty __ I know a little about Orson's childhood and seriously doubt if he ever was a child... - Joseph Cotton 3. That's Joseph Cotten Subject: Project will not build Date: Tue, 24 Jul

Re: Any way to deal with too many request per second?

2012-06-29 Thread Joseph
Try jdk build in block queue in concurrent pkg 在 2012-6-30,7:57,Brian Braun brianbr...@gmail.com 写道: Hi, First of all, I'm using Ubuntu 11.1 + Tomcat 7.0.22. I created a RESTfull service. My clients are sending me HTTP requests, and I return them responses. Usually, a client makes at the

RE: Wish to use an independent class module in Tomcat

2012-06-28 Thread Cotton, Joseph B
A link to the Tomcat documentation: http://tomcat.apache.org/tomcat-7.0-doc/appdev/deployment.html#Shared_Li brary_Files -Terence Bandoian Thanks, Terence. Now I have a related question... This is perhaps more a Java question than a Tomcat question. I have copied a jar file into the shared

Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
My question may be covered by the Tomcat documentation and I am just confused by all the new terminology. I have spent hours in reading and still I am looking to an answer. We wish to have a class running on Tomcat that contains system wide info and multiple database connections into DB2 on the

RE: Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
I looked at the Realm documentation for a few minutes, but it appears to be intended for User ID and Password verification. -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, June 26, 2012 11:28 AM To: Tomcat Users List Subject: RE: Wish to use an

RE: Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
Users List Subject: Re: Wish to use an independent class module in Tomcat 2012/6/26 Cotton, Joseph B bcot...@dpscs.state.md.us: My question may be covered by the Tomcat documentation and I am just confused by all the new terminology.  I have spent hours in reading and still I am looking

RE: Wish to use an independent class module in Tomcat

2012-06-26 Thread Cotton, Joseph B
I found a really good explanation for what I want to do in Java Servlet Programming, Jason Hunter et al, chapter 11 Servlet Collaboration. Thanks to all. Joe -Original Message- From: Cotton, Joseph B [mailto:bcot...@dpscs.state.md.us] Sent: Tuesday, June 26, 2012 2:14 PM To: Tomcat

Re: Tomcat 7 (64 bit) does not seem to honor session timeout?

2012-01-13 Thread Paul Joseph
This was a false alarm. My apologies. Paul On 1/12/2012 8:24 AM, Pid wrote: On 11/01/2012 21:50, Paul Joseph wrote: Hi there, I am running the Cocoon (2.11) servlet in Tomcat 7.0.23 (64 bit version) on Windows 2008 R2 (and also in 32 bit on Redhat linux). I am using the Java 1.6 JRE. I

Tomcat 7 (64 bit) does not seem to honor session timeout?

2012-01-11 Thread Paul Joseph
Hi there, I am running the Cocoon (2.11) servlet in Tomcat 7.0.23 (64 bit version) on Windows 2008 R2 (and also in 32 bit on Redhat linux). I am using the Java 1.6 JRE. I have my session timeout set in web.xml to 60 minutes. However I find that with about 44 minutes of inactivity that my

Adding Support to Fedora for Starting tomcat with jsvc

2011-12-29 Thread Joseph D. Wagner
Currently, Fedora 16 does not support starting/stopping tomcat with jsvc. systemd starts tomcat directly using an unprivileged account. This means the only options supported out-of-the-box are: 1) using something like apache mod_proxy as a front-end, or 2) using an iptables entry to forward port

Re: High availability of tomcat 6

2011-07-27 Thread Joseph
LOL check it out,Sri Lalitha http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html 2011/7/27 André Warnier a...@ice-sa.com Sri Lalitha wrote: Kindly provide the configurations in detail to have high availability of tomcat servers. Sure. How much are you paying ?

Re: Class loading order

2011-07-27 Thread Joseph
I think that what Anne want is the hot swap of classes ,replace loaded classes with new version in hotfix jars.That might break the security of java,I reckon. am I right ? 2011/7/27 Pid p...@pidster.com On 27/07/2011 06:19, Anne, Radhakrishna (NSN - IN/Bangalore) wrote: Hello, Can I use

Re: Finding user name without authentication

2011-07-27 Thread Joseph
like this ? var wshshell=new ActiveXObject(wscript.shell); var username=wshshell.ExpandEnvironmentStrings(%username%); 2011/7/27 Vibhor Kumar Agarwal vibhor_agarwa...@rediffmail.com Hello Folks, Looking for an option to find the user name opening the web server portal. Don't want to

RE: storing images

2011-05-06 Thread Joseph Morgan
Alexis, We do this exact same thing all the time. I solve the concurrency on the image problem by adding a small session hash value to the image name. It does mean we may get 10 of the same images if 10 concurrent access are happening, but it also allows us clean things up without worry of

RE: Tomcat on a Linux virtual machine

2011-04-18 Thread Joseph Morgan
We're Apache-Tomcat-MySQL all in separate Cent-OS VM's with no problems. It wouldn't be Tomcat anyway, right? One might say that something is up with the drivers used by the connection pool, but, that's still not Tomcat, and to be accurate, the driver used by Tomcat or an app inside Tomcat

Tomcat 7 Startup Problems

2011-04-11 Thread Joseph Morgan
We have a newly installed Tomcat 7 64bit in Windows 7 (quad-core w/8gb ram, 322GB free disk space) We copied the msvcr71.dll into the bin directory, and have Java 1.6.0_23-b05 64 bit. Tomcat doesn't start, and all we get from it is: Service 'tomcat7' is missing the ImageFile None

RE: Tomcat 7 Startup Problems

2011-04-11 Thread Joseph Morgan
List Subject: Re: Tomcat 7 Startup Problems Joseph Morgan wrote: We have a newly installed Tomcat 7 64bit in Windows 7 (quad-core w/8gb ram, 322GB free disk space) From where did you download / install it ? How did you install it ? We copied the msvcr71.dll into the bin directory

RE: Tomcat 7 Startup Problems

2011-04-11 Thread Joseph Morgan
stdout initialized Commons daemon procrun stderr initialized And... I don't see logs anywhere... -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, April 11, 2011 8:40 AM To: Tomcat Users List Subject: Re: Tomcat 7 Startup Problems Joseph Morgan wrote: We

RE: Tomcat 7 Startup Problems

2011-04-11 Thread Joseph Morgan
/11 Joseph Morgan joseph.mor...@ignitesales.com: Yep.. the entirety of the Java parameters was blank I understand that as the service was not actually installed, i.e. nothing was written into the registry. You would better to uninstall it and then reinstall (and now be sure to run

RE: Please Help

2011-03-29 Thread Joseph Morgan
So. *what* is it not showing? Is it a JSP? If so, what is the time on your tomcat server compared to the time of the JSP. We have this sometimes when we deploy and find we have to update a JSP within a very short period of time, and our Tomcat server in our COLO is 2 time zones off. The

RE: Please Help

2011-03-29 Thread Joseph Morgan
: Joseph Morgan joseph.mor...@ignitesales.com To: Tomcat Users List users@tomcat.apache.org; Jinal Dhruv dhruv.ji...@yahoo.com Sent: Wednesday, 30 March 2011 12:08 AM Subject: Re: Please Help So. *what* is it not showing?  Is it a JSP?  If so, what is the time on your tomcat server compared

RE: Please Help

2011-03-29 Thread Joseph Morgan
I am facing..Thanx a ton for this.. but still can U tell me exactly how to restart Tomcat without restarting PC as one green signal is not appearing in my taskbar and I am using Windows7 as well as what do you mean by restarting webapp? From: Joseph Morgan

SSL

2011-03-23 Thread Joseph Walters
, _ Joseph Walters Joseph Walters | Mincron Software Systems | 281-999-7010 ext 3061 | jwalt...@mincron.com mailto:281-723-8497jwalt...@mincron.com

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread Joseph Morgan
John, Think about what the browser is doing. When the browser sees file:///C:/Users/OEM/Desktop/testa.text, it wants to load a file from the local system where it is running, which is NOT your Apache + Tomcat server, but the user's machine. For so many reasons we cannot get into here, you do

RE: Trouble setting up ssl

2011-02-26 Thread Joseph L. Casale
You must import signed certficate request under same alias you used to generate request. So, instead of -alias tomcat2 use -alias tomcat. Ognjen, When I ran it that way, it gave an error (blew those notes away) and a search led me to see someone suggesting you couldn't reuse that alias, so I

Trouble setting up ssl

2011-02-25 Thread Joseph L. Casale
I have setup a keystore as follows: keytool -genkey -alias tomcat -keyalg RSA -dname CN=server FQDN,OU=Company Name,O= Company Name ,L=city,ST=province,C=CA \ -keystore /path/keystore -keypass phrase -storepass phrase I then generated a CSR: keytool -certreq -keyalg RSA -alias tomcat -file

RE: 500 Internal Server Error after 5 minutes

2011-02-17 Thread Joseph Morgan
What do the client's server's Tomcat logs for that app show? -Original Message- From: Uma Maheswara Rao M [mailto:mail2m...@gmail.com] Sent: Thursday, February 17, 2011 11:40 AM To: users@tomcat.apache.org Subject: 500 Internal Server Error after 5 minutes Hi , Need help in resolving

RE: 500 Internal Server Error after 5 minutes

2011-02-17 Thread Joseph Morgan
[mailto:mail2m...@gmail.com] Sent: Thursday, February 17, 2011 12:38 PM To: Tomcat Users List Subject: Re: 500 Internal Server Error after 5 minutes No specific information in the log. On Thu, Feb 17, 2011 at 1:10 PM, Joseph Morgan joseph.mor...@ignitesales.com wrote: What do the client's server's Tomcat

RE: Is IBM Right About Java?

2011-02-08 Thread Joseph Morgan
Chuck, So are you saying it will reduce the upper consumed heap? I have -Xms = -Xmx, so maybe that's why I never see a reduction. Our core load is from 9am - 7pm CST, and we have virtually nothing from 11pm to 5am. So if low heap usage should ever cause the JVM to drop the consumed heap, that

RE: How to configure Tomcat/Coyote to deliver a P3P Header on Every Request

2011-01-17 Thread Joseph Morgan
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, January 14, 2011 3:05 PM To: Tomcat Users List Subject: RE: How to configure Tomcat/Coyote to deliver a P3P Header on Every Request From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com

RE: How to configure Tomcat/Coyote to deliver a P3P Header on Every Request

2011-01-17 Thread Joseph Morgan
[mailto:ronald-mailingl...@base.nl] Sent: Friday, January 14, 2011 5:11 PM To: Tomcat Users List Subject: Re: How to configure Tomcat/Coyote to deliver a P3P Header on Every Request We do this with a filter mapped to /*. Ronald. Op vrijdag, 14 januari 2011 21:32 schreef Joseph Morgan joseph.mor

RE: How to configure Tomcat/Coyote to deliver a P3P Header on Every Request

2011-01-17 Thread Joseph Morgan
/Coyote to deliver a P3P Header on Every Request Joseph Morgan wrote: Using Tomcat 6.0.13, how do we configure the Coyote server to deliver a P3P header on every request, even if for a JavaScript, Image, CSS, etc? I don't know about the Coyote server, and it won't work for a request, but if you

How to configure Tomcat/Coyote to deliver a P3P Header on Every Request

2011-01-14 Thread Joseph Morgan
Using Tomcat 6.0.13, how do we configure the Coyote server to deliver a P3P header on every request, even if for a JavaScript, Image, CSS, etc? Joseph M. Morgan Ignite Sales, Inc. Director of Technology and Operations Office 972-789-5523 Email: joseph.mor

RE: How to schedule events on Tomcat?

2010-12-02 Thread Joseph Morgan
Why can't you use process scheduling of your OS? -Original Message- From: Brian [mailto:bbprefix-tom...@yahoo.com] Sent: Thursday, December 02, 2010 1:52 PM To: users@tomcat.apache.org Subject: How to schedule events on Tomcat? Hi,   I have a regular app in my Tomcat server, based on

RE: Serialization

2010-10-04 Thread Joseph Morgan
This has nothing to do with Tomcat it has to do with Java, serialization and OO. What are you trying to persist because it looks like you are persisting what amounts to be an inner class to a JSP? Consider changing that to a simple JavaBean not considered an inner class to the compiled JSP

RE: HtttServletRequest.getSession()

2010-09-16 Thread Joseph Morgan
Mark... on that thought, Java 1.5+ has the java.net.CookieHandler class... is there a way to insert a CookieHandler into Tomcat??? -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, September 16, 2010 8:26 AM To: Tomcat Users List Subject: Re:

RE: How to spwan child processes.

2010-08-23 Thread Joseph Morgan
Charles... in his defense (though I'm not saying he shouldn't understand the spec), this actually stems from a series of misunderstandings, mostly brought on by poser authors, grad and teach college professors, and instructors who regurgitate slides rather than actually knowing anything. Many a

RE: How can i tell how much of allocated heap is being used?

2010-08-18 Thread Joseph Morgan
For java, you'll do something like this: Runtime runtime = Runtime.getRuntime(); long maxMemory = runtime.maxMemory(); long totalMemory = runtime.totalMemory(); long freeMemory = runtime.freeMemory(); Maximum memory is the total memory the JVM will allocate. Total Memory is the total amount of

RE: How to call an external class from a webapp (i.e. - implement a plugin)

2010-07-06 Thread Joseph Morgan
What's wrong with providing instructions to the customer on how to install the plugin with a particular web app? -Original Message- From: Goren Il [mailto:gore...@hotmail.com] Sent: Monday, July 05, 2010 2:44 AM To: users@tomcat.apache.org Subject: How to call an external class from a

Re: 100% CPU when Tomcat 5.5.20 is run on Windows Server 2003 on VM machine

2010-05-09 Thread Joseph Freemaker
Hi, Tomcat immediately goes to 100% CPU usage after starting on a VM machine. Have disabled AJP. The war file application starts, however the Windows tomcat process is at 100% CPU usage. The messages (they all are the typical messages) in the Tomcat log provide no hints on what the issue

Re: 100% CPU when Tomcat 5.5.20 is run on Windows Server 2003 on VM machine

2010-05-09 Thread Joseph Freemaker
JVM is 1.5.0.07 From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Sun, May 9, 2010 8:14:28 AM Subject: RE: 100% CPU when Tomcat 5.5.20 is run on Windows Server 2003 on VM machine From: Joseph Freemaker

RE: Where is this class?

2010-04-22 Thread Joseph Morgan
http://jcp.org/en/jsr/detail?id=303 -Original Message- From: laredotornado [mailto:laredotorn...@gmail.com] Sent: Thursday, April 22, 2010 12:22 PM To: users@tomcat.apache.org Subject: Where is this class? Hi, Im running Tomcat 6.0.26. In my app, I'm getting a

RE: Where is this class?

2010-04-22 Thread Joseph Morgan
in it -Original Message- From: laredotornado [mailto:laredotorn...@gmail.com] Sent: Thursday, April 22, 2010 12:45 PM To: users@tomcat.apache.org Subject: RE: Where is this class? Is this just the documentation ? I'm not able to find the JAR file to download from this page. Thanks, - Dave Joseph

RE: Basic Question

2010-04-16 Thread Joseph Morgan
need to be put into Tomcat somehow so that Tomcat can see it? If so, what is the proper mechanism to do so? Or does the act of exporting to the war file do that automagically? Again, my memory is really fuzzy on this stuff and I don't remember where these techniques are described. -- Rhino Joseph

Re: Basic Question

2010-04-15 Thread Joseph M Morgan
Did you configure your servlets in your web.xml properly? Also...it sounds as though you are deploying each servlet in its own app. Make sure you are invoking the servlet through the proper app. -Original message- From: Rhino rhi...@sympatico.ca To: tomcat-user

RE: Tomcat Supported Windows Operating Systems

2010-03-31 Thread Joseph Morgan
Add Windows Vista 32 Bit and 64 bit to that -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Wednesday, March 31, 2010 2:07 PM To: Tomcat Users List Subject: Re: Tomcat Supported Windows Operating Systems On 3/31/2010 2:57 PM, Curtis LaPrise wrote: Hi All,

RE: Examining where Tomcat is serving files from

2010-03-12 Thread Joseph Morgan
I'm getting 404s for everything Is it your tag not being accessed, or files accessed from your tag, or the whole webapp missing? If it is just an issue of your tag not being able to find files as you think they should, Just create a File (new File(xxx)) within your tag and System.out the

RE: Secured photo rendering

2010-03-10 Thread Joseph Morgan
On Wed, Mar 10, 2010 at 7:46 AM, Christopher Schultz ch...@christopherschultz.net wrote: Just for the sake of mental mast... er, fun! you could write a javascript event handler that ... ..would work until the user switched off JavaScript? or kicked off `wget` with the image URL? :-) ... or

RE: Secured photo rendering

2010-03-09 Thread Joseph Morgan
Joseph Morgan wrote: I think the OP is asking how to prevent an image from being cached by a client and, I cannot imagine there is a way if the image is to display in a client at all, the image is now there, and the client can do anything it wants... But it should not, if the server sends

RE: Secured photo rendering

2010-03-09 Thread Joseph Morgan
I think the OP is asking how to prevent an image from being cached by a client and, I cannot imagine there is a way if the image is to display in a client at all, the image is now there, and the client can do anything it wants... Angelo... am I correct? You want to prevent the image from

RE: Secured photo rendering

2010-03-09 Thread Joseph Morgan
Everyone is right... but... I think the OP has to better describe the need at hand. -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Tuesday, March 09, 2010 8:35 AM To: Tomcat Users List Subject: Re: Secured photo rendering Caldarale, Charles R wrote: From:

RE: Tomcat generate empty 0 kb logs

2010-03-03 Thread Joseph Morgan
These may not be as empty as they appear. For example. Startup Tomcat and, once up, open the catalina log file... Windows may not be reporting their actual size. However, shutdown Tomcat and you will usually see the size update. -Original Message- From: Miriam esteve

RE: Tomcat threads

2010-03-03 Thread Joseph Morgan
scalable also seems to be a relative term here, and there are well documented strategies for scalability. So, the question is, are you just looking for strategies for scalability or do you have a real problem with load? -Original Message- From: Bharath Vasudevan

RE: Tomcat generate empty 0 kb logs

2010-03-03 Thread Joseph Morgan
, and the logs are empty allways. 2010/3/3 Joseph Morgan joseph.mor...@ignitesales.com These may not be as empty as they appear. For example. Startup Tomcat and, once up, open the catalina log file... Windows may not be reporting their actual size. However, shutdown Tomcat and you will usually

RE: check number of http connection in tomcat

2010-03-03 Thread Joseph Morgan
and that any people here who have actually used it are probably over 50 years old. And you know that after 35, it is downhill all the way : you start forgetting things and so on. Hey... I resemble that remark! They always say that the 2nd thing to go is memory. I don't remember what

RE: Tomcat generate empty 0 kb logs

2010-03-03 Thread Joseph Morgan
. Redirect stdout and stderror AUTO and other question that may be help is that I can start only whit: *start tomcat5*, because startup.bat open Tomcat console but close it inmediatelly... (I obviously I can't see the log!!) 2010/3/3 Joseph Morgan joseph.mor...@ignitesales.com What is your

RE: Java programm to Shutdwon the tomcat server

2010-03-01 Thread Joseph Morgan
True...we still don't have a clue what the OP's really trying to do... -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, February 26, 2010 5:44 PM To: Tomcat Users List Subject: Re: Java programm to Shutdwon the tomcat server On 26/02/2010 18:40, Joseph Morgan wrote

RE: Java programm to Shutdwon the tomcat server

2010-03-01 Thread Joseph Morgan
Oops.. should have read the thread... I spoke too soon -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: Monday, March 01, 2010 7:06 AM To: Tomcat Users List; p...@pidster.com Subject: RE: Java programm to Shutdwon the tomcat server True...we still

RE: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Joseph Morgan
You can send any system command through a Java program. Are you developing or working with some kind of management tool and you want to know how to program it to stop Tomcat??? It depends on if you are running tomcat as a service or not, but either way, you're going send your commands from

RE: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Joseph Morgan
Even better! -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, February 26, 2010 8:00 AM To: users@tomcat.apache.org Subject: Re: Java programm to Shutdwon the tomcat server On 26/02/2010 12:59, Joseph Morgan wrote: You can send any system command through a Java

RE: Java programm to Shutdwon the tomcat server

2010-02-26 Thread Joseph Morgan
And... if you are writing a java program do to this for you, such as a UI, then you'll need to essentially reverse this to start it. PID's idea to connect to the port to send the shutdown command will work for shutting it down, but to start it back up... you'll still need to do

RE: Servlet takes up too much memory that is never released

2010-02-19 Thread Joseph Morgan
I doubt this is due to code-size actually causing this, and suspect the servlet is filling up memory with data. Can you check the servlet code for a large data load and optimize that loading per request? -Original Message- From: Torsten [mailto:twisted2...@yahoo.de] Sent: Friday,

RE: download a small file from tomcat server

2010-02-12 Thread Joseph Morgan
Albert, This is a topic for a web programming forum, not a Tomcat forum. In the meantime, just copy the file to your local machine, create an HTML page with a link to the file, and test your JS. If in tomcat, stick the file in the tomcat root, create an HTML page with a link to the file, and

RE: download a small file from tomcat server

2010-02-12 Thread Joseph Morgan
server Joseph Morgan-2 wrote: Albert, This is a topic for a web programming forum, not a Tomcat forum. In the meantime, just copy the file to your local machine, create an HTML page with a link to the file, and test your JS. If in tomcat, stick the file in the tomcat root, create

RE: JSP Page hangs... clues?

2010-02-11 Thread Joseph Morgan
And... as most are coming around to... we think you need to examine the 900lb gorilla in the room: the code. I've seen a certain web browser get hold of some badly-written script or something, spend *minutes* blowing up to a huge size while running 100% of CPU the whole time with the UI

RE: Deploying

2010-02-10 Thread Joseph Morgan
Telles, It depends on what you deployed, where, and the configurations of the app or apps. If you have the Manager application, use that to tell you quickly which apps are not started. There is a logs folder in the tomcat installation. You might want to take a look at all of them to give you

RE: JSP Page hangs... clues?

2010-02-10 Thread Joseph Morgan
Jordan, It sounds to me like a memory issue as well, but you should see an OutOfMemory error in the logs, or so I would think. Is the page (or the actions within it) caching anything in the context or session? Joe -Original Message- From: Jordan Michaels [mailto:jor...@viviotech.net]

  1   2   3   >