using https for login

2007-03-28 Thread John Pedersen
Hi, I want to protect the admin parts of my app. I have made a security-constraint on my admin folders, and all works fine - calling for any page in admin gets redirected to a login form. However, I'd like the login form to be encrypted. I have been able to get all the admin pages running on ht

Re: Is it possible to have more than one submit button in a JSP file?

2007-03-28 Thread Foo Shyn
Thanx. Regards, FooShyn - Original Message - From: "Teh Noranis Mohd Aris" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 29, 2007 12:21 PM Subject: Re: Is it possible to have more than one submit button in a JSP file? Dear All, Maybe my question is not that

Re: Is it possible to have more than one submit button in a JSP file?

2007-03-28 Thread Hassan Schroeder
On 3/28/07, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: Maybe my question is not that clear. What I mean, is that there are 2 buttons that read data from the server and write data to the server using one textarea. OK, so? It's basic webapp stuff. Is there an actual technical question her

Re: Tomcat HTTPS Help needed

2007-03-28 Thread Mladen Turk
Martin Cavanagh wrote: Hi everyone. I'm quite embarrassed - but inspite following the Apache guide, I just can't set up HTTPS via Tomcat! "C:\>keytool -list -keystore c:\.keystore Geben Sie das Keystore-Passwort ein: Keystore-Typ: JKS Keystore-Provider: SUN The logs don't seem to show

Re: Is it possible to have more than one submit button in a JSP file?

