RE: Problems with tomcat session timeout on linux

2006-10-27 Thread Caldarale, Charles R
> From: Oren Livne [mailto:[EMAIL PROTECTED] > Subject: Problems with tomcat session timeout on linux > > The problem: some times users log in and then close their > browser window (at least I assume so), but tomcat never > destroys their session. The session-timeout parameter is > set to 30 in

Re: Problems with tomcat session timeout on linux

2006-10-27 Thread EDMOND KEMOKAI
Well, I must admit, I run Ubuntu myself and I have noticed on a few occasions (after multiple netbeans builds) that the session doesn't get destroyed in a timely manner sometimes. So it is possible that there is an issue but it happens for me very rearly, I don't know whether this is an issue that

Re: Problems with tomcat session timeout on linux

2006-10-27 Thread Oren Livne
Hi Edmond, Thanks for your feedback. I am implementing a session listener and a session event with custom sessionCreated() and sessionDestroyed(). Indeed, I thought that the timeout is all I needed, but the point is ... that it doesn't work properly for me on linux. It does on windows. Thank

Re: Problems with tomcat session timeout on linux

2006-10-27 Thread EDMOND KEMOKAI
You may want to look into SessionListener/Session event Listener. I am not sure what the issue is with regards to the timeout, setting timeout to 30 means the session should expire in 30 minutes. The timeout is really all you should need as far as wanting to prevent idle sessions, after all that i

Problems with tomcat session timeout on linux

2006-10-27 Thread Oren Livne
Dear All: I'm running tomcat 5.5.20 on a redhat 8 linux server (Linux ruready.utah.edu 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006 i686 i686 i386 GNU/Linux). My web application manages its own session pool. Every time a user logs into the site, a session is created and stored in a

Embedded Tomcat sharing application context.

2006-10-27 Thread vivek sar
Hi, Is there a way for the web application running in the embedded tomcat to access objects in the main application. Here is the scenario, 1) Main application starts the embedded tomcat 2) Embedded tomcat loads up a web applicaiton 3) Now the web application wants to call some methods in the mai

Fwd: Re: very basic web server hosting question

2006-10-27 Thread CANADAFAST INC.
Note: forwarded message attached. Everyone is raving about the all-new Yahoo! Mail. --- Begin Message --- Hello!     I am a new tomcat 5.5 user. I have created some JSPs and they run perfectly in my PC using tomcat.   I want to make my PC a webserver, so that ppl from outside can access

Re: very basic web server hosting question

2006-10-27 Thread CANADAFAST INC.
Hello! I am a new tomcat 5.5 user. I have created some JSPs and they run perfectly in my PC using tomcat. I want to make my PC a webserver, so that ppl from outside can access my JSPs through tomcat 5.5 running on my system. My PC is connected to a router and my router is co

Re: Tomcat Security

2006-10-27 Thread Maurice Yarrow
Chris, Chuck The short answer is: if URL's are filtered first, then the actual location DefaultServlet will need to use is not visible in any of the html. Only for the authenticated serves will getPathInfo() be appropriately adjusted and then passed to DefaultServlet. Silly question for Maurice

