You are using certificate for java's SSL.
You need certificate for openssl.
May be you can convert certificate using following commands
http://mark.foster.cc/kb/openssl-keytool.html
Let me know if it worked for you.
Tuesday, November 28, 2006, 5:39:17 AM, you wrote:
DB I saw this, but
I am , I thought I'd share my findings with you
Mark Thomas wrote:
Richard Fallon wrote:
For all those who are interested, and I cannot believe that no-one else
has experienced this, there appears to be a bug in Tomcat 5.0.27 that
ALWAYS creates the context.xml snippet from the META-INF
Is anyone running into issues with memory leaks occuring
whenever a webapp is redeployed? I've been having a lot of
problems with this. I think what's exacerbating the problem
is that I'm using Hibernate and JAX-WS which I have bundled
with my application which use a lot of memory.
Yes,
Dear all,
I'm using Tomcat 5.5.9, Java 1.5.0 on a Red Hat Entreprise 4.4.
According to this document
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
I tried to encrypt passwords, but I can't figure out why it is not working.
I copied the class catalina.jar into /usr/share/java/
Hi,
I have an app working OK in Tomcat 5.5.9, but I can't get it to reload. I
get errors such as:
D:\workspace\starfriend\build.xml:319: Failed to copy
D:\workspace\starfriend\vm\home\start.vm to C:\Program Files\Apache Software
Foundation\Tomcat 5.5\webapps\starfriend\WEB-INF\vm\home\start.vm
Hi all,
Problem: Trying to asociate a database pool to a local context
Error: javax.naming.NameNotFoundException: Name pool is not bound in this
Context'
Version Tomcat: 5.5.20
JDK: 5.0
OS: Windows 2000
Comment: I been using tomcat since version 3 and never has such problems (admin
app works
Hi all,
I run a Linux script to check every 5 minutes whether my server is still on:
#! /bin/bash
while true; do
sleep 300
`wget http://localhost:8080/myapp/index.jsp -o stdout`
result=`grep -c 'OK' stdout`
if [ $result -eq 0 ]; then
echo server down | mail -s
I am pleased to announce the immediate availability of LambdaProbe 1.7
beta - monitoring tool for Apache Tomcat.
Bugs fixed in this release:
* fixed problem with possible JVM crash when estimating session size.
* fixed possible startup failure due to corrupt stats file.
New features
What does stdout have in it when your script registers a server down
condition?
--David
[EMAIL PROTECTED] wrote:
Hi all,
I run a Linux script to check every 5 minutes whether my server is still on:
#! /bin/bash
while true; do
sleep 300
`wget http://localhost:8080/myapp/index.jsp -o stdout`
Macari McCorry, Gerardo wrote:
Hi all,
Problem: Trying to asociate a database pool to a local context
Error: javax.naming.NameNotFoundException: Name pool is not bound in this
Context'
Have you defined a resource-ref element in web.xml?
Mark
Jon-
A couple of things that may be of immediate use to you (even for older releases)
Confine your variables to have as restricted scope as possible in other words
If you have a number of JSP tags that are application scope and get by with
request then convert those tags to use request scope
If
Good Morning Jack-
As Tomcat is OpenSource (and not proprietary) and can be installed on any OS
(vs just 1) I dont undertand
What is causing the number of Tomcat users to attenuate over time?
M
This e-mail communication and any attachments may contain confidential and
privileged information for
[EMAIL PROTECTED] wrote:
The problems seems to be located with Cglib classloaders referencing policy.
There is a lot of topic on the Net, which may be interessing to read, but noone
seems to have found a valuable solution. (Increasing the PermGenspace is NOT a
reasonable solution)
That
Gerardo-
http://tomcat.apache.org/tomcat-6.0-doc/printer/jndi-datasource-examples-howto.html
server.xml need to identify all of the attributes of the DataSource as in
Context path=/DBTest docBase=DBTest debug=5 reloadable=true
crossContext=true
Resource name=jdbc/TestDB auth=Container
Yep I have defined as:
resource-ref
descriptionDB Connection/description
res-ref-namepool/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
-Mensaje original-
De: Mark Thomas [mailto:[EMAIL PROTECTED]
The problems seems to be located with Cglib classloaders
referencing
policy. There is a lot of topic on the Net, which may be
interessing
to read, but noone seems to have found a valuable solution.
(Increasing the PermGenspace is NOT a reasonable solution)
That means, that
unfortunately it is in German:
--15:17:51-- http://localhost:8080/myapp/index.jsp
(Versuch: 5) = `index.jsp'
Verbindungsaufbau zu
xxx|yyy|:8080... fehlgeschlagen: Die Wartezeit für die Verbindung ist
abgelaufen.
Erneuter Versuch.
in English the whole stdout should mean:
--15:17:51--
Hi.
We are having this problem with an instalation of an application under
Tomcat 4.0.6 ; cant switch version and it works on another machine,
but in this one...
We get to the first pages of the application, but then any further
navigation goes back to the same first page, and the log for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Miller wrote:
Is anyone running into issues with memory leaks occuring whenever a
webapp is redeployed?
This is probably not Tomcat's fault it's Java's fault.
When Tomcat reloads a webapp, it discards the ClassLoader (or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Remy,
[EMAIL PROTECTED] wrote:
That means, that hibernate apps will always generate OOM...
Not always. But some hibernate/cglib/tomcat uses seems to generate
classloader memory leak:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Memory leaks on webapp redeploy
Last time I checked, Class objects basically never get GC'd,
so any static data stays around forever. You have to shut
down the VM in order to free that memory.
Not true - classes do get
Looks to me suspiciously like an issue with wget instead of tomcat.
Wget is making an attempt using a stale cached connection, failing, and
retrying. For some reason the result of the retry isn't present in the
stdout file.
You could try adding the -S option to wget and then check for the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Memory leaks on webapp redeploy
Last time I checked, Class objects basically never get GC'd,
so any static data stays around forever. You have
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Memory leaks on webapp redeploy
This wasn't the case some time ago. A cleanly written webapp would
double the number of Class objects kept around after a re-deploy
(actually, after an automatic re-deploy, but that shouldn't
It's been a while since I profiled any of my apps, but that
used to be the case... after a few days in development of
auto-re-loading the webapps, we'd get an OOM. We could watch
the heap fill up with useless Class objects (for instance,
my.package.Class showed up 10 times after 9
+1 on David's suggestion
As a precaution for retrieving non-cached information from the server I would
also use the no-cache parameter e.g. --no-cache
Here is a quick test on my tomcat running on localhost:8080 with the --nocache
parameter
bash-3.1$ wget --no-cache
You could try Sun's Java Studio Creator, it does have features such drag
drop HTML control, I am not sure it has as much control functionality as
ASP.NET. I'll personally stay away from that stuff. Java Server Faces I
think is also related to that.
On 11/28/06, Dima Retov [EMAIL PROTECTED]
Hi Dima,
Read the article at this website:
http://www.informit.com/guides/content.asp?g=javaseqNum=293rl=1. It
describes the Bea Workshop which used to be NitroX from M7. It is a great
development environment for web application development only. It is not going
to give you a whole
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
Subject: Re: Memory leaks on webapp redeploy
The only thing I can think of is perhaps Java is keeping introspection
information around and never releasing it.
Quite possible. There's a good discussion of the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Just a note about checking the up-ness of a web server...
I use httping, which is just about the same as using wget, except that
you don't have to use grep to check the status code... httping allows
you to define which status codes are
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Memory leaks on webapp redeploy
Maybe this issue has been fixed in recent VMs (IIRC, older
VMs -- maybe 1.3-era -- would never discard java.lang.Class
objects.
Not true either. I've been porting Sun's JVMs to various
http://wiki.apache.org/tomcat/OutOfMemory : Another link which deals
about OOM and singleton.
Have you ever tried to do some inspections with decent profiler
(OptimiseIt, Jprofiler, Yourkit, ...) ?
RC
---
I am using UrlRewrite filter on tomcat.
I would like to do the following:
rewrite from
http://localhost:8080/testApp?arg1=abcarg2=def
to
http://localhost:8080/testApp/index.jsp?arg1=abcarg=def
So i have the following rule in my urlrewrite.xml (under WEB-INF
directory)
rule
Hi all
The system is Windows Server 2003 SP1 Standard, Java SDK 1.4.2_08, Tomcat
5.0.28, JVMms=512M, JVMmx=1360M
I have this situation:
Before I see in GC maximum memory, in stdout.log appears :
[2006-11-28
14:05:46,409|ERROR|http-8080-Processor192|com.documentum.fc.common.DfLogger|error|60
Currently I'm using 5.5.17, but, it's happened with every other version that
I've used for the past several years as well.
Jon
- Original Message -
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 27, 2006 7:37 PM
Subject: Re:
I'm getting ready to try NetBeans profiler right now. I tried it awhile back
before it was released, but, there was something wrong with the Solaris
library, so, I couldn't get it to work. I'm hoping I'll have better luck now
that it's been released officially.
Jon
- Original Message
Thanks for the info Remy. I've been using Sun's JVM, but, I think I'm going
to try IBM's to see if that makes a difference.
Jon
- Original Message -
From: [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, November 28, 2006 3:30 AM
Subject: RE: Memory leaks on webapp
Hi Mike,
Check out the following bug report, I had a similar issue and my solution
was to modify the hibernate session factory so that it only instruments
persistent objects as they are encountered for the first time. I attached a
patch to the bug report which is a modified session factory that
I am also experiencing this problem in a webapp. My understanding of
Tomcat classloading if as follows, please correct if wrong.
Tomcat has a shared ClassLoader that can load up classes that all
webapps can use. This ClassLoader will never be GCed as it lives for
the lifetime of the Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Miller wrote:
I'm getting ready to try NetBeans profiler right now. I tried it awhile
back before it was released, but, there was something wrong with the
Solaris library, so, I couldn't get it to work. I'm hoping I'll have
better luck
Hello,
I am afraid I don't know much about Tomcat but am trying to get up to speed
as quickly as possible. I upgraded the server with ColdFusion MX 7.0.1, and now
one of our webapps has stopped working. The following URL used to work before
the upgrade:
probably need to change the server.xml to listen on port 80.
On 11/28/06, Janet Ciavarelli [EMAIL PROTECTED] wrote:
Hello,
I am afraid I don't know much about Tomcat but am trying to get up to
speed as quickly as possible. I upgraded the server with ColdFusion MX
7.0.1, and now one of our
From: Mike Quilleash [mailto:[EMAIL PROTECTED]
Subject: RE: Memory leaks on webapp redeploy
Looks like during the WebappClassLoader cleanup the logging is being
reinitialised.
You may well have found the problem. Must be some context-specific
logging going on after contextDestroyed() is
Yup, I don't think there's anything Tomcat could do to make *small cost*
hosting companies to embrace Tomcat.
Many big businesses are using Tomcat. But, when it comes to smaller hosting
companies I've come accross only one host in the US
who supports Tomcat with MySQL everyone else only
Hi, I'm using Tomcat 5.5 with Apache 2. Upon getting jsp compilation
errors, I'm not told any inofrmation about the code the causaed the
error and the line printed is incorrect. What do I need to configure
to correct this? For example, this page below:
%@ page import=java.util.* %
%
On 28 Nov 2006 at 11:24, Jason Lanpher wrote:
Date sent: Tue, 28 Nov 2006 11:24:47 -0500 (EST)
From: Jason Lanpher [EMAIL PROTECTED]
Subject:RE: JSP alternative to ASP.NET
To: Tomcat Users List users@tomcat.apache.org
Send reply
D. Alvarado ha scritto:
Hi, I'm using Tomcat 5.5 with Apache 2. Upon getting jsp compilation
errors, I'm not told any inofrmation about the code the causaed the
error and the line printed is incorrect. What do I need to configure
to correct this? For example, this page below:
%@ page
Hello,
This is your head info from the link
http://webserver.kamloops.ca/imf/sites/DataDownload/disclaimer.html
--
Response Headers -
http://webserver.kamloops.ca/imf/sites/DataDownload/disclaimer.html
Content-Length: 103
Content-Type: text/html
Thanks. So there's absolutely no way within the web browser to print
out the line of code that caused the error? In the example, the line
i would've liked to see in the web browser would have been:
String v1 = session.getAttribute(attr);
Thanks, - Dave
On 11/28/06, Edoardo Panfili [EMAIL
The problem is that the JSP is not compiled on the browser. Even if it was,
you would be bound on functionality provided by the particular browser. The
servlet container might send an error in the response but that would be up
to the container provider as well. Because these behaviors are not
Hi Ying,
I'm using UrlRewrite with Tomcat5.5 and it works fine.
I think there's a problem in the rule it mentions deviceCode but I don't really
see the words deviceCode in the from URL.
There's a group for UrlRewrite filter
http://groups-beta.google.com/group/urlrewrite I think if you post
Hi,
I am developing web apps for tomcat 5.5.7 and changes are being made to
servlets which are updated in real-time by Tomcat. The problem is there
seems to be no way of predicting how long before changes to web.xml are
picked up, i.e. if I add a new servlet. Sometimes it's immediate and
JavaServer Faces is basically the Java equivalent of ASP.NET. JSF lags
sufficiently behind ASP.NET IMHO though. I noticed that NetBeans has a new
add on called Visual Web Pack that might be worth checking out. It's only a
preview though.
http://www.netbeans.org/products/visualweb/
Jon
-
Respectfully, I submit that the problem is that something works less well
when comparing 5.5 and 5.0
On 5.0.29, the original poster's page provides this error output:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 2 in the jsp file:
You may also want to look at the Click framework. It's an event based
framework very similar to ASP.NETs model.
http://click.sourceforge.net/
- Chris
-Original Message-
From: Jon Miller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 8:21 PM
To: Tomcat Users List; [EMAIL
Hi all,
I'm a bit new to servlet programming so i'll be as clear as i can.
I'm developing a small web application to test servlets in a project at
school
The project is fairly simple we a jsp pages that POST requests to a
central servlet that controls the flow of the application
My partner
Wow, how rare that a newer version should lose this feature. So the
answer then, if I want the code and the correct line printed out is to
revert to Tomcat 5.0? - Dave
On 11/28/06, gb1071nx [EMAIL PROTECTED] wrote:
Respectfully, I submit that the problem is that something works less well
when
Hi;
Pascal Guy schrieb:
The problem comes when we integrate to post the request to my controller
The controller works fine but the resources are not working (css, images
and javascript)
I am not sure to understand your problem right, but:
servlet-mapping
Well, since my first email, I read the bugzilla (
http://issues.apache.org/bugzilla/show_bug.cgi?id=37062 ) attached to that
website, and apparently this patch was committed to 5.5.13. But... I can't get
it to work. I may or may not have the same problem as the last commentor.
Perhaps I'm
Hi,
i have tried the absolute path
img border=0 src=/images/topImage.gif width=300 height=15
which renders to
http://localhost:8080/images/topImage.gif (which i know is not
the good path)
but in the jsp we access the resource like this
img border=0
Hello all,
Thank you for taking a moment to read this...I'm up to my eyeballs
in content from google search results. I'm learning as quickly as I can,
but could use a hand straightening a few things out.
I have Apache and Tomcat running on the same W2K server, and am trying to
troubleshoot and
Hello,
I am trying to add a second web application to my server, and in doing
so I have taken the approach of using multiple virtual hosts in both
Apache and Tomcat. The configuration I am using is not currently working
and I was hoping someone might spot the reason.
Background:
Apache
Hi,
When there is a problem in my jsp file, Tomcat displays an
Etat HTTP 500 -
with the exception that caused the problem. Is there a way to avoid this
message and display my own message like We're sorry but we're facing a
problem, please contact me at ...
Thanks
John john ha scritto:
Hi,
When there is a problem in my jsp file, Tomcat displays an
Etat HTTP 500 -
with the exception that caused the problem. Is there a way to avoid this message and
display my own message like We're sorry but we're facing a problem, please contact
me at ...
You can
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno,
Bruno Vilardo wrote:
Tomcat 4.1
Java 1.4.2_08-b03
We have done a migration process from one server to another.
After the migration, everyday now our TOMCAT crashes/stop on its own.
I checked the tomcat log and I could find the error
- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, November 28, 2006 11:46 AM
Subject: Re: Memory leaks on webapp redeploy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jon,
Jon Miller wrote:
I'm getting
You can use the jakarta commons-HttpClient to re-submit the requests to
JMXHttpAdaptor
http://jakarta.apache.org/commons/httpclient/
On 11/15/06, Liu Frank [EMAIL PROTECTED] wrote:
Hi All,
Now I am suffering a problem: I use Apache as the Web Server and Tomcat as
the JSP/Servlet Server.
Well. why can't your move your application outside the tomcat folder?
For example,
Context path=/appName docBase=C:/myapps/starfriend debug=3
reloadable=true
On 11/28/06, pir8ped [EMAIL PROTECTED] wrote:
Hi,
I have an app working OK in Tomcat 5.5.9, but I can't get it to reload. I
get
On 11/28/06, Mike Quilleash [EMAIL PROTECTED] wrote:
As a brief aside I found the following code in the
WebAppClassLoader.releaseResources() of Tomcat 6, so it looks like some
of the well-known caches are being cleared out by Tomcat itself.
Are you using 5.5 or 6.0 ? If you're using 5.5, then
Well our network guy figured out the problem. One of the problems was that the
virtual folder in IIS named Jakarta had a capital J instead of a lower case j.
Believe it or not, changing the case made a difference. Also, the website had 2
ip addresses for it in the properties. So now we have it
Hello Chris,
Thanks for the reply.
Yes I can give you details about the hardware configuration.
It is a Linux Server running Suse 9, 4 CPU 3GHZ, 8GB Memory. Not sure about
the Disk layout(if this is what you mean). I know that they are using Raid
10 with reiser File System.
I have access to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno,
Bruno Vilardo wrote:
Hello Chris,
Yes I can give you details about the hardware configuration.
It is a Linux Server running Suse 9, 4 CPU 3GHZ, 8GB Memory. Not sure about
the Disk layout(if this is what you mean). I know that they are
run those tests so we can verify its not HW
also :
what version JVM?
java -version
what is the default JVM..generally this is the 1st non commented (#) entry in
$JAVA_HOME/jre/lib/i386/jvm.cfg which should say something like
-client KNOWN
-server ?
-hotspot ?
-classic?
-native ?
-green ?
-ojvm
Rainer Jung,
thanks for ur reply. I understand that JVM will use lots of memory besides
heap.
but I didn't see that the gap between the heap size and total memory size
can be stable.
it keeps on growing.
I list the pmap result below. there are lots of unknow memory allocated. Is
there any
Hi,
I have a web app runs fine on tomcat 5.0.
And i am trying to see if it can run on tomcat 4.1.
However, I am getting the following error (in the catalina.out):
I check that i don't have any 'taglib' in my web.xml. So i am not sure
which file is causing the problem.
thanks for any
Hello All,
Setup
-
We are researching into a site running a Webapplication using the
following setup:
IBM AIX 5.2
Tomcat 5.5.9
Java 5 64-bits (IBM Patch level is set to pap64dev-20061003a and
downloaded from the IBM URL of :
Thanks - a possible solution - but I have read the docs more carefully, and
found that just with the web-inf/classes folder that you can re-write files.
I had changed my ant script to try to delete folders then re-write them.
That didn't work.
The velocity pages are reloadable now - not sure why
77 matches
Mail list logo