i use windows。
--
regards
jl
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
"-Djava.library.path=C:\example\dir1';'C:\example\dir2';'C:\exam
Hi,
Is there any option in Tomcat which can assign a new session ID only if the
IP address is changed and not a browser window? Actually right now a new
session ID comes in request for every new browser window (even if the IP
address is same). Is there any option to make Tomcat assign new session
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
> \EDR\EDRSel
> 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 Sta
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
NullPoin
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 availab
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 man
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\FSCA569>java -version
java version "1.4.2_13"
Java(TM) 2 Runtime Environ
> 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
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 confi
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
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 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
NF\classes\pwDashUt
> From: Peter Lombardo [mailto:[EMAIL PROTECTED]
> Subject: Installing Tomcat as a Windows Service - JvmOptions
> & semicolons
>
> I need to set:
> java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3
Do you have to use the script, or can you do this with the GUI
(tomcat5w.exe or t
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 lon
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 asig
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 semicolo
> 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
equiv
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.
>>
>>
>>
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
To:
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
> 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
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
c
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 unde
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 attachments
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=33&categoryID=5
"...For instance, running gc mi
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 O
Barry -- what you suggest only works on Windows boxes and only if using
the *.bat files. The OP has already stated this is a linux box: "Suse
Linux Enterprise Server"
Not knowing how the OP starts tomcat, it's hard to give solid advice on
the best method for switching JDKs.
--David
Propes
> 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 CONTA
> 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
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 Lis
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 ?)
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 PROT
> 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 pla
Somewhere in the execution path you still have java 1.4.2. Check your
PATH environment variable -- the first folder that contains java.exe
will be the one that returns.
As to what jdk tomcat 4.1 is running with, check the manager webapp
(http://localhost:8080/manager/html) and adjust the star
> 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 autoDeplo
> 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 a
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 .dll
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 informat
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 is
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.
O
-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
-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
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 [mailto:[EMAIL
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 a
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
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 allow
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 Ru
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
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 setti
Hello again SANGAMESHWAR
In the servlet.xml config file you will see the
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, that
servlet will restart WHEN IT IS IDLE.
If you have a thread runnin
[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: users
> 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 m
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 PROTECTE
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 t
I just deployed it and everything appears to be working for us with
internet explorer now.
Thanks,
Cory
Mladen Turk
<[EMAIL PROTECTED]
> 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.ClassNotFoundExc
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" java.lang.NoClassDefFoundE
[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 wa
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 in
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
to
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 en
-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
> 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 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: 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 me
-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 cook
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
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 anoth
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 O
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.
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
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 fo
Hi
I know which to set tomcat for
the NOT case sensitive, necessity to use the
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
any other OS which does no
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 <%@ p
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 - Er
> | 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 o
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 d
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
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'
81 matches
Mail list logo