Hi, Even i have similar problem..
I wanted to create the element. At the time of tomcat start up
using Tomcat's existing bootstrap classes rather than loading them using
sever.xml.
I wanted to create a https connector. using Http11NioProtocol for the
connector.
Please let me know if any documenta
Hi Chris,
Thanks for helping.
I have tried to type "startup.bat" in DOS under $CATALINA_HOME/bin, the
window quickly closed itself again. I also tried to type "catalina run",
and saw the exception, but it does not look helpful too.
C:\Tomcat 4.1\bin>catalina run
Using CATALINA_BASE: ..
Using
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> So, while it's not hanging in the same place every time, it's
> definitely hanging every time.
Try running JConsole against the To
> From: sch...@afrigis.co.za [mailto:sch...@afrigis.co.za]
> Subject: RE: Strange problem with data source Tomcat 6.0.18
>
> I technically do not have to include the Context definition bit
> at all in the context.xml and can basically just use the Resource
> definitions on its own and Tomcat will
> From: Michael Ludwig [mailto:mil...@gmx.de]
> Subject: Re: Strange problem with data source Tomcat 6.0.18
>
> Try capitalizing to .
Also make sure there is no conf/Catalina/[host]/myapp.xml file lying around; if
so, it will override your META-INF/context.xml file. The copy in
conf/Catalina/
will take a look if you can post the problematic jsp (and post the web.xml)
check permissions on work folder make sure the user that started Tomcat
has write,read,execute rights to work folder
thanks,
Martin Gainty
__
Verzicht und Vertraulichkeitanme
Hi Michael,
A combination of factors did it and this is definitely one of those moments
where you want to kick your own *ss ;)Basically what I did was make all
references everywhere, and I mean everywhere, to wuMaps to wumaps. So this
is in the resource reference in the web.xml in the Java class,
Hi there Michael,
Thanks so much for all of your assistance. I am going to try all of these
suggestions and let you know what the results are. One thing though, with
what you just mentioned I technically do not have to include the Context
definition bit at all in the context.xml and can basically
Martin,
On the theory that the problem was the JDK, I clean/built the war using my
development computer (Java 1.6.0_11) and deployed it to the test server
(Java 1.6.0_13). I test compiled all the JSP's on the development computer
just to be certain there wasn't some failure there. When the w
sch...@afrigis.co.za schrieb am 01.09.2009 um 00:29:34 (+0200):
> I am starting to think it might very well have to do with my
> context.xml file. I just saw in the logs that Tomcat was actually
> giving error saying that it could not deploy myapp.xml. After reading
> some on the web I discovered
Hi there Michael,
I am starting to think it might very well have to do with my context.xml
file. I just saw in the logs that Tomcat was actually giving error saying
that it could not deploy myapp.xml. After reading some on the web I
discovered that this is actually my context.xml that Tomcat is pi
On Mon, Aug 31, 2009 at 1:50 PM, Martin Gainty wrote:
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47769
That's a very good start. Thanks!
There is however still one vital piece of information missing in the
proposed documentation update. It now clearly states that resource-ref
in the w
Hello,
This indeed sounds like you have problems with one of the spaces,
please add following option to the JAVA_OPTS (or whatever you are
using) to seubmit jvm parameters:
-XX:+PrintGCDetails
And, no tomcat's initial heap size don't default to 64Mb. The JVM
allocateds a heap dependent on your com
sch...@afrigis.co.za schrieb am 31.08.2009 um 23:57:07 (+0200):
> Hi there Michael,
>
> Ok, I removed the mysql jar from my app and left it in tomcat/lib
>
> I also undeployed and then redeployed the war file via the manager app
> but the problem persists.
Then I suspect a typo in your resource
Hi there Michael,
Ok, I removed the mysql jar from my app and left it in tomcat/lib
I also undeployed and then redeployed the war file via the manager app but
the problem persists.
--
Kind Regards
Schalk Neethling
-Original Message-
From: Michael Ludwig [mailto:mil...@gmx.de]
Sent: 31
>
> The other interesting point is that all of those are hung in places where
they would naturally be allocating an object or have very recently allocated
an object, and the JVM *might* in theory be growing the heap. Bradley, are
your initial and maximum heap sizes identical (I suspect not from
>
> I agree with Mark: the three threads you showed were different
(different ids), and showing different call stacks. Are you saying that
each thread dump you took represents multiple thread dumps where that
particular thread didn't progress /at all/ over your multi-dump sample?
The three thr
Hey Chuck,
Thanks for the quick reply :) Which one would you recommend removing, I
guess removing it from my app and leaving it in the server's lib makes it
available to all apps but then I may break some other folks apps who deploy
their app with the jar, h Looking forward to hearing from
sch...@afrigis.co.za schrieb am 31.08.2009 um 23:16:48 (+0200):
> I have set-up a data source using the context.xml file located inside
> my META-INF and added the relevant entry in the web apps web.xml. I
> also have the MySQL connector/j driver inside my own apps lib as well
> as inside the serv
> From: sch...@afrigis.co.za [mailto:sch...@afrigis.co.za]
> Subject: Strange problem with data source Tomcat 6.0.18
>
> I also have the MySQL connector/j driver inside my own apps lib
> as well as inside the server's lib(same version).
Don't ever do that. A given class must appear in only *one*
> From: Josh Gooding [mailto:josh.good...@gmail.com]
> Subject: Re: slight problem with Tomcat and Httpd working together.
>
> Something that I am not understanding. If the context.xml files are
> truly ignored how can each of the companies be able to login?
You appear to have answered your own
Hi everyone,
I sincerely hope someone can point me in the right direction here. I have
set-up a data source using the context.xml file located inside my META-INF
and added the relevant entry in the web apps web.xml. I also have the MySQL
connector/j driver inside my own apps lib as well as inside
>
> - use a 1.6 JVM
Tried with Sun 1.6 JVM. Same problems. Not the same exact stack traces but
for example:
Thread 24427: (state = BLOCKED)
- java.lang.String.toCharArray() @bci=4, line=2725 (Compiled frame)
- java.beans.Introspector.decapitalize(java.lang.String) @bci=46, line=252
(Compiled fra
i try to sync the dev jdk with the deploy jdk so when jsps are compiled
you're compiling your generated JspServlets (with the same jdk
so class signatures will be the same)
hth
Martin Gainty
__
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
Vertr
> From: chandra ganta [mailto:chandrasekhar...@gmail.com]
> Subject: Re: Db connection issue due to firewall
>
> address="ip-address"
> port="80"
> redirectPort="8443"
> minSpareThreads="25"
> connectionTimeout="2"
> maxSpareThreads="75"
>
2009/8/31 Christopher Schultz
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Bradley,
>
> On 8/31/2009 4:02 PM, Bradley Wagner wrote:
> > Sorry, I should have mentioned this before, but in all cases I tried the
> > thread dumps 2-3 times at least 30s apart and none of the threads have
> >
Martin,
Thanks for your quick reply. I am presently downloading the latest JDK (to
the box that is building the war) to see if that makes a difference.
There are no error messages in any of the logs, including the
localhost*.log.
Thanks,
Carl
- Original Message -
From: "Martin G
On Mon, 2009-08-31 at 10:33 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Martin,
>
> On 8/30/2009 4:51 PM, Martin Grotzke wrote:
> > On Sun, 2009-08-30 at 14:57 -0400, Christopher Schultz wrote:
> >
> >> Doing this kind of thing is always a risky propos
1)
possible incompatibility in JDK versions
what happens if you upgrade your NB JDK from 1.5.0_07 to 1.6.0_13?
2)
i would leave that 0 for until your jsps compile cleanly
do you see any errors/exceptions in $TOMCAT_HOME/log/localhost*.log
or Tomcat console ?
Martin Gaint
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
On 8/31/2009 3:47 PM, Michael Ludwig wrote:
> Christopher Schultz schrieb am 31.08.2009 um 11:21:32 (-0400):
>
>>> >> [...]
>>> validationQuery ="select 1 from dual"
>>> testOnBorrow ="true"
>>> testOnReturn ="true"
>>> testWhile
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bradley,
On 8/31/2009 4:02 PM, Bradley Wagner wrote:
> Sorry, I should have mentioned this before, but in all cases I tried the
> thread dumps 2-3 times at least 30s apart and none of the threads have
> progressed at all.
I agree with Mark: the three
Bradley Wagner wrote:
> Mark,
> Sorry, I should have mentioned this before, but in all cases I tried the
> thread dumps 2-3 times at least 30s apart and none of the threads have
> progressed at all.
Hmm. That smells like a JVM issue to me, particularly if it goes away
when you use JPDA.
Things to
My environment (fresh install) (this is a backup server that can be used for
testing and to allow us to upgrade the current production server running Tomcat
5.5):
Slackware 12
Java 1.6.0_13 (Actually installed in May)
Tomcat 6.0.18
My development system:
Windows XP
Java 1.6.0_07
Tomcat 6.0.16
Mark,
Sorry, I should have mentioned this before, but in all cases I tried the
thread dumps 2-3 times at least 30s apart and none of the threads have
progressed at all.
- Bradley
On Mon, Aug 31, 2009 at 3:52 PM, Mark Thomas wrote:
> Bradley Wagner wrote:
> > Ok, I have some information to add h
Bradley Wagner wrote:
> Ok, I have some information to add here. I was able to get thread dumps with
> "jstack " (very handy!) because "kill -3" wouldn't work on a hung
> process.
> I've listed 3 consecutive tests that I run and the thread is blocked at the
> time the process is hung.
That isn't t
Iqbal, Aftab wrote:
> Hi,
>
> I am a PhD student at DERI (http://www.deri.ie), Galway, Ireland. We are
> working here on a research to address some issues in
> software development processes and how can make software development and
> specially its management efficient[1]. For the
> evaluation o
Christopher Schultz schrieb am 31.08.2009 um 11:21:32 (-0400):
> >> [...]
> > validationQuery ="select 1 from dual"
> > testOnBorrow ="true"
> > testOnReturn ="true"
> > testWhileIdle ="true"
> > removeAbandoned="true"
> > timeBetweenEvictionRunsMillis ="60"
> > numTestsPer
Ok, I have some information to add here. I was able to get thread dumps with
"jstack " (very handy!) because "kill -3" wouldn't work on a hung
process.
I've listed 3 consecutive tests that I run and the thread is blocked at the
time the process is hung.
Test 1
Thread 21348: (state = BLOCKED)
- j
Bill, Thanks for your prompt response.
I see that it will be available in Tomcat 6.0.21 onwards. Do you know when will
it be available for download ?
Also, does it resolve the 8k size limit on AJP connector or if there is a way
around it ?
We are using Soap headers and with cert-chain I am think
Hi,
I am a PhD student at DERI (http://www.deri.ie), Galway, Ireland. We are
working here on a research to address some issues in
software development processes and how can make software development and
specially its management efficient[1]. For the
evaluation of our research, we are looking fo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Akash,
On 8/30/2009 12:34 PM, asingla4 wrote:
> I have kept all the documents and images outside the root directory
> of the application. How can I access these files in my
> application[?]
What have you already tried?
- -chris
-BEGIN PGP SIGNAT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chandra,
On 8/27/2009 7:50 AM, chandra ganta wrote:
> type="javax.sql.DataSource"
> driverClassName="oracle.jdbc.OracleDriver"
> factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
> url="jdbc:oracle:thin:@ip-add
Tim Funk schrieb:
1) Are you passing -Djava.awt.headless=true to tomcat via
CATALINA_OPTS (or JAVA_OPTS)
I'm passing this option to my tests on the command line. The OP was the
one with the Tomcat issue; I suggested he run the iText tests on the
command line as well to be sure at least that wor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
William,
On 8/31/2009 6:58 AM, method8 wrote:
> Could it be it's just Debian the problem? I develop on windows and deploy on
> a debian machine, and had some problems in the past with policies and socket
> permissions.
You might want to consider deve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pramod,
On 8/31/2009 7:19 AM, Tk, Pramod (NSN - IN/Bangalore) wrote:
> What I want to make is to remove keystorePass="X" tag and give
> this keystore password when tomcat starts up.
I think you'll have to write your own code that reads the k
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vikas,
On 8/31/2009 5:53 AM, mailvgarg wrote:
> I have a webapplication with different pages for each client which is
> accessible from URL
>
> www.myDomain.com/action/clientId
> client Id is different for each client.
>
> Now I want to provide diff
Caldarale, Charles R wrote:
Not really.
If you don't put the password in server.xml, where are you going to put it?
The server.xml file can have the same access constraints applied to it as any
other location for the password.
I think that OP wants Tomcat to read keystore during startup an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jamez,
On 8/30/2009 11:40 PM, jamez smith wrote:
> The strange thing I have is Tomcat 4.1 works when I set docBase tag to
> local, myApp's working directory. docBase = "C:\myAppWokingDir", but it is
> not working when I set docBase = "myApp". There i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 8/30/2009 4:51 PM, Martin Grotzke wrote:
> On Sun, 2009-08-30 at 14:57 -0400, Christopher Schultz wrote:
>
>> Doing this kind of thing is always a risky proposition, since there are
>> lots of cases to test.
>
> Hmm, which cases do you hav
1) Are you passing -Djava.awt.headless=true to tomcat via CATALINA_OPTS
(or JAVA_OPTS)
2) I have found that even if you are headless, you can't use all the
Graphics/awt stuff. I wish I could recall what it was, but I thought the
death was in similar manner. (But this was also a few years ago).
> From: mailvgarg [mailto:mailvg...@gmail.com]
> Subject: Hosting multiple domains on a single application
>
> can any body tell me what should be the process to handle such mapping.
Try this:
http://tuckey.org/urlrewrite/
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE P
> From: Tk, Pramod (NSN - IN/Bangalore) [mailto:pramod...@nsn.com]
> Subject: Query on Tomcat Server.xml
>
> I presume this type of hardcoding in server.xml is security loop hole.
Not really.
If you don't put the password in server.xml, where are you going to put it?
The server.xml file can ha
Tim Funk schrieb:
http://wiki.apache.org/tomcat/FAQ/Linux_Unix
You're probably alluding to:
How do I run without an X server and still get graphics?
You either need to run headless or run an alternate X-server. [...] if
your are using a JVM 1.4 or better, you can use the system property
https://issues.apache.org/bugzilla/show_bug.cgi?id=47769
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoe
On Mon, 2009-08-31 at 13:36 +0200, Martin Grotzke wrote:
> http://github.com/magro/memcached-session-manager/blob/de2f6d6749226c685eef38b985411c00b11fe452/src/main/java/de/javakaffee/web/msm/CommitInterceptingActionHook.java
> http://github.com/magro/memcached-session-manager/blob/de2f6d6749226c685
http://github.com/magro/memcached-session-manager/blob/de2f6d6749226c685eef38b985411c00b11fe452/src/main/java/de/javakaffee/web/msm/CommitInterceptingActionHook.java
http://github.com/magro/memcached-session-manager/blob/de2f6d6749226c685eef38b985411c00b11fe452/src/main/java/de/javakaffee/web/msm/
http://wiki.apache.org/tomcat/FAQ/Linux_Unix
-Tim
method8 wrote:
Dear all,
I'm using the iText library to generate pdfs from a database on the fly.
Whenever I use some
of it's features that require simple things like java.awt.Color, I get an
java.lang.UnsatisfiedLinkError as shown:
---
this is the output of ldconfig -p
libz.so.1 (libc6,x86-64) => /usr/lib/libz.so.1
libxtables.so.0 (libc6,x86-64) => /lib/libxtables.so.0
libxml2.so.2 (libc6,x86-64) => /usr/lib/libxml2.so.2
libxcb.so.1 (libc6,x86-64) => /usr/lib/libxcb.so.1
libxcb-xlib.so.0 (libc6,x
Hello All,
The below tag is used to for making use of keystore on snmartcard. It
works fine
But ,
What I want to make is to remove keystorePass="X" tag and give
this keystore password when tomcat starts up.
I presume this type of hardcoding in server.xml is security l
method8 schrieb:
- But what about libmlib_image.so? That's the one it's complaining
about.
I can see that as well.
So check the value of "java.library.path". Just to be sure.
Could it be it's just Debian the problem? I develop on windows and
deploy on a debian machine, and had some problems
- But what about libmlib_image.so? That's the one it's complaining about.
I can see that as well. This is the whole list of files in
/usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/lib/amd64
awt_robot libcmm.so libinstrument.so libjava.so
libjsig.solibnative_chmod.so librmi.
Robert Whane schrieb:
There has to be some use of that resource-ref element. All the Tomcat
examples and tutorials instruct you to create this element. Someone
really badly wants you to use it, yet it seemingly has not function
whatsoever. Something just doesn't add up, or maybe it's just me...
method8 schrieb:
I'm using the iText library to generate pdfs from a database on the
fly. Whenever I use some of it's features that require simple things
like java.awt.Color, I get an java.lang.UnsatisfiedLinkError as shown:
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.18/j
On Mon, Aug 31, 2009 at 2:27 AM, Martin Gainty wrote:
> you can enter a documentation change to correct either
> 1)duplicate behaviour of ApplicationContext.xml by web.xml
>
> 2)or make the documentation a bit clearer on what is required and what is
> optional
That's not a bad idea really, but
Hey,
I have a webapplication with different pages for each client which is
accessible from URL
www.myDomain.com/action/clientId
client Id is different for each client.
Now I want to provide different domains to these clients and want to map
them to these URLs.. So that
www.domain1.com automati
Dear all,
I'm using the iText library to generate pdfs from a database on the fly.
Whenever I use some
of it's features that require simple things like java.awt.Color, I get an
java.lang.UnsatisfiedLinkError as shown:
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/l
Hello,
I have started tomcat with tcp cluster enabled, but I cannot see the
cluster MBean. Has the Object Name changed ? I'm about to open a bug ?
Any Idea ?
Stephane Zeng.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.a
67 matches
Mail list logo