context.xml
On Thu, Nov 10, 2011 at 7:05 PM, Pid * wrote:
> On 10 Nov 2011, at 13:06, Ionut Stoian wrote:
>
> > It was a typo, i meant "/".
> >
> > They are available also on tomcat > 6.0.27:
> > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
> >
> > -- Forwarded message --
Hello Tomcat users,
I have couple of tomcat-dbcp related questions:
1) Can tomcat-dbcp be used outside of tomcat e.g. in non-web apps?
2) If yes, are all features available as when used within tomcat?
3) Most importantly are custom interceptors supported when tomcat-dbcp
is used outside tomcat?
4
> 1) Can tomcat-dbcp be used outside of tomcat e.g. in non-web apps?
Yes, but tomcat-dbcp is exactly the same as commons-dbcp. You would
probably just want to use commons-dbcp.
> 2) If yes, are all features available as when used within tomcat?
It has the same feature set as commons-dbcp.
Hello Daniel,
You're right, commons-dbcp and tomcat-dbcp seem to be same, I missed
tomcat-jdbc module which seems to provide extensions and judging by
the pom (see [1]) it depends only on tomcat-juli. I found the answers
at [2] and [3].
Thanks!
Regards,
Stevo.
[1]
http://repo1.maven.org/maven2
Stevo,
OK, in the context of tomcat-jdbc, your questions do make more sense.
Glad you were able to find the answers.
BTW, I would strongly recommend tomcat-jdbc over DBCP. Been working
with it for a while and it's very nice.
Dan
On Fri, 2011-11-11 at 06:44 -0800, Stevo Slavić wrote:
> Hello D
Hello,
Does there is a way to make tomcat log exception (with stacktrace) thrown by
servlet?
I do not want my app to do that because I like the way tomcat handles
exceptions: 500 error and error page is ok, but I need exception stacktrace
to be logged so I would be able to configure logging engin
2011/11/11 Ilya Kazakevich :
>
> Does there is a way to make tomcat log exception (with stacktrace) thrown by
> servlet?
> I do not want my app to do that because I like the way tomcat handles
> exceptions: 500 error and error page is ok, but I need exception stacktrace
> to be logged so I would be
I am running tomcat 6.0
Docs say it should log them into stdout but it does not. My stdout starts
with:
..
INFO: Initializing Coyote HTTP/1.1 on http-8080
11.11.2011 20:18:36 org.apache.coyote.http11.Http11Protocol init
My app throws exception. Tomcat displays 500 error. But nothing found in
logs.
2011/11/11 Ilya Kazakevich :
> I am running tomcat 6.0
Do you know there are ~30 different versions of 6.0.x ?
> Docs say it should log them into stdout but it does not. My stdout starts
> with:
What docs?
> ..
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 11.11.2011 20:18:36 org.apache.c
Is this JAVA setting below OK ?
cat /proc/meminfo
MemTotal: 4149124 kB
MemFree:457884 kB
4Gb total memory on the linux box and have 0.4GB free memory and
tomcat(6.0.18) running with below :
JAVA_OPTS=-Xmx2000M so that i.e 1.9GB ??
or please suggest me the best settings that i add
>Do you know there are ~30 different versions of 6.0.x ?
6.0.32
>What docs?
http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Console
I believe uncought exception should be printed to stderr as it does by
java.lang.ThreadGroup.uncaughtException.
That is my tomcat misconfiguration not a tom
2011/11/11 Ilya Kazakevich :
>>Do you know there are ~30 different versions of 6.0.x ?
>
> 6.0.32
>
>
>>What docs?
> http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Console
>
> I believe uncought exception should be printed to stderr as it does by
> java.lang.ThreadGroup.uncaughtException.
>
On Thu, 2011-11-10 at 12:02 -0800, celtic man wrote:
> Thanks a lot for the quick response..
>
> So i have updated the setenv.sh with -Xms2048M -Xmx2048M -XX:Permsize=512m
> -XX:MaxPermsize=512m and restarted tomcat..
>
> but when i grep for tomcat process i don't see it ..
>
> ps -ef | grep
On Fri, 2011-11-11 at 08:40 -0800, celtic man wrote:
> Is this JAVA setting below OK ?
>
> cat /proc/meminfo
> MemTotal: 4149124 kB
> MemFree:457884 kB
>
> 4Gb total memory on the linux box and have 0.4GB free memory and
I think MemFree misleading. Don't quote me but I think you ha
On 11/11/2011 16:40, celtic man wrote:
>
> Is this JAVA setting below OK ?
>
> cat /proc/meminfo
> MemTotal: 4149124 kB
> MemFree:457884 kB
>
> 4Gb total memory on the linux box and have 0.4GB free memory and
> tomcat(6.0.18) running with below :
>
> JAVA_OPTS=-Xmx2000M so that i.e
>>A Servlet itself is always executed by
>>Tomcat (if you have ever seen the stacktraces printed by servlets).
I understand that servlet runs in tomcat's thread-pool.
>>It does not prevent Servlet form using proper logging framework, or
>>those old log() methods in Servlet API.
But when my servl
we have JAVA_OPTS set in catalina.sh
start_tomcat -> /usr/local/scripts/start_tomcat
stop_tomcat -> /usr/local/tomcat/bin/shutdown.sh
MemTotal: 4149124 kB
MemFree:381644 kB
Buffers:106832 kB
Cached:2377208 kB
SwapCached: 0 kB
Active:2646596 kB
Inact
On Fri, Nov 11, 2011 at 12:59 PM, celtic man wrote:
>
> we have JAVA_OPTS set in catalina.sh
>
> start_tomcat -> /usr/local/scripts/start_tomcat
> stop_tomcat -> /usr/local/tomcat/bin/shutdown.sh
>
> MemTotal: 4149124 kB
> MemFree:381644 kB
> Buffers:106832 kB
> Cached:
- Original Message -
> From: celtic man
> To: users@tomcat.apache.org
> Cc:
> Sent: Friday, November 11, 2011 8:40 AM
> Subject: Re: JVM config for tomcat7.0.19
>
>
> Is this JAVA setting below OK ?
>
> cat /proc/meminfo
> MemTotal: 4149124 kB
> MemFree: 457884 kB
>
> 4Gb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ionut,
On 11/11/11 12:11 AM, Ionut Stoian wrote:
> context.xml
Seriously, please don't top-post.
> On Thu, Nov 10, 2011 at 7:05 PM, Pid * wrote:
>> On 10 Nov 2011, at 13:06, Ionut Stoian
>> wrote:
>>>
>>> Where did you set them? In tomcat/conf/c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rogelio,
On 11/10/11 4:49 AM, Rogelio Lamas wrote:
> My name is Roger and this is the first time that i use a mailing
> list. Sorry for my english.
Welcome to the list. Your English is just fine.
> I am currently trying to set up SSI filter on the t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ilya,
On 11/11/11 9:33 AM, Ilya Kazakevich wrote:
>>> A Servlet itself is always executed by Tomcat (if you have ever
>>> seen the stacktraces printed by servlets).
>
> I understand that servlet runs in tomcat's thread-pool.
>
>>> It does not preven
Hi everyone,
I successfully deployed and executed first web project(MVC type example)
using eclipse and tomcat. But when i try to create second one.. it gives
error:
org.apache.catalina.core.StandardWrappervalue invoke
Info: Servlet auction is currently unavailable
I didnt understand whats going
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anisha,
On 11/11/11 1:54 PM, Anisha Karki wrote:
> org.apache.catalina.core.StandardWrappervalue invoke Info: Servlet
> auction is currently unavailable
>
> I didnt understand whats going wrong. The configurations are
> exactly as per first one.
Ple
> From: Anisha Karki [mailto:karki.ani...@gmail.com]
> Subject: Service auction is not available
> when i try to create second one.. it gives error:
> org.apache.catalina.core.StandardWrappervalue invoke
> Info: Servlet auction is currently unavailable
Clearly, the above is your version of what
25 matches
Mail list logo