2007-03-28 Thread Teh Noranis Mohd Aris
Dear All, Maybe my question is not that clear. What I mean, is that there are 2 buttons that read data from the server and write data to the server using one textarea. If anyone have the code or come across the code, please e-mail it to me. Thank you. TEH Hassan Schroeder <[EMAIL

Re: Is it possible to have more than one submit button in a JSP file?

2007-03-28 Thread Hassan Schroeder
On 3/28/07, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: I would like my system to have several submit buttons This is a basic HTML question, nothing to do with JSP. Yes, a form in an HTML document can have multiple submit buttons; reading the appropriate recommendation is, uh, recommende

Re: How to verify "crossdomain.xml" in Tomcat

2007-03-28 Thread Mark Thomas
Hitesh Raghav wrote: > Therefore, I need the help rgd "crossdomain.xml" deployment directory > and verification mechanism in Tomcat scenario. It would appear that this is a static file that needs to be deployed in the top level directory of the ROOT web application. Google or search the archives

Is it possible to have more than one submit button in a JSP file?

2007-03-28 Thread Teh Noranis Mohd Aris
Dear All, I hope all of you can still remember me. I had the problem of writing the file content from an applet to a servlet. Now, I'm using JSP and it works. However, from JSP code examples, I always see only one submit button to the server. I would like my system to have several submit

RE: How to verify "crossdomain.xml" in Tomcat

2007-03-28 Thread Hitesh Raghav
Hi Mark, I'm trying to deploy the Flex based app on my Tomcat5 web-server. To allow cross-domain resource access, "crossdomain.xml" file need to be deployed. Pl look into below article for more details: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213 Pl visit to below URL for cr

Re: How to verify "crossdomain.xml" in Tomcat

2007-03-28 Thread Mark Thomas
Hitesh Raghav wrote: > Hi, > > In one of my application, I've to deploy "crossdomain.xml" file in my > Tomcat (i.e. Tomcat 5.x). There is no such file in a Tomcat installation. Maybe it is part of an application you are trying to deploy? Mark ---

How to verify "crossdomain.xml" in Tomcat

2007-03-28 Thread Hitesh Raghav
Hi, In one of my application, I've to deploy "crossdomain.xml" file in my Tomcat (i.e. Tomcat 5.x). Could you please guide me regarding location (i.e. directory) and how to verify the same on my Tomcat web serever. Please let me know in case any other details are needed. Thanks and Regard

Re: Characters prepended to index.jsp

2007-03-28 Thread Rashmi Rubdi
On 3/28/07, orn amental <[EMAIL PROTECTED]> wrote: But how come it shows up in the browser? I don't know. All I know is that even though they *exist* they don't appear on IDEs , but until you get rid of them ( by following one of the above 2 methods or perhaps other methods) , they will conti

Re: Tomcat HTTPS Help needed

2007-03-28 Thread Martin Cavanagh
I sure did - heres a little bit of my server.xml I know the keypass isn't needed - just as soon as it works I want to change it :) Any other ideas? It doesn't seem like it should be that complicated I even tried installing the admin package and installing the connector port via t

Re: Tomcat manager console not appearing

2007-03-28 Thread Martin Gainty
Fabian- in $TOMCAT_HOME/conf/tomcat-users.xml check your username you are using to access the manager has these roles defined roles="admin,manager" M-- --- This e-mail message (including attachments, if any) is intended fo

Re: Tomcat HTTPS Help needed

2007-03-28 Thread Martin Gainty
did you enable SSL on Port 8443 in server.xml??? e.g. Martin-- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain i

Re: Tomcat HTTPS Help needed

2007-03-28 Thread Martin Cavanagh
http://localhost worked before and still works. I also checked the firewall settings. It definitely isn't a problem here - I even tried setting up a different connector http://localhost:8443 (not https) and this worked - so I'm 100% sure its not a firewall issue. Any other ideas? b.t.w. Than

Re: Characters prepended to index.jsp

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Orn, > On 3/27/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: >> These characters  are normally not visible in regular text editors >> like jEdit or Eclipse etc. orn amental wrote: > But how come it shows up in the browser? Probably because your ser

Re: Characters prepended to index.jsp

2007-03-28 Thread orn amental
But how come it shows up in the browser? On 3/27/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: These characters  are normally not visible in regular text editors like jEdit or Eclipse etc. One way to get rid of the characters is to create a new file, press Ctrl A and copy everything from the o

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nelson, Nelson D. guerrero wrote: > On Wed, 2007-03-28 at 17:00 -0400, Christopher Schultz wrote: > >> Assuming that Tomcat is managing your sessions (there aren't too many >> good reasons to manage your own sessions), then Tomcat uses either >> cook

RE: Tomcat HTTPS Help needed

2007-03-28 Thread Zhan, Jimmy
Hi, If you connect to http://localhost while https://localhost:8443, what happen? Make sure http://localhost works first. Jimmy Cash America -Original Message- From: Martin Cavanagh [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 4:23 PM To: Tomcat Users List Subject: Tomca

Tomcat HTTPS Help needed

2007-03-28 Thread Martin Cavanagh
Hi everyone. I'm quite embarrassed - but inspite following the Apache guide, I just can't set up HTTPS via Tomcat! I have Windows 2000 Professional (German). Tomcat 5.5.20. Running Java 1.5. Can anyone here tell me what I'm doing wrong? I tried the keystore in my user directory - but tha

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Nelson D. guerrero
On Wed, 2007-03-28 at 17:00 -0400, Christopher Schultz wrote: > Assuming that Tomcat is managing your sessions (there aren't too many > good reasons to manage your own sessions), then Tomcat uses either > cookies or URL rewriting to maintain sessions between requests. I'm sorry, I'm not following

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Pid
Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nelson, > > Nelson D. guerrero wrote: >>> Are you using cookies or URL-rewriting in order to track sessions? > >> No, the developers are using cookies or URL-rewriting, is this the >> only way that the sessions can

Tomcat manager console not appearing

2007-03-28 Thread Fabian Arocena
Hi All, I have enabled the tomcat manager console in a Solaris box by adding the necessary roles and usernames in /opt/apache-tomcat-5.5.17/conf/ tomcat-users.xml. Everything goes fine when I log in to one of them ( manager console ( by going to this link: https://151.193.178.113/manager/html and

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nelson, Nelson D. guerrero wrote: >> Are you using cookies or URL-rewriting in order to track sessions? > No, the developers are using cookies or URL-rewriting, is this the > only way that the sessions can replicate between them? Assuming that Tomca

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Nelson D. guerrero
On Wed, 2007-03-28 at 16:32 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nelson, > > Nelson D. guerrero wrote: > >> How are you checking to see if the session has changed? Are you looking > >> at request.getSession().getSessionId()? Or are you looking at

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nelson, Nelson D. guerrero wrote: >> How are you checking to see if the session has changed? Are you looking >> at request.getSession().getSessionId()? Or are you looking at some >> particular object in your sessions to see if that has changed? > > I

RE: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread Jayson Enriquez
Thank you for the tip David. I'll give it a shot. Jayson -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:33 PM To: Tomcat Users List Subject: Re: Which Tomcat 5.5.23 file do I download for Windows? The way I've always done a windows ins

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Nelson D. guerrero
On Wed, 2007-03-28 at 16:14 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nelson, > > Nelson D. guerrero wrote: > > I've made a little jsp to show me the current session I'm on, when using > > it on a standalone tomcat server the session never changes, wh

Re: Session Problems Apache httpd -> tomcat

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nelson, Nelson D. guerrero wrote: > I've made a little jsp to show me the current session I'm on, when using > it on a standalone tomcat server the session never changes, when I move > it to an apache httpd server with mod_jk connected to the same tom

Session Problems Apache httpd -> tomcat

2007-03-28 Thread Nelson D. guerrero
Hello everyone, I'm new to the list and I've been using tomcat for quite some time now and have a little question. Any help would be greatly appreciated. I've made a little jsp to show me the current session I'm on, when using it on a standalone tomcat server the session never changes, when I m

Re: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread David Kerber
The way I've always done a windows installation is to install from the .exe file to get my services set up, and then unzip the .zip version right on top of the installation, so I have the extra support files from the zip, without having to manually do the service installation. Jayson Enriquez

RE: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread Jayson Enriquez
Filip and Tim - I will work on this asap. Thank you again for your help. Jayson -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:20 PM To: Tomcat Users List Subject: Re: Which Tomcat 5.5.23 file do I download for Windows? what

Re: Error importing SSL certificate

2007-03-28 Thread Filip Hanik - Dev Lists
I would google it, tons of info out there http://access1.sun.com/techarticles/Keytool.html Reis, Tom wrote: I receive the following error when trying to import a Verisign SSL certificate. Any ideas? keytool error: java.lang.Exception: Failed to establish chain from reply ---

Re: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread Filip Hanik - Dev Lists
what I would do, download the .zip, then run it as a service using the java service wrapper http://people.apache.org/~fhanik/wrapper.html best of both worlds Filip Tim Lucia wrote: Well then, you aren't downloading the correct file. You need the zip which contains Catalina.bat. Tim -

Re: increase the backend idle connection timeout or the connection_pool_minsize

2007-03-28 Thread Babu Satasiya
Hi, I think in mod_jk 1.2.20 these old parameters changed with new parameter names, these old paramter does not take effect into your mod_jk. Please change them with new name. Please refer URL for more details changes in new mod_jk: http://tomcat.apache.org/connectors-doc/reference/printer/wor

Re: Tomcat 6.0.10 hangs on startup when APR enabled

2007-03-28 Thread Mladen Turk
Stefan Armbruster wrote: Hi, Tomcat hangs on startup when I try to enable the APR native library. After setting java.library.path to /usr/local/apr/lib/, catalina.out gets just these two lines: You will need apr 1.2.x The generic path for that looks like /usr/local/apr-1/lib The /usr/loca

Re: Is it possible somehow for Tomcat to serve ASP.NET pages?

2007-03-28 Thread org
Easy to simulate, Add Thread.Sleep(1) and then print a blue screen ha ha, dont shoot me, just kidding. No, I dont think it will ever happen, I think the problem will always be that programmers on .NET dig into the win32 system too much and use add-on stuff like MS transaction servers

RE: Error importing SSL certificate

2007-03-28 Thread Reis, Tom
Keytool -import -alias tomcat -trustcacerts -file c:\tomcat50\cert.cer -keystore c:\tomcat50\.keystore -Original Message- From: Jean-Sebastien Pilon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:42 PM To: Tomcat Users List Subject: RE: Error importing SSL certificate Wha

RE: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread Tim Lucia
Well then, you aren't downloading the correct file. You need the zip which contains Catalina.bat. Tim > -Original Message- > From: Jayson Enriquez [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 28, 2007 1:08 PM > To: Tomcat Users List > Subject: RE: Which Tomcat 5.5.23 file do I down

Re: Tomcat 6.0.10 hangs on startup when APR enabled

2007-03-28 Thread Filip Hanik - Dev Lists
do a thread dump that is "kill -3 " will spit out the state of the server to system.out (your log files) and we can take it from there Filip Stefan Armbruster wrote: Hi, Tomcat hangs on startup when I try to enable the APR native library. After setting java.library.path to /usr/local/apr/l

RE: Error importing SSL certificate

2007-03-28 Thread Jean-Sebastien Pilon
What is the command you are using to import the certificate ? > -Original Message- > From: Reis, Tom [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 28, 2007 1:36 PM > To: users@tomcat.apache.org > Subject: Error importing SSL certificate > > I receive the following error when t

Tomcat Web Service Redirecting

2007-03-28 Thread uefa_celt
Hi all, hope someone can help me, or advise of best course of action :I have a web service which is now broken and has been rewritten - e.g.:http://localhost:8080/BrokenWebServicehttp://localhost:8080/BrokenWebService/?WSDLThis web service has been rewritten using Axis and deployed on the same ser

Error importing SSL certificate

2007-03-28 Thread Reis, Tom
I receive the following error when trying to import a Verisign SSL certificate. Any ideas? keytool error: java.lang.Exception: Failed to establish chain from reply

Re: A second administration port

2007-03-28 Thread org
Here you go found some docs can check all settings 4 ure self 2. Configuring the Manager Web Application The Manager web application lets you perform simple management tasks on your web applications through a more simplified web user interface than that of the Admin web app. The

RE: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread Tim Lucia
If you run Tomcat as a service on Windows, then you have what you need -- no reason to have Catalina.bat. Tim > -Original Message- > From: Jayson Enriquez [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 28, 2007 10:18 AM > To: users@tomcat.apache.org > Subject: Which Tomcat 5.5.23 file

Re: A second administration port

2007-03-28 Thread org
Actually I'm wrong, its the Admin option that I think must be installed, so it should work anyway. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, March 27, 2007 8:59 AM Subject: A second administration port Tomcat : 5.5.20 Java : BEA JRockit 1.5.0_08 Hello, I

Re: A second administration port

2007-03-28 Thread org
Hi jean Should work... You made something like this... minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="2" disableUploadTimeout="true" /> And http://localhost:/ will work just the same??? I'm probably mi

RE: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread Jayson Enriquez
Tim - Thank you for replying. We currently run Documentum (Webtop) utilizing catalina.bat on Tomcat 5.0.28. When installing webtop, it errors out and says "cannot find file catalina.bat or its path (which should be C:\Program Files\Apache Software Foundation\Tomcat5.5\bin" I was hoping that someone

Re: send access log to remote server

2007-03-28 Thread Martin Strand
That sounds interesting, could you share the code? :) Martin On Wed, 28 Mar 2007 18:09:36 +0200, Brantley Hobbs <[EMAIL PROTECTED]> wrote: Martin, I have a filter that logs to a database table. It could easily be modified to make log4j entries, which can then be tied to any valid log4j a

Re: send access log to remote server

2007-03-28 Thread Brantley Hobbs
Martin, I have a filter that logs to a database table. It could easily be modified to make log4j entries, which can then be tied to any valid log4j appender. B. Martin Strand wrote: Hi all. :) I want to make Tomcat send it's access log to a remote server (log4j or syslog). Configuring all

Re: Configuring PoolMan for MySQL

2007-03-28 Thread Rashmi Rubdi
Are you referring to Connection Pooling: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html ? -Rashmi On 3/28/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote: Hi All I am wondering what is the steps to configure poolman to run with MYSQL Database over tomcat Apache? Rega

memory usage

2007-03-28 Thread samanth marisetty
Hi, I have configured the jvmoptions to have a higher perm size -XX:MaxPermSize=128m in the service.bat file and it is reflected in the tomcat6w.exe list of jvmoptions. Now I want to know if there is a way to know if tomcat is actually using rather set to specified amout of perm space? Can some

RE: Replacing tomcat-users.xml

2007-03-28 Thread Warren Lewis
Take a look at this HOWTO. It describes how to configure security/realms to fit your needs: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html cheers - Warren -Original Message- From: Jean-Sebastien Pilon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:08 AM To: To

Re: send access log to remote server

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Strand wrote: > Hi all. :) > I want to make Tomcat send it's access log to a remote server (log4j or > syslog). > Configuring all other logging with log4j is pretty simple but it seems I > can't do the same with the AccessLogValve. Do I

Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread Jayson Enriquez
Good morning! I am currently on 5.0.28. We are looking into 5.5.23 on Windows 2000. I downloaded and installed the Core 'Windows Service Installer' but was missing the Catalina.bat file. I want to make sure that I am downloading the correct file. Please assist. Thank you _

send access log to remote server

2007-03-28 Thread Martin Strand
Hi all. :) I want to make Tomcat send it's access log to a remote server (log4j or syslog). Configuring all other logging with log4j is pretty simple but it seems I can't do the same with the AccessLogValve. Do I need to write my own Valve in order to do that? Perhaps someone else has alread

Re: Paths in CSS files

2007-03-28 Thread Rashmi Rubdi
I'm glad that you have a solution and I too agree that it is better to keep the .css extension on a css file, since other components may depend on it. But I just wanted to let you know that if you decide to refactor the project at a later date, and if you move the css file up or down at least one

Tomcat 6.0.10 hangs on startup when APR enabled

2007-03-28 Thread Stefan Armbruster
Hi, Tomcat hangs on startup when I try to enable the APR native library. After setting java.library.path to /usr/local/apr/lib/, catalina.out gets just these two lines: 28.03.2007 16:14:00 org.apache.catalina.core.AprLifecycleListener init INFO: Loaded Apache Tomcat Native library 1.1.8. ... an

Re: Basic Auth without web.xml not working

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, > I was hoping that for what you need it would be possible to piggyback on > that simple framework, even if it meant parsing the tomcat-users.xml to > gray menu's, but it seems you have to work outside of that frame-work. Parsing tomcat-users

Re: Basic Auth without web.xml not working

2007-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anthony, Berglas, Anthony wrote: > Thanks for the reply. > > The underlying issue is that when Role R is required for Page P then > *TWO* things need to happen depending on whether the user is in role R. > These are > > 1. Allow or block access to p

Re: request hangs

2007-03-28 Thread Chris Eldredge
Well, as I've stated I'm not aware of any resource contention. The UDP socket is being used in a daemon thread that is executing asynchronously with the standard Tomcat request processing threads and I don't see any blocks waiting for monitors etc. Even worse, I tried removing tc-native from

RE: Paths in CSS files

2007-03-28 Thread Mike Quilleash
Thanks for all the replies. I will stick with the relative paths for now as that seems simplest. I also agree about keeping the css files "clean". I would prefer not to use the JSP workaround for inserting the context path. I will look into the virtual hosts tho to see if it might be useful in

RE: Sharing compiled JSPs

2007-03-28 Thread Steve Vangasse
Sounds like one time pre-compilation is achievable. Thanks for the tips. On the perm gen saving issue, all shared jars and classes are under the shared class loader already (shared/lib). I see what you're saying about possible problems with the common class loader, but would it be possible to mo

Re: Sharing compiled JSPs

2007-03-28 Thread David Delbecq
En l'instant précis du 28/03/07 00:14, Steve Vangasse s'exprimait en ces termes: > My application has a large number of contexts under virtual hosts that > use the same set of webapps. At present, all the JSPs are compiled to a > different scratch directory under tomcat/work for each context. Is it

Re: Basic Auth without web.xml not working

2007-03-28 Thread David Delbecq
En l'instant précis du 27/03/07 02:22, Berglas, Anthony s'exprimait en ces termes: > Tomcat seems to only check the Authorization: headers if there is some > explicitly declared in web.xml. However, it > appears that the optimization has been incorrectly implemented because > it does not then re

Re: Basic Auth without web.xml not working

2007-03-28 Thread org
Ha ha... sounds like you looking for a magic function, which reminds me of my first computer program... got to tell you :) A million years ago in my 1st year I was walking past the varsity main frame, I'd heard all sorts of things about this amazing beast... so I walked in, watched someone usi

Configuring PoolMan for MySQL

2007-03-28 Thread Mohammed Zabin
Hi All I am wondering what is the steps to configure poolman to run with MYSQL Database over tomcat Apache? Regards

Re: FileUpload to different machine

2007-03-28 Thread org
A long time now since I played with Debian, but if I remember correctly just make your java program be able to write to a linux folder /etc/whatever, then get SAMBA, it allows you to map linux drives to windows and visa versa, then you will simply map a windows share to a lnked drive on linux, y