File "/customTagLibs" not found

2009-10-23 Thread Joseph Morgan
Sorry for the repeat... I originally sent this before my subscription was confirmed and didn't catch the replies... I have an interesting situation where I have configured all my common taglibs (jstl, etc) within Tomcat's conf/web.xml. We are now incorporating a custom tag library and added th

RE: File "/customTagLibs" not found

2009-10-23 Thread Joseph Morgan
Tomcat 6 (currently on Windows for Dev, production is Linux) -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, October 23, 2009 7:06 AM To: Tomcat Users List Subject: Re: File "/customTagLibs" not found Joseph Morgan wrote: > Any ideas? Tomcat v

RE: File "/customTagLibs" not found

2009-10-23 Thread Joseph Morgan
Tomcat version 6.0.20 -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, October 23, 2009 9:04 AM To: Tomcat Users List Subject: RE: File "/customTagLibs" not found > From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]

RE: File "/customTagLibs" not found

2009-10-26 Thread Joseph Morgan
when referenced within the {contextRoot}/META-INF/web.xml with "/../../lib/tld/custom.tld" -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, October 26, 2009 10:40 AM To: Tomcat Users List Subject: Re: File "/custom

RE: File "/customTagLibs" not found

2009-10-26 Thread Joseph Morgan
eb.xml's &*...@!#!! Thanks! -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, October 26, 2009 11:33 AM To: Tomcat Users List Subject: Re: File "/customTagLibs" not found -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jos

RE: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Joseph Morgan
I hope Mr. Caldarale answered your question, because you may otherwise be looking at the 800lb Gorilla in the room. Memory problems within Tomcat could be a number of very hard to see things, but some quick candidates are: * Programmers caching too much data from the DB (or file system) into cont

RE: webapps question

2009-11-04 Thread Joseph Morgan
Michele, It looks like all of the jar files you mention can safely be deployed in Tomcat's common lib area. Another question, though, to ask yourself and your developers is, do you really need 100 individual web apps to support the web services you have? In other words, there is no requirement t

RE: webapps question

2009-11-04 Thread Joseph Morgan
23 AM To: Tomcat Users List Subject: Re: webapps question On 04/11/2009 13:17, Joseph Morgan wrote: > Michele, > > It looks like all of the jar files you mention can safely be deployed in > Tomcat's common lib area. I'm not sure that's true of commons-logging or log4j.

RE: Token Security

