Hello,
I am working on embedding tomcat 7 into our application. We have a number of
web apps and the static content is located in a different directory, common
to all webapps.
I am not finding a way to serve this static content. Could somebody please
help me out.
Thanks,
Sandhya
--
View this me
2012/2/7 Andrew Kujtan :
> OS: Windows 7 32bit
>
> Ver.: Apache Tomcat/7.0.25
>
> Jvm: 1.6.0_14-b08
>
>
>
> I am attaching a shutdown hook from within my webapp to log some info
> after tomcat shuts down,
>
>
> > Runtime.getRuntime().addShutdownHook(mythread, name +
> ":shutdownHook"));
>
1. W
> -Original Message-
> From: Chema [mailto:demablo...@gmail.com]
> Sent: Tuesday, February 07, 2012 5:12 PM
> To: Tomcat Users List
> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> >> Can I see ApplicationShutdownHooks source code ?
> >
> > That i
>> Can I see ApplicationShutdownHooks source code ?
>
> That is located in java.lang, you can see the source online...
>
Sorry, I meant about *your* app's shutdown hook.
>> What 's com.evertz.registry.ServerRegistryListener ?
Right
>
> This is just the listener that triggers the shutdown call.
> -Original Message-
> From: Chema [mailto:demablo...@gmail.com]
> Sent: Tuesday, February 07, 2012 4:51 PM
> To: Tomcat Users List
> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> > "Asynchronous Notification 'interface
> com.evertz.registry.Se
> "Asynchronous Notification 'interface
> com.evertz.registry.ServerRegistryListener: masterChanged'" daemon prio=6
> tid=0x28c77000 nid=0x16d8 in Object.wait() [0x2899f000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Tuesday, February 07, 2012 3:09 PM
> To: Tomcat Users List
> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: S
On Tue, Feb 07, 2012 at 12:06:12PM -0600, Ole Ersoy wrote:
> Thanks Andre and John. I used jsvc to run tomcat before. Maybe
> that's what got me around the root user restriction.
That is exactly what it is for, and I can't imagine why every distro
doesn't use it instead of the arcane scripting t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christopher,
On 2/7/12 3:01 PM, Christopher Restorff wrote:
> I have a question regarding CVE-2005-4836:
> http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-4836
Wow. Blast from the past.
> The security bulletin, http://tomcat.apache.org/sec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
On 2/7/12 2:40 PM, Andrew Kujtan wrote:
> When I call System.exit() tomcat doesn't actually shutdown
That's weird.
> it looks like it just is deadlocking or something as I am getting
> a timeout on the call that runs it.
What does a thread
On 2/7/12 12:01 PM, "Christopher Restorff"
wrote:
>Hello,
>
>I have a question regarding CVE-2005-4836:
>http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-4836
>
>The security bulletin, http://tomcat.apache.org/security-4.html,
>mentions that it will not be fixed in 4.x. However, there is
Hello,
I have a question regarding CVE-2005-4836:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-4836
The security bulletin, http://tomcat.apache.org/security-4.html,
mentions that it will not be fixed in 4.x. However, there is no
indication as to whether it affects 5.x or beyond. Is t
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Tuesday, February 07, 2012 1:39 PM
> To: Tomcat Users List
> Subject: RE: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> > From: Andrew Kujtan [mailto:akuj...@evertz.
> From: Peter Kleczka [mailto:pklec...@gmail.com]
> Subject: Re: Web app calls JMS over SSL - certificates
> What I would like to do is tell my application where my keystore
> files are located rather than load them through the JVM.
So what stops you from doing that? There are numerous ways to
> From: Andrew Kujtan [mailto:akuj...@evertz.com]
> Subject: Shutdown Hooks not firing when tomcat is shutdown from within a
> webapp
> OS: Windows 7 32bit
> Ver.: Apache Tomcat/7.0.25
> Jvm: 1.6.0_14-b08
Thanks for that.
> I am attaching a shutdown hook from within my webapp to log
> some
OS: Windows 7 32bit
Ver.: Apache Tomcat/7.0.25
Jvm: 1.6.0_14-b08
I am attaching a shutdown hook from within my webapp to log some info
after tomcat shuts down,
> Runtime.getRuntime().addShutdownHook(mythread, name +
":shutdownHook"));
When I run shutdown.bat from the bin folder t
- Original Message -
> From: Ole Ersoy
> To: Tomcat Users List
> Cc:
> Sent: Tuesday, February 7, 2012 10:06 AM
> Subject: Re: Running Tomcat on Port 80 with Fedora 16 without IP tables
> redirect
>
>T hanks Andre and John. I used jsvc to run tomcat before. Maybe that's what
> got
Thanks Andre and John. I used jsvc to run tomcat before. Maybe that's what
got me around the root user restriction. Seems the simplest solution is to
just use NAT. There are instructions at the bottom of this post for anyone
else interested.
http://www.davidghedini.com/pg/entry/install_tom
On Feb 7, 2012, at 6:14 PM, Ole Ersoy wrote:
> Hi,
>
> In the past I have been able to run tomcat on port 80 under a "tomcat" user.
> It seems like the latest versions of Fedora require that tomcat either be run
> as root or requests to 8080 have to be redirected using iptables. Can
> anyo
Ole Ersoy wrote:
Hi,
In the past I have been able to run tomcat on port 80 under a "tomcat"
user. It seems like the latest versions of Fedora require that tomcat
either be run as root or requests to 8080 have to be redirected using
iptables. Can anyone confirm this?
What you probably mea
Chuck
Thanks, but my question really does have to do with Tomcat. The ActiveMQ is
actually on another server and my application hosted on Tomcat needs to
pull messages off of ActiveMQ over SSL. What I would like to do is tell my
application where my keystore files are located rather than load the
Hi,
In the past I have been able to run tomcat on port 80 under a "tomcat" user.
It seems like the latest versions of Fedora require that tomcat either be run as root or
requests to 8080 have to be redirected using iptables. Can anyone confirm this?
TIA,
- Ole
-
> From: Peter Kleczka [mailto:pklec...@gmail.com]
> Subject: Re: Web app calls JMS over SSL - certificates
> I am using ActiveMQ and its activemq.xml file has a section where the
> keystore and truststore point to those files. So I assume that means that
> there is a way to set these at runtime.
I am using ActiveMQ and its activemq.xml file has a section where the
keystore and truststore point to those files. So I assume that means that
there is a way to set these at runtime. Still leaves me with the question
of whether I can set these at runtime from my app on Tomcat.
On Mon, Feb 6, 2012
André Warnier wrote:
Pid wrote:
On 07/02/2012 09:07, André Warnier wrote:
For once, it may be best to top-post.
Anyone feels like making a FAQ out of this thread ?
It looks like a generic-enough question and answer.
I don't think I want to encourage publishing logs via the same
container. I
Pid wrote:
On 07/02/2012 09:07, André Warnier wrote:
For once, it may be best to top-post.
Anyone feels like making a FAQ out of this thread ?
It looks like a generic-enough question and answer.
I don't think I want to encourage publishing logs via the same
container. I've seen all sorts of
On 07/02/2012 09:07, André Warnier wrote:
> For once, it may be best to top-post.
>
> Anyone feels like making a FAQ out of this thread ?
> It looks like a generic-enough question and answer.
I don't think I want to encourage publishing logs via the same
container. I've seen all sorts of private
For once, it may be best to top-post.
Anyone feels like making a FAQ out of this thread ?
It looks like a generic-enough question and answer.
Lev A KARATUN wrote:
Charles,
I made the adjustments and it works now.
Thank you!
Best Regards,
Karatun Lev,
"Caldarale, Charles R" wrote on 06
28 matches
Mail list logo