Hi,all
I'd like to get an english name(a young and sunshine name).
I'm male.
Can anyone help me?
Any advice will be appreciated!
吴熊敏 [EMAIL PROTECTED]
-
To start a
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 english name(a young and sunshine name).
I'm male.
Can anyone help me?
Any advice will
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 fine.
But my problem is now, that sometimes occurs an JVM/Tomcat exception
(i.e. out of heap-space) and in this case, Tomcat sends back a
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
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 email
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 english
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]
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
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
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
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.
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.
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
tomcat.
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
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
-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 of
-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
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 you
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
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
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
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
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 2000
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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-config
jsp-property-group
url-pattern*.jsp/url-pattern
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()) {
-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 security-constraint already allows you to
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 2.1...
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
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.
security-constraint 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. security-constraint only guarantees that your pages
are secure - but does nothing to get you away from ssl.
Of
Nobody any idea on this? :(
- Original Message -
From: Kevin Wilhelm [EMAIL PROTECTED]
To: users@tomcat.apache.org
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
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:
if
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
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.
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 each
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-
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.
It doesn't hurt
-Tim
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Tim Funk wrote:
security-constraint 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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Tim Funk wrote:
security-constraint 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
Hi,
Tomcat 5.5.x, 6.0.13 !
Resource name=jdbc/Name auth=Container type=javax.sql.DataSource
factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory username=XXX
password=XXX driverClassName=com.mysql.jdbc.Driver
url=jdbc:mysql://domain.com:3306/BASE?autoReconnect=true maxActive=10
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
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
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 users@tomcat.apache.org; Toby Hobson [EMAIL PROTECTED]
Sent: Friday, 29
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
Sorry, that's the last time i'll try cut and paste in vim
Here's the actual file:
!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
parent-child relationships with each other --
!-- A Server is a singleton element that represents
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 Host
Third time lucky ...
!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
parent-child relationships with each other --
!-- A Server is a singleton element that represents the entire JVM,
which may contain one or more Service
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 users@tomcat.apache.org
Sent: Friday, 29 June, 2007
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 feeds,
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
I have a web application. The application uses a Portlet and Java Server
Faces. The web.xml looks like this
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
version=2.4
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
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
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
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
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
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
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
?xml version=1.0 encoding=UTF-8?
web-app
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
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
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
81 matches
Mail list logo