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
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 advic
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 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.
Of course I will unzip it to a special webapp's directory.
Original-Nachricht
"Diego Rodríguez Martín" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
>I have been making some more tests about this issue, using old
> dbcp/pool factory to get rid of the memory leaks of tomcat embedded
> libraries commons-pool/commons-dbcp
>
>When using my own f
I m using tomcat 6 at my production and 5.5 at my development, the backward
compatibility is nice I put tomcat 6 coz I planned on using the newest
servlet spec. so far no problem on default setting. its working nice at jdk
6 or 5.
On 6/29/07, Jacob Rhoden <[EMAIL PROTECTED]> wrote:
It is not as
It is not as simple as Michael implies, It is my understanding that
tomcat 6 makes many improvements over tomcat 5. If this is correct then
it makes choosing between 5 and 6 more complicated than you suggest.
(And to someone who does not know what the JSP/servlet specs are, this
is even more un
Hi,
I have this setup working on my Windows development computer under
Tomcat 5.5. Everything works fine. I get a hash value from Oracle and
pass it back to Tomcat on request.
BUT! I can't get it to work in test environment on Solaris under Tomcat
5.0.28. The major difference in configura
Michael,
I don't understand where the confusion lies in the first question.
At tomcat.apache.org, you see that under "production quality releases",
version 6.0.13 is listed as well as 5.5.23. If you don't need JSP Spec
2.1, then you can use 5.5.23, if that factor doesn't matter, than just
deploy
Tomcat 6 status is not quite clear from Tomcat website. I want to use
the latest possible release because we need to lock on; upgrading
later down the road would incur administrative complications.
Tomcat 6 docs page says that "Apache Tomcat version 6.0 implements the
Servlet 2.5 and JavaServer P
> From: Paul Hammes [mailto:[EMAIL PROTECTED]
> Subject: unzip a jar file from a war file to tomcat/webapp
>
> i have to unzip a jar, contained in a war file. This jar file
> is contained in the web-inf/lib directory.
Why don't you unzip it as part of building the .war, rather than waiting
until
an applet?
-Original Message-
From: Paul Hammes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 9:05 AM
To: users@tomcat.apache.org
Subject: unzip a jar file from a war file to tomcat/webapp
Hi,
i have to unzip a jar, contained in a war file. This jar file is contained in
the
| From: Parham, Clinton [mailto:[EMAIL PROTECTED]
| Sent: Thursday, 28 June, 2007 07:34
|
| Brantley: I like the idea but the part about 'staggering to a halt
| issuing redirects' is a concern. If this were to happen, then even
users
| with established sessions would have trouble getting through -
> From: Diego Rodríguez Martín [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 6 classloader leak in Commons Pool
>
> I have found that the offending class causing the leak is
> org.apache.tomcat.util.modeler.ManagedBean. It keeps two
> attributes referencing my dbcp pool, called resource and
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hao,
Hao Jiang wrote:
> If I want to develop a servlet of my own which handles user
> management in basic authentication model, such as add user, add role,
> etc, how can I do in my own servlet?
Do you want to write a single servlet that /configures/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Clinton,
Parham, Clinton wrote:
> What you suggested initially was that one system be the traffic
> controller and depending on how busy the enrollment server is, either
> send users to it or redirect them to a static 'busy' page elsewhere.
> How were
Hi,
I have been making some more tests about this issue, using old
dbcp/pool factory to get rid of the memory leaks of tomcat embedded
libraries commons-pool/commons-dbcp
When using my own factory for dbcp and commons pool (the old
versions), I clear the resources used invoking datasou
Yuval--
from the Wireless Bitmap (WBMP) documentation
"If "image/gif", "image/jpg" and "image/png" are found in the accept HTTP
header, it means the WML browser can display the GIF, JPG and PNG image
formats.
so you'll need to convert from *ProprietaryFormat* to GIF 87a, GIF 89a
(animated GIF)
Hi there,
I am a new Tomcat user. Currently I am using Tomcat 5.
My question is this. If I want to develop a servlet of my own which handles
user management in basic authentication model, such as add user, add role, etc,
how can I do in my own servlet? For example, should I get a tomcat server
i
There is no way with HTTP protocol to push datas to client. To push, you
will need other protocol, and then an awfull heavy applet. On the other
hand, you could, simply, run aside on the server an IRC service and use
one of the existing IRC applets that exist opensource...
Dave a écrit :
> Thanks
> From: Dave [mailto:[EMAIL PROTECTED]
> Subject: Re: how to pop up a window requested by server
>
> Is there a way for server to push something to client?
Only if the client is listening for it. Your applet could establish a
listen on some agreed upon port, and the servlet could open a connect
Every1 is right... just that the original op was having a little difficulty
with the concept.
Need to read the whole thread to make sense of it...
- Original Message -
From: "Christopher Schultz" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 28, 2007 3:13 PM
Subject
Przemysław Klein wrote:
Mentioned webapps are strictly related. In fact they are part of one
large system. What is the best way to add make library/libraries
available to all application? Put it in $CATALINA_HOME/common/lib or
is there better way to do that?
shared/lib if you want the applicati
> From: Frank Misa [mailto:[EMAIL PROTECTED]
> Subject: Checking Memory Usage Of WebApps within a Tomcat instance
>
> Does Tomcat provide tooling/API to allow checking/monitoring
> of how much memory usage each webapp deployed within a Tomcat
> instance is using?
Not directly (nor does any othe
Brantley,
I will keep the filter in mind as a possibility but something tells me
that keeping all that traffic away from the server where enrollments are
in progress is probably a good thing.
Yep, you're right about the F5 key :) Silly me!
Thanks,
Clinton
-Original Message-
From: Brantl
Chris,
I guess what I was thinking about with load balancing is that I might have two
Tomcat servers ready to process enrollments. I need some traffic controller in
front of them to manage incoming traffic so they don't get swamped and unable
to process enrollments already in progress.
What yo
I've configured my web.xml, context.xml, code snippets and library
deployment as directed in
http://localhost:8081/docs/jndi-resources-howto.html, the JavaMail
section, and can locate my JNDI resource just fine, but attempts to send
the mail result in an SMTP 530 error,"No AUTH command given".
"Adrian Sutton" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
> It seems that Tomcat automatically adds Pragma: no-cache and a pre- dated
> Expires header whenever the user requests a page that requires
> container-based authentication. This has come up on the mailing li
"Johnny Kewl" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Again LightBulb,
>
> In this good article
> http://www.javaworld.com/javaworld/jw-08-2005/jw-0801-jmx.html
> You will find an example JMX client, in SRC for talking directly to
> Tomcats JMXProxy
>
> One thing I dont se
Hey!
Anyone working with AIO Tomcat? Implemented on 6.0 version?
Needing client examples to understand how that works. How that communicates.
thanks!
--
Bruno.
I was referring to users repeatedly reloading the web page (which is
done by pressing the F5 key, usually). It seems that some people will
sit there for minutes at a time reloading the same page over & over &
over, waiting for the server to come back up. That can make an
overload situation worse.
Thanks for ideas. But the poll is consuming resource even when no messages. Is
there a way for server to push something to client?
Thanks!
David Delbecq <[EMAIL PROTECTED]> wrote:
If you use Ajax4Jsf, you can use a4j:poll to have a part of your page
refreshed every x milliseconds using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuval,
Zilberstein Yuval wrote:
> I am trying to display the image on a special mobile browser, by
> requesting it from a jsp on the tomcat server, But the browser can not
> display it.
Does this image render properly on a "normal" web browser (like
Is it a mime-type issue?
The content is probably being vended as application/octet-stream, which
the mobile device is probably not liking.
You can add additional mime-mappings into your web.xml.
If you are fronting tomcat with apache httpd you can also add
mime-mappings into the httpd.conf
Jo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Jölly wrote:
> removing and deploying the war works, but after a few removals/deployments
> the vm reports an java.lang.OutOfMemory exception and stops
> deployment of the application. if i increase the memory size
> of the tomcat vm t
Hi All,Can someone here confirmDoes Tomcat provide tooling/API to allow
checking/monitoring of how much memory usage each webapp deployed within a
Tomcat instance is using?I've checked the forums and found some references to:
Java5+/Java6 tooling which uses these VM options:
-XX:
Hello all,
I have an image problem on the Tomcat server.
I have a picture with a special Korean format: cwsis. It is just like
any other jpg or gif image, but with a format that is not popular.
The image itself is on the tomcat server.
I am trying to display the image on a special mobile browser, b
Hello!
i use ant for application building and the ant tasks defined in
catalina-ant.jar Catalina-Ant-Task for deploying the ready build
war file to a tomcat installation. (tomcat 4.1.29)
removing and deploying the war works, but after a few removals/deployments
the vm reports an java.lang.Out
The "Modified directory structure" section of
http://tomcat.apache.org/migration.html describes what you need to do. I
created my own ${catalina.home}/lib/shared subdirectory to keep the
out-of-the-box jars separate from my jars.
- Original Message
From: David Smith <[EMAIL PROTECTED]
> From: Jake Alley [mailto:[EMAIL PROTECTED]
> Subject: Context information outside of server.xml
>
> I've read that META-INF/context.xml only works with WAR files
Not true; META-INF/context.xml works fine with expanded webapps.
> I'm puting the info in conf/Catalina/mydomain/ROOT.xml. It
> do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jake,
Jake Alley wrote:
> I've read that META-INF/context.xml only works with WAR files, and I
> don't use those.
Nope. If you are using auto-deploy (will do WAR files or directories),
then TC will respect the META-INF/context.xml file in either case
You need to specify docBase which is your application's doc root in
element in ROOT.xml. e.g.
mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 10:10 AM
To: users@tomcat.apache.org
Subject: Context information outside of server.xml
I'm trying to rework my server.xml file so that the contex
> From: Ben Stringer [mailto:[EMAIL PROTECTED]
> Subject: Re: Clean webapp redeploy with tomcat down
>
> In one case the database was migrated to a new server.
> When the WAR with the new JDBC string included was
> deployed, the app continued to attempt to connect to
> the old server.
DNS proble
Clinton,
I think it might be worth your trouble to find out what number it is
that causes the box to "[stagger] to a halt issuing redirects". I
started having network saturation on the little switch I was using for
my test rig before the load started getting bad on the box. I don't
have the
I'm trying to rework my server.xml file so that the context info can be
reloaded without restarting the entire server. As far as I can tell this
involves putting the context information in a file outside of server.xml. I've
read that META-INF/context.xml only works with WAR files, and I don't
On Thu, 2007-06-28 at 08:16 +0200, Johnny Kewl wrote:
> Ben, what is it exactly that you see, does it continue to use a different
> dB?
> Or perhaps it doesnt pick up a table modification?
Hi Johnny,
In one case the database was migrated to a new server. When the WAR with
the new JDBC string inc
Hi everyone,
As I'm not a native english speaker, I might possibly commit mistakes
during this report, so I ask your apologize in advance.
I've researched at google and at tomcat's web site but couldn't find any
satisfatory answer regarding the following behaviour: whenever I use
Expression Lan
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Where to find session cookies
>
> > in the ops first question he was asking about session
> > timeouts... and making them last forever.
>
> I must have totally missed that.
You didn't miss anything - Johnny K made that up. T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Clinton,
Parham, Clinton wrote:
> Maybe Christopher is on the right track where some sort of load balancer
> is the best solution. One that's smart enough to allow established
> sessions through and maybe redirect new ones while the server is at peak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Wilmoth wrote:
> I have run this through the Struts mailing lists and am hoping for a
> change/solution. Without digging through the servlet spec myself can
> I ask if the Tomcat implementation is the expected behavior (i.e. no
> processing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vasu,
[EMAIL PROTECTED] wrote:
> The application has pretty decent authentication mechanism that
> differentiates between users, roles and permissions etc. What the
> application need to maintain is user object information specifically
> - name, ro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
> I think they actually referring to Session cookies, and making Tomcat
> never timeout a session.
TC will eventually timeout a session unless it is still in use. Just
because the cookie has no expiration doesn't mean that
As it's written, your framework (slide) is trying to create an illegal
xml document. I suggest you refere to the mailing list of that tool.
This is not a tomcat related problem.
En l'instant précis du 28/06/07 15:07, Vaduvoiu Tiberiu s'exprimait en
ces termes:
> First of all hi to everyone since I
If you use Ajax4Jsf, you can use a4j:poll to have a part of your page
refreshed every x milliseconds using javascript. In this part you could
put your code to popup something on B if there are new messages.
En l'instant précis du 28/06/07 14:36, Dave s'exprimait en ces termes:
> We have a JSF appli
First of all hi to everyone since I'm new to the list. Who can help me with the
following problem:
i'm developing a site using hippo repository on tomcat 6.0.13 I'm having this
error in catalina.out when I try to display a xml search with dasl:
org.jdom.IllegalDataException: The data "
som
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
> True, although I dont know how to make Tomcat do that
Do what?
> nor do I think it should be done, they must expire, or else with time
> his Tomcat will run out of memory.
What are you talking about? Tomcat doesn't stor
I deployed a shared jar file on Tomcat that is to be used by two Spring
webapps. The problem is the Exception I receive when trying to access the
shared library by the second webapp. The first one already set some
properties within the shared class instances.
The Exception:
java.lang.IllegalArgu
We have a JSF application running on JBoss/Tomcat, and have a requirement for
users to send short instant messages. When user A sees user B online and wants
to talk with him/her:
1. A clicks a button, pop up a window to chat with B
2. On B's machine, pop up a chat window.
How to imp
I deployed a shared jar file on Tomcat that is to be used by two Spring
webapps. The problem is the Exception I receive when trying to access the
shared library by the second webapp. The first one already set some properties
within the shared class instances.
The Exception:
java.lang.IllegalAr
Thank you everyone for your input so far.
Brantley: I like the idea but the part about 'staggering to a halt
issuing redirects' is a concern. If this were to happen, then even users
with established sessions would have trouble getting through - right? I
think the same applies to Tracey's suggestio
In tomcat 6, the new common/lib is simply lib as I understand it. Could
you post your config? The error you originally posted typically
indicates a misconfiguration as opposed to not being able to find the
driver class.
--David
Rene Guenther wrote:
Alas, still the same error.
So you think
The problem is you are allowing two users to login to what tomcat sees
as the same browser window. When you do Ctrl-N from IE or just anything
method of creating a new window from Firefox, it's on the same process
and has access to all the same cookies as the first one. To handle the
issue pr
Yes. They are using the web application from the same computer.
-Vasu
"Terence M. Bandoian" <[EMAIL PROTECTED]> wrote:
> Hi-
>
> Are both users accessing the web application from the same computer?
>
> -Terence M. Bandoian
> [EMAIL PROTECTED]
>
> > Hi:
> >
> > Thanks David, Chris and M
Hi Rene,
I have problems in the past with tomcat and jdbc driver assigned as zip file
and not jar. Outside tomcat I could open classe12.zip driver and inside tomcat
not. Mind in the name of your driver...
Regards,
Omar Neto
Rene Guenther <[EMAIL PROTECTED]> wrote:
Alas, stil
Hi,
I cannot use the ip address because on one maschine are running two or
more tomcat instances. Is it not possible to define the name of the
tomcat node for instance in the server.xml like it is done for the
cluster configuration. If I could get the name of the current node it
would be all I
Alas, still the same error.
So you think, that I get this error because tomcat isnt
able to find the .jar file with the MySQL driver? Maybe
something changed between Tomcat 5 and 6 related to
?
Regards
René
On Thu, 28 Jun 2007 18:37:21 +0800
"Allen 孙" <[EMAIL PROTECTED]> wrote:
Put your ja
In the end it turns out I was using the wrong MBean. Well, wrong in that, as
one user pointed out, shutting down a Host means shutting down every context
in that Host. In my case I only have one host but even so, after calling the
stop() method on the Host MBean, I was unable to re-start it by cal
Put your jars into: *apache-tomcat-6.x.x/lib* will be just fine.
2007/6/28, Rene Guenther <[EMAIL PROTECTED]>:
Thanks for your reply. Unfortunately I am still getting
the same error with tomcat 6.0.13
Regards
René
On Thu, 28 Jun 2007 02:34:10 -0700 (PDT)
gregory hans <[EMAIL PROTECTED]> wrot
Thanks for your reply. Unfortunately I am still getting
the same error with tomcat 6.0.13
Regards
René
On Thu, 28 Jun 2007 02:34:10 -0700 (PDT)
gregory hans <[EMAIL PROTECTED]> wrote:
try to put your jdbc in your web application
(WEB-INF/LIB/). stop the service first, put the jdbc then
start
Also, maybe this is a good idea, one other thing I found handy behind a JK
cluster is leaving 2 connectors open.
So you got the cluster server doing its round robin, but each machine can
find the other machine directly through say port 8080.
So again in the dB, you just have to put the address o
Ingo, sounds like some kind of replication scheme cant say I understand,
know it can get complex, I ended up making a dB replication server once to
try keep clusters independent of each other.
Anyway, what about naturally occuring unique numbers, like the IP address of
the machine.
That you
i have 2 web server in my local computer. one for php(apache2triad) adn
one for jsp(tomcat). i installed tomcat using port 8080. i try to
install my web application into tomcat web server. i install using default
port ftp(21). but when i've done, the .war file i installed is copied
in php web
try to put your jdbc in your web application (WEB-INF/LIB/). stop the service
first, put the jdbc then start again...
Rene Guenther <[EMAIL PROTECTED]> wrote: Hello,
I am getting the following exception with tomcat 6.0.13:
Cannot create JDBC driver of class '' for connect URL
'null'
This exce
try to install jdk 1.6. remove the service first
Johnny Kewl <[EMAIL PROTECTED]> wrote: When you say failed to work, what
actually happens?
For example when I try install Tomcat6 Win Service, it stops at
C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll
and tells me Failed to install Service,
Mentioned webapps are strictly related. In fact they are part of one
large system. What is the best way to add make library/libraries
available to all application? Put it in $CATALINA_HOME/common/lib or is
there better way to do that?
prp
--
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
Przemek K
When you say failed to work, what actually happens?
For example when I try install Tomcat6 Win Service, it stops at
C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll
and tells me Failed to install Service, not enuf permissions.
This is because I had TC5 on the machine and the old service is st
Hello,
I am getting the following exception with tomcat 6.0.13:
Cannot create JDBC driver of class '' for connect URL
'null'
This exception I dont get with tomcat 5.5.23
I put the mysql jdbc driver (version 5.x) into
apache-tomcat-x.x.x/common/lib
Anyone knows what the problem could be?
Ok I 've understand, but what way you pick the element from String[] ?
On 28/06/07, PTS <[EMAIL PROTECTED]> wrote:
In several of the fields of the database the information is not entered
until a later time and thus the field is null. If you look at actual data
the value is null. When returned t
Hi
We're using Tomcat 5.5.9 embedded in JBoss 4.0.2 as a server supplying pdf
files.
The Servlet contains a map of entries
Entries are removed if a memory threshold is exceeded.
The problem is that the map contains fewer and fewer entries as time goes
by.
It seems that Tomcat caches previous
79 matches
Mail list logo