Re: JSP -> static mirroring

2007-09-21 Thread Martin Gainty
window/preferences/file content /change jsp to be same content as html or vice-versa M-- - Original Message - From: "Dola Woolfe" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 21, 2007 10:24 PM Subject: Re: JSP -> static mirroring > Hassan, that's terrific, thank y

Re: JSP -> static mirroring

2007-09-21 Thread Hassan Schroeder
On 9/21/07, Dola Woolfe <[EMAIL PROTECTED]> wrote: > Would you happen to know how to get Eclipse to ... Sorry, no, only a very occasional -- under duress -- Eclipse user :-) Best of luck! -- Hassan Schroeder [EMAIL PROTECTED] --

Re: JSP -> static mirroring

2007-09-21 Thread Dola Woolfe
Hassan, that's terrific, thank you! Would you happen to know how to get Eclipse to parse, compile, and highlight .html's the same way it does .jsp's? Thanks again! Dola --- Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 9/19/07, Dola Woolfe <[EMAIL PROTECTED]> wrote: > > How do I configure To

Re: Performing SSL on tomcat using the JAAS ream

2007-09-21 Thread Bill Barker
The JAASRealm in Tomcat doesn't currently support CLIENT-CERT auth. "Clinton J. Totten" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am getting a 401 error when trying to access my webapps deployed on tomcat. I configured the JAAS realm and connection properties according to the

Re: Why "Net use ..." does not work with WebDAV servlet

2007-09-21 Thread Martin Gainty
i'm pretty sure net use only uses UNC e.g. NET USE [devicename | *] [\\computername\sharename[\volume] net use [devicename] http://ComputerName/ShareName[/Folder]}] Mark/Anyone? M-- - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, Septemb

Re: How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-21 Thread Mark Thomas
Alex Funk wrote: > Hi, > > if I use HTTPServletResponse.sendRedirect with a String that contains an > URL with Unicode characters, the Location-Header contains the characters > encoded in ISO-8859-1. I have set URIEncoding="UTF-8" in my connector in > server.xml, since other links in my webapp use

Re: How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-21 Thread Adrian Sutton
On 22/09/2007, at 10:27 AM, Mark Thomas wrote: Alex Funk wrote: if I use HTTPServletResponse.sendRedirect with a String that contains an URL with Unicode characters, the Location-Header contains the characters encoded in ISO-8859-1. I have set URIEncoding="UTF-8" in my connector in server.x

Re: Why "Net use ..." does not work with WebDAV servlet

2007-09-21 Thread Mark Thomas
shahab wrote: > Hi, > > I am trying to develop a simple distributed file system using WebDAV servlet > on Tomact application server. while I can successfully browse the WebDAV > enabled directory via IE or FireFox, issuing "net use p: http://lp:port/Dav"; > results in "The network name can not

Re: Tomcat and webdav in general [Beginner]

2007-09-21 Thread Mark Thomas
Sven Braun wrote: > I have no knowledge of the CMS being used at all, what I know is that it > runs with tomcat. > > So right now I don't know where and how to start off really and what I need > to work with. > > The data or document files/folders should be received or displayed in a > dynamic wa

RE: Tomcat and JSTL -- Generalized Question

2007-09-21 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat and JSTL -- Generalized Question > > Does there exist an organized run-down on which jars should > be placed in common/lib (e.g., database connectors) and > which jars should be placed in WEB-INF/lib (e.g. jstl.jar)? Try this for

Re: Tomcat and JSTL -- Generalized Question