2009-11-12 Thread Joseph Morgan
John, Just curious, but have you looked into existing token-based security mechanisms such as LTPA (if you're predominantly an IBM shop) or SAML? -Original Message- From: John Morrison [mailto:morr...@gmail.com] Sent: Wednesday, November 11, 2009 1:12 PM To: users@tomcat.apache.org Subj

RE: Token Security

2009-11-12 Thread Joseph Morgan
>Correct, at the moment there is no requirement to actually authenticate >the user. However, I've been told to ensure that, if the client wishes >(and pays) that the solution could be expanded to do so. I may have missed something, but are you simply trying to ensure secondary requests to web pa

RE: Token Security

2009-11-12 Thread Joseph Morgan
009 1:33 pm, Joseph Morgan wrote: > John, > > Just curious, but have you looked into existing token-based security > mechanisms such as LTPA (if you're predominantly an IBM shop) or SAML? Hi Joseph I haven't to be honest; this isn't a java shop. MS is 99% of what we u

RE: Token Security

2009-11-12 Thread Joseph Morgan
y On Thu, November 12, 2009 1:33 pm, Joseph Morgan wrote: > John, > > Just curious, but have you looked into existing token-based security > mechanisms such as LTPA (if you're predominantly an IBM shop) or SAML? Hi Joseph I haven't to be honest; this isn't a java shop.

RE: Token Security

2009-11-12 Thread Joseph Morgan
on [mailto:morr...@gmail.com] Sent: Thursday, November 12, 2009 8:43 AM To: Tomcat Users List Subject: RE: Token Security Nope. I've made it clear (and I've the email trail to prove) that I'm doing this this way solely at the order of the powers that be. On Thu, November 12, 2009 2:31 pm,

RE: Token Security

2009-11-12 Thread Joseph Morgan
Did I just hear... "D--- the torpedos!" -Original Message- From: John Morrison [mailto:morr...@gmail.com] Sent: Thursday, November 12, 2009 9:04 AM To: users@tomcat.apache.org Subject: RE: Token Security Thanks guys, I've got what I needed working. Most appreciated. Regards, John. -

RE: How to cancel a servlet startup?

2009-11-12 Thread Joseph Morgan
Dan, Pardon my advice, but... this sounds like a programming/config/illegal state error that shouldn't make it to production. Of course, you could simply add instrumentation to the system to detect that this servlet didn't do its thing, and route every request to a holding page. Joe -Orig

RE: How to cancel a servlet startup?

2009-11-12 Thread Joseph Morgan
Dan... Similar to what they are saying, but why don't you have a system script that will shut down that particular app if the startup fails... that is. When the startup fails, have it fire off the system script that shuts down the context? Or, does it fail so catastrophically that you have no c

RE: How to cancel a servlet startup?

2009-11-12 Thread Joseph Morgan
ally, redirect the users to an error screen that tells them that it's broken.. Thanks, Dan On Thu, Nov 12, 2009 at 11:42 AM, Joseph Morgan wrote: > Dan, > > Pardon my advice, but... this sounds like a programming/config/illegal > state error that shouldn't make i

RE: Possible to do async processing?

2009-11-16 Thread Joseph Morgan
Yes, there is a way, and I suspect you're doing "fire-and-forget" processing, but, could you give us a better idea as to what you are trying to do? Tomcat will handle servlet requests in multiple threads if needed, anyway. So it may not be necessary. I'm thinking you might want to investigat

RE: Possible to do async processing?

2009-11-16 Thread Joseph Morgan
2009 12:05 PM To: Tomcat Users List Subject: Re: Possible to do async processing? 2009/11/16 Joseph Morgan : > Yes, there is a way, and I suspect you're doing "fire-and-forget" processing, > but, could you give us a better idea as to what you are trying to do? > > Tomcat w

RE: Multiple war files for the same application context.

2009-11-16 Thread Joseph Morgan
Are you trying to deploy elements of a larger applications separately? It seems you just need different JAR files for the application, and, though those can be deployed to the same web app separately, you're not really gaining anything, since the app will have to be restarted anyway, and you might

RE: synchronizing in tomcat

2009-11-17 Thread Joseph Morgan
I completely agree with Chuck, and completely disagree with Neil. Never rely upon static state in servlet classes unless you have complete control over class loading, which you shouldn't, otherwise you'd write your own servlet container. As Chuck says, it is not a Tomcat issue, but one for the

RE: Problems finding the right filepath

2009-11-23 Thread Joseph Morgan
Ludwig, What is your dev language? -Original Message- From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Sent: Monday, November 23, 2009 11:24 AM To: users@tomcat.apache.org Subject: Problems finding the right filepath Hello! We are a team developing a webapp running on a tomcat se

RE: Problems finding the right filepath

2009-11-23 Thread Joseph Morgan
Or... maybe within a initialization parameter for a servlet if you are using Java -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, November 23, 2009 11:59 AM To: Tomcat Users List Subject: RE: Problems finding the right filepath > From: Ludw

RE: Problems finding the right filepath

2009-11-23 Thread Joseph Morgan
I can try the ones you have suggested. /Ludwig -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:02 To: Tomcat Users List Subject: RE: Problems finding the right filepath Or... maybe within a initialization parameter for a s

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
Mohammad, Look in your Tomcat/conf/catalina.properties file. Within there you'll find a "shared.loader=" line, and I suspect it is empty. You'll likely want to enter a value there, such as "shared.loader=${catalina.home}/shared,${catalina.home}/shared/*.jar" -Original Message- From: Moh

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
That doesn't mean someone didn't ax it. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, December 09, 2009 8:09 AM To: Tomcat Users List Subject: Re: db jars in common/lib and shared/lib Joseph Morgan wrote: > Mohammad, > > Look

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
Not required for the web app unless you are using connection pooling within tomcat. The DB drivers can be in shared. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, December 09, 2009 8:10 AM To: Tomcat Users List Subject: Re: db jars in common/lib and shar

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
39 To: Tomcat Users List Subject: Re: db jars in common/lib and shared/lib Joseph Morgan wrote: > Mohammad, > > Look in your Tomcat/conf/catalina.properties file. Within there you'll > find a "shared.loader=" line, and I suspect it is empty. You'll likely &

RE: db jars in common/lib and shared/lib

2009-12-09 Thread Joseph Morgan
Dang it... the db drivers need to be located in common/lib if being used as a source for a connection pool... Sorry for the mistake... -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: Wednesday, December 09, 2009 12:04 PM To: Tomcat Users List Subject

RE: Comet and thread binding

2010-01-05 Thread Joseph Morgan
Sounds to me you simply need to create a POJO to contain the execution context state (and definitely not static variables beyond that to support the singleton pattern). You could most simply use a HashMap, but there is a stronger argument around semantics for creating a POJO to hold that state. T

RE: Running two tomcat servers on same system?

2010-01-08 Thread Joseph Morgan
Ok then, Dean, why the two entirely different app servers instead of just two different applications in the same server? You stated two primary goals: 1) Separate public/private apps and 2) Not have them interfere with one another. A 10 hit a month app isn't going to interfere with anything unle

