HI all,
i have come around a very strange problem as below:-
i am viewing some deployed site and if on one of its page i refresh
continuously 6-7 times , the tomcat crashes. how thats happening . Does
anybody have some idea. i m using tomcat 5.0.27 on suse 9.1
-Sandeep
--
Some more info:
When Web Folders first tries to access
http://www.example.com/webapp/webdav/ , user agent
"Microsoft-WebDAV-MiniRedir/5.1.2600" tries to do a PROPFIND on
http://www.example.com/webapp . Apache (from Tomcat?) redirects with 302
to http://www.example.com/webapp/ .
"Microsoft-WebD
Glenn Parsons wrote:
Hello All,
I know just enough to be dangerous.. not enough to know what is blowing
my mod_jk build.
I am on a super-fast dual 3.2GHz machine running CentOS (RedHat ES 3.0)
with Apache 2.0.46-38, JDK 1.5.0_01, Tomcat 5.5.4 and Ant 1.6.2.
The issue was addressed on the list c
On Mon, 10 Jan 2005 16:51:13 -0800, Ryan Austin <[EMAIL PROTECTED]> wrote:
> I just read that you need jre 1.5 or later and I was using
> j2sdk1.4.2_06. Could this be the cause of the errors I am seeing?
>
> I will update it and give it a try.
You can still use 1.4, if you use the "compat" packag
Parsons Technical Services wrote:
Why is MS Web Folders doing this strange OPTIONS thing with "/" and
ignoring my 401 Unauthorized HTTP response?
Did you close all IE windows prior to this last step? If not, then it
never destroyed the session.
I have now---same result. (Why would I care if it ha
Still using MS IE 6, I try to open http://www.example.com/webapp/webdav/
as a Web Folder using File|Open... (as Web Folder). IE reports that it is
unable to open the location as a Web Folder---would I like to see the
default view? If I answer in the affirmative, IE sends a GET and shows me
the
Parsons Technical Services wrote:
It may be that the login request is not getting back to you intact. Do
you have another app that is protected and triggers a login prompt?
Web Folders works without problems when Tomcat is running on localhost.
The password dialog pops up just fine.
I use Firefo
It may be that the login request is not getting back to you intact. Do you
have another app that is protected and triggers a login prompt? Like the
manager app. If not hit me off list and I will give you a URL to try.
If all else fails, would form auth over SSL work? Just a thought, yeah I
know
I've written a custom WebDAV servlet which works fine configured on
Windows XP Professional localhost with Tomcat 5.5.4.
I upload everything to a http://www.example.com/webapp/webdav/ . The
domain is served on Red Hat 6 by Apache 2.0.49, which forwards to Tomcat
using ProxyPass and ProxyPassRev
Can you anyone help me to compile jk2 connector source on linux .. I tried
installation using
http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html but not able
to create mod_jk2.so file. So i have to implemnt this urgent .. so appreciate
your help.
Thanks
Chandra
-Original Mes
You can make use of scheduled tasks in Windows...
This is the one im using to run my jsp automatically everyday to send
email notifications...
Aris
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 11:26 AM
To: Tomcat Users Lis
To rephrase, you want something to make a request for a jsp once every two
weeks?
If this is the case check the archives. Just last month or this one there
was a similar thread. I essence us an outside app like cron or task manager
to do it.
If this is not right, then explain your need in more
To move each app, set their context value in the "app".xml to the desired
context. As for the welcome page, you will either need a new app(rename
ROOT) and add/modify as needed or combine it with another app and tweak the
links.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.htm
Could be. There are some notes in the RUNNING.txt file about using it with
1.4
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES.txt
Haven't read it myself. Let us know.
Doug
- Original Message -
From: "Ryan Austin" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, J
I have two instances of Tomcat 5.0.28 running with one instances of
Apache 2.0.52.
Is there a way to reset Applications Context (URL) Paths.
For example, the Welcome to tomcat page is set to ROOT
(http://www.domain.com/) and I would like to reset it to
(http://www.domain.com/dli/)
I would like to
James,
When I replied, I failed to notice that you are running tomcat 4.1. I've
never used 4.1 so I don't know if it used the same connector configuration
syntax. But, I'm guessing that you need to tell the HTTP connector to
redirect to the HTTPS connector.
- Mark
James_sys wrote:
Hi,
I've be
Since it's not working right, it would help if you showed us what you did
when you "configured a security-constraint in web.xml for testPage.html".
did you do:
CONFIDENTIAL
In CATALINA_HOME/conf/server.xml, you need to configure the HTTP conector
to redirect HTTPS to the HTTPS connector.
I just read that you need jre 1.5 or later and I was using
j2sdk1.4.2_06. Could this be the cause of the errors I am seeing?
I will update it and give it a try.
Ryan
Parsons Technical Services wrote:
You are correct. I guess I was hallucinating again.
Rip the files from the download and reinstall t
Dear all,
I want to call a jsp for every two weeks automatically.
How can I do it in tomcat?
Can Cocoon do it?
Need I install J2EE?
How to config the cocoon?
Regards,
Alvin
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html
http://jakarta.apache.org/tomcat/faq/connectors.html#vs
- Original Message -
From: "Ben Ricker" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, January 10, 2005 7:06 PM
Subject: Re: Can't compile mod_jk 1.2.8
Basically, the i
I have a system which renders a session stored in the HttpSession unusable
once the user logs out. All initialisation on the session is performed
inside a HttpSessionListener.sessionCreated() method. Further accesses
under the same JSESSIONID result in an error detailing that the user must
close
I wish to use form-based authentication that accepts users with the
following credentials:
username = any string (ex.: "test")
password = length of username (ex: "4")
This is a silly security system, I admit. However, a solution to this
problem will help me to solve my *real* problem.
Obvious
Basically, the idea is that if you want to serve static content along
with dynamic (i.e., Tomcat webapp generated) content, you can server
the dynamic through mod_jk/Tomcat and server the static from Apache.
Apache tends to be more efficient and finely tunable from the straight
http side.
Addi
How do I change the context_path for all the Applications that come
with Tomcat 5 as displayed in the manager tool?
Thanks,
Troy
--
Troy Simpson
Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.
Parsons...
How would mod_proxy() work?
How is it used?
I have not used it.
Thanks,
Troy
--
Troy Simpson
Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330
You are correct. I guess I was hallucinating again.
Rip the files from the download and reinstall them. Or just reinstall
Tomcat. You may think about re-downloading Tomcat. In the mean time grab the
web.xml from the servlet_examples\WEB-INF\ folder and post it. If it is
foobarred then you may ha
Hey, I remember this thread :)
(Mostly because you quoted my comment!)
One solution is to "shell out" to do the compilation. I think I
probably gave it to you last time, but here's the two pertinent lines
from my compile job that does it:
java -classpath %CP% org.apache.jasper.JspC -v3 -die -d
May I ask is there a reason that you need Apache?
If yes, then is there any special reason for jk rather than mod_proxy(I
think)?
Just thought it might save you some headaches, that is unless you like that
kind of thing.
Doug
- Original Message -
From: "Glenn Parsons" <[EMAIL PROTECTED
I have the following software packages and OS:
Apache 2.0.52
Tomcat 5.0.30
mod_jk 1.2.8
Sun Solaris 8
I am configuring a server to run multiple instances of Tomcat 5.0.28
under one instances of Apache 2.0.52 and one Virtual Host. This
server is for development and I want to protect the developers
This might help:
http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html
Here is what mine looks like:
# This is a list of workers that I'm going to create.
# Only one for now.
worker.list=ajp13_dli
# This worker points to my Tomcat instances:
# Tomcat starts up an AJP Connector in S
This is just a guess, but try it without the "--with-java-home=..." setting.
./configure --with-apxs=/usr/sbin/apxs
I'm working with the following on Sun Solaris 8:
Tomcat 5.0.28
Apache 2.0.52
mod_jk 1.2.8
I was using Tomcat 5.5.4, but was having problems, so I dropped back
to the 5.0.x branch.
[EMAIL PROTECTED] wrote:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/index.html
Usage of the JspC class. This should be what you want.
I work in Windows 95% of the time, and I'm a simplicity freak, so I tend do do
things, most of the time, with batch files called from UltraEdi
Hello All,
I know just enough to be dangerous.. not enough to know what is blowing my
mod_jk build.
I am on a super-fast dual 3.2GHz machine running CentOS (RedHat ES 3.0)
with Apache 2.0.46-38, JDK 1.5.0_01, Tomcat 5.5.4 and Ant 1.6.2.
Neither Apache, nor Tomcat have been fully configured yet,
Hi there,
Where the java output will be printed if I define -Xprof in JAVA_OPTS
Thanks,
Mark.
__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
-
There are no war files in the webapps directory.
The servlets-examples folder has all the html files unpacked.
If I take out the servlets-examples folder and restart tomcat, the
errors do not show up.
Right now, tomcat is being run as root.
I have not touched the web.xml file.
I am running versio
I saw an offhand comment from Yoav about differences between 5.0 and
5.5 in resource loading and class loading. He mentioned some change
was made due to Windows usage of file handles.
Under 5.0.x and JDK 1.4.2_06 under Windows 2000 SP4, our web
application works fine. However, under JDK 5 and Tomc
Hi,
I have a very strange problem accessing jsp pages in tomcat with apache.
When I access a jsp file from tomcat it works fine. When I access the
same file from apache which talks to tomcat I get wierd results. I
checked the localhost_access_ file in tomcat to see what requests are
coming/going t
Hi Claudia,
It's NOT necessary to reinstall tomcat in order to change it's values.
Take a look at:
http://forum.java.sun.com/thread.jspa?threadID=559924&tstart=360
Bob
-Mensagem original-
De: SARMIENTO Claudia COGA [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 10 de janeiro de
Hi Randall,
(Very sorry for the large amount of copy and paste, as I don't seem to
be able to send attachment.)
I am still having issues with this. Below was what I did:
1)Installed Apache 2.0.52 with mod_jk 1.2.6; 2)Installed TWO Tomcat
instances(TC 5.5.4) on the same machine.
3)Put mod_jk.conf
The code below is a disaster. It creates a variable called result at the
servlet instance level. This means that 2 concurrent requests to that JSP
page will cause the page to fail. I didn't read the reast of the code -
because that line is so evil - that ... well I'm speechless.
Change it to:
<
Pierrick Brihaye wrote:
Aswering to myself...
Pierrick Brihaye a Ãcrit :
I can't find any valuable help in the list archives. The
passShellEnvironment init-parameter, which has a very promising name
;-), seems to be applicable to 4.1 releases only
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc
On Fri, 7 Jan 2005, Caldarale, Charles R wrote:
My browser requested listByOwner.jsp but received
decodedDataChartContents.jsp. I expected listByOwner
but saw decodedDataChartContents.
One of the more common causes of this is inadvertent data sharing due to
applications that aren't thread-safe. E
Hi ,
Need help !
Want to setup Tomcat with jk connector on a red hat linux 9 OS . So can you
please help me how to configure workers.properties to start & stop tomcat
through Apache.
Thanks
Chandra
-
To unsubscribe, e-
server.xml and TOMCAT_HOME/conf/web.xml combined would be closer.
On Mon, 2005-01-10 at 13:56, Tim Funk wrote:
> Yup.
>
> -Tim
>
> Daniel Watrous wrote:
> > Hello All,
> >
> > As I am getting familiar with Tomcat it helps to find a correspondence
> > between tomcat and something that I am alr
Hello all:
I have problems with memory in Tomcat, this happen when the servlet try to
forward the result jsp only if the result is too big (a set of rows in a
period date)
Th bean doesn't have problems, but the servlet yes, so i think i need to
change my configuration to set more memory at startup.
Yup.
-Tim
Daniel Watrous wrote:
Hello All,
As I am getting familiar with Tomcat it helps to find a correspondence between
tomcat and something that I am already familiar with.
It would appear that the "server.xml" in tomcat file corresponds to the
"httpd.conf" in apache. Can someone verify this?
Hello All,
As I am getting familiar with Tomcat it helps to find a correspondence between
tomcat and something that I am already familiar with.
It would appear that the "server.xml" in tomcat file corresponds to the
"httpd.conf" in apache. Can someone verify this? Thanks in advance!
Daniel
Stop Tomcat
Make sure the Servlet Examples war file is still in the webapps folder and
then delete the folder.
Start Tomcat
The war file should be deployed and the folder recreated.
If no go:
Make sure the permissions on all files and folders under the Tomcat
directory belong to the Tomcat user.
Has the examples ever worked?
The WEbDAV and JSP Examples work but the Servlet Examples give the error
below.
Did you just try to add them?
I didn't add them, they came with the Tomcat Installation.
Are you letting Tomcat deploy them from the war?
They aren't win a war file, they came unpacked
file a bug for tracking, and I will look into it
Filip
- Original Message -
From: "LAM Kwun Wa Joseph" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 28, 2004 2:41 AM
Subject: Cluster nodes create extra sessions on top of the replicated one
Hi,
I found that in my 4-node TC5.5.5 clus
Has anyone setup tomcat 5.5.4 with a sun crypto accelerator 500 card on
Solaris 9 ? The user's guide only gives instructions on Apache and
Iplanet webserver. Any insight would be appreciated.
Ok Ive realised what I was doing wrong I was listing a file on each
directory
as follows
section1/start.jsp
section2/start.jsp
when i just needed to specify the file
Also you can use it in conjunction with listing =false which I need because
some directories do not have a suitable defaul
Well, for now it is working. But I am thinking in moving to the jk1
again soon. Really ironic, I decided to choose jk2 so that I would not
have to upgrade in a while, but well, back luck.
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 7:04 PM
To: Tomc
If anyone can help on this, it'd be hugely appreciated. I'm unable to
find much through Google, although am planning to spend the day looking.
Previously, I had hardware doing https:// security, and then passing to
Tomcat, which handles http:// requests quite nicely. Now, I have Tomcat
handing h
Hi all,
I run a Tomcat 4.1 on Windows 2000.
I have installed it as an NT service and it works fine.
here is the script used to install the service :
--
set SERVICENAME=Apache Tomcat
set JAVACLASSPATH=%CLASSPATH%
set JAVACLASSPATH=%JAVACLASSPATH%;"%CATALINA_HOME%\bin\boo
Just before the error page listings in your application's web.xml file.
4305
4306
4307 index.html
4308 index.jsp
4308 start.jsp -
4309
4310 >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
I'm Running Tomcat With J2SE Version 1.4 (j2se1.4.2_03) and I've integrated
standalone "admin" package in existing Tomcat (version 5.5.4) installation.
Everithing seems to work just fine (maneged to start and login into
application)! The only problem is that I can't access and administer Hosts
and
Happy new year!
If you are a sports lover, or Tomcat lover, or Struts lover, please take a look
at this website:
www.sportslovers.net . It's based on Struts, and running on Tomcat.
Sorry if this email bothers you.
-
Do you Yahoo!?
The all-new My
Hi,
I've been wrestling with SSL on Tomcat for a while now. Hope you can offer
some useful pointers.
My problem is around getting http requests auto-redirected to return an
https response.
I can request https://exampleServer.com:8443/testPage.html and get an
encrypted response.
However, if I re
If your datasource is in Tomcat GlobalNamingContext, Tomcat will take care
of it. If it is in your context, you will have to destroy it in a servlet
destroy method.
-Original Message-
From: Lucie Chan [mailto:[EMAIL PROTECTED]
Sent: January 7, 2005 11:40 PM
To: tomcat-user@jakarta.apache.
There are two ways to do that:
1. Turn off the directory listing in one of the configuration file. But I
cannot remember which one off the top of my head.
2. Put an index.jsp with a generic message in each folder.
Hope this helps.
- Original Message -
From: "Paul Taylor" <[EMAIL PROTECT
Hi
How exactly do I stop the user going into directory containing jsps and
listing all the jsps within it as a directory listing. I dont mind them
specifying a particular jsp and going straight to that but I would / to
map to the default page for the particular some section.
i.e
myapp/section1
Aswering to myself...
Pierrick Brihaye a Ãcrit :
I can't find any valuable help in the list archives. The
passShellEnvironment init-parameter, which has a very promising name
;-), seems to be applicable to 4.1 releases only
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html).
Everyt
Ok,
Well I decided to try kgbinternet.com instead and its exactly what I
wanted. You have complete control over configuration and Ive encoutered
no problems so far, and its considerably cheaper.
Mark Benussi wrote:
H Paul,
Yes in terms of the logging and connection pooling I had that problem
an
Hi,
I'm playing around with P2PSockets and thought it might be fun to plug
into tomcat.
I've written a (very trivial) class to implement the ServerSocketFactory
interface, but I'm not too sure how to make the Connector use it.
I read of a Factory element that goes within a Context element, but
This one should work: http://www.coredump.se/~popq/files/filter.zip
/Pop
> Liu Steve wrote:
> > Are there known filters that will make the changes in header I suggested
> > based on config or one must roll his own?
>
> Almost certainly, but none that I am aware of. Try Google.
>
> Mark
>
> > Chee
Yep,
Change the port in TOMCAT_HOME/conf/server.xml.
You'll also need to change the shutdown port (same file).
-Ben
On Mon, 2005-01-10 at 05:45, swetha Ranganathan wrote:
> Hi all
>
> Is it possible to run two different versions of tomcat in two different ports
> on the same machine
>
> T
> From: swetha Ranganathan [mailto:[EMAIL PROTECTED]
> Is it possible to run two different versions of tomcat in two
> different ports on the same machine
Yes. I do this routinely on the machine on which I'm writing this email
- one project I'm working on is on Tomcat 4, the other on 5.0. Just
Hi,
Using Tomcat 5.0.28 standalone on Windows 98.
I'm trying to use CGI within Tomcat. First tests are very encouraging
but... I'm afraid my environment variables are unknown to the .exe file
when it is executed.
Further tests with showenv.exe
(http://www.kessels.com/Downloads/showenv/) seem to
You could yes, they would run their own JVMs. Be careful that they can both use
the same JVM however.
Allistair.
> -Original Message-
> From: swetha Ranganathan [mailto:[EMAIL PROTECTED]
> Sent: 10 January 2005 10:45
> To: tomcat-user@jakarta.apache.org
> Subject: two versions of tomcat
Hi all
Is it possible to run two different versions of tomcat in two different ports
on the same machine
Thanks
Swetha
Yahoo! India Matrimony: Find your life partneronline.
Hi All,
I am working in a webservice project where the communication between the client
and
the webservice needs to be encrypted.
So I have setup my tomcat to use https by following
tomcat documentation for ssl-howto.html
and for allowing access only via https , addded the security constraint i
Hi
Thx for the same, So u say I will have to call the URL
http://localhost:8080/manager/html inside my Application,
But I thought ,it could be done with the coded API's avaliable for the
manager.
If I am wrong Please advice.
OR
If I am correct Please Tell me How to do the
inside tomcat manager.. redeploy your web app...
http://localhost:8080/manager/html
_
From: Karthik N S [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 4:08 PM
To: TOMCAT_USERS
Subject: SERVLET CONTEXT [ START/STOP BY CODE]
Hi Guys
Apologies.
Am a New Be
use a context listener
-Original Message-
From: Edouard Dalla-Costa [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 10:34 AM
To: Tomcat Users List
Subject: Contrary of
Hi,
I was wondering if there is a balise for the web.xml like
but calling a class before shutdown???
Thx in
Hi,
I was wondering if there is a balise for the web.xml like
but calling a class before shutdown???
Thx in advance
Edouard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
Guys
Apologies.
Am a New Bee
,on this form
Somebody
Please Tell me
How to
START/STOP Tomcat5.x versions ServletContext
by importing
appropriate Package and code API's to make use
of
foa a
particular Context 'ABC ' which is already started.
Thx in
Advance.
WITH WARM
77 matches
Mail list logo