it comes down to multicasting working properly on your system.
that is where your troubleshooting efforts need to go. Sometimes
removing mcastBindAddr helps.
Filip
Vinu Varghese wrote:
Hi,
I have a clustered environment which have 4 machines that are in
the same private switch. I have
Folks
I have an odd problem that occurs on TC6 running on fedora core 6.
Apache in fronting TC.
When I try to pass an HTML parameter from a JSP it is not in present in the request object for the
receiving JSP. I get the following in catalina.out:
WARNING: Parameters: Character decoding
send us a small test app please
Filip
Adam Lipscombe wrote:
Folks
I have an odd problem that occurs on TC6 running on fedora core 6.
Apache in fronting TC.
When I try to pass an HTML parameter from a JSP it is not in present
in the request object for the receiving JSP. I get the following in
Scott Dunbar wrote:
Thanks, I checked that and my I don't set a docBase in my context:
Host name=domainname.tld appBase=/home/scott/sites/domainname.tld
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context path= docBase=
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 11:00 AM
However, the Javadoc of enum EventSubType says:
TIMEOUT - the connection timed out (sub type of ERROR);
note that this
ERROR type is not fatal, and the
Hi all,
I am running Tomcat 5.5.23 on a Win32 platform as an NT Service, with the
native DLL.
I am experiencing the CPU spinning at 100% in our production environment,
which is not something I have seen in our dev or staging env. In order to
determine the problem area, I have tried running
We have a medical program that runs on two tomcat servers behind an LVS
load balancer. Everything works fine except for one particular function
that apparently relies on data in the tomcat5/work directory. If the
load balancer directs a request to a tomcat server that has different
cache data, the
Reich, Matthias wrote:
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 11:00 AM
However, the Javadoc of enum EventSubType says:
TIMEOUT - the connection timed out (sub type of ERROR);
note that this
maybe try to run it under another service manager, like the Java Service
Wrapper
http://people.apache.org/~fhanik/wrapper.html
to rule out the case, that its a win service problem
Filip
Jason Polites wrote:
Hi all,
I am running Tomcat 5.5.23 on a Win32 platform as an NT Service, with the
Hi Bill,
Many thanks for your reply.
I will try to fix this with Entrust.
Very Best
Valery.
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Bill Barker
Gesendet: Dienstag, 8. Mai 2007 05:05
An: users@tomcat.apache.org
Betreff: Re: Cookie's value and double
Robinson, Eric wrote:
We have a medical program that runs on two tomcat servers behind an LVS
load balancer. Everything works fine except for one particular function
that apparently relies on data in the tomcat5/work directory. If the
load balancer directs a request to a tomcat server that has
My web application generates a list of links for a user to click on.
The URL looks like this: showCa.jsp?id=2345
The showCa.jsp page uses the id to populate a form on the page.
The problem I am have is when a user clicks the link showCa.jsp?id=2345
The request.getParameter(id) is returning
On 5/8/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Subject: request.getParameter is returning the wrong value
The problem I am have is when a user clicks the link
showCa.jsp?id=2345
The request.getParameter(id) is returning the wrong id!
you are calling js function named 'showCa'
but your javascript function name is 'showCap'
When/Where do you actually pass these values to servlet?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message
The OS is RHEL4. Tomcat is 5.0.28.
The 'particular function' is a little hard to explain. It's just an area
of the program where you configure certain parameters that control
workflow in your medical practice, such as how long a default patient
visit lasts. This area has a different look and feel
I posted this on comp.lang.java.security yesterday, but haven't gotten a
single answer, so I'm hoping you people can help:
I'm trying to implement ACL's in my Tomcat-based webapp, and am having
trouble applying what I read in the docs and in my googling to my
real-life application. Could
Sorry about that. When I copied and pasted I missed the function name
and I typed it in manually. I double checked and the function name is
spelled correctly. This code works normally until multiple users
login.
I pass these values the JSP page when the following JavaScript executes:
Hi,
Sorry to bother again, but there is still something I can't understand.
The changelog of Tomcat indicates that the changes you've reported happened
with tomcat version 5.5.14.
(It says Strip quotes when parsing Cookie values, even for v0 Cookies.)
However, the integrated Tomcat delivered
Hi,
I am running Tomcat 5.5 on a Windows 2003 server box, using Sun JRE 1.5.0_11.
Since I want to have SSL support on my server, I followed the instructions
on
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
first creating a self-signed certificate and then uncommenting the SSL
First, I'd just make sure you are passing the right value from the form.
alert() the (editFlag= + document.theForm.editFlag.value + activeTab= +
document.theForm.activeTab.value + id= + vId;) string before you do the
location.href to be sure.
Given that you are saying it works until multiple
Good Morning Dave...
I would start by referencing this link
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html
either
setup security in %JAVA_HOME%/lib/security/java.policy and start java with
security manager enabled e.g.
JAVA -Djava.security.policy=java.policy
Yes the right values are passed. Th eonly one of those variable that
really efects the data on the page is vId, which is hard coded into
the a href=..
I started to look in the _jspService and I noticed the the variable
which I assign the request.getParameter(id) to is not in that
method.
The
Also, If you have any information about declaring a variable with !
I would like to know. I am having trouble finding any on google and
my JSP book.
On 5/8/07, Richard Sayre [EMAIL PROTECTED] wrote:
Yes the right values are passed. Th eonly one of those variable that
really efects the data
I have set my all files with UTF-8 format,so I set URIEncoding parameter in
server.xml,like follows:
Connector port=8080 protocol=HTTP/1.1
maxThreads=150 connectionTimeout=2
redirectPort=8443 URIEncoding=UTF-8/
Then I write a JSP file like follows:
%@ page
Give us the .jsp and the jasper generated .java file, it will be faster
to solve :)
En l'instant précis du 08/05/07 17:22, Richard Sayre s'exprimait en ces
termes:
Also, If you have any information about declaring a variable with !
I would like to know. I am having trouble finding any on
Marcus Johansson wrote:
I am running Tomcat 5.5 on a Windows 2003 server box, using Sun JRE 1.5.0_11.
Since I want to have SSL support on my server, I followed the instructions
on
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
first creating a self-signed certificate and then
Hi everybody,
I have a server with Windows 2003 Server, with one Ethernet. I have set two
ips to the same eth card.
The first 172.21.10.1 is linked to IIS server with port 80, the second is
172.21.10.2 and I would like to link to Apache Tomcat still using port 80.
Now the problem is that
I know you don't want to hear this but I'm not sure about what I can
release due to company restrictions. I wouldn't want to get fired for
posting out source. I will ask the right people if I can post a few
pages of the source but it may take a while for them to get back to
me.
I haven't found
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Richard Sayre wrote:
I started to look in the _jspService and I noticed the the variable
which I assign the request.getParameter(id) to is not in that
method.
Note that JSP authors these days almost never actually call
Cesare Vairetti wrote:
I have a server with Windows 2003 Server, with one Ethernet. I have set two
ips to the same eth card.
The first 172.21.10.1 is linked to IIS server with port 80, the second is
172.21.10.2 and I would like to link to Apache Tomcat still using port 80.
Now the
too late.. looks like Mr Schultz has the correct answer.
On 5/9/07, Jason Polites [EMAIL PROTECTED] wrote:
That's really strange. If that's in the generated .java file then I'm
amazed it actually compiles. It's syntactically incorrect. Are you sure
it's not just the editor you are using to
I've never seen that either and I use the same environment you do.
Seems as if users' sessions are somehow crossing/getting overlapped, but not
sure how.
Are you using some lookup for an id? Like SSO or something?
-Original Message-
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Sent:
Yes you have right, IIS, even if I impose to use only that particular IP, in
net stat I see 0.0.0.0:80 further the 172.21.10.1:80.
And 0.0.0.0:80 is linked to a PID process that is System process.
Then I switch off IIS and 0.0.0.0:80 disappear.
I have no idea now how to solve the problem.
Thanks a
queryString : ?id=2345
id : 2226
One thought that comes to mind is if you are getting the id parameter
from the request, but assigning it to a member, or even static variable,
as opposed to a method variable on the stack, then you lose thread safety,
and this could happen.
I apologize for
From: Riyaz Shaikh [mailto:[EMAIL PROTECTED]
Subject: Error allocating a servlet instance after editing web.xml.
Problem: If I make any change to my application's web.xml (even as
small as a single space), I can't access any of Tomcat's
pages/servlets.
Is your editor generating UTF-16 and
Cesare Vairetti wrote:
Yes you have right, IIS, even if I impose to use only that particular IP, in
net stat I see 0.0.0.0:80 further the 172.21.10.1:80.
And 0.0.0.0:80 is linked to a PID process that is System process.
Then I switch off IIS and 0.0.0.0:80 disappear.
I have no idea now how to
On 5/8/07, Christopher Schultz [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Richard Sayre wrote:
I started to look in the _jspService and I noticed the the variable
which I assign the request.getParameter(id) to is not in that
method.
Note that JSP
Thanks for the response, but I don't think either of these are what I
need. My application involves users who need access to the inventory
data for stores throughout the country, and those locations and users
are all stored in a back-end database. All this is managed by java
classes; tomcat
Hello,
I'm starting the process of migrating some of our server from 5.0.29 to
5.5.23, and I've found that the 'nice' useful stacktraces with
linenumbers are back, and working beautifully in 5.5.23.
But I do find the following issues as well:
I have the following test page:
html
body
%
Can someone assist me with getting a war file to start on Tomcat 5.x? I've
followed the how-to docs for deploying a war file, but still get an error when
attemptin gto start it. A snippet of the error file:
May 8, 2007 12:19:58 PM org.apache.catalina.startup.ContextConfig
applicationConfig
From: Allison, Clemon [mailto:[EMAIL PROTECTED]
Subject: Need help getting application to work on Tomcat 5.x
SEVERE: Parse error in application web.xml
java.lang.IllegalArgumentException: Invalid url-pattern
ConsolidatedInvoiceController in servlet mapping
The above seems pretty
Thanks. I'll give it a shot.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 12:49 PM
To: Tomcat Users List
Subject: RE: Need help getting application to work on Tomcat 5.x
From: Allison, Clemon [mailto:[EMAIL PROTECTED]
Subject:
I have Tomcat 5.5 running on a Windows 2000 machine having 4GB of RAM
(recently upgraded from 2GB). The JVM in place is 1.4.2_12.
Using the Configure tomcat widget, I attempted to increase the
maximum memory pool from 1280MB that had been working to 2560MB. At
this point, Tomcat fails to
David Kerber wrote:
Thanks for the response, but I don't think either of these are what I
need. My application involves users who need access to the inventory
data for stores throughout the country, and those locations and users
are all stored in a back-end database. All this is managed by
From: Ian H [mailto:[EMAIL PROTECTED]
Subject: Error when increasing Tomcat's maximum memory pool
I have Tomcat 5.5 running on a Windows 2000 machine having 4GB of RAM
(recently upgraded from 2GB). The JVM in place is 1.4.2_12.
That being said, with its current configuration, Tomcat
Authentication is done in the java code, checking against the back-end
database, and I'm trying to build the ACL's for a site as I read the
site and user information from the db. The only thing tomcat is doing
is serving up data; no authentication or access controls are set up in
tomcat
Awesome, thank you again Chuck!
- Ian
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try printing out the URL / URI + query string and printing a loop of all
request parameters to see what you are actually posing and if the
request is still the correct one.
The next thing to check would be whether you request is redirected /
forwarded as this can have cause problems.
Kind
Hello all,
Is there a way to programmatically determine (using Java) the port numbers that
have been set up (in server.xml) for use by the SSL and Non/SSL connectors? By
default they are 8080 and 8443 but I need to be able to determine it
programmatically as well.
Thanks.
Av.
Thanks for the input. However, I guess I'm still missing something.
I want a directory to be the root directory of a virtual host. That
directory is itself a webapp and may have other directories within it
that are webapps (with explicit Context elements). To this point I have
never had to
We have installed tomcat 5.5.9 on centOS with cpanel but we're having some
problem setting custom options.
For example we wish to set the maximum memory with -Xmx, so we open catalina.sh
and we add it to JAVA_OPTS variable.
We then restart tomcat but it doesn't take the changes since ps aux |
Looks like you'll have to use an embedded container e.g.
http://fisheye5.cenqua.com/browse/glassfish/appserv-core/src/java/com/sun/enterprise/web/WebContainer.java?r1=1.74r2=1.75
int[] ports= _embedded.getEngines().vsArray[0].getPorts()
M--
This email message and any files transmitted with it
I am using CentOS 4.4 but I don't think that this is specific to Linux
per se.
I've modified startup.sh to have:
CATALINA_OPTS=-Djava.awt.headless=true -Xmx512m
export CATALINA_OPTS
after the comments at the top and it works fine. I also hard code my
JAVA_HOME in much the same way so that
On 5/8/07, webzo [EMAIL PROTECTED] wrote:
Is there a way to programmatically determine (using Java) the port numbers that
have been set up (in server.xml) for use by the SSL and Non/SSL connectors?
You can get them from the ServletRequest object, a more portable
approach than extracting them
32 bit limitations, the entire process heap is around 2GB, leaving you
with the number you found for the java heap
Filip
Ian H wrote:
I have Tomcat 5.5 running on a Windows 2000 machine having 4GB of RAM
(recently upgraded from 2GB). The JVM in place is 1.4.2_12.
Using the Configure tomcat
Thanks again, both Filip Chuck,
Is this interpretation of the information out there correct:
- the maximum memory available for allocation for the pool will depend
on the amount of contiguous memory that's available to be allocated
- on a W2K box with 4GB of RAM, we will likely have, by
The organization of webapps isn't tree oriented on disk. It's a flat
list of webapps on disk with the default webapp being named the
special name ROOT (defined by the servlet spec). If you need webapps
organized deeper than the top level (ie /myWeb/path/app), then you use
the pound symbol as
Scott Dunbar wrote:
I want a directory to be the root directory of a virtual host. That
directory is itself a webapp and may have other directories within it
that are webapps (with explicit Context elements).
You simply can't do this. Tomcat was never intended to work this way.
As I said
red phoenix wrote:
Anybody could tell me how to do it? Would you give me some code?
The following index.jsp works for me:
%@ page contentType=text/html; charset=UTF-8 %
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
titleCharacter encoding test page/title
/head
No need to apologize - learning requires making mistakes and I
appreciate the responses that you and David Smith gave in pointing me in
the right direction. I've got some work to do but I now understand much
better that I was getting away with something for quite some time and
shouldn't have
From: Ian H [mailto:[EMAIL PROTECTED]
Subject: Re: Error when increasing Tomcat's maximum memory pool
- the maximum memory available for allocation for the pool will depend
on the amount of contiguous memory that's available to be allocated
It's the amount of contiguous virtual memory
Thanks for the response.
Thats what I figured, that it would be available via ServletRequest or
ServletContext. But I don't see any methods to get it. Maybe it is set as an
attribute within one of these classes? Any ideas which method would help me?
Av.
- Original Message
From: Hassan
On 5/8/07, webzo [EMAIL PROTECTED] wrote:
Thats what I figured, that it would be available via ServletRequest or
ServletContext. But I don't see any methods to get it.
In the Servlet 2.4 API doc -- the one I happened to have open :-) --
ServletRequest.getServerPort()
HTH,
--
Hassan
Hi there,
We have recently switched to tomcat-5.5, on SuSE 9.3, and I ran into a
strange problem that was not there before.
I am using a custom script from catalina.out rotation. It works much the
same way as cronolog, except it is much simpler and does more (if anyone
wants to see/use it,
This is a correction of the Subject: which I failed to set properly in my
original message. Sorry...
Hi there,
We have recently switched to tomcat-5.5, on SuSE 9.3, and I ran into a
strange problem that was not there before.
I am using a custom script from catalina.out rotation. It works
Andy-
in your startup file $CATALINA_HOME/bin/catalina.bat please confirm
java.util.logging.config.file as in this example
set
JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties
then
Hmm, come to think of it, I saw that one. However, that kind of doesn't solve
my problem. I am in a class that is loaded earlier than the webapps
(Bootstrapper kind of class which is loaded when the webapp is being loaded
first time). I am trying to get BOTH the Non-SSL and SSL ports at that
change
| /u00/tomcat/bin/logger $CATALINA_BASE/logs/catalina 21
to
21 | /u00/tomcat/bin/logger $CATALINA_BASE/logs/catalina 21
ie, redirect stderr into stdout before passing it into the logger
Filip
Andy wrote:
This is a correction of the Subject: which I failed to set properly
Filip,
This works, thanks, although I am still not sure why the original failed.
Too many players in a single command...
Regards,
Andy
On Wed, 9 May 2007, Filip Hanik - Dev Lists wrote:
change
| /u00/tomcat/bin/logger $CATALINA_BASE/logs/catalina 21
to
21 |
I think I may have found the cause of the problem with HPROF. A
CTRL+BREAK (on win32) is what triggers the dump of the hprof data to a text
file, but when running Tomcat as a win32 service it automatically sets the
-Xrs JVM option which causes the JVM to ignore these signals from the OS
(this is
On 5/8/07, webzo [EMAIL PROTECTED] wrote:
Hmm, come to think of it, I saw that one. However, that kind of
doesn't solve my problem.
OK, since you didn't describe that problem before...
I am in a class that is loaded earlier than the webapps (Bootstrapper
kind of class which is loaded when
From: webzo [mailto:[EMAIL PROTECTED]
Subject: Re: How to programatically determine connector's
port numbers?
I am in a class that is loaded earlier than the webapps
(Bootstrapper kind of class which is loaded when the
webapp is being loaded first time). I am trying to get
BOTH the
Andy wrote:
Filip,
This works, thanks, although I am still not sure why the original
failed. Too many players in a single command...
the original failed cause | only pipes stdout, while tomcat is writing a
bunch of crap to stderr
Filip
Regards,
Andy
On Wed, 9 May 2007, Filip Hanik -
On 5/8/07, David Short [EMAIL PROTECTED] wrote:
Has anyone setup JavaMail in NetBeans 5.5 with Tomcat 5.5.23? I'm trying to
register the NetBeans Server Resource and it won't let me and tells me to
set to Sun's Java System Application Server.
Any ideas, suggestions, steps or tutorial
I haven't gotten that far yet. The message is in the NetBeans 5.5 IDE. It
won't let me register a JavaMail resource with Tomcat 5.5.23 because it says
5.5.23 is not J2EE 1.4 compliant. I may need to upgrade to NetBeans 6 and
Tomcat 6.x. However, NetBeans 6 is in Milestone release at this time
75 matches
Mail list logo