Hi,
I am embedding tomcat in an application. I am using embedded version of
Tomcat 5.5.23 but I get the following exception. I have added all the jar
files in $CATALINAHOME\lib in my class path. Can anyone help me out?
Mar 15, 2007 12:01:23 PM org.apache.catalina.startup.Embedded start
INFO:
Hello, The JSP pages in my project is not showing the updated one upon each
request..Its showing the old one and only when i press the refresh, its
showing the updated one...I believe this is the problem with Tomcat..Can
someone help.
Thanks in advance
Pradeep
--
View this message in context:
Could anyone suggest me what is the following error related to.
error
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
at
While I can configure OpenLDAP and Tomcat 6 to connect over port 389,
without SSL, I cannot get it to work with a secure connection. All I
have done is set OpenLDAP to require SSL/TLS, which I know is working
fine, and modified the realm configuration to use port 636 and the ldaps
protocol.
Hi Fredrik,
HttpSession session = .;
session.setAttribute(String nameOfYourObject, Object yourObject);
Object yourObject = session.getAttribute(String nameOfYourObject);
Surely, this cannot be correct? It would take me some effort to try
sharing attributes between webapps, so I can't
Hi,
what kind of parameters are considered as invalid to tomcat???
Mar 15, 2007 3:10:39 PM org.apache.tomcat.util.http.ParametersprocessParameters
WARNING: Parameters: Invalid chunk ignored.
Thanks,
Khurram
Pid wrote:
Caldarale, Charles R wrote:
From: Pid [mailto:[EMAIL PROTECTED] Subject: Multilevel webapp WAR won't
start when packed
TC v6.0.10
I have a 'multi-level' path webapp that I'm deploying via a WAR. The
WAR is named download#file.war.
If I instruct it to stay packed it will not
| When I make a request.getRemoteAddr() I receive an IPv6 address while I
| want the IPv4.
Is the request coming across an IPv6 interface? If so, I don't know that
you can get an IPv4 address (without calling getRemoteHost() and doing a
reverse DNS lookup, anyway).
OK, I figured it out:
Hi all,
I just got tomcat 5.5.23. If I start tomcat from the command line using
./startup.sh, it works fine.
If I start it from Eclipse using the sysdeo plugin, I get the following
message (over and over again)
2007-03-15 11:47:17,277 [main] ERROR
org.apache.catalina.startup.HostConfig -
hi
i personally fell disabling the session in tomcat is not the correct
solution to overcome the memory out of error. just try to asign null for
unused objects. hope it resolve your issue.
bye
with regards
prakash.s
On 3/13/07, acec acec [EMAIL PROTECTED] wrote:
Hi, Remy
After I added %@
Hi
I know which to set tomcat for
the NOT case sensitive, necessity to use the
Context caseSensitive=false of the web application.
but this documentation
(http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
) say
NOTE: This flag MUST NOT be set to false on the Windows platform (or
Hi all
Please check this
http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror
regards
vinu
prakash shanmugam wrote:
hi
i personally fell disabling the session in tomcat is not the correct
solution to overcome the memory out of error. just try to asign null
hi,
my class files of beans regularly changes.
So,everytime i change a class file, i need to restart the tomcat server.
how can i configure Tomcat to watch the changes in the class files of beans?
Thanks in Advance,
Sangmaeshwar.A
This is a partial stack taken out of the middle. Please post a COMPLETE
stack from the start and including the the root cause (if available).
Also we well need to know OS, JDK version, tomcat version.
--David
Raghuveer wrote:
Could anyone suggest me what is the following error related to.
Hello to everyone. Sorry if my English isn't perfect. I have a problem with
Tomcat for which I have found explanation neither in the FAQ, nor searching
the web, nor asking other programmers... So, I guess you're my only hope.
I have developed a JSP application in Tomcat 5.5, and everything is
Gang,
I have a webapp that is deployed to directory X (which is not under
tomcat/webapps). My log4j.properties is located in webapp/WEB-INF/
classes/log4j.properties. My log4j contains a few hardcoded paths to
the log files. Due to traffic size, I would really like to simply
point
Mmmm, dont know I think the browser should be picking up file changes, but
if you want to make sure the browser doesnt cache, then if I remember
correctly search for NO-CACHE and set the headers returned, the browser will
reload every time. Note that headers are different for different browsers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave wrote:
I am using servlet. How to open a window in a new session?
I tried javascript
onclick=window.open(...)
but the opened window belongs to the same servlet session (see from
user login name).
If you are using cookie-based
From: Vinu Varghese [mailto:[EMAIL PROTECTED]
Subject: Re: apache-tomcat-6.0.10 OutOfMemoryError
Please check this
http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-p
ermgen-outofmemoryerror
Unfortunately, the blogger is simply wrong in his premise that the
default GC
I had a similar problem with one of the JSPs,
the only way I could solve it was, copy the original JSP's source code into
another plain-text editor like jEdit (or any editor that doesn't alter text, or
has unusual encoding)
then, delete the JSP file , and re-create a new JSP with the same name
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED]
Subject: java.util.MissingResourceException: Can't find
bundle for base name
I just got tomcat 5.5.23. If I start tomcat from the command
line using ./startup.sh, it works fine.
If I start it from Eclipse using the sysdeo plugin, I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Langas,
Langas de los Langas wrote:
I have developed a JSP application in Tomcat 5.5, and everything is OK
with it when you use Microsoft Internet Explorer; but, in a couple of
pages, with Mozilla Firefox and Netscape, these characters appeared at
Any clue?
Thanks,
Rahul Tandon
516-627-8993 Xtn 208
[EMAIL PROTECTED]
111 Great Neck Rd.,Suite #314
Great Neck, NY 11021
This communication is for informational purposes only. The contents of this
transmission are confidential and are intended solely for the use of the
individual or
Hello,
former versions of Tomcat had a WebDAV servlet/filter as example how to use
WebDAV with tomcat. It does not seem to be part of Tomcat 6. Why was it
removed? Was it moved to some other installation package/project?
I'm asking also because I have problems when using the webDAV function (of
The hex characters corresponding to  characters are EF BB BF , which are the
the BOM characters.
They're not just in the compiled JSP but also in the uncompiled JSP source, but
because they usually appear at the
start of the document the browser doesn't render them.
I was able to see it
[EMAIL PROTECTED] wrote:
I have noticed some funny behavior with 1.2.21 also...
We have tomcat hosting jira and jira is using the ntlm plugin for sso
authentication.
Can you guys check the 1.2.22-dev binary from:
http://people.apache.org/~mturk/jk-1.2.22-dev/win32/isapi_redirect.dll
There
Hi,
Thanks for the reply. Unfortunately, I have only one Tomcat on this
machine, (I moved the other ones),
so that can't be it. But Somehow, on starting tomcat from eclipse, the
following debug info appeared shortly in the eclipse console:
Exception in thread main
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED]
Subject: Re: java.util.MissingResourceException: Can't find
bundle for basename
Somehow, on starting tomcat from eclipse, the following
debug info appeared shortly in the eclipse console:
Caused by: java.lang.ClassNotFoundException:
I just deployed it and everything appears to be working for us with
internet explorer now.
Thanks,
Cory
Mladen Turk
[EMAIL PROTECTED]
There is a pretty interesting article on a tool that guarantees your
design/dependencies is up to date located here...
http://www.devx.com/opensource/Article/33729
Just thought you might be interested in using for tomcat(or for any other
project). You can actually enforce that components ONLY
java -version gives:
java version 1.5.0_11
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
You mean this isn't a 'real' JVM?
Ronald
Caldarale, Charles R wrote:
From: Ronald van Raaphorst [mailto:[EMAIL
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED]
Subject: Re: java.util.MissingResourceException: Can't find
bundle for basename
java version 1.5.0_11
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
[EMAIL PROTECTED] wrote:
I just deployed it and everything appears to be working for us with
internet explorer now.
Great. We'll release 1.2.22 probably early next week.
Regards,
Mladen.
-
To start a new topic, e-mail:
Hello again SANGAMESHWAR
In the servlet.xml config file you will see the
Host name=localhost appBase=webapps
unpackWARs=true autoDeploy=true
The autoDeploy=true means the sevlet will reload if anything is changed
under WEB-INF
So if you drop another library class in, or say change web.xml,
I think trying to increase the memory configuration in any application doesn't
necessarily contribute to it's speed because the garbage collector
does not perform serious attempts to release memory until the heap size limit
is reached.
So, having a lower heap size limit (lower max memory
Hi Chris,
Thanks for your reply.
How to configure server(Tomcat, I am using JBoss) to use URL-encoded session
id tracking? I did not do anything. Is cookie used for session tracking by
default?
Thanks!
David
Christopher Schultz [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED
Hello All,
Tomcat 4.1
Suse Linux Enterprise Server
Java 1.6.0
Is there any issue using Tomcat 4.1 with Java 1.6.0?
Our System Admin has installed the Java 1.6.0 but when running the java
-version it shows a different java version as below:
$java -version
java version 1.4.2_13
Java(TM) 2
Thanks Rashmi for the suggestion. My application is using (some time) quite
a big memory (I need 1GB once in a while!!!), that's why I wanted to have
this setting.
One other thing I notice(which I am not sure of), will this error would have
any effect:
The Apache Tomcat Native library which
When I try to run my application, before access that, I´m getting the
following entries in the log:
[Thu Mar 15 09:52:57 2007] [error] start_response::jk_isapi_plugin.c (475):
HSE_REQ_SEND_RESPONSE_HEADER failed
[Thu Mar 15 09:52:57 2007] [error] write::jk_isapi_plugin.c (565): WriteClient
If I open an IE from windows desktop, and then access the link, it will start a
new session. Is there any control on cookie, like do not use cookie for this
new window?
Thanks!
Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED
MESSAGE-
Hash: SHA1
Dave,
Dave wrote:
I am
Hmmm. Starting Eclipse all the time with
eclipse '/opt/eclipse/eclipse' -vm /usr/java/jdk1.5.0/bin/java -vmargs
-Xmx256M
where jdk1.5.0 is a symlink to the 1.5.0_11 dir.
So Tomcat and Eclipse are using the same jvm.
Ronald
Caldarale, Charles R wrote:
From: Ronald van Raaphorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave wrote:
Hi Chris, Thanks for your reply.
How to configure server(Tomcat, I am using JBoss) to use URL-encoded
session id tracking? I did not do anything. Is cookie used for
session tracking by default?
IIRC, Tomcat uses cookies if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave wrote:
If I open an IE from windows desktop, and then access the link, it
will start a new session. Is there any control on cookie, like do not
use cookie for this new window?
By default, I believe that Tomcat creates browser-session
I think you do have the Native library, but since you're getting
OutOfMemoryError the garbage collector is unable to free additional memory for
further work, and this is why the application hangs.
This article http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17470
explains it well.
I understand that Apache Tomcat 6 now supports the EAR file.
Is that correct?
Melinda Savoy
Sr. Programmer Analyst
Financial Applications - Enterprise Systems
The information contained in this message and any attachments is intended only
for the use of the individual or entity to which it
Thanks rashmi. After trial and error I found out that 704m is fine but 768
is giving me trouble. I would check the link that you send.
Thanks again.
Rahul Tandon
516-627-8993 Xtn 208
[EMAIL PROTECTED]
111 Great Neck Rd.,Suite #314
Great Neck, NY 11021
This communication is for
Use the file I send link to (1.2.22-dev)
[Thu Mar 15 09:52:57 2007] [error] start_response::jk_isapi_plugin.c (475):
HSE_REQ_SEND_RESPONSE_HEADER failed
Here you should see
HSE_REQ_SEND_RESPONSE_HEADER failed with error=x
The error will give us a clue what's going on.
Use the latest
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED]
Subject: Re: java.util.MissingResourceException: Can't find
bundle for basename
eclipse '/opt/eclipse/eclipse' -vm
/usr/java/jdk1.5.0/bin/java -vmargs
-Xmx256M
where jdk1.5.0 is a symlink to the 1.5.0_11 dir.
So Tomcat and
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: how to configure the tomcat to automatically
update class instances when a class file changed
The autoDeploy=true means the sevlet will reload if
anything is changed under WEB-INF
That's not quite true. The autoDeploy
From: Rahul Tandon [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat 5.5
The Apache Tomcat Native library which allows optimal performance in
production environments was not found
That has no bearing on your OOME; it's displayed when the APR .dll or
.so file isn't installed. For Linux
change up your catalina.bat or.sh file to point to the JDK 1.6 version
set JAVA_HOME=C:\j2sdk1.4.0
I'm using an older version here. This is from my catalina.bat file
although not sure if TC 4.1 will work well with that JDK or not.
-Original Message-
From: David Smith [mailto:[EMAIL
Hmm. you're right. But I saw it only once or twice in the eclipse
console view.
Anyway, I'll have to deal with this later (Maybe start with a fresh
Eclipse 3.2 or 3.3 build) and try again,
as next week I'll be on ski holiday in France.
Thanks again for helping me out so far Chuck (Or Charles
I've also noticed in my apps sometimes that items with javascript references
either get so deeply cached or are not recognized until I stop and restart
Tomcat.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 8:14 AM
To: Tomcat Users
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat 5.5
So, having a lower heap size limit (lower max memory
setting), ensures that the garbage collector releases as much
memory as possible in a shorter interval and having a higher
memory setting significantly delays the
From: Ronald van Raaphorst [mailto:[EMAIL PROTECTED]
Subject: Re: java.util.MissingResourceException: Can't find
bundle for basename
Chuck (Or Charles ?).
It's Charles on the birth certificate, Chuck in the rest of the world.
Alps or Pyrenees?
- Chuck
THIS COMMUNICATION MAY CONTAIN
ok, sorry about that.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 11:22 AM
To: Tomcat Users List
Subject: Re: Quick Question for TomCat Gurus
Barry -- what you suggest only works on Windows boxes and only if using
the *.bat files. The
Hmm.., I came accross these documents while trying to increase memory for my
IDE... and that's why I thought having a very large heap size
doesn't always improve performance of a Java based app.
http://support.jetbrains.com/kb/entry.jspa?externalID=33categoryID=5
...For instance, running gc
Savoy, Melinda wrote:
I understand that Apache Tomcat 6 now supports the EAR file.
Is that correct?
Incorrect, Geronimo with Tomcat 6 does
Filip
Melinda Savoy
Sr. Programmer Analyst
Financial Applications - Enterprise Systems
The information contained in this message and any
Thanks for the response. We're trying to find an alternative to Jboss.
Regards.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 12:00 PM
To: Tomcat Users List
Subject: Re: Question on EAR files
Savoy, Melinda wrote:
I
Nathan,
Judging from the exception, perhaps the problem is that the SSL certificate
used by OpenLDAP could not be validated by Java. It could be that you're
using a self signed certificate and Java does not trust it. If you are
using a certificate signed by a third party, check that the root
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat 5.5
...For instance, running gc might take extremely long time.
In such case, it is advisable to reduce the heap size
Urban myth, possibly true in the very early days of Java, when GC was
not terribly sophisticated.
ok, you know better :-)
I just came accross this too, in case it helps the OP in anyway :
http://developers.sun.com/sunstudio/articles/perfoptions.html (Jan 2007)
Also, it helps to check the code to see if there any circular object
references.
Pre-compiling JSPs either with Jasper of HttpUnit
You have two, our own Geronimo and Sun's Glassfish
Filip
Savoy, Melinda wrote:
Thanks for the response. We're trying to find an alternative to Jboss.
Regards.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 12:00 PM
And how about JONAS? The object web's LGPL enterprise application server
Filip Hanik - Dev Lists a écrit :
You have two, our own Geronimo and Sun's Glassfish
Filip
Savoy, Melinda wrote:
Thanks for the response. We're trying to find an alternative to Jboss.
Regards.
-Original
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat 5.5
I just came accross this too, in case it helps the OP in
anyway :
http://developers.sun.com/sunstudio/articles/perfoptions.html
(Jan 2007)
The above is specific to Solaris; don't know if there are Red Hat
I'm having a bit of trouble configuring the jvm options as I'm
installing Tomcat as a Windows Service.
I need to set:
java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3
I pass this to the update service command (below) but the JvmOptions
command line option is parsing the
Hi, Prakash
I just tested tomcat example jsp page, there is not
any object to assign null.
Thanks.
Arden
--- prakash shanmugam [EMAIL PROTECTED] wrote:
hi
i personally fell disabling the session in tomcat is
not the correct
solution to overcome the memory out of error. just
try to asign null
Konstantin Breu wrote:
Hello,
former versions of Tomcat had a WebDAV servlet/filter as example how to use
WebDAV with tomcat. It does not seem to be part of Tomcat 6. Why was it
removed? Was it moved to some other installation package/project?
The servlet is still there but there is no longer
Hi David,
Please find complete stacktrace,
C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\edrsystem\jsp
\EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil
bad class file: C:\Program Files\Apache Group\Tomcat
4.1\webapps\edrsystem\WEB-I
I have to install this from a script for the time being. I'm
automating the process of adding and removing tomcat instances onto
various servers.
Peter
On 3/15/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Peter Lombardo [mailto:[EMAIL PROTECTED]
Subject: Installing Tomcat as a
Hi Experts,
Ciuld anyn one help me what is meaning of this..
When a jsp is called i am getting 500 error with this message
C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\edrsystem\jsp
\EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil
you are better off using Java Service Wrapper, from
http://wrapper.tanukisoftware.org/doc/english/introduction.html
I've created a Tomcat specific install that lets you do thread dumps to
the service, you can find that one here
http://people.apache.org/~fhanik/wrapper.html
This lets you
From: Raghuveer [mailto:[EMAIL PROTECTED]
Subject: class file has wrong version 49.0, should be 48.0
Ciuld anyn one help me what is meaning of this..
A little Googling or search of the archives would show that your're
trying to use a .class file compiled with JDK 1.5 on a 1.4 JVM. Your
Yes,
I am using 1.4.2.13 JDK installed from j2re-1_4_2_13-windows-i586-p.exe
and tomcat version is Apache Tomcat/4.1.31
(http://tomcat.apache.org/download-41.cgi)
--
C:\Documents and Settings\FSCA569java -version
java version 1.4.2_13
Java(TM) 2 Runtime
Although those packages look impressive and seem very helpful -
introducing new software into a live managed hosting environment to
solve a semicolon issue is hard to justify.
I'll look into those some more for the future, but for the time being
it's not an option. ;-).
I've found that if I
Rahul,
There's an inverse relationship between your maximum heap size and
the number of threads that can be allocated within your process. Your
OS (and Java) will allocate memory for each Thread you create. By
increasing your max heap, you're actually reducing the amount of
memory
Greetings,
I have a servlet running happily in Tomcat 5.5 on a Windows 2003 Server
when Tomcat is started as a user program. However, when I start it as a
Windows service it seems to miss values from a properties file I keep in
Tomcat/bin, and the servlet dies the death of a thousand
From: Rick Strong [mailto:[EMAIL PROTECTED]
Subject: Differences When Starting Tomcat (5.5) as a Windows
Service vs UserPgm?
Does the default directory change when running as
a service?
Yes, but you can set the current directory to whatever you want using
tomcat5w.exe under the Startup
hi the problem resolved.
Thanks to forums...
Hi Experts,
Ciuld anyn one help me what is meaning of this..
When a jsp is called i am getting 500 error with this message
C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\edrsystem\jsp
Peter Lombardo wrote:
I'm having a bit of trouble configuring the jvm options as I'm
installing Tomcat as a Windows Service.
I need to set:
java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3
Use the:
++JvmOptions
80 matches
Mail list logo