- Original Message -
From: "Ben Stringer" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 28, 2007 4:08 PM
Subject: Re: Clean webapp redeploy with tomcat down
On Thu, 2007-06-28 at 08:16 +0200, Johnny Kewl wrote:
Ben, what is it exactly that you see, does it contin
I'd like to add the webdav servlet to my own web application. I can
do this and it works, but it treats the root of my webapp as the root
of the dav share. I would like to have my webapp do more than webdav,
so I was hoping I could specify that only a portion of my webapp is
visible to dav. I i
I'd like to use some basic CGI in my webapp but I don't want to rely
on server admins to set it up per the directions of the how to (found
at http://tomcat.apache.org/tomcat-5.5-doc/cgi-howto.html). When I
follow those directions, everything works fine, however I'd like to
put the CGIServlet defi
There is no guarantee of any order in initializing contexts. You would
better spend your time designing webapps B and C to deal with the
possibility webapp A isn't running. Or at least design them to deal
with the possibility that they may start out of order.
This has also been answered on t
For the good of the group:
The issue was the fact the jar files for myfaces were not loaded on the
server.
russ_2007 wrote:
>
> I have a web application. The application uses a Portlet and Java Server
> Faces. The web.xml looks like this
>
>
> http://java.sun.com/xml/ns/j2ee";
>
FYI: surname follows the familiar so if my name was 'Cat Dog' you would say
Hi Cat (familiar)
or
Hello Mr Dog (formal)
Glad to hear that worked for you..
'Cat Dog'
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this e
Hi Caldarale,
Thanks for your comments. I had the same compatibility problem on Fedora, by
copying the tool.jar - although it is not a good idea- it worked out.
Anyway, thanks for your comments.
Regards
Li
On 6/29/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Li [mailto:[EMAIL
Curious as to why you're writing a Filter
Are you modifying Request Headers or the Request itself?
Thx,
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this emai
Hello Tomcat users ,
Iam using Tomcat 5.520 . I have three web application contexts
Context A, B and C. I have a requirement because of which Context A should
start Before B and C. All the web applications contexts are placed as WARS
under Tomcat/webapps.
How can we indicate the order i
Eric, that worked - your code was very helpful, thanks. I wound up
doing it as a Filter instead of a Valve, so that it would not be tied
to Tomcat.
Here is the code in case anybody else would find it useful:
--Jesse Barnum, President, 360Works
http://www.360works.com
(770) 234-9293
packag
I am trying to set up Apache Tomcat6.0.13 for jsp development. I have
followed all instructions I can find for installation.
I installed java jdk1.6.0_01.
I set the port for Tomcat to 80,
the JavaHome environment variable to C:\Program Files\Java\jdk1.6.0_01
and the ClassPath to *CLASSPATH=.;C:
I have a web application. The application uses a Portlet and Java Server
Faces. The web.xml looks like this
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
version="2.4"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
Eric, I found your code, so I'll try to modify it for my needs. I've
never written a valve before, so wish me luck!
Chris, this is an internal application which will not be accessed by
more than 7 people, so the server session timeout will be 48 hours.
The idea is for the application to be
> From: Toby Hobson [mailto:[EMAIL PROTECTED]
> Subject: Re: Strange problem with virtual host
>
> I've just realised that the last two host elements have
> appbase attributes, not appBase
That will do it. By the way, you also have a mixture of line
terminators; the original used just line fe
I've just realised that the last two host elements have appbase attributes, not
appBase
Sorry :-(
by the way, is there a DTD or schema for server.xml?
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Friday, 29 June, 2007 10:28:25 PM
Subject: Re: S
There's something strange going on here - every time i send the file it's
getting screwed up
I'll try attaching it instead
Toby
- Original Message
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Friday, 29 June, 2007 10:19:46 PM
Subject: RE: Strange proble
Third time lucky ...
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Strange problem with virtual host
>
> > From: Toby Hobson [mailto:[EMAIL PROTECTED]
> > Subject: Re: Strange problem with virtual host
> >
> > Here's the actual file:
>
> The one sent in the most recent message has only two
> From: Toby Hobson [mailto:[EMAIL PROTECTED]
> Subject: Re: Strange problem with virtual host
>
> Here's the actual file:
The one sent in the most recent message has only two elements,
yet your original message described problems when you were adding a
fourth. Will the real server.xml please
Sorry, that's the last time i'll try cut and paste in vim
Here's the actual file:
> From: Toby Hobson [mailto:[EMAIL PROTECTED]
> Subject: Re: Strange problem with virtual host
>
> Haha - well it was opened in vim (over an SSH terminal), then
> I removed all the comments - I'll admit it's not the prettiest xml :-)
It's not just not pretty - it's completely erroneous. As pub
Haha - well it was opened in vim (over an SSH terminal), then I removed all the
comments - I'll admit it's not the prettiest xml :-)
- Original Message
From: Hassan Schroeder <[EMAIL PROTECTED]>
To: Tomcat Users List ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Friday, 29 June, 2007 8:51:15 P
On 6/29/07, Toby Hobson <[EMAIL PROTECTED]> wrote:
Hi guys,
I'm experiencing some really strange behaviour with a new virtual host that I
have created. Here's a little bit of background:
If the following is an actual copy/paste of your server.xml, you really
need a better (XML-aware!) editor
Hi guys,
I'm experiencing some really strange behaviour with a new virtual host that I
have created. Here's a little bit of background:
I have two virtual hosts within my "Engine": www.esuri-apartment.com and
www.falconsoftware.co.uk. I also have the default "localhost" host. Everything
works
Hi,
Tomcat 5.5.x, 6.0.13 !
Tomcat 4.x, 5.x
factory
org.apache.commons.dbcp.BasicDataSourceFactory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Tim Funk wrote:
> only works to say I want pages to be encrypted.
> Not the latter.
Oh, of course. I hadn't really thought of that ;)
> The typical complaint is a developer wishes to encrypt the login process
> and nothing else. only guarante
It doesn't hurt
-Tim
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Tim Funk wrote:
only works to say I want pages to be encrypted.
Not the latter.
Oh, of course. I hadn't really thought of that ;)
The typical complaint is a developer wishes to encrypt the
You will probably have to write a valve for this. I had to write one
to set the session cookie's domain so that it's a site wide domain.
I posted the code to this mailing list a while back. If you do a
search you should be able to find it, if not let me know I'll see if I
can get a hold of it.
E
It's a classic! You should submit the conversation to
http://worsethanfailure.com/.
Gary Evesson
Decentrix Inc
-Original Message-
From: gb1071nx [mailto:[EMAIL PROTECTED]
Sent: Friday, June 29, 2007 12:13 PM
To: Tomcat Users List
Subject: RE: Null
Sigh.
> -Original Message-
>
Hello Everyone!!!
Thanks for the response TIM..
I guess we found what was going on..
THere was another person working with Tomcat and he was restarting Tomcat at
the same time I was shutdown it.
So after I called this person, we were able to startup Tomcat Successfully.
Thanks everyone.
Brun
> From: Kevin Wilhelm [mailto:[EMAIL PROTECTED]
> Subject: Re: 2 webapps using shared jar (ClassLoader problem)
>
> Nobody any idea on this? :(
You already figured out the problem: classes from different webapps
cannot access each other - no ifs, ands, or buts. Anything that is to
be accessed
Sigh.
> -Original Message-
> From: domenico di leo [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 29, 2007 1:10 PM
> To: Tomcat Users List
> Subject: Re: Null
>
> Obviovusily you don't compare two string in this way!
>
> if (null == rs.getString("col_foo"))
>
> The right manner is:
>
Obviovusily you don't compare two string in this way!
if (null == rs.getString("col_foo"))
The right manner is:
if (rs.getString("col_foo").equals("null")){
..
}
Your problem is Java not database
On 29/06/07, Propes, Barry L <[EMAIL PROTECTED]> wrote:
are you initializing variables for ea
Nobody any idea on this? :(
- Original Message -
From: "Kevin Wilhelm" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 28, 2007 2:34 PM
Subject: 2 webapps using shared jar (ClassLoader problem)
I deployed a shared jar file on Tomcat that is to be used by two Spring
webapps. The proble
only works to say I want pages to be encrypted.
Not the latter.
The typical complaint is a developer wishes to encrypt the login process
and nothing else. only guarantees that your pages
are secure - but does nothing to get you away from ssl.
Of course - the second your session cookie gets
if we configure the url / db access as JNDI resource in the context files,
then the implementation has changed betwen tomcat 5 and tomcat6. not sure
about tomcat 5.5..
in tomcat6, it is
...
...
in tomcat 5,
...
username
dbusername
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Jesse Barnum wrote:
> Well, you can set the max age on a cookie to something > 0, which means
> that it will persist for that amount of time, even if the user's browser
> window is closed. I'm just trying to figure out if there is a way to
> tell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Tim Funk wrote:
> What you'll really want is to ditch the transport guarantee clause in
> web.xml and create a filter which will be smart enough to force/unforce
> you from SSL.
Why do this when the already allows you to protect
only certain UR
> From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
> Subject: Re: What is Tomcat 6 status?
>
> I don't believe that's true. The JSP spec defines Tag
> Libraries, and an Expression Language (EL) that's used
> by the JSTL -- but I don't see a definition of the JSTL
> features in either JSP 2.0 or
What you'll really want is to ditch the transport guarantee clause in
web.xml and create a filter which will be smart enough to force/unforce
you from SSL.
For example:
doFilter(...) {
boolean isSSLRequired = magicYesNo(request);
if (isSSLRequired && !request.isSecure()) {
doSomeRedir
1) You kill tomcat. kill -9
2) Then figure out why tomcat is still running (kill -3 to create a
stack trace)
In reality - you want to get the stacktrace before you run the kill -9
-Tim
Bruno Vilardo wrote:
Hello All,
Linux 2.6.9-55.ELsmp
tomcat.version=5.5.9
java version = 1.5
We have an a
On 6/29/07, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Struts is not part of JSP 2.1 spec, but JSTL is. Therefore I don't
understand why Tomcat 6 implements some JSP 2.1 features like standard
JSP actions, and does not implement JSTL, which is PART OF JSP SPEC.
I don't believe that's true. T
Look at projects such as tiles.
An alternative is to use jsp preludes. Which allow you to add stuff to
the beginning or end of all jsp pages.
For example: put this in web.xml:
*.jsp
/WEB-INF/prelude1.jspf
-Tim
coder5436uk wrote:
I have an install of tomcat and I wish to add
Its odd that you would get a 404 for such an error but in any case:
http://tomcat.apache.org/faq/misc.html#error
-Tim
Ingo Siebert wrote:
Hi,
i'm using Tomcat 5.5 and run a JAX-WebService application.
In general, if an error occurs at my application i will send back an
SOAP-fault. So far so
Well, you can set the max age on a cookie to something > 0, which
means that it will persist for that amount of time, even if the
user's browser window is closed. I'm just trying to figure out if
there is a way to tell Tomcat to set that property on the cookies
that it creates to store the
Doesn't the session cookie disappear when the user closes the browser?
In browsers that I've used anyway, session cookies are not stored on
disk like regular cookies, so the session is lost when the browser is
closed.
--
Len
On 6/29/07, Jesse Barnum <[EMAIL PROTECTED]> wrote:
I would like to hav
On 6/29/07, Johnny Kewl <[EMAIL PROTECTED]> wrote:
As for not including every concievable library and framework, thank goodness
or else it would be huge. TC supports a huge array of frameworks. Many
people dont use tags, some like Struts, others prefer a pure MVC model...
etc etc.
Struts is not
A very simple solution to implement a 'push' concept with your UI 100%
html/ajax is having a hidden applet to use as client and send messages to the
current page or another hidden iframe who refresh the main chat program. Is
what Charles is saying but with the UI done in html
Regards
Rodrigo As
Hi
Java 1.5.0_10
Tomcat 5.5.17
I've just spent the past couple of hours reading past postings to this list
at marc.info
The subject I'm interested in is the efficient use of ssl/https.
I have managed to get the 'redirection' to https working with the following
entry in web.xml (amongst other co
Hello All,
Linux 2.6.9-55.ELsmp
tomcat.version=5.5.9
java version = 1.5
We have an application that uses Tomcat and Java (Sorry I am newbie to this
topic).
This morning our Tomcat server stopped and When we try to startup, it says
it is started but I can not connect to the Tomcat Admin Page nor
are you initializing variables for each column in the DB, or likely not if
you're using that array approach?
-Original Message-
From: PTS [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 9:33 PM
To: Tomcat Users List
Subject: Re: Null
In several of the fields of the database th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Tim Miller wrote:
> I gave that a shot, it didn't seem to matter. after a couple of minutes of
> normal flow through the app, it crashed again.
Wow, you're talking about a REAL crash:
> #
> # An unexpected error has been detected by HotSpot Vi
I would like to have a session ID cookie that has a max age of 48
hours, so that if a user comes back to my site after closing their
browser, they will still have the same session on the server. How can
I configure Tomcat to set the max age of the session ID cookie to
anything other than -1
just a thought. You know the intricacies of that app much better than I.
I don't know what other apps or systems it touches or interacts with, but you
might check to see if they have scheduled services or jobs that could interfere.
-Original Message-
From: David kerber [mailto:[EMAIL PRO
I gave that a shot, it didn't seem to matter. after a couple of minutes of
normal flow through the app, it crashed again.
I did find the following info that i wasn't previously aware of. Every time
it crashes, this file is produced in the system32 dir :
#
# An unexpected error has been detect
I've considered that, and I can't absolutely rule it out, but I was
careful writing my code, the code is pretyy simple, and I don't see any
indication of a memory leak in my system memory usage as time goes by.
If there is one, it's pretty subtle. I guess I could start gc logging
just to be s
wouldn't be a memory leak issue would it?
-Original Message-
From: David kerber [mailto:[EMAIL PROTECTED]
Sent: Friday, June 29, 2007 9:41 AM
To: Tomcat Users List
Subject: Trouble with java.util.Timer in Tomcat 5.5
I have an app running in Tomcat 5.5.12, with jre 1.5.0_12 (explicitly
I have an app running in Tomcat 5.5.12, with jre 1.5.0_12 (explicitly
specified in the service configuration), on windows 2000 server.
I have one class that is initialized by a servletContextListener, in the
contextInitialized event. This class uses java.util.Timer and
java.util.TimerTask to
1. Lighten up. The delete key works wonders if you haven't found it by now.
2. Li posted a private email to him to a public forum with bad language.
Private emails require a private response. That's just bad nettiquite on
Li's part.
3. I agree this is very off topic and should have least been mar
filip,
JVm has the default options that is shipped out with tomcat distribution.
the crash happens in the initial testing even before we apply our custom
production changes.
thanks
bharat
Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: looks like it is a VM
thread that is crashi
That's good info, but only barely related to the question at hand and
they said they had it working in tomcat 5.5.23 -- just failing in tomcat
6. Given it works in one version of tomcat and not another, I highly
doubt the mysql jdbc url is at fault. The OP needs to post portions of
their conf
Tim--
what happens when you double the JAVA_OPTS ThreadStackSize
from
-XX:ThreadStackSize=512
to
-XX:ThreadStackSize=1024
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
Anyone else?
M--
This email message and any files transmitted with it contain confidential
information intended o
I get the following error periodically which causes my Tomcat service to
stop. There do not seem to be any exceptions listed in my log files, only
the "An unrecoverable stack overflow has occurred." error listed in the
jakarta_service_mmdd.log file.
I am running tomcat5.5.23 on a windows 200
MySQL Connector/J doc says
"The JDBC URL format for MySQL Connector/J is as follows,
with items in square brackets ([, ]) being optional:
jdbc:mysql://[host][,failoverhost...][:port]/[database] »
[?propertyName1][=propertyValue1][&propertyName2][=propertyValue2]...
If the hostname is not speci
what kind of format the images?is jpg?why you have to compress the image file,
the size is rather the same before compressed.
Paul Hammes <[EMAIL PROTECTED]> wrote: I have to unzip the jar at the time of
deployment because of the size of the war file. the jar file contains 20mb of
images. So
i using tomcat6 right now and i put my jdbc in my lib directory and that's
okay. can you post your error to me so i can figure what's going on.
David Smith <[EMAIL PROTECTED]> wrote: In tomcat 6, the new common/lib is
simply lib as I understand it. Could
you post your config? The error you or
if you have the whole dump we can look into it deeper, my guess is that
its a JVM bug or a combo of JVM/OS
Filip
Christopher Hartung wrote:
Hi there,
we are using Tomcat 5.5.23 with jdk 1.6.0_1. But sometimes we get
errors like this:
#
# An unexpected error has been detected by Java Runtim
looks like it is a VM thread that is crashing, not a tomcat thread.what
are your command line options to the JVM?
could be a GC bug,
Filip
daniel steel wrote:
all,
i am not sure if this a bug or OS problem or our install problem (this is
the first ever crash). at one of our new installs
> From: rajuchn [mailto:[EMAIL PROTECTED]
> Subject: How to Invalidate(or not to svae sesion when tomcat
> gets shut down)
>
> I request you to convey me how to invalidate the sessions
> when tomcat gets shutdown.( any settings in tomcat ?)
It's in the FAQ:
http://tomcat.apache.org/faq/mis
> From: Li [mailto:[EMAIL PROTECTED]
> Subject: Re: Using Tomcat 5.5.23 with jdk 1.6.0_1
>
> Defaultly tomcat 5.5 only support up to JDK5. If you wanna run your
> application which was written by JDK 6, you can use Tomcat 6 + JDK 6.
Not true. JDK 6 is fully upward compatible with JDK 5.
> If
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Li,
Li wrote:
> Defaultly tomcat 5.5 only support up to JDK5. If you wanna run your
> application which was written by JDK 6, you can use Tomcat 6 + JDK 6.
Still, Tomcat shouldn't segfault the VM due to a version incompatibility.
My guess is that he
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Paul Hammes wrote:
> I have to unzip the jar at the time of deployment because of the size
> of the war file. the jar file contains 20mb of images. So I can safe
> several mb to transfer to the server where the application will run.
What types
I have an install of tomcat and I wish to add a default header and footer to
each page, any one know how to do this ?
I am running files which come out with simple text, I want to include them
all in a site template without having to change the code in each page.
eg.
simple page
<%= hello
Hi,
We use maven to build our war files. The war file names are as
follows... appname-1.0.war. Currently I rename the file to ROOT.war
then deploy it via the tomcat manager app.
Is it possible to leave the war file name alone but deploy it as the
ROOT webapp?
Regards
Ben Short
---
Agree with Li.
It is very annoying.
This is not the first time he/she use the mailing list as 'chatroom'
On 6/29/07, Agarlita Dan <[EMAIL PROTECTED]> wrote:
agree with Li
On Jun 29, 2007, at 10:21 AM, Li wrote:
> Please watch your mouth. This group is used to discuss topics
> regarding
> tomc
Defaultly tomcat 5.5 only support up to JDK5. If you wanna run your
application which was written by JDK 6, you can use Tomcat 6 + JDK 6.
If you really wanna use Tomcat 5.5 with JDK 6 in Linux, you may have to
check if you need copy the tools.jar from JDK6 to tomcat common/lib. It
should work.
R
I just take a very pragmatic view.
TC6 besides implementing new specs which I believe are targeted more at
application servers than anything else, involved a major structural revamp.
Although I havnt found any problems with it, I treat it as new, and prefer
to run production stuff on 5.5.23.
A
Hi there,
we are using Tomcat 5.5.23 with jdk 1.6.0_1. But sometimes we get errors
like this:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x002a958a666a, pid=8528, tid=1082333536
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105
Hi,
I have tried what you suggested but it doesn't release the context
properly. The method in Registry is unregisterComponent (unregister
doesn't exist)
ObjectName on = new
ObjectName("Catalina:type=DataSource,path=/myapp,host=localhost,class=org.apache.commons.dbcp.BasicDataSource,name=
Sorry, you are right, it is in
org.apache.tomcat.util.modeler.BaseModelMBean, and resource attribute it
is retaining is an org.apache.commons.dbcp.BasicDataSource
Diego
Caldarale, Charles R escribió:
From: Diego Rodríguez Martín [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 6 classloader l
agree with Li
On Jun 29, 2007, at 10:21 AM, Li wrote:
Please watch your mouth. This group is used to discuss topics
regarding
tomcat.
On 6/29/07, 吴熊敏 <[EMAIL PROTECTED]> wrote:
it's none of your bisiness!!!
you son of a bitch!!
On Fri, 29 Jun 2007 15:10:53 +0800
Li <[EMAIL PROTECTED]>
hi, it's out of topic. Please use your private email ...
On 6/29/07, 吴熊敏 <[EMAIL PROTECTED]> wrote:
I like the name of one of my friends.His english name is 'KEN'
I think it's very good.
On Fri, 29 Jun 2007 14:19:58 +0800
吴熊敏 <[EMAIL PROTECTED]> wrote:
> Hi,all
>
> I'd like to get an e
Please watch your mouth. This group is used to discuss topics regarding
tomcat.
On 6/29/07, 吴熊敏 <[EMAIL PROTECTED]> wrote:
it's none of your bisiness!!!
you son of a bitch!!
On Fri, 29 Jun 2007 15:10:53 +0800
Li <[EMAIL PROTECTED]> wrote:
> hi, it's out of topic. Please use your private ema
Hi
When tomcat gets shutdown/Restarted,it is stroing and reloading the sessions
as and when it
gets restarted.Because of which,user is able to access the application from
the same window,
which was opened beofre the Tomcat restarted.
I request you to convey me how to invalidate the sessions
85 matches
Mail list logo