> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars
>
> What about classes with mutable static members? These members should be
> preserved for a while, right?
Only while the java.lang.Class instance is reachable; after
Hi,
When you say "load", do you mean loads the new Class object into memory?
Yes.
Why do you think the 404 has anything to do with failed compilation
and/or loading? Is it possible you just have a broken URL or something?
You *have* been messing around writing your own JSP compiler...
My JSP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 10/9/2009 7:14 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars
>>
>> The webapp itself is irrelevant. A java.lang.Class obj
> From: Law, Christopher [mailto:chris@snapon.com]
> Subject: RE: Tomcat hangs for minutes between ContextConfig and
> StandardContext (Starting the app)
>
> The Tomcat logs show:
> 2009-10-09 16:03:11,093 DEBUG main
> org.apache.catalina.startup.ContextConfig - Successfully processed
> conte
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars
>
> > From: André Warnier [mailto:a...@ice-sa.com]
> > Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars
>
> > You must have meant "shared by all webapps".
On Fri, Oct 9, 2009 at 3:38 PM, kalpanab wrote:
>
> Do tomcat have any other option to disable session persistence?
That's it -- perhaps you need to define what *you* mean by "session
persistence", because it doesn't seem to be the same.
--
Hassan Schroeder hassan.schro
Well, I created a context file named for my app (Spc.xml) and placed it
in ${CATALINA_HOME}/conf/Catalina/localhost/. I set the two entries:
true
true
The Tomcat logs show:
2009-10-09 16:03:11,093 DEBUG main
org.apache.catalina.startup.ContextConfig - Successfully processed
context [/S
Do tomcat have any other option to disable session persistence?
Thanks,
Kalpana
Hassan Schroeder-2 wrote:
>
> On Fri, Oct 9, 2009 at 3:06 PM, kalpanab wrote:
>
>> I am using tomcat 5.5.28 and I disabled session persistence in
>> context.xml
>> by uncommenting the .
>
>
>
> Uh, "... acros
On Fri, Oct 9, 2009 at 3:06 PM, kalpanab wrote:
> I am using tomcat 5.5.28 and I disabled session persistence in context.xml
> by uncommenting the .
Uh, "... across Tomcat restarts" doesn't have anything to do with:
>To test load balancing I ran script calls
> 5request per second to the web
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 10/9/2009 5:29 PM, André Warnier wrote:
> Caldarale, Charles R wrote:
> Being ever eager to learn, I have been following this thread with interest.
>
> Do I understand this correctly, if I draw the following conclusions :
>
> - the Heap is
Hi All,
I am using tomcat 5.5.28 and I disabled session persistence in context.xml
by uncommenting the . And deployed my web app war
file and restarted tomcat. To test load balancing I ran script calls
5request per second to the web application. And I saw memory growing because
of increasing sess
Caldarale, Charles R wrote:
Also be aware that any static fields or singleton objects in the shared classes
really will be shared by each webapp, whereas before each webapp had its own
copy.
You must have meant "shared by all webapps". Chuck, you should really
watch your usage of the termin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rasmus,
On 10/2/2009 4:30 PM, Rasmus Larsen wrote:
> I've created a custom class loader, which first first tries to load
> classes from a specific set of jars, and if that fails it just loads
> the class in the standard manner. This makes it possible
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rony,
On 10/9/2009 7:30 AM, Rony G. Flatscher (Apache) wrote:
> Learning about the finalization of moving taglib from jakarta to
> tomcat, one could also learn that the BSF taglib got retired in the
> process.
Yup.
> AFAIK the BSF taglib has been al
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 10/9/2009 11:04 AM, Caldarale, Charles R wrote:
>> From: pprun [mailto:runping_hu...@hotmail.com]
>> Subject: DataSourceRealm failed to retrieve password after tomcat
>> server being idle overnight
>>
>> When I left server idle overnight and
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Subject: RE: tomcat 5.5.25 shared lib and sharing webapp jars
>
> Sorry, I think I used poor wording there. Should have used something
> like "instances of classes loaded by a webapp's classloader". So you
> don't have to look at
> From: Curtis Garman [mailto:curt.gar...@gmail.com]
> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars
>
> Honestly, I'm not that familiar with classloaders...I've never had to
> deal with them...what would I look at to determine if this danger is
> likely to be present?
Sorry, I th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mercy,
On 10/9/2009 1:53 PM, Mercy wrote:
>> * Did you mean "compiles and /executes/ the JSP"?
>
> No,here means compiles and loads the JSP.
When you say "load", do you mean loads the new Class object into memory?
>> *Huh? Are you saying that if
Honestly, I'm not that familiar with classloaders...I've never had to
deal with them...what would I look at to determine if this danger is
likely to be present?
On Fri, Oct 9, 2009 at 1:31 PM, Caldarale, Charles R
wrote:
>> From: Curtis Garman [mailto:curt.gar...@gmail.com]
>> Subject: Re: tomcat
> From: Curtis Garman [mailto:curt.gar...@gmail.com]
> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars
>
> So are you saying that I shouldn't use the shared lib at all?...or
> just sparingly?
Sparingly, only for those classes that you are absolutely certain never retain
references
So are you saying that I shouldn't use the shared lib at all?...or
just sparingly?
On Fri, Oct 9, 2009 at 12:36 PM, Caldarale, Charles R
wrote:
>> From: Curtis Garman [mailto:curt.gar...@gmail.com]
>> Subject: tomcat 5.5.25 shared lib and sharing webapp jars
>>
>> I've got a question about the to
Hi chris,
* Did you mean "compiles and /executes/ the JSP"?
No,here means compiles and loads the JSP.
*Huh? Are you saying that if you compile the JSP with one request then a
second request to execute the JSP fails with a 404?
Yes
* Please define "wrong": does it fail (and generate some
> From: Curtis Garman [mailto:curt.gar...@gmail.com]
> Subject: tomcat 5.5.25 shared lib and sharing webapp jars
>
> I've got a question about the tomcat 5.5.25 shared lib...is there any
> danger of using this almost exclusively if you have a lot of jars that
> are shared among apps.
The danger i
First off my question was answered (in the subject line) that what I am doing
should work for Windows OS.
When I did a view source in Firefox there was nothing.
When I looked at the error dialog box in FireFox there was nothing.
When I looked at the server logs for Jboss (both boot and log writ
Tony Anecito wrote:
...
When I changed the server.xml recommended
by Jboss and others to port 80 I got the white page (no source)
Tony,
you may get a page that looks empty in your browser.
But that is not all that you are getting.
If you look at the page source, you will probably see more.
If yo
I've got a question about the tomcat 5.5.25 shared lib…is there any
danger of using this almost exclusively if you have a lot of jars that
are shared among apps. I know you can but I also saw something
somewhere and now again
(http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-in-pr
Peter Crowther wrote:
2009/10/9 Serge Fonville :
Hi,
Yesterday on the JBoss users forum I posted the question how to setup http
for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.
[...]
Well known ports require root
[...]
http://en.lmgtfy.com/?q=tomcat+port+80+linux
Thanks, you are right, it works now.
Hassan Schroeder-2 wrote:
>
> On Fri, Oct 9, 2009 at 9:15 AM, Angelo Chen
> wrote:
>
>> Am I missing something here?
>>
>> < Host name="www.example.com" appBase="apps"
>> unpackWARs="true" autoDeploy="true"
>> xm
Hello Christopher,
> > An idea to mitigate this risk is to ask the network team to remove
> > some http headers at the entry of the platform (x-forwarded-for,
> > x-forwarded-proto, x-forwarded-... )
>
> This makes a lot of sense, except that there might be some legitimate
> proxies in the path t
> From: Angelo Chen [mailto:angelochen...@yahoo.com.hk]
> Subject: host alias in tomcat 6
>
> with following config, I can reach:
>
> www.example.com:8080
> but not
> http://example.com:8080
What does "reach" mean? What status do you see in your browser?
Do you have both www.example.com and ex
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: [OT] JNI problem
>
> C99 probably allows this:
> char s[20];
> sizeof s;
>
> To yield 20, while strict, old-skool C would yield whatever "sizeof
> char*" would.
Not true; all versions of the C standard allowed the a
On Fri, Oct 9, 2009 at 9:15 AM, Angelo Chen wrote:
> Am I missing something here?
>
> < Host name="www.example.com" appBase="apps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false" >
> example.com
If this is
> From: Maciej Zabielski [mailto:m...@tessel.pl]
> Subject: RE: Application gets started twice
>
> It is not that easy for me to get rid of Context element as when I do
> that, my mod_jk stops working
You probably don't want to get rid of the elements, but they really
should not be in server.xm
with following config, I can reach:
www.example.com:8080
but not
http://example.com:8080
if I make the host name 'example.com' and alias 'www.example.com', then I
can reach http://example.com but not www.example.com
Am I missing something here? it is a tomcat 6
< Host name="www.example.com"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 10/8/2009 8:27 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: [OT] JNI problem
>>
>> C99 allows /dynamic/ size determination:
>
> Sounds like a flaw in the article; it can'
On Fri, Oct 9, 2009 at 4:28 PM, Peter Crowther
wrote:
> 2009/10/9 Serge Fonville :
> > Hi,
> >
> > Yesterday on the JBoss users forum I posted the question how to setup
> http
> >> for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.
> [...]
> > Well known ports require root
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mercy,
On 10/9/2009 2:49 AM, Mercy wrote:
> In my view, the JSP 11.4.2 spec says that if client adds the
> *jsp_precompile
> *parameter, the request will not execute the jsp page's service method
Correct. It merely (re-)compiles the JSP page.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cyrille,
On 10/9/2009 9:16 AM, Cyrille Le Clerc wrote:
> An idea to mitigate this risk is to ask the network team to remove
> some http headers at the entry of the platform (x-forwarded-for,
> x-forwarded-proto, x-forwarded-... )
This makes a lot of
Thank you for your time so far!
And sorry for a long mail this time :)
Because I had some other problems with missing libraries I have decided to get
a new installation of Tomcat from apache.org - It solved many problems as
compared to Centos yum installation. I have a script that will start it
> From: pprun [mailto:runping_hu...@hotmail.com]
> Subject: DataSourceRealm failed to retrieve password after tomcat
> server being idle overnight
>
> When I left server idle overnight and tried to login
> into the application the next day, DataSourceRealm
> would fail in retrieving password.
N
Hi,
I am using DataSourceRealm to authenticate user in my application on Tomcat
5.5.28. When I left server idle overnight and tried to login into the
application the next day, DataSourceRealm would fail in retrieving password.
The following error message was shown in the console:
SEVERE: Except
Hi Peter,
I had both Apache and JBoss running fine (for years) together under Windows
2000. JBoss 5.1.0GA as using port 8080 and Apache Web Server port 80. I am
using ajp for JBoss communication. When I changed the server.xml recommended by
Jboss and others to port 80 I got the white page (no s
2009/10/9 Serge Fonville :
> Hi,
>
> Yesterday on the JBoss users forum I posted the question how to setup http
>> for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.
[...]
> Well known ports require root
[...]
> http://en.lmgtfy.com/?q=tomcat+port+80+linux
Serge, the OP is on
Thanks for the reply. I am using Windows. Someone from Apache said it should
work and I needed to enable a valve for a access file to be enabled.
-Tony
--- On Fri, 10/9/09, Serge Fonville wrote:
> From: Serge Fonville
> Subject: Re: Does Tomcat http work on port 80?
> To: "Tomcat Users List"
Many Thanks.
-Tony
--- On Fri, 10/9/09, Caldarale, Charles R wrote:
> From: Caldarale, Charles R
> Subject: RE: Does Tomcat http work on port 80?
> To: "Tomcat Users List"
> Date: Friday, October 9, 2009, 8:21 AM
> > From: Tony Anecito [mailto:adanec...@yahoo.com]
> > Subject: Does Tomcat htt
Hi,
Yesterday on the JBoss users forum I posted the question how to setup http
> for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.
> Although I got some answers (Yes) in the end it seemed as if you could
> configure it but it did not work. Worked great on other port numbers
> From: Tony Anecito [mailto:adanec...@yahoo.com]
> Subject: Does Tomcat http work on port 80?
>
> So simple question should port 80 work?
Yup, works fine for us. Note that the JBoss comm configuration procedure is
quite different from that of Tomcat; you'll need to consult the JBoss doc.
> Do
Hi All,
Yesterday on the JBoss users forum I posted the question how to setup http for
Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof. Although I
got some answers (Yes) in the end it seemed as if you could configure it but it
did not work. Worked great on other port numbers
VijayKS wrote:
VijayKS wrote:
Hi I m using Tomcat 4.1.
I try to redirect System.out to log files, but unable to do it.
Help me to resolve this issue
I installed the exe version of tomcat 4.1 .
There is no catalina.log files present.
"localhost_log.2009-10-09.txt" This is the file name is
> From: Ziggy [mailto:zigg...@gmail.com]
> Subject: Re: Re Directing tomcat console out put to log files
>
> all output for System.out statements should by default go to the
> tomcat log file which is in $CATALINA_HOME/logs/catalina.out
That's not quite correct. The logs/catalina.out file is not
VijayKS wrote:
>
> Hi I m using Tomcat 4.1.
> I try to redirect System.out to log files, but unable to do it.
> Help me to resolve this issue
>
I installed the exe version of tomcat 4.1 .
There is no catalina.log files present.
"localhost_log.2009-10-09.txt" This is the file name is in
C:
Hello Christopher,
> > I am afraid there may be a flaw in the algorythm looking for the
> > first IP of the coma delimited x-forwarded-for header without
> > ensuring that this first IP has been set by a trusted proxy and not by
> > the requester ( getFirstIP(xforwardedForHeaderValue) ). Su
Hi there,
not sure whether this is a user or dev question, hence sending it to
both, please forgive, if wrong.
Learning about the finalization of moving taglib from jakarta to tomcat,
one could also learn that the BSF taglib got retired in the process.
AFAIK the BSF taglib has been allowing one t
all output for System.out statements should by default go to the
tomcat log file which is in $CATALINA_HOME/logs/catalina.out
Is anything getting written to that file?
On 10/9/09, VijayKS wrote:
>
> Hi I m using Tomcat 4.1.
> I try to redirect System.out to log files, but unable to do it.
> Hel
Hi I m using Tomcat 4.1.
I try to redirect System.out to log files, but unable to do it.
Help me to resolve this issue
--
View this message in context:
http://www.nabble.com/Re-Directing-tomcat-console-out-put-to-log-files-tp25818644p25818644.html
Sent from the Tomcat - User mailing list archi
Hi all,
I would like to use TOMCAT together with Bayeux to develop a streaming
application.
My question:
1) is it possible with Bayeux to send in one and the same HTTP response
several messages at different times back to the client?
2) where can I find additional informations about Tomcat and
2009/10/9 Steve Wade :
> I know this configuration works and that Apache states Tomcat 5.5.x support
> for Java 1.5 and above, but I cannot find a statement for support of Java 1.6
> with Tomcat 5.5.x. Anyone know where this support is documented?
>
As far as my personal experience is,
Tomcat 5.
CATALINA_OPTS is more suitable here, though either one will work.
Also, you can put the value into catalina.properties.
2009/10/9 niaouli :
>
> Hi,
> Can you just tell me, please, if the option
> -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
> should be put in JAVA_OPTS o
58 matches
Mail list logo