RE: Uniqueness of a sessionId

2010-01-08 Thread Joseph Morgan
Arnab, I've been silently following your thread (mainly because I'm not even remotely as smart as the folks out here), but it seems you have an issue of architecture, and not of Tomcat capabilities. I'm still not sure what you are doing, but it seems you want to be able to pass (and cache as a se

RE: Uniqueness of a sessionId

2010-01-08 Thread Joseph Morgan
each session in context B. Thanks, Ghosh Now On Fri, Jan 8, 2010 at 7:06 PM, Joseph Morgan wrote: > Arnab, > > I've been silently following your thread (mainly because I'm not even > remotely as smart as the folks out here), but it seems you have an issue > of a

RE: Tips on tracking down memory leaks

2010-01-12 Thread Joseph Morgan
Greg, you've just awakened a 900 lb gorilla! My guess, based upon your description of the problem as large chunks at a time, is something related to reading and caching data, and this is why PMD and profiling tools won't help. Therefore, look at all the code accessing data from whatever storage

RE: Exception in localhost file

2010-01-12 Thread Joseph Morgan
>> Jan 11, 2010 4:12:57 PM org.apache.catalina.core.StandardWrapperValve invoke >> SEVERE: Servlet.service() for servlet SwchServlet threw exception >> java.lang.ArrayIndexOutOfBoundsException >> There is no clue as to why this might be happening. False, that IS the clue. SwchServlet code is usi

RE: Exception in localhost file

2010-01-12 Thread Joseph Morgan
ileHandler org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 5host-manager.org.apache.juli.FileHandler On Tue, Jan 12, 2010 at 5:29 AM, Joseph Morgan wrote: >>> Jan

RE: Best Basic Auth Approach

2010-01-13 Thread Joseph Morgan
Sounds to me the better solution is to make Tomcat inaccessible from outside, and then have Apache route only authenticated requests. -Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Wednesday, January 13, 2010 3:34 PM To: users@tomcat.apache.org Subject: Re: Best

RE: Securing Tomcat Applications from Reverse Engineering

2010-01-21 Thread Joseph Morgan
http://proguard.sourceforge.net/ -Original Message- From: Kranti(tm) K K Parisa [mailto:kranti.par...@gmail.com] Sent: Thursday, January 21, 2010 5:05 AM To: Tomcat Users List Subject: Securing Tomcat Applications from Reverse Engineering Hi, Can anyone throw some light on this topic,

RE: Data Binding in JSP

2010-01-25 Thread Joseph Morgan
Keep in mind the overall architecture. The user is actually using an HTML page containing HTML fields. The browser (nor the HTML) has no actual knowledge of the DB or any binding or ORM you have on your server. So, on the server side, you have 2 primary components; servlets for validating and pr

RE: Viewing JSP's compiled code

2010-01-29 Thread Joseph Morgan
Fred, there is a directory under the tomcat directory called "work". Follow that structure through to the end.. it will be different depending on your apps, but it starts out with "work->Catalina->{host}->{app}->org->apache->jsp", and even more if you have jsp's within sub-directories. You should

RE: Viewing JSP's compiled code