2007-09-21 Thread Ken Bowen
Does there exist an organized run-down on which jars should be placed in common/lib (e.g., database connectors) and which jars should be placed in WEB-INF/lib (e.g. jstl.jar)? Thanks, Ken Bowen Caldarale, Charles R wrote: From: John Langan [mailto:[EMAIL PROTECTED] Subject: Tomcat and JSTL I

RE: Tomcat and JSTL

2007-09-21 Thread Caldarale, Charles R
> From: John Langan [mailto:[EMAIL PROTECTED] > Subject: Tomcat and JSTL > > I am having difficulty in getting Tomcat to understand JSTL > tags and the JSP Expression Language. Do the JSTL examples that come with Tomcat work? > I have standard.jar and jstl.jar files in > C:\apache-tomcat-5.5.

Tomcat and JSTL

2007-09-21 Thread John Langan
I am having difficulty in getting Tomcat to understand JSTL tags and the JSP Expression Language. As a result ${expression} is just displayed as is on the web page and not the result of evaluating the expression. Setting variables using JSTL tags also does not work. In Manager.java class I

RE: 100% cpu usage by "VM Thread" in tomcat

2007-09-21 Thread Caldarale, Charles R
> From: Lindsay Patten [mailto:[EMAIL PROTECTED] > Subject: Re: 100% cpu usage by "VM Thread" in tomcat > > I need to figure out how to reproduce the situation out of > the production server to see how I can use it... For an initial check, set -Dcom.sun.management.jmxremote for the Tomcat start

Re: 100% cpu usage by "VM Thread" in tomcat

2007-09-21 Thread Lindsay Patten
Looking at the cpu times, top says that pid 324 has used over 900 minutes of cpu time, none of the other tomcat threads have used more than 9 minutes. When the system is grinding it is pid 324 that is listed as 97% of cpu with no other java threads on screen. The problem may be caused by some

Re: Basic question - Ingterating Tomcat with Apache

2007-09-21 Thread Hassan Schroeder
On 9/21/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > I believe mod_proxy_ajp requires Apache httpd 2.2, right? Yep. But it's definitely less work to set up, if you don't need to split static and dynamic content. -- Hassan Schroeder [EMAIL PROTECTED] ---

Problem with nsapi_connector.so and HTTP 304 response from JBoss

2007-09-21 Thread Matt Cristantello
Hi everyone, I'm having a rather strange problem with the nsapi_connector for Sun One Web Server 6.1 connecting via ajp/13 to a JBoss application server. Basically, if the JBoss server returns a HTTP code 304 for a browser cache hit, the SWS is instead looking for the file in its own docroot

Re: Basic question - Ingterating Tomcat with Apache

2007-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, Hassan Schroeder wrote: > On 9/21/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: >> The only supported Tomcat web server connector is mod_jk > > There's mod_proxy_ajp and mod_proxy_http, eh? Aah, forgive me. I tend to think of mod_proxy_

Re: Basic question - Ingterating Tomcat with Apache

2007-09-21 Thread Hassan Schroeder
On 9/21/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > are you sure you even /need/ Apache httpd? I concur with that, but... > The only supported Tomcat web server connector is mod_jk There's mod_proxy_ajp and mod_proxy_http, eh? -- Hassan Schroeder [EMAIL PROT

RE: 100% cpu usage by "VM Thread" in tomcat

2007-09-21 Thread Caldarale, Charles R
> From: Lindsay Patten [mailto:[EMAIL PROTECTED] > Subject: 100% cpu usage by "VM Thread" in tomcat > > Expecting to find that I had some error in my webapp I did a > few thread dumps, but assuming that nid in the thread dump > corresponds to pid from ps I found that the process that was > spinn

Re: 100% cpu usage by "VM Thread" in tomcat

2007-09-21 Thread Jim Cox
On 9/21/07, Lindsay Patten <[EMAIL PROTECTED]> wrote: [ ...stuff elided...] > > If I look at the system status using the Tomcat manager webapp there are > often requests listed with ridiculously large values in the Time column, > several hundred seconds for jsp pages that only take a fraction of a

Re: Basic question - Ingterating Tomcat with Apache

2007-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jagadeesh, Tata, Jagadeesh wrote: > I installed tomcat 6.0.13 on Solaris SPARC. Which is the better (suited) > version of Apache and Apache connector for installed Tomcat? The version of Apache httpd you choose is up to you and depends more on your o

Re: Tomcat JOTM problem

2007-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, stevecox wrote: > stackTrace for: java.lang.ExceptionInInitializerError There's no "caused by" continuation of the stack trace? If not, you're screwed. I would contact the JOTM folks... whoever they are. - -chris -BEGIN PGP SIGNATURE

Re: Session uniqueness

2007-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, Dale Nesbitt wrote: > An archives search yielded me nothing. I must be phrasing my query in > an incorrect, non-jargon manner. Perhaps. I know it's been discussed, but I honestly can't suggest any good search strings. ;) > I suppose the _easi

Re: Authentication and authorization questions

2007-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean, jmuller wrote: > I've written my own DataSourceRealm that overwrite Tomcat's one, and put the > jar in server/lib. > It only overwrites the getRoles() method to change the SQL statement. See > source here: http://www.nabble.com/file/p12820411/D

RE: How to configure server.xml file

2007-09-21 Thread Caldarale, Charles R
> From: Clinton J. Totten [mailto:[EMAIL PROTECTED] > Subject: RE: How to configure server.xml file > > I just did a google search on "setting up a virtual > host on tomcat" Perhaps reading the actual Tomcat doc might be a more appropriate thing to do first... http://tomcat.apache.org/tomcat-6

100% cpu usage by "VM Thread" in tomcat

2007-09-21 Thread Lindsay Patten
I am looking for information on how to debug a problem. Any pointers to documentation, suggestions of approaches etc. would be much appreciated. I am having a problem with my tomcat server periodically going into a state where it is using up all the available cpu and providing very slow respon

Re: Basic Toimcat5.5 admin question

2007-09-21 Thread Chris Baty
Thanks all. I'm finding out the hard way I'm to dependent on apt-get. Chris - Original Message From: Hassan Schroeder <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Friday, September 21, 2007 11:26:15 AM Subject: Re: Basic Toimcat5.5 admin question On 9/21/07, Chris Baty <[EMAIL PRO

RE: How to configure server.xml file

2007-09-21 Thread Clinton J. Totten
I just did a google search on "setting up a virtual host on tomcat" and I got back a page which is very helpful: http://www.csse.uwa.edu.au/~ryan/tech/tomcat. It tells you what you need to modify in the server.xml file after configuring your virtual host. Hope this helps. -Original Message-

RE: Problem with Tomcat hangs for no obvious reason

2007-09-21 Thread Mingus, Jennifer (JC)
You are right! If I close this IE window(doesn't have to be all of them) and open another one, Tomcat will respond. After that, I go to my application and do a few clicks, the dropdown lists won't refresh still and then if I go back to tomcat page, it will not respond also. So how can I fix this A

Performing SSL on tomcat using the JAAS ream

2007-09-21 Thread Clinton J. Totten
I am getting a 401 error when trying to access my webapps deployed on tomcat. I configured the JAAS realm and connection properties according to the tomcat documentation in the server.xml file. In the web.xml file the login-config auth method element is set to CLIENT-CERT with a realm name of JAA

How to configure server.xml file

2007-09-21 Thread karmariv
I am new in tomcat, I want to create a virtual host and I will appreciate if someone could explain me how to configure the server.xml file. And what else I need to do. Thanks -- View this message in context: http://www.nabble.com/How-to-configure-server.xml-file-tf4497261.html#a12825426 Sent fr

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread David Smith
Huh?? The shutdown port explicitly binds to the localhost interface. External clients cannot access it anyway. Easily demonstrated with a netstat command. --David Martin Gainty wrote: Hi Pid you're going to need a firewall if someone can telnet to your shutdown port (check server.xml f

RE: Basic question - Ingterating Tomcat with Apache

2007-09-21 Thread Peter Crowther
> From: Tata, Jagadeesh [mailto:[EMAIL PROTECTED] > I installed tomcat 6.0.13 on Solaris SPARC. Which is the > better (suited) > version of Apache and Apache connector for installed Tomcat? If you don't already have Apache on the box, please ask yourself this question first: "Why do I need Apac

Basic question - Ingterating Tomcat with Apache

2007-09-21 Thread Tata, Jagadeesh
Hi All, I installed tomcat 6.0.13 on Solaris SPARC. Which is the better (suited) version of Apache and Apache connector for installed Tomcat? Thanks in advance, Jagadeesh Tata.

Re: Authentication and authorization questions

2007-09-21 Thread jmuller
I talk about hibernate because of the model, not hibernate. My problem was the use of userName as the foreign key in role table : my (generated standard) model is made with 3 tables and ids as foreign keys, which is not compatible with DataSourceRealm 2 tables model. mgainty wrote: > > possible

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread Martin Gainty
Hi Pid you're going to need a firewall if someone can telnet to your shutdown port (check server.xml for the exact port number) Martin-- - Original Message - From: "Pid" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 21, 2007 7:19 AM Subject: Re: Tomcat crash @ midni

Re: Basic Toimcat5.5 admin question

2007-09-21 Thread Pid
Chris Baty wrote: > Hi guys, > I finally got Tomcat5.5 going on Etch AMD and I start studying the JSP > developers guide but I get stuck in the beginning. The book says to create > a new directory under ROOT but I don't have permission in my default > account. The last install I d

Re: Basic Toimcat5.5 admin question

2007-09-21 Thread Hassan Schroeder
On 9/21/07, Chris Baty <[EMAIL PROTECTED]> wrote: > The book says to create a new directory under ROOT but I > don't have permission in my default account. The last install > I did a chgrp /user/share/tomcat5.5-webapps/ROOT www-data > ... but I screwed the package up so bad that I re-i

Re: Authentication and authorization questions

2007-09-21 Thread Martin Gainty
possible OpenSessionInViewFilter problem which version hibernate are you implementing with? M-- - Original Message - From: "jmuller" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007 9:14 AM Subject: Re: Authentication and authorization questions > > > Christopher Schultz-2 wrote

Basic Toimcat5.5 admin question

2007-09-21 Thread Chris Baty
Hi guys, I finally got Tomcat5.5 going on Etch AMD and I start studying the JSP developers guide but I get stuck in the beginning. The book says to create a new directory under ROOT but I don't have permission in my default account. The last install I did a chgrp /user/share/tomc

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread Markus Schönhaber
Martin Cavanagh wrote: > Why would windows report it as crashing then? It didn't - as the excerpt from the Windows service log you posted clearly shows. There is nothing to be read there about Tomcat "crashing" but just about Tomcat being stopped "unexpectedly" ("unerwartet"). This means nothing

RE: Examples apps

2007-09-21 Thread Caldarale, Charles R
> From: Israel Guerra [mailto:[EMAIL PROTECTED] > Subject: Re: Examples apps > > No, i got the pacakge from the apache tomcat website. Have you looked in the Tomcat logs for any problems? What Tomcat version did you install? What JVM are you using? - Chuck THIS COMMUNICATION MAY CONTAIN CO

Re: Examples apps

2007-09-21 Thread Israel Guerra
Oooops, my error! Its in the left! hahahahha No, i got the pacakge from the apache tomcat website. Thanks for the asnwer! On 9/21/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Israel Guerra [mailto:[EMAIL PROTECTED] > > Subject: Examples apps > > > > I installed tomcat in a ub

Re: Problems with JAAS-Realm

2007-09-21 Thread David Delbecq
There is only one instance of your realm that is shared by all incoming requests. That mean only local values inside methods are individual. Every property that is stored at instance of class level is to be accessed and stored in a ThreadSafe manner. It's up to you code to be Threadsafe by assuming

Re: Integrating Apache 2.x with Tomcat 6.x

2007-09-21 Thread [EMAIL PROTECTED]
Hi! Go to the documentation in tomcat project web site. Any question send me one message and i send to you my CONF. Att, Silvio Cesar L. dos Santos Analista de Redes Pleno DTI - Divisão de Tecnologia da Informação UNIGRANRIO - Universidade do Grande Rio +55 21 2672-7720 [EMAIL PROTECTED] http:/

RE: Examples apps

2007-09-21 Thread Caldarale, Charles R
> From: Israel Guerra [mailto:[EMAIL PROTECTED] > Subject: Examples apps > > I installed tomcat in a ubuntu box. > > I load the welcome page normally, but when i try to see some > example (links in the menu to the right) Odd - the standard Tomcat welcome page has such links on the left. > or

Examples apps

2007-09-21 Thread Israel Guerra
Hi all. I installed tomcat in a ubuntu box. I load the welcome page normally, but when i try to see some example (links in the menu to the right), or see manager interface, i get the "resource is not available" page. I have done some search in google but didnt get anything that could solve it.

Re: creation of a common session variable.

2007-09-21 Thread Frank W. Zammetti
Application context, or application scope, is well-suited to this need too... the overhead should be at least a little bit less than JNDI (maybe not much, I've never benchmarked it) and you'll be able to access this data for all clients globally (i.e., any request, any session). One caveat: I

Re: Authentication and authorization questions

2007-09-21 Thread jmuller
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > ... >> How can you use JDBCRealm or DataSourceRealm with [numeric] foreign keys >> from roles >> table to user table, rather than requiring the roles table to duplicate >> whatever field (e.g. username, email address) will act

Re: creation of a common session variable.

2007-09-21 Thread Dale Nesbitt
Not sure, maybe somebody else would know. But if there is a performance hit, it would be simple enough to just fetch the object once in your init() method then keep a reference to it. Pavan Singaraju wrote: > Thanks guys, > I have one more question. Using the JNDI, will it put any additional burd

RE: WAR File Not Expanded

2007-09-21 Thread Walter, Patrick A
I thought about that but it seems that Tomcat would do that for you. thanks -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, September 21, 2007 7:54 AM To: Tomcat Users List Subject: RE: WAR File Not Expanded > From: Walter, Patrick A [mailto:[EMAIL P

RE: WAR File Not Expanded

2007-09-21 Thread Caldarale, Charles R
> From: Walter, Patrick A [mailto:[EMAIL PROTECTED] > Subject: RE: WAR File Not Expanded > > The war file will expand when there is no existing > directory for that application. But when there is an > existing directory, the war file does not get expanded. So delete the directory as part of you

RE: Adding classes to an application run in tomcat

2007-09-21 Thread Caldarale, Charles R
> From: Roman Agapkin [mailto:[EMAIL PROTECTED] > Subject: Adding classes to an application run in tomcat > > Question: can I add them to the application without bundling > to a jar file? Yes - put them in WEB-INF/classes, as documented in the servlet spec (JSR 154). - Chuck THIS COMMUNICAT

RE: Setting Up SSL on Tomcat

2007-09-21 Thread Clifford Bryant
Problem solved. The 8443 port needed to be opened in the firewall. -Original Message- From: Clifford Bryant [mailto:[EMAIL PROTECTED] Sent: Friday, September 21, 2007 8:23 AM To: Tomcat Users List Subject: RE: Setting Up SSL on Tomcat Here is the HTTPS Connector. -Original Me

RE: Setting Up SSL on Tomcat

2007-09-21 Thread Clifford Bryant
Here is the HTTPS Connector. -Original Message- From: Clifford Bryant [mailto:[EMAIL PROTECTED] Sent: Friday, September 21, 2007 7:19 AM To: Tomcat Users List Subject: RE: Setting Up SSL on Tomcat Here is a simpler version with just the 2 apps that I am interested in deployed. Cre

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread Martin Cavanagh
Well nothing really. But (assuming attachements are allowed), I've attached them all (except Std-Out - thats just junk from my program) Martin Pid wrote: What's immediately before the shutdown description in the logs? p Martin Cavanagh wrote: Why would windows report it as crashi

RE: WAR File Not Expanded

2007-09-21 Thread Walter, Patrick A
Sorry I ment that... "The war file will expand when there is no existing directory for that application." THANKS FOR YOUR HELP!! Patrick -Original Message- From: Walter, Patrick A Sent: Friday, September 21, 2007 6:54 AM To: Tomcat Users List Subject: RE: WAR File Not Expanded The is

RE: WAR File Not Expanded

2007-09-21 Thread Walter, Patrick A
The issue was the context.xml file. It had unpackWAR="false". But now I have another question... The war file will not expand when there is no existing directory for that application. But when there is an existing directory, the war file does not get expanded. I use reloadable="true" crossCont

Re: Pipelining Problem after Form Authentication with Firefox and Status Code 408

2007-09-21 Thread Peter Coppens
Hello, I understand this post is a bit old, but I am facing the same issue and I was wondering whether any progress was made or workaround found, Thanks, Peter -- View this message in context: http://www.nabble.com/Pipelining-Problem-after-Form-Authentication-with-Firefox-and-Status-Code-40

Re: Problems with JAAS-Realm

2007-09-21 Thread Franck Borel
Salut David, thanks very much for your answer! public SecurityConstraint[] findSecurityConstraints(Request request, Context context) { HttpServletRequest req = request;// catch Request session = req.getSession(); // catch session ipAddress = req.ge

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread Pid
What's immediately before the shutdown description in the logs? p Martin Cavanagh wrote: > Why would windows report it as crashing then? > > I know I didn't shut it down, I was sleeping, as I assume everyone else > was who had access to the system.. > > Thanks > > Martin > > David Delbe

RE: Setting Up SSL on Tomcat

2007-09-21 Thread Clifford Bryant
Here is a simpler version with just the 2 apps that I am interested in deployed. Created MBeanServer with ID: 1f436f5:11527c58a90:-8000:rsdev01.edgewater.com:1 Sep 21, 2007 7:13:21 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows o

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread Martin Cavanagh
Why would windows report it as crashing then? I know I didn't shut it down, I was sleeping, as I assume everyone else was who had access to the system.. Thanks Martin David Delbecq wrote: According to your log it did not crash. It did shutdown following the shutdown procedure (which can

RE: Setting Up SSL on Tomcat

2007-09-21 Thread Clifford Bryant
Created MBeanServer with ID: 1f436f5:11527b2e181:-8000:rsdev01.edgewater.com:1 Sep 21, 2007 6:52:58 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.pa

Tomcat and webdav in general [Beginner]

2007-09-21 Thread Sven Braun
Hello everyone, I'm just working my way into webdav and have been succesfully using the webdav servlet of tomcat just by using Windows Explorer to create a webfolder. However I'm still confused the way webdav can be used. I'll soon begin working (after researching for days) on a project for an

Re: Jasper/Tomcat custom .tag processing extremely slow if in .jars -- profiling results

2007-09-21 Thread Tim Funk
Yes - tag file compilations are slow. IIRC - there was Google summer of code attempt in 2005 to fix this but it went nowhere. Patches to Jasper would be appreciated for the speedup. -Tim Berglas, Anthony wrote: PROBLEM JSPs that make use of custom .tag files can be very slow to compile -- se

Re: Tomcat crash @ midnight - but why?

2007-09-21 Thread David Delbecq
According to your log it did not crash. It did shutdown following the shutdown procedure (which can be executed by bin\shutdown.bat). I suggest you investigate possibilities that a local service is setup to shutdown tomcat at midnight on the server. The tomcat shutdown procedure is started when to

How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-21 Thread Alex Funk
Hi, if I use HTTPServletResponse.sendRedirect with a String that contains an URL with Unicode characters, the Location-Header contains the characters encoded in ISO-8859-1. I have set URIEncoding="UTF-8" in my connector in server.xml, since other links in my webapp use this encoding, so that's

Re: Problems with JAAS-Realm

2007-09-21 Thread David Delbecq
En l'instant précis du 21/09/07 10:09, Franck Borel s'exprimait en ces termes: > > public SecurityConstraint[] findSecurityConstraints(Request request, > Context context) { > > HttpServletRequest req = request;// catch Request > session = req.getSession(); // c

Problems with JAAS-Realm

2007-09-21 Thread Franck Borel
Hi, my problem is a bit complicate and I hope someone has enough courage to find an answer :-). First I try to explain what I want to do: I am running an JAAS-Realm with FORM authentication. As known this can only passes username and credential. Now, I was trying to pass the current IP addres

RE: Why "Net use ..." does not work with WebDAV servlet

2007-09-21 Thread shahab
Thank you for your hints to Slide.Actually slide is to heavy and complex for my purpose and I am still trying to use windows mini redirector with WebDAV servlet but no success. Peter Crowther <[EMAIL PROTECTED]> wrote: > From: shahab [mailto:[EMAIL PROTECTED] > I am trying to develop a simpl

Adding classes to an application run in tomcat

2007-09-21 Thread Roman Agapkin
Hello, My webapplication is running in a tomcat and is normally deployed to the webapps folder. I'm programming some extensions for this application. My classes and xml files are in my eclipse workspace. Question: can I add them to the application without bundling to a jar file? Would be nice

How to setup Client authentication SSL in tomcat

2007-09-21 Thread zhu quanxin
Hi, everyone I setup two tomcat servers. Server 1 is using client authentication, I set the server.xml like this: and I deployed a web service on it. when I visit the service, the server ask me to give out the client certification. That means client authentication worked. Server 2 is not usi

Stephen Morris is out of the office.

2007-09-21 Thread Stephen . Morris
I will be out of the office starting 21/09/2007 and will not return until 01/10/2007. I will respond to your message when I return. National Australia Bank Ltd - ABN 12 004 044 937 This email may contain confidential information. If you are not the intended recipient, please immediately notify

Tomcat crash @ midnight - but why?

2007-09-21 Thread Martin Cavanagh
Hi everyone. Yesterday I started a 2nd Apache Server for my program. It was installed several months ago. Version 5.5.0.23. The server is running on Windows 2003 Server with Java JRE 1.5.0_11 It worked fine with my program for several hours. Then exactly at midnight it crashed. Dienst "