Are you starting it as non-root?
Only root has the ability to bind to ports 1024.
Regards /Erik Melkersson
Faheem Mitha wrote:
Hi,
I can now get tomcat to run an ssl connector at port 8443 (Debian
default), but doesn't work if I try to run it at 443.
The log says:
Apr 17, 2007 12:31:19
Hello,
you can find it at this URL
http://tomcat.apache.org/download-55.cgi
Best regards
Venkata Naveen
Hello their,
Is it possible to setup that the sessionid from request is prefered used
to the sessionid from the sessioncookie?
We are using a php portal calling a sessioninfo.jsp by request parameter
in background. In some situations the user jumps from the portal to the
tomcat application
Hello, NetBeans 5.5 at http://www.netbeans.org does it.
But it comes with his own Apache Tomcat JSP (5.0.17 for MacOSX).
Deplyoment is very easy.
I don't know how to pull out this version with a more recent one
5.0.20 ...
Any ideas?
TIA
On 6 avr. 07, at 02:47, David Short wrote:
I'm
Artur wrote:
Hello after the weekend,
Does it mean that mod_jk 1.2.18 is not using flock() function at all ?
With 1.2.18 there is no kernel panic problem.
I have written to RedHat support to tell them that this flock() function
could be buggy.
It does use flock(), but maybe with another use
Richard!
As you said: You installed PHP separately installed on your laptop.
Tomcat can't interpret PHP out of the box. If you only want to use
PHP without any Java, install the Apache HTTPD (httpd.apache.org)
with mod_php5 enabled. If you also want to use Java, you've got
three
Nobody have any clue please?
-- Initial Header ---
From : [EMAIL PROTECTED] [EMAIL PROTECTED]
To : users users@tomcat.apache.org
Cc :
Date : Sun, 15 Apr 2007 01:41:30 +0200
Subject : Tomcat with JBuilder: Basic authorization
Hello,
i wish to
Tomcat is configured as a windows service.When I try to stop service,
I am unable to stop Tomcat .I get the following stack trace.
I tried netstat -a and tomcat port is not listed there but still I am unable
to start the service.I am not able to telnet to that port
Apr 17, 2007 12:49:30 PM
Here is a useful link:
http://sourceforge.net/project/downloading.php?
group_id=117793use_mirror=ovhfilename=php-java-
bridge_4.0.8a_j2ee.zip80307299
Hope.
On 17 avr. 07, at 10:14, Martin Heiden wrote:
Richard!
As you said: You installed PHP separately installed on your laptop.
Err?
You do know that Tomcat is a Java Servlet Container, rather than a
multipurpose webserver right?
Course it does an excellent job of serving HTTP - but it's not meant to
be a competitor for Apache HTTPD, it's for JSPs, Servlets and all things
Java...
Ever considered JSP instead of
I tried that, it doesn't work. Also, when I just pull up the HTML file from
the hard drive, it works as expected. When I try to access that same file
over the web server, I have the original problem.
Martin Gainty wrote:
the applet wont be freshly downloaded as long as you have a ref in
Hello !
First of all : maybe you should consider giving exception traces in english
! Because you know, I doubt that a lot of people here can speak Italian.
Yes, I know : your Tomcat and your JBuilder are in italian...
If i compile the web application into a .war and deploy on a standalone
Please tell us more about your configuration: OS, JVM xxx, Java
version etc...
Should help with that.
On 17 avr. 07, at 12:43, jub jub jedi wrote:
I tried that, it doesn't work. Also, when I just pull up the HTML
file from
the hard drive, it works as expected. When I try to access that
En l'instant précis du 17/04/07 11:30, yeshvanthni m s'exprimait en ces
termes:
Tomcat is configured as a windows service.When I try to stop service,
I am unable to stop Tomcat .I get the following stack trace.
Means there is not tomcat listening to the management port. This can be
because
Ahhh the joy of *nix operating systems. Way back in the distant past of
unix systems, someone decided it was a bad idea to allow any user on the
system to bind to the well known low ports (1 - 1024) where officially
sanctioned services (POP, SMTP, FTP, etc., ...) should be. A great idea
There is no option for keeping the last 30 days.
instead add this to cron:
find $CATALINA_HOME/logs \
-name localhost_access_log* \
-mtime +30 | xargs rm -f
-Tim
Jay Dickon Glanville wrote:
Hello all,
I'm currently using the Access Log Valve as part of my Tomcat 5.5
installation to
In order for us to help you do that please: http://localhost:port/
and tell us what you get out of this URL. The version of Tomcat is
located at the upper left corner of your screen.
On WinXP, you get your java version in Config panel/java then first
tab and then about (the first
David Smith wrote:
Ahhh the joy of *nix operating systems. Way back in the distant past of
unix systems, someone decided it was a bad idea to allow any user on the
system to bind to the well known low ports (1 - 1024) where officially
sanctioned services (POP, SMTP, FTP, etc., ...) should be.
Dont pull it out...
Just stick a new one in...
Just download the Tomcat you want... if its windows, the server version is
cool.
Stick it somewhere on one of your hard-drives.
Go to TOOLS - SERVER MANAGER
Click NEW SERVER
Netbeans will now use the new Tomcat... and you can switch between them
Ven
With tomcat 5.5 Admin Isnt installed by default anymore you will have to
install manually
go to manager page and at bottom manually browse for catalina-admin.war and
browse for the war file
webapps\catalina-admin.war
and deploy
Martin
This email message and any files transmitted with it
Tomi-
what happens when you change folder to %CATALINA_HOME\bin
java -jar bootstrap.jar stop
!--now to verify tomcat has been stopped try
ps -ef | grep omcat
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
José,
José Perdigão wrote:
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the war file?
Most people will suggest that you use the proper WAR file name for your
context and leave
Hi,
In Tomcat 5.5.23 and above the following under security issue was
included (CVE-2005-2090):
Requests with multiple content-length headers should be rejected as
invalid. When multiple components (firewalls, caches, proxies and
Tomcat) process a sequence of requests where one or more
Tomcat : 5.5.20
Hello,
is there any way to to declare a context.xml for one application
($CATALINA_HOME/webapps/MyAppli/META-INF) and not for each
($CATALINA_HOME/conf/context.xml).
If I declare it under .../conf -- it's OK but under MyAppli/META-INF --
it's KO !!!
Any idea ?
many thanks
Best
On Tue, 17 Apr 2007, David Smith wrote:
Ahhh the joy of *nix operating systems. Way back in the distant past of unix
systems, someone decided it was a bad idea to allow any user on the system to
bind to the well known low ports (1 - 1024) where officially sanctioned
services (POP, SMTP,
Hi,
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the
war file?
Thanks
--
José Miguel Perdigão
homepage: zeperdi.pt.vu zeperdi.pt.vu
-
To start a new
Hello !
First of all : maybe you should consider giving exception traces in english
! Because you know, I doubt that a lot of people here can speak Italian.
Yes, I know : your Tomcat and your JBuilder are in italian...
If i compile the web application into a .war and deploy on a
On Tue, 17 Apr 2007, Paul Singleton wrote:
David Smith wrote:
Ahhh the joy of *nix operating systems. Way back in the distant past of
unix systems, someone decided it was a bad idea to allow any user on the
system to bind to the well known low ports (1 - 1024) where officially
sanctioned
2007/4/17, Martin Gainty [EMAIL PROTECTED]:
Tomi-
what happens when you change folder to %CATALINA_HOME\bin
java -jar bootstrap.jar stop
!--now to verify tomcat has been stopped try
ps -ef | grep omcat
I'm sorry to have confused you Martin, but apparently you mistook my
would-be humoristic
The customer still visit the site e.g. www.test123.de - the session was
started and the customer browser have a cookie jsessionid =
abcd000.web1. Now the customer has an link like this:
www.test123.de;jsessionid=d1234.web1 -- if the sessionid from the
request is valid - tomcat should use
Tomcat is UNSTOPPABLE!
I-I-I'm sorry, I couldn't help myself... :)
Sorry for the distraction,
t.n.a.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Specific context.xml
is there any way to to declare a context.xml for one application
($CATALINA_HOME/webapps/MyAppli/META-INF) and not for each
($CATALINA_HOME/conf/context.xml).
Placing the context.xml file under META-INF is the
Ha ha... and all kidding aside, its a wonderful product, (technology).
Mailing list is always full of issues, but if there was a way to measure
red hot products, tomcat would be (is) right up there.
Guys are doing an A1 job on tomcat.
I wanted to say its unstoppable... and your problem
I've been having the most peculiar issue on a website, (Ubuntu server,
running apache 2.2 / libapache2-mod-jk / tomcat 5.5).
I initially thought the issue was to do with my servlet not sending
proper response headers but it turns out its specific to Mod-JK, the
problem only occurs on a Vista
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat context
An alternative is to specify a Context element in your
server.xml file and specify the name of the context as well
as the location of the WAR file.
Gotta get you out of the 4.1 mindset, Chris :-)
Do NOT put
NetBeans uses the embedded Tomcat 5.5.17 by default. How can a newly
installed Tomcat 5.5.20 be configured to be used as the default?
-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 4:33 AM
To: Tomcat Users List
Subject: Re: IDE
Dont pull it
David Brown wrote:
I've been having the most peculiar issue on a website, (Ubuntu server,
running apache 2.2 / libapache2-mod-jk / tomcat 5.5).
The problem only occurs when the request is being process through Mod-JK.
Does anyone have any idea what could be causing the problem ?
Yes,
Hi,
What do you mean by 'context path'?
Basically, what you have is:
context path=last_bit_of_URL docBase=name_of_war_or_folder ...
!-- Other stuff if necessary! --
/context
-Original Message-
From: José Perdigão [mailto:[EMAIL PROTECTED]
Sent: 17 April 2007 15:37
To:
Binary content / All other parts of the site work fine.
This jsp contains nothing but garbled text , E.G.
a$HHajshdashjk^SDAH*HAD
But thats fine, thats intended. The problem is the transfer. I've tried
different content-types, text/plain/ application, all with the same problem.
Whats
From: OConchubhair, Andoni [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat context
context path=last_bit_of_URL
docBase=name_of_war_or_folder ...
!-- Other stuff if necessary! --
/context
Several problems with the above:
1) It's Context, not context - this is case sensitive.
2)
OConchubhair, Andoni wrote:
Hi,
What do you mean by 'context path'?
Basically, what you have is:
context path=last_bit_of_URL docBase=name_of_war_or_folder ...
!-- Other stuff if necessary! --
/context
-Original Message-
From: José Perdigão [mailto:[EMAIL PROTECTED]
Sent: 17
On Tue, 17 Apr 2007, Faheem Mitha wrote:
On Tue, 17 Apr 2007, David Smith wrote:
Ahhh the joy of *nix operating systems. Way back in the distant past of
unix systems, someone decided it was a bad idea to allow any user on the
system to bind to the well known low ports (1 - 1024) where
Hi, I am trying to use the Comet feature in Tomcat 6. I think my APR connector
is working since I reach successfully the event() method, but when I launch the
ChatServlet the page remains the same for ages. Actually when I really reduce
the code to something like:
I think the answer is you dont
Have a look at this thread
http://mail-archives.apache.org/mod_mbox/tomcat-users/200704.mbox/thread?2
== Multilevel context path problem ==
Date Tue, 10 Apr 2007
- Original Message -
From: José Perdigão [EMAIL PROTECTED]
To:
Have you tried to stop the firewall(s), virus scanners,... at the vista
client? You could do that and repeat your test.
HTH
Cheers,
Konstantin
-Ursprüngliche Nachricht-
Von: David Brown [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 17. April 2007 18:47
An: Tomcat Users List
Betreff:
Yeah tried all that, but really that shouldnt make a difference, its
something lower level. As the request is over port 80, and it does start.
Konstantin Breu wrote:
Have you tried to stop the firewall(s), virus scanners,... at the vista
client? You could do that and repeat your test.
On Tue, 17 Apr 2007, Faheem Mitha wrote:
On Tue, 17 Apr 2007, Faheem Mitha wrote:
On Tue, 17 Apr 2007, David Smith wrote:
Ahhh the joy of *nix operating systems. Way back in the distant past of
unix systems, someone decided it was a bad idea to allow any user on the
system to bind to
Hi there
Here is a partial list of my ports:
Open TCP Port: 80 http://192.168.0.1/ Apache HTTPD 1.3.33 +
php5 + MySQL
...
Open TCP Port: 3306
jdbc:mysql://192.168.0.1:3306/javatest? +
Try FirwFox LiveHTTPHeaders-Extension and see what the Headers are saying
Cheers
Greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Can Mod-JK interfere with the headers ?
If it was a header issue, I think the problem would be there constantly,
not just when the request has to go through mod-jk.
I'll have a look though, might give me a pointer
Gregor Schneider wrote:
Try FirwFox LiveHTTPHeaders-Extension and see what
probably not much help to you now, being nearly half a year later.
i had the same problem. manager section would not show anything.
found your post and started looking closer and closer to what i was doing.
you have to and the word manager to the tomcat-users.xml file.
the manager section
Hi,
I am getting Unable to compile class for JSP error in one of my JSPs
which was working perfectly until 2 days back. It says:
An error occurred at line: 10 in the jsp file: /WEB-INF/jsps/Listing.jsp
String perspective = null;
^
This jsp is being included in another JSP and
Can I use .css files with .jsp's, particularly when they are being
served up by Tomcat 5.5? Or do they only work with static html files?
TIA!
Dave
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe,
Browse the Web:
* Windows XP Home Edition Version 2002 Service Pack 2
Web Server:
* jakarta-tomcat5.0
When I try to access a test external URL via Firefox the page displays
correctly, however when I try to view it with Internet Explorer 6.0 it shows
the error below:
Sorry for delay... hell of a electric storm here...
You made me look again... ha ha
OK... you got the previous TOOLS-SERVER MANAGER-ADD SERVER story.
You can set up 10 tomcats if you want, just make sure each one as a unique
server and shutdown port.
THEN just start a project, make a
Just include the libraries in the main JSP not in every included file
If u use Netbeans
Right click on the main JSP and compile it... it will show you the errors
have fun
- Original Message -
From: Gaurav Kushwaha [EMAIL PROTECTED]
To: Tomcat Users List
Thanks!
David Smith wrote:
Given that jsps are seen on the client as HTML files, yes -- all you
want. I would go further and say it's encouraged as the primary means
of decorating your pages.
Just do something like this in your jsp to make sure the css is always
found:
link
Repost had power failure...
Sorry for delay... hell of a electric storm here...
You made me look again... ha ha
OK... you got the previous TOOLS-SERVER MANAGER-ADD SERVER story.
You can set up 10 tomcats if you want, just make sure each one as a unique
server and shutdown port.
THEN
David--
I would suggest incorporating style and or styleClass and errorStyle and or
errorStyleClass attributes which derive from supplied CSS
If your thinking MVC (and Struts specifically) I would look at the Tag
documentation available at
True but if the css file is used throughout the site, it's fetched
once using link ... / on the first page view. Every page view after
that will just check status, using the pre-cached one if it hasn't
changed on the server. Efficency comes when the resource is re-used for
all the pages
Given that jsps are seen on the client as HTML files, yes -- all you
want. I would go further and say it's encouraged as the primary means
of decorating your pages.
Just do something like this in your jsp to make sure the css is always
found:
link rel=stylesheet type=text/css
Rashmi Rubdi wrote:
On 4/16/07, Daniel Gresh [EMAIL PROTECTED] wrote:
Hi,
I was editing a JSP page. I saved the file, and refreshed the web page
at http://localhost:port/myapp/page.jsp. Apparently, this caused Tomcat
to shut down for some reason. I had this problem before, but I don't
remember
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ethan,
Ethan Akins wrote:
When I try to access a test external URL via Firefox the page displays
correctly, however when I try to view it with Internet Explorer 6.0 it shows
the error below:
Cannot
Yes...
What you can also do is include your styles, before it goes to the browser,
if say you have
styles for each page... ie not caching
eg:
style
%@ include file=/style.just_styles %
/style
now the browser will only do 1 trip to the server
.. u c tomcat is very good ;)
I am using Idea. Even that has an option to compile the jsps though. I will
try that. What exactly do you mean by including libraries ? Are you
referring to class imports ?
Thanks,
Gaurav Singh Kushwaha
http://www.chakpak.com
On 4/18/07, Johnny Kewl [EMAIL PROTECTED] wrote:
Just include the
Hi,
Thanks you for your reply.
If I'm reading you correctly, my approach is useless.
Its actually amazing because when you debug... it use the NEW
tomcat... you will be able to tell straight away because when you
compile a servel, if it is in the new tomcat, it will dissapear
because
Hi All,
We are currently experimenting with APR and libtcnative on our
machines. We have a machine in test that we configured and things when
quite smoothly (although it was RHEL4 and the production box we are
testing is CentOS). When we start tomcat and include all the relevant
library
I am running Tomcat 5.5.17, Sun JDK 1.5.0_09, Slackware 11. When I execute
AddChain.jsp FormBean.class is called and the following error message
occurs. I have been googling for answers to this error and not found what is
needed to fix my error.
org.apache.jasper.JasperException: Cannot find
Yes... that why I said. styles for each page... ie not caching
But ok... if common styles used you right... but script is less likely to be
all common so can use that trick anyway tomcat is cool ;)
- Original Message -
From: David Smith [EMAIL PROTECTED]
To: Tomcat Users List
I'm trying to manually deploy a JSP website that I didn't make on a
web server that I didn't set up, so I'm kind of in strange territory
here (first time using Tomcat). Here's what I have/know:
Linux webserver using Apache 2 and Tomcat 5, mod_jk. Tomcat is
working—the default base URL of
[EMAIL PROTECTED] wrote:
If i compile the web application into a .war and deploy on a standalone
tomcat, it just works, it asks me for user and pass of xx rule and let me
access it. If i run from JBuilder i get error:
org.apache.catalina.realm.JAASRealm authenticate
GRAVE: Unexpected error
Ori Fine wrote:
In Tomcat 5.5.23 and above the following under security issue was
included (CVE-2005-2090):
It turns out that we have mobile clients that due to technical issue
send requests with multiple content-length headers. Is there a way that
we can turn off this feature in the tomcat
Tim Booth wrote:
allow=127.0.0.1,192.171.160.155,192.171.160.186 deny=/
The allow and deny fields take regular expressions. '.' is reserved
and needs to escaped. Take a look at the java.util.regex javadoc
Mark
-
Gross, Keith wrote:
Is there some way to prevent this?
It could be application error or it could be a Tomcat bug. Can you
create a simple war that demonstrates the issue I can use for debugging?
Mark
-
To start a new topic,
nice to know they cant take it back haha
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, April 18, 2007 12:34 AM
Subject: RE: IDE
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: IDE
Is it possible to configure Tomcat5 in a Linux cluster (Linux-HA (Heartbeat 2).
I want to configure it on SLES10. I have already checked the Tomcat FAQ at
Tomcat.apache.org, the How to at that location, Googling it returns nothing on
the subject. If a config/setup doc exists I cannot find
On 4/17/07, David Short [EMAIL PROTECTED] wrote:
NetBeans uses the embedded Tomcat 5.5.17 by default. How can a newly
installed Tomcat 5.5.20 be configured to be used as the default?
Like most products/technologies NetBeans has it's own mailing list:
http://www.netbeans.org/community/lists/
Isn't it a known problem that if you redeply a webapp using tomcat admin
tool, the older class definitions are not dumped from the memory hence
causing the memory leak ?? I dont remember but I read it somewhere.
Gaurav Singh Kushwaha
http://www.chakpak.com
Ph: +91-9880110695
Bangalore, India.
http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html
If implementing on Intel processor I would read
http://www.developers.net/intelisnshowcase/view/390
Has anyone implemented SUSE clustering?
M--
This email message and any files transmitted with it contain confidential
information
I guess I'm glad I don't use any of that stuff, then ;-D I only have
two different styles in my app: data-entry pages and report pages, so
simple css will probably do just fine.
Thanks!
Johnny Kewl wrote:
Hey... u going to confuse David... ;)
Yes David Tomcat is one fancy machine
[EMAIL PROTECTED] wrote:
If i compile the web application into a .war and deploy on a standalone
tomcat, it just works, it asks me for user and pass of xx rule and let me
access it. If i run from JBuilder i get error:
org.apache.catalina.realm.JAASRealm authenticate
GRAVE: Unexpected
Hi Tom,
You're getting this error:
org.apache.jasper.JasperException: Cannot find any information on property
'ChainName' in a bean of type 'com.bean.chain.FormBean'
because the FormBean isn't strictly following the JavaBeans notation.
The jsp:useBean, jsp:getProperty and jsp:setProperty
On a side note, since the above error is not directly related to
Tomcat and is a JavaBean related error, I think the Java Forums would
be more appropriate.
-Rashmi
-
To start a new topic, e-mail: users@tomcat.apache.org
To
On 4/17/07, John Calsbeek [EMAIL PROTECTED] wrote:
I'm trying to manually deploy a JSP website that I didn't make on a
web server that I didn't set up, so I'm kind of in strange territory
here (first time using Tomcat).
If I was in this situation, I would first try to run a webapp with a JSP
If I was in this situation, I would first try to run a webapp with a JSP on a
standalone Tomcat (independent of any IDEs) and without mod_jk.
The simple setup eliminates a lot of confusion :-)
I've never done this before. I haven't the first idea how to go about that. :)
It is very simple to set-up, you just need to install the most recent
compatible JDK (you probably have this already)
then get the tar.gz file for the version of your choice from here:
http://tomcat.apache.org/
Set the JAVA_HOME the environment variable, it point's to JDK
installation's root
86 matches
Mail list logo