2010-01-29 Thread Joseph Morgan
A really "poor man's" way of doing this is to add a "getXXX" in "p"s class that calls The java function and returns the value. Then, you could just write something like: ${p.XXX} Replacing XXX with the name of the function. -Original Message- From: fred basset [mailto:fredbasset1...

RE: Viewing JSP's compiled code

2010-01-29 Thread Joseph Morgan
this but the p in this case is a class auto generated by Hibernate, and I don't know yet if it's possible to customize those auto generated classes (but I'm going to find out). On Fri, Jan 29, 2010 at 9:18 AM, Joseph Morgan wrote: > A really "poor man's" way of d

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
Fabian, This looks almost certainly like you are compiling with two different versions of the JDK. Spit out the version from the OS and compare that to the version set for Eclipse and Ant. Joe -Original Message- From: Fabian Panthen [mailto:f...@unitb-consulting.de] Sent: Monday, Feb

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
n how WEB-INF classes are build Joseph Morgan schrieb: > Fabian, > > This looks almost certainly like you are compiling with two different > versions of the JDK. Spit out the version from the OS and compare that to > the version set for Eclipse and Ant. > > Joe > >

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
>> There is an Ig-Nobel prize waiting to be atributed, >> if one can ever identify the guy who came up with that idea first. You mean it wasn't Bill??? :-) -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, February 08, 2010 10:20 AM To: Tomcat Users List Subj

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 yo

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]

RE: JSP Page "hangs"... clues?

2010-02-10 Thread Joseph Morgan
nologies http://www.viviotech.net/ Open BlueDragon Steering Committee Railo Community Distributions Joseph Morgan wrote: > 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

RE: JSP Page "hangs"... clues?

2010-02-10 Thread Joseph Morgan
y, I got that last packet" message but the server won't send anything else. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Railo Community Distributions Joseph Morgan wrote: > Depends on if your machine can handle the m

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 U

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

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, Febru

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 jav

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 J

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 Runtime.getRunti

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 Mo

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: 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 [mailto:miesvesa...@

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 [mailto:bharath@gmai

RE: Tomcat generate empty 0 kb logs

2010-03-03 Thread Joseph Morgan
, and the logs are empty allways. 2010/3/3 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

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

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 > What is your logging leve

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

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 be

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: A

RE: Secured photo rendering

2010-03-10 Thread Joseph Morgan
On Wed, Mar 10, 2010 at 7:46 AM, Christopher Schultz 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 someone is using screen

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 ab

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: Basic Question

2010-04-16 Thread Joseph Morgan
Depends upon how geeky you want it. You can try this, as it will be certainly the most definitive answer, but somewhat like beef jerky to digest: http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd You could start here for a everything you want to know: http://jcp.org/aboutJava/communityprocess/m

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, I"m running Tomcat 6.0.26. In my app, I'm getting a "java.lang.ClassNotFo

RE: Where is this class?

2010-04-22 Thread Joseph Morgan
rom this page. Thanks, - Dave Joseph Morgan-2 wrote: > > 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 i

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

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 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 Morg

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 : > >

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 fo

RE: Is IBM Right About Java?

2011-02-08 Thread Joseph Morgan
I have a JVM heap monitor that sends emails when the upper limit changes, and this appears to be true. The GC still works, that is, used heap continues to fluctuate up and down within the current upper limit, but if the server experiences a hit on load and increases the heap, it remains at that le

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 i

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 be

RE: 500 Internal Server Error after 5 minutes

2011-02-17 Thread Joseph Morgan
wara Rao M [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 th

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 n

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 To: Tomcat Users List ; Jinal Dhruv 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 to the time of the JSP.  We have this sometimes when we deploy and find we

RE: Please Help

2011-03-29 Thread Joseph Morgan
ou mean by restarting webapp? From: Joseph Morgan To: Tomcat Users List ; Jinal Dhruv Sent: Wednesday, 30 March 2011 12:36 AM Subject: Re: Please Help You can 1) Restart Tomcat or your web app, or 2) read this: http://stackoverflow.com/questions/415520/how-do-i

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 of

RE: Tomcat 7 Startup Problems

2011-04-11 Thread Joseph Morgan
onday, April 11, 2011 7:40 AM To: Tomcat Users 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 ?

RE: Tomcat 7 Startup Problems

2011-04-11 Thread Joseph Morgan
daemon procrun 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 Josep

RE: Tomcat 7 Startup Problems

2011-04-11 Thread Joseph Morgan
: Re: Tomcat 7 Startup Problems 2011/4/11 Joseph Morgan : > 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 s

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 does

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 destr

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 m

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. Man

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: HtttServletReque

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: 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 the