RE: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Caldarale, Charles R
> From: Alan Burlison [mailto:[EMAIL PROTECTED] > Subject: Re: Changing defaultHost from localhost to a FQDN > > Ah, and I'm using 5.5. I've checked the 5.5 docs and I can't find > *any* of those restrictions mentioned, other than a recommendation > that elements aren't placed in server.xml, bu

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
The above is confusing to me. Where is the app deployed? webapps/ROOT (works) or webapps/meshcms (doesn't) Where is the element for this app located? conf/server.xml What are the attributes specified for this ? With Tomcat 5 and above, elements should not go in server.xml, the p

Re: Tomcat Security

2006-10-27 Thread Christopher Schultz
Chuck, Caldarale, Charles R wrote: >> From: Maurice Yarrow [mailto:[EMAIL PROTECTED] >> Subject: Re: Tomcat Security >> >> What I currently do is serve the static content from elsewhere, >> outside the tomcat/webapps tree. > > You still end up having to map the request to some resource location

RE: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Caldarale, Charles R
> From: Alan Burlison [mailto:[EMAIL PROTECTED] > Subject: Re: Changing defaultHost from localhost to a FQDN > > I have it working - well, kinda. If I deploy the application as ROOT, > and with ROOT as the docBase it works fine. If I move it to "meshcms" > (the WAR file name) and modify docRoot

RE: Question with the Apache/Tomcat interface...

2006-10-27 Thread Caldarale, Charles R
> From: Kim Albee [mailto:[EMAIL PROTECTED] > Subject: Re: Question with the Apache/Tomcat interface... > > > Can you connect to the ip and port specified with p2 from your apache > > machine with telnet? > > e have telnet disabled on the server, as it is not > secure. That's not what he was a

RE: Tomcat Security

2006-10-27 Thread Caldarale, Charles R
> From: Maurice Yarrow [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Security > > What I currently do is serve the static content from elsewhere, > outside the tomcat/webapps tree. Let's back up here for a moment. How are you delivering these controlled images and text to the client? Are the

Running tomcat on port 80 on Solaris 10 or above

2006-10-27 Thread Alan Burlison
On 27/10/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote: Yes sir! This simple solution worked in the first try!!! Thanks man! iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 iptables -A INPUT -p tcp --dport 8080 -j ACCEPT For anyone who is running on Solaris 10 or

RE: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping > url-pattern > > The default servlet is defined in the conf/web.xml file. Good catch - it doesn't need to be redeclared. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AN

RE: IPTABLES

2006-10-27 Thread Asensio, Rodrigo
Yes sir! This simple solution worked in the first try!!! Thanks man! iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 iptables -A INPUT -p tcp --dport 8080 -j ACCEPT -Original Message- From: Gaël Lams [mailto:[EMAIL PROTECTED] Sent: Friday, October 20, 2006

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
I've just tried it again with both 5.5.20 and 6.0.0, changing "localhost" to "myhost.com" in two places in server.xml ( and ) and in the Windows hosts file. Everything works, including JSPs and servlets. For 5.5.20, my server.xml is the default one with the two changes noted above. You might wa

tomact and tcp sockets problem

2006-10-27 Thread Sergey Komar
Hello everyone, could you please help me with a problem. My Tomcat is running on the following configuration: 1. OS Centos 4 2. Java 1.5 3. Standalone Tomcat 5.5.12 4. 512MB RAM guaranteed/2GB Burst RAM 5. MySQL 4 I rent a VPS and if I run the 'cat /proc/user_beancounters' command I may see th

Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
Hi, I got it working but changed to to the following.. Archetype Created Web Application test org.springframework.web.servlet.DispatcherServlet 1 default /images default /css default /js test

Re: Question with the Apache/Tomcat interface...

2006-10-27 Thread Kim Albee
Rainer, What is your platform and what is errno 13 on your platform? ###how would I find out? our platform is Fedora Core 3 for this server. Can you confirm, that tomcat listens on the port your worker p2 is configured for (using netstat -n or a similar tool)? ###when I run netstat, it p

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Caldarale, Charles R
> From: Robbert [mailto:[EMAIL PROTECTED] > Subject: RE: CSS not being used when a Servlet is involved > > Combining that with what you just said, I assume that you're > basically saying that my servlet tries to handle the > tag that contains the URL to my CSS, but fails miserably in > the proce

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread David Smith
I think the essential problem in the css is the client is attempting to guess the location of the css based on a relative URL and the address of the main page. You could try giving it an absolute path: ${pageContext.request.contextPath}/myStyles.css The client will receive an absolute path to

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
Caldarale, Charles R wrote: > >> From: Robbert [mailto:[EMAIL PROTECTED] >> Subject: Re: CSS not being used when a Servlet is involved >> >> I'm using a link tag. It works fine if I take out the lines >> in web.xml that define the Servlet + Servlet Mapping. But if >> I add them back, it doesn

RE: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping > url-pattern > > Do you have an example of this? Add this to your app's web.xml: tcdefault org.apache.catalina.servlets.DefaultServlet 1

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
Caldarale, Charles R wrote: > >> From: Robbert [mailto:[EMAIL PROTECTED] >> Subject: Re: CSS not being used when a Servlet is involved >> >> I'm calling the Servlet with >> > > Shouldn't the above be: > > > Isn't the leading slash required to make the reference relative to the > context ra

Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
Hi Chuck, Do you have an example of this? Ben On 10/27/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping > url-pattern > > So I wanted to do something like map requests that ar

Re: Tomcat Security

2006-10-27 Thread Maurice Yarrow
Hello Chuck Yes, I also tried this quite a while back. Only problem: the image tree is in the many GBytes size. And, in addition, when redeploying, one has to be careful not to wipe out such a static file tree. But the major constraint is that such a static file tree may be very large and its

RE: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping > url-pattern > > So I wanted to do something like map requests that are not equal to > images, css, js etc to the DispatcherServlet. Why not explicitly map images, css, js, etc.,

Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
I am part of a team that is replacing a cocoon application with spring mvc. We have to keep the URL format for the application the same as the current system. The URLs are http://www.site.com/customername. We are currently mapping everything to one DispatcherServlet. The problem is static content

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Caldarale, Charles R
> From: Robbert [mailto:[EMAIL PROTECTED] > Subject: Re: CSS not being used when a Servlet is involved > > I'm calling the Servlet with > Shouldn't the above be: Isn't the leading slash required to make the reference relative to the context rather than the location of the JSP? - Chuck THI

RE: CSS not being used when a Servlet is involved

2006-10-27 Thread Caldarale, Charles R
> From: Robbert [mailto:[EMAIL PROTECTED] > Subject: Re: CSS not being used when a Servlet is involved > > I'm using a link tag. It works fine if I take out the lines > in web.xml that define the Servlet + Servlet Mapping. But if > I add them back, it doesn't work anymore. Does your mapping use

RE: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread Rick Fisk
Have you tried using getServletContext()? (http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletC ontext.html) We use this as a means to find and match our properties (stored in a common property container directory by context) since we deploy multiple instances of the same app f

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
David Smith-2 wrote: > > 1. The location of servlet classes is documented in the spec. Place > them in either a directory structure that reflects the package structure > under WEB-INF/classes or in a jar file whose internal folder structure > reflects the package structure. > > Ex.: Suppose

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
Christopher Schultz-2 wrote: > > Robbert, > >> (Yes, I have three locations for the statistics servlet. I don't know >> where >> to place it!) > > See below. > >> $CATALINA_HOME/webapps/ROOT/doc/o23/index.jsp (deze jsp file roept dus de >> StatistiekServlet aan) > > This should be fine. Sorr

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread David Smith
1. The location of servlet classes is documented in the spec. Place them in either a directory structure that reflects the package structure under WEB-INF/classes or in a jar file whose internal folder structure reflects the package structure. Ex.: Suppose you have the class StatistiekServlet

Re: CSS not being used when a Servlet is involved

2006-10-27 Thread Christopher Schultz
Robbert, > (Yes, I have three locations for the statistics servlet. I don't know where > to place it!) See below. > $CATALINA_HOME/webapps/ROOT/doc/o23/index.jsp (deze jsp file roept dus de > StatistiekServlet aan) This should be fine. > $CATALINA_HOME/webapps/ROOT/doc/o23/StatistiekServlet T

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
If your host entry is pointing to the same IP as the host= in server.xml then that will work e.g. localhost is same as myhost.com If your host entry points to a different IP then change the host specification in server.xml to the new host name in your situation myhost.com Be sure to put the corr

RE: RE: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Caldarale, Charles R
> From: Dort Wach [mailto:[EMAIL PROTECTED] > Subject: Re: RE: Howto continue TimerTask after Tomcat Server > was restarted > > I don't want to shut down TimerTask, but if someone, not me, > shut down the Tomcat server, or Tomcat server crashes, than > this someone will start it again. If the

Re: RE: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Dort Wach
> Not recommended, since there's no guarantee the init() method will only be > called once (a servlet may be instantiated multiple times). Better to use > a lifecycle listener; see section 10 of the servlet spec for details. > Also, make sure you have a reliable means of shutting down the timer

Re: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Dort Wach
Thanks Stephan, I will try it. Maybe it will help me. I'll let know later, if it won't. Original-Nachricht Datum: Fri, 27 Oct 2006 11:47:06 +0200 Von: "Stephan Schöffel" <[EMAIL PROTECTED]> An: Tomcat Users List Betreff: Re: Howto continue TimerTask after Tomcat Server was re

CSS not being used when a Servlet is involved

2006-10-27 Thread Robbert
Hi, I have the following problem: If I include the Servlet using the jsp:include tag and if the web.xml file is configured correctly, it will invoke the Servlet, but the CSS won't load. If I change the URL pattern, the Servlet won't be invoked (with a "Resource unavailable" error) but the CSS is

Michele A Shiels is in NRM.

2006-10-27 Thread Michele . A . Shiels
I will be out of the office starting 27/10/2006 and will not return until 13/11/2006. I will be picking up mail in NRM If you have an urgent issue please contact extension . - To start a new topic, e-mail: users@tomcat.ap

RE: [OT] Apache with Windows 98

2006-10-27 Thread Caldarale, Charles R
> From: Peter Crowther [mailto:[EMAIL PROTECTED] > Subject: RE: Apache with Windows 98 > > A sensible Uni recognises that not all of its students wish to pay the > Microsoft Tax whenever a new OS release comes out. A frugal (but not > necessarily sensible) Uni may also wish not to pay the Micros

RE: Apache with Windows 98

2006-10-27 Thread Peter Crowther
> From: Brandon Goodin [mailto:[EMAIL PROTECTED] > In the name of all that is good, what university subjects its > students to using Windows 98!? A sensible Uni recognises that not all of its students wish to pay the Microsoft Tax whenever a new OS release comes out. A frugal (but not necessari

Re: multiple tomcat sessions running

2006-10-27 Thread chlawren
It is in a test phase at the moment, we have an account call online to start tomcat here. I run the /usr/local/tomcat/jakata/bin/startup.sh script I can run as online but still the same issues. chlawren wrote: > > > > Guys, I am pretty new to tomcat and am an AIX server engineer.

Re: multiple tomcat sessions running

2006-10-27 Thread Mikolaj Rydzewski
chlawren wrote: Guys, I am pretty new to tomcat and am an AIX server engineer. What command do you use to start Tomcat? Why do you run Tomcat as root user? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

Re: Exception processing TLD

2006-10-27 Thread Cédric Wider
Verified, there is no jsp-api in the WEB-INF/lib packaged. Cédric > Hi, > > Please verify you don't have packaged your webapp with a jsp-api in your > WEB-INF/lib > > Rémy > > >> -Message d'origine- >> De : Cédric Wider [mailto:[EMAIL PROTECTED] >> Envoyé : vendredi 27 octobre 2006

Re: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Len Popp
You can write a ServletContextListener that is called when the app starts and stops. You specify it by a tag in web.xml. See the servlet spec for details. -- Len Popp [EMAIL PROTECTED] http://www.lmp.dyndns.org/ On 10/27/06, Dort Wach <[EMAIL PROTECTED]> wrote: Hello everybody, I have a TimerT

RE: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Caldarale, Charles R
> From: Stephan Schöffel [mailto:[EMAIL PROTECTED] > Subject: Re: Howto continue TimerTask after Tomcat Server was > restarted > > maybe you could put your timertask in an servlets init() > method and the put 1 > in the web.xml of that servlet Not recommended, since there's no guarantee the i

Re: Apache with Windows 98

2006-10-27 Thread Eric
i am in a big organization but what surprise me are most of the computers are using windows 98... that's the best part!! what to do. =) On 10/27/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: In the name of all that is good, what university subjects its students to using Windows 98!? Brandon O

multiple tomcat sessions running

2006-10-27 Thread chlawren
Guys, I am pretty new to tomcat and am an AIX server engineer. I have been asked to install tomcat on and AIX 5.3 server, install is fine and starts ok however I notice multiple sessions being started for about 10 seconds which consume most of the cpu ( 18 way system ) Please can someone help

Re: Apache with Windows 98

2006-10-27 Thread Eric
no prob... take yr time. thanks alot for yr help. really appreciate it alot!!! On 10/27/06, Stephan Schöffel <[EMAIL PROTECTED]> wrote: i wont be able to try out until monday... Eric wrote: > thanks. do keep me in touch abt the results > > On 10/27/06, Stephan Schöffel <[EMAIL PROTECTED]> wr

RE: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Caldarale, Charles R
> From: Daniela Marangoni [mailto:[EMAIL PROTECTED] > Subject: R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER > > Do you I need to define 8080 on file services located on the > directory: > Winnt\system32\drivers?? No. But, ping will not tell you if a specific port is blocked by your Windows fire

Re: Apache with Windows 98

2006-10-27 Thread Christopher Schultz
Eric, Why not just try it? You have the machine, and you can download everything you need. It would take maybe an hour to get it set up. Meanwhile, you're waiting possibly days for someone to get back to you on the list... -chris Eric wrote: > but my friend tried apache tomcat 5.5, he said the

RE: Hi

2006-10-27 Thread adeyemi adesina
Changing the port-number from 80 works! Thanks so much. -Original Message- From: Stephan Schöffel [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 3:00 PM To: Tomcat Users List Subject: Re: Hi in server.xml look for this line: and change port then point to the tomcat start

Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread Tim Funk
Nope -Tim ben short wrote: Hi is it possible to use a regular expression as a servlet-mappings url-pattern? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: Logging Configuration - 5.5.20

2006-10-27 Thread Ben Geyer
Just to finish up this thread, I found that the root cause of my problems was that I had a commons-logging.properties file buried in another jar file that redirected logging to a logger that wasn't able to be initialized. Kinda a catch-22. Anyway, thanks for the help. Ben On 10/25/06, Ben Geyer

Tomcat 5.5 Regular Expression as servlet-mapping url-pattern

2006-10-27 Thread ben short
Hi is it possible to use a regular expression as a servlet-mappings url-pattern? Ben - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Caldarale, Charles R
> From: Alan Burlison [mailto:[EMAIL PROTECTED] > Subject: Re: Changing defaultHost from localhost to a FQDN > > The odd thing is that it does appear to be serving *html* from under > the web application directory, just not JSPs. If I put an index.html > under webapps/ROOT I see the content. I'

RE: Exception processing TLD

2006-10-27 Thread Remy.Coqueugniot
Hi, Please verify you don't have packaged your webapp with a jsp-api in your WEB-INF/lib Rémy > -Message d'origine- > De : Cédric Wider [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 27 octobre 2006 14:33 > À : users@tomcat.apache.org > Objet : Exception processing TLD > > I am trying

RE: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Caldarale, Charles R
> From: Alan Burlison [mailto:[EMAIL PROTECTED] > Subject: Re: Changing defaultHost from localhost to a FQDN > > The really annoying thing is the Tomcat documentation shows FQDN names > being used, yet it doesn't actually work unless you use 'localhost' - > if you need to make other changes when

Re: Apache with Windows 98

2006-10-27 Thread Stephan Schöffel
fortunately i dont have to use it, but i have to make sure my apps run on it. its in the spec... Brandon Goodin wrote: In the name of all that is good, what university subjects its students to using Windows 98!? Brandon On 10/27/06, Stephan Schöffel <[EMAIL PROTECTED]> wrote: i wont be a

Re: Hi

2006-10-27 Thread Stephan Schöffel
in server.xml look for this line: minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="2" disableUploadTimeout="true"/> and change port then point to the tomcat start page via your browser using: localhost:port (eg localh

Re: Apache with Windows 98

2006-10-27 Thread Brandon Goodin
In the name of all that is good, what university subjects its students to using Windows 98!? Brandon On 10/27/06, Stephan Schöffel <[EMAIL PROTECTED]> wrote: i wont be able to try out until monday... Eric wrote: > thanks. do keep me in touch abt the results > > On 10/27/06, Stephan Schöffel

RE: Hi

2006-10-27 Thread adeyemi adesina
The problem persists despite the fact that the Apache Tomcat service is running. Attached are the contents of my log files that have sizes greater than zero (0) kb. It seems port number 80 is in use. How do I assign another port number to Tomcat 5.5? Thanks. -Original Message- From: Step

RE: Hi

2006-10-27 Thread adeyemi adesina
The problem persists despite the fact that the Apache Tomcat service is running. Attached are the contents of my log files that have sizes greater than zero (0) kb. It seems port number 80 is in use. How do I assign another port number to Tomcat 5.5? Thanks. -Original Message- From: Li [

Exception processing TLD

2006-10-27 Thread Cédric Wider
I am trying to run an application using tomcat on a debian based livecd (Morphix). I installed tomcat 5.5 using apt-get. The README.debian help file says that debian is using dynamic links, so I wrote ' allowLinking="true" ' to server.xml. I built the war file on another machine, where I tested it

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Martin Gainty
Alan- If your host entry is pointing to the same IP as the host= in server.xml then that will work e.g. localhost is same as myhost.com If your host entry points to a different IP then change the host specification in server.xml to the new host name in your situation myhost.com Be sure to put th

delete

2006-10-27 Thread Philipp Südmeyer
-- Philipp Suedmeyer 116 Gloucester Road South Kensington SW7 4XH London United Kingdom Mobile: +44 79 30 94 18 01

Re: Apache with Windows 98

2006-10-27 Thread Stephan Schöffel
i wont be able to try out until monday... Eric wrote: thanks. do keep me in touch abt the results On 10/27/06, Stephan Schöffel <[EMAIL PROTECTED]> wrote: i'll give it a try with win98 and 128MB of RAM later. i post the results when im done --Stephan Eric wrote: > but my friend tried ap

Re: Hi

2006-10-27 Thread Stephan Schöffel
make sure tomcat is started adeyemi adesina wrote: Hello Users, I got an error message "The page cannot be found." when I tried to access the 'Tomcat Manager' page by Clicking Start->All Programs-> Apache Tomacat 5.5-> 'Tomcat Manager' on Windows XP. I have accessed the 'Tomcat Manager' page

Re: Hi

2006-10-27 Thread Li
check log message ... On 10/27/06, adeyemi adesina <[EMAIL PROTECTED]> wrote: Hello Users, I got an error message "The page cannot be found." when I tried to access the 'Tomcat Manager' page by Clicking Start->All Programs-> Apache Tomacat 5.5-> 'Tomcat Manager' on Windows XP. I have accessed

Hi

2006-10-27 Thread adeyemi adesina
Hello Users, I got an error message "The page cannot be found." when I tried to access the 'Tomcat Manager' page by Clicking Start->All Programs-> Apache Tomacat 5.5-> 'Tomcat Manager' on Windows XP. I have accessed the 'Tomcat Manager' page several times before, but I am having a problem access

Re: web service authentication authorization set up

2006-10-27 Thread Mark Thomas
Bertrand Baesjou wrote: > However for the authorization part we want to use different roles a > client can have (3 roles in our case). For this part we also want to use > certificates (preferably the same as in the authorization ones, but not > sure if that is possible or even good-practice). Tomc

web service authentication authorization set up

2006-10-27 Thread Bertrand Baesjou
Hi, I must say that I am quite new to the whole web services (WS) paradigm, but already have to deal with some serious matters which seem to grow a bit over my head. So I am hoping you can help me by providing some answers or links to relevant sites or documents (I am not to lazy to read myse

Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Davide Romanini
Il giorno ven, 27/10/2006 alle 11.31 +0200, Daniela Marangoni ha scritto: > Hi > I have tried with user test > > > > > > > > > > > > > > > but I still have the same problems . After trying to connect three times to: > > Site: 127.0.0.1 > Port : 8080 > Realm : XDB

R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
I have tried to stop and restart service but I still have the same error. About the user I have tried with user teste not test as I said on my e-mail. Datamanagement S.p.A Ing.Daniela Marangoni Via S. Cavina 7 - 48100 Ravenna Tel: 0544 503505 Cell: 3473553749 [EMAIL PROTECTED] -Messaggio ori

Re: Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Stephan Schöffel
maybe you could put your timertask in an servlets init() method and the put 1 in the web.xml of that servlet which makes the the servle load on startup (who would hav guessed) and therefore call init() Dort Wach wrote: Hello everybody, I have a TimerTask. I start it manually (on a jsp page

Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread David Smith
Yes, when using the memory realm (tomcat-users.xml), bounce tomcat on every change. Also (and this might be a typo in the email) use username and password 'teste' as entered in the tomcat-users.xml. You said below you tried the username and password 'test'. --David Daniela Marangoni wrote:

R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
Hi I have tried with user test but I still have the same problems . After trying to connect three times to: Site: 127.0.0.1 Port : 8080 Realm : XDB Username=test Password=test I receive as answer: Unauthorized Should I stop and restart Tomcat Server after adding

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
On 27/10/06, Pid <[EMAIL PROTECTED]> wrote: And try adding myhost.com, instead of changing the host name. The latter changes expected dir locations too, which is probably why your app is broken. I suspect you are right - I renamed the directories under Catalina from localhost to the FQDN when

Realm static variables always return null

2006-10-27 Thread Jamie Green
I have written a Realm that uses LDAP to login to racf. When a user enters their username and password incorrectly or their password has expired I want to give them feedback so they can take appropriate action. I am trying to use a static ThreadLocal within the realm I created to store any error

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
I just tried the same change, and it all works fine - assuming you have made an entry for myhost.com in your hosts file, restarted Tomcat, and cleared your browser's cache. That occured to me just after I sent mail ;-) I've just tried that and it didn't help, unfortunately :-( > I reali

Re: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Davide Romanini
Il giorno ven, 27/10/2006 alle 10.39 +0200, Daniela Marangoni ha scritto: > Hi > > Although I have installed Tomcat 5.5 using the default directory the > installation gives me and have defined password as you can see on the > attached file > > When I try to connect to Tomcat Manager I receive t

Howto continue TimerTask after Tomcat Server was restarted

2006-10-27 Thread Dort Wach
Hello everybody, I have a TimerTask. I start it manually (on a jsp page) and it execute a method every one hour. If someone restart Tomcat server, the TimerTask won't be executed any more. I have to start it manually again. Go to the page an click start button. Is there a possibility, to start

R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
Do you I need to define 8080 on file services located on the directory: Winnt\system32\drivers?? Datamanagement S.p.A Ing.Daniela Marangoni Via S. Cavina 7 - 48100 Ravenna Tel: 0544 503505 Cell: 3473553749 [EMAIL PROTECTED] -Messaggio originale- Da: Stephan Schöffel [mailto:[EMAIL PROTEC

R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
My localhost is not locked because when i ping it , I receive: Pinging serveruni [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<10ms TTL=128 Reply from 127.0.0.1: bytes=32 time<10ms TTL=128 Reply from 127.0.0.1: bytes=32 time<10ms TTL=128 Reply from 127.0.0.1: bytes=32 tim

Re: R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Stephan Schöffel
ping localhost How can I see if the localhost is locked? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

R: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
I don't think so because if I install it on a local computer I don't have any problems in connecting to Tomcat. Do you think that any upgrade of Windows2000 could have locked the localhost? How can I see if the localhost is locked? Datamanagement S.p.A Ing.Daniela Marangoni Via S. Cavina 7 - 48100

Re: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Roberto Marra
Hello Daniela, there are no firewall there in your system that lock the localhost? Did you check that? Cheers Roberto Montefiore SA CH-6934 Lugano-Bioggio Daniela Marangoni ha scritto: Hi Although I have installed Tomcat 5.5 using the default directory the installation gives me and have

I: PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
I forgot to attach the file   Datamanagement S.p.A Ing.Daniela Marangoni Via S. Cavina 7 - 48100 Ravenna Tel: 0544 503505 Cell: 3473553749 [EMAIL PROTECTED]   -Messaggio originale- Da: Daniela Marangoni [mailto:[EMAIL PROTECTED] Inviato: venerdì 27 ottobre 2006 10.40 A

PROBLEMS CONNECTING TO TOMCAT MANAGER

2006-10-27 Thread Daniela Marangoni
Hi Although I have installed Tomcat 5.5 using the default directory the installation gives me and have defined password as you can see on the attached file When I try to connect to Tomcat Manager I receive the message "Unauthorized" when connecting to http://127.0.0.1:8080/ what should be th

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Pid
And try adding myhost.com, instead of changing the host name. The latter changes expected dir locations too, which is probably why your app is broken. p Caldarale, Charles R wrote: >> From: Alan Burlison [mailto:[EMAIL PROTECTED] >> Subject: Changing defaultHost from localhost to a FQDN >> >>

[Isapi filter] jsessionid filtering

2006-10-27 Thread Remy.Coqueugniot
Hi everyone, My environment: win2003 / Tomcat 5.5.17 / IIS / isapi filter 1.2.19.0 I've 3 instances of Tomcat running simultanously IIS is configured to serve those 3 "websites" with a different isapi filter configuration for each one. When a client opens a newly httpSession jsessionid is inserte

Re: Apache with Windows 98

2006-10-27 Thread Eric
thanks. do keep me in touch abt the results On 10/27/06, Stephan Schöffel <[EMAIL PROTECTED]> wrote: i'll give it a try with win98 and 128MB of RAM later. i post the results when im done --Stephan Eric wrote: > but my friend tried apache tomcat 5.5, he said the whole computer almost > hang.

Re: Apache with Windows 98

2006-10-27 Thread Stephan Schöffel
i'll give it a try with win98 and 128MB of RAM later. i post the results when im done --Stephan Eric wrote: but my friend tried apache tomcat 5.5, he said the whole computer almost hang. is it possible with my 128mb ram? i am going to merge it with JCreator. is that possible as well? because

Re: Apache with Windows 98

2006-10-27 Thread Eric
but my friend tried apache tomcat 5.5, he said the whole computer almost hang. is it possible with my 128mb ram? i am going to merge it with JCreator. is that possible as well? because my team mate has a notebook running on windowsXP so she is running with eclipse. i dont think this com can do so.