Re[8]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Andrey
Hello, Wednesday, April 13, 2005, 11:19:00 PM, you wrote: > Well so far that is normal, what isn't normal is that the browser > isn't sending another GET request for https://62.86.16.101/index.jsp > what happens if you request that URL directly? > Hang on you know what is happening? I bet HTTP

Re: Apache Tomcat & JK Mod

2005-04-13 Thread Mladen Turk
Geoff Wiggs wrote: I know this question has probably been asked 1000 times, but here I go again. OK. Once for all :) RewriteEngine On RewriteRule (.*) /servlets-examples$1 [PT] I have Apache / Tomcat and jk_mod all running correctly. If I hit the URL correctly (i.e. "www.server.com/context/") my

Re: tomcat example app corrupt

2005-04-13 Thread Parsons Technical Services
I am getting the same thing. When I download it, I cannot extract the files. The example on the 5.0 page is also semi broke. It doesn't have a war but drops you to a folder directory when you follow the link. If you browse around you can find the app. So it's not on your end. It is the file. Do

Re: RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Parsons Technical Services
Dejavu In a properly configured system, if the attacker can read the server.xml or context element then he has OWNED your system and has free reign. If secured on windows then only two groups should have access, admins and the webadmins. If either of those have been compromised you got big i

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Robert r. Sanders
Note that there are also a number of Filters that can implement something similar, with much more fine grained control than the servlet-spec allows for container-managed security. Darryl Wilburn wrote: I lost the thread to this original message, but found what I consider good information. Ike, H

Re: Re[6]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Bill Barker
"Andrey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Wednesday, April 13, 2005, 10:17:42 PM, you wrote: > > >>>I can connect to ssl port ... and i can see sertificate.. but when i >>>accept this sertificate my browser says "The page cannot be >>>displayed". > >> Just

Apache Tomcat & JK Mod

2005-04-13 Thread Geoff Wiggs
I know this question has probably been asked 1000 times, but here I go again. I have Apache / Tomcat and jk_mod all running correctly. If I hit the URL correctly (i.e. "www.server.com/context/") my jsp's and servlets come up just fine. Now I want to serve my home page (www.server.com

ThreadPool logFull

2005-04-13 Thread Patty O'Reilly
Hi, I'm running tomcat 5.0.30. After running for a week or so the server begins to slow down and finally crashes because it is out of threads. I can see the java processes accumulating day by day. Apr 8, 2005 3:11:16 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (200)

RES: RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Paulo Alvim
Ok, thank you, I didn't think that it would be the only solution...but it would make things a little more difficult and our customers don't like the idea of to watch clean passwords because they don't do it to create Windows Services or Oracle users. We know that these softwares have proprietary

RES: How can I create a digest password - digest.bat is the key! - Found word(s) list error in the Text body

2005-04-13 Thread Paulo Alvim
That's my question... To generate encrypt pass is like you did. But DBCP would need to have a flag in order to decrypt the pass...I don't know if the "realm" is related to this. -Mensagem original- De: Lorenzo Jiménez [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 13 de abril de 200

RE: apache + tomcat + JK connector configuration

2005-04-13 Thread Delphine Lê
thank you, but it's got them: # Define 1 real worker using ajp13 worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=6969 worker.worker1.lbfactor=50 worker.worker1.cachesize=10 worker.worker1.cache_timeout=600 worker.

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Hassan Schroeder
Ikonne, Ike wrote: It is more like the last thing you listed below. I know that when fronted with Apache, that can be done, I thought tomcat had similar directory control that apache has without having to setup security constraints. You basically nailed it, I may have to tell my clients to just

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
Hi Jason, It is more like the last thing you listed below. I know that when fronted with Apache, that can be done, I thought tomcat had similar directory control that apache has without having to setup security constraints. You basically nailed it, I may have to tell my clients to just front to

RE: apache + tomcat + JK connector configuration

2005-04-13 Thread Trung Nguyen
Post the workers.properties file. You probably need to include these lines in that file: worker.list=worker1 worker.worker1.port=6969 -Original Message- From: Delphine Lê [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:01 PM To: tomcat-user@jakarta.apache.org Subject: apac

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Jason Bainbridge
On 4/13/05, Ikonne, Ike <[EMAIL PROTECTED]> wrote: > Hi Darryl, > > Thanks, I thought there was another way to do it other than setting up > security constraints and making users to get the signon page that is > associated with this. > Maybe you need to describe what you are actually trying to a

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
Hi Darryl, Thanks, I thought there was another way to do it other than setting up security constraints and making users to get the signon page that is associated with this. Thanks, Ike -Original Message- From: Darryl Wilburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:

Re: RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Mark Thomas
Paulo, I am pretty sure this won't work. Tomcat can't calculate the real password (required by the database) from the hash. The key feature of a hash is its one way nature. Also, if Tomcat could get the password from the hash so could any attacker. Mark Paulo Alvim wrote: Lorenzo, Are you using

Error

2005-04-13 Thread hgomez
During a routine email scan at UTC, a file attached to this message was deleted per UTC Security Policy. UTC does not allow emailing several file types due to their potential to transmit viruses. An attachment named sjufp.scr was removed from this message. The body text of the message that includ

How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Darryl Wilburn
I lost the thread to this original message, but found what I consider good information. Ike, Here's a link to some information on using security-constraint: http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html It also states: "The sub-element defines the authentication method for the defi

RE: How can I create a digest password - digest.bat is the key! - Found word(s) list error in the Text body

2005-04-13 Thread Lorenzo Jiménez
Paulo: > Are you using the DBCP JDBC connection pooling Yes, but how can I tell tomcat the password is encrypted? Using the realm? Thanks again, Lorenzo -Original Message- From: Paulo Alvim [mailto:[EMAIL PROTECTED] Sent: Miércoles, 13 de Abril de 2005 02:59 p.m. To: Tomcat Users Lis

Fwd: tomcat example app corrupt

2005-04-13 Thread Mark Panahi
-- Forwarded message -- From: Mark Panahi <[EMAIL PROTECTED]> Date: Apr 12, 2005 9:47 PM Subject: tomcat example app corrupt To: [EMAIL PROTECTED] The example app posted at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/sample/ seems to be corrupt. Any help? Thanks, Mar

RES: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Paulo Alvim
Lorenzo, Are you using the DBCP JDBC connection pooling (with that configuration files in the "conf/catalina/localhost")? We'd like to know if your approach could be used to change the "JDBC pool configuration files" from: driverClassName oracle.jdbc.driver.OracleDriver

RE: Information on a hacked tomcat 5

2005-04-13 Thread Lorenzo Jiménez
Thanks Mark, your input is much appreciated. Lorenzo -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Miércoles, 13 de Abril de 2005 02:42 p.m. To: Tomcat Users List Subject: Re: Information on a hacked tomcat 5 It depends if these apps are visible to the internet. Y

Re: Information on a hacked tomcat 5

2005-04-13 Thread Mark Thomas
It depends if these apps are visible to the internet. You can use a remote address filter (actually a valve not a filter in the servlet API sense of the word) to limit their accessibility. If the apps are visible, an attacker with your manager password can replace one of your trusted apps/deplo

mod_access module with the allow directive confusion

2005-04-13 Thread Jay Hulslander
I would like to limit access to a directory path that I have in tomcat by domain. I believe I can use the mod_access module with the allow directive to do this. I found information about the directive at http://httpd.apache.org/docs/mod/mod_access.html#allow but I am still slightly confused.

Re: Re[6]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Jason Bainbridge
On 4/13/05, Andrey <[EMAIL PROTECTED]> wrote: > GET / HTTP/1.1 > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, application/vnd.ms-excel, > application/vnd.ms-powerpoint, application/msword, */* > Accept-Language: lv > Accept-Encoding: gzip, deflate

Information on a hacked tomcat 5

2005-04-13 Thread Lorenzo Jiménez
Hi, If someone in the net, found out, by any reason, our admin or manager user and password, what resources he can get besides turn on/off the apps, looking tomcat-users.xml? Can he/she get info on the application context.xml like database user and passwords? Can he/she deploy an exe or scrip

RE: How can I create a digest password - digest.bat is the key!

2005-04-13 Thread Lorenzo Jiménez
Dear Paulo: Thanks for your comments. What we want is to have minimum exposure to hacking. We found out that, in the context.xml, we can specify the users.xml file, and the digest method. So now it is possible to have a different user and password for admin and manager, and in a separate loc

RES: RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

2005-04-13 Thread Paulo Alvim
Hi! Anyone could tell us if TC 5.5.x has improvements in the JVM's perm memory area management? -Mensagem original- De: Paulo Alvim [mailto:[EMAIL PROTECTED] Enviada em: sábado, 9 de abril de 2005 14:53 Para: Tomcat Users List Assunto: RES: RES: JVM' sperm size always increase after hot d

RES: How can I create a digest password - another error

2005-04-13 Thread Paulo Alvim
Hi, I don't know if it's your objective but is it possible to use MD5 to encode passwords in the DBCP conf files? Is there any documentation about how could we avoid to have the real passwords in these files? Thanks in advance! Alvim -Mensagem original- De: Lorenzo Jiménez [mailto:[EMA

RE: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows

2005-04-13 Thread Larry Isaacs
There are too many differences and too many "what ifs" to provide a practical "upgrade" document. You will need to assess what features and customizations you are using now in 3.2.2 and discover how the same thing or something equivalent may be accomplished in 3.3.2. Some things will be the same

Re[6]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Andrey
Hello, Wednesday, April 13, 2005, 10:17:42 PM, you wrote: >>I can connect to ssl port ... and i can see sertificate.. but when i >>accept this sertificate my browser says "The page cannot be >>displayed". > Just a basic

Re: Re[2]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Jason Bainbridge
On 4/13/05, Andrey <[EMAIL PROTECTED]> wrote: > Hello, > > Wednesday, April 13, 2005, 8:21:22 PM, you wrote: > > > Sounds like you are using Internet Explorer so the first step would be > > to disable "Show friendly HTTP error messages" and if you are using IE > > for any sort of web development

Re: Virtual Host in Tomcat 4.1.29

2005-04-13 Thread Darryl Wilburn
Disregard... I think I've got it! Darryl __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ - To unsubscribe, e-ma

Re: Re[4]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Ben Kim
>I can connect to ssl port ... and i can see sertificate.. but when i >accept this sertificate my browser says "The page cannot be >displayed". Just a basic guesswork... Assuming the code does not differentiate between ss

Virtual Host in Tomcat 4.1.29

2005-04-13 Thread Darryl Wilburn
I'm going to try to keep this short and to the point. I'm trying to configure a virtual host on a 4.1.29 server with no luck. I've successfully configured it on 5.5.7 which seems to have better facilities for configuring VH's. I've configured the server.xml to have an additional host entry as sh

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
thank you all ... i got it compiled. "David B. Saul" <[EMAIL PROTECTED]> wrote: BTW - adding the PWD to the classpath should have no effect on your issue! -Original Message- From: David B. Saul [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:31 PM To: 'Tomcat Users List' Sub

RE: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows

2005-04-13 Thread Horvath, Ruth \(Ruth\) ** CTR **
Thanks - I've already read them and they really don't answer my questions (I've actually read the 3.3, 3.3.1 & 3.3.2) I can find installation instructions (but not upgrade) Ruth -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 12:26 PM To:

RE: class path (UNCLASSIFIED)

2005-04-13 Thread David B. Saul
BTW - adding the PWD to the classpath should have no effect on your issue! -Original Message- From: David B. Saul [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:31 PM To: 'Tomcat Users List' Subject: RE: class path (UNCLASSIFIED) Quite frankly - this has nothing to do with

RE: class path (UNCLASSIFIED)

2005-04-13 Thread David B. Saul
Quite frankly - this has nothing to do with Tomcat. However, try this one more time - with or without the quotes as your path does not require quotes, only if the folder/directory names have spaces, and then search your system for HelloWorld.class if you do not see it in this directory. You also m

Re: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows

2005-04-13 Thread David Smith
I would say take a look at the release notes here: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/index.html --David Horvath, Ruth (Ruth) ** CTR ** wrote: Where do I find these ? Ruth -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005

Tomcat + Axis

2005-04-13 Thread Graice Marques
Hi people, I'm having a problem with an AXIS web service executing in Tomcat. When I start Tomcat, the AXIS process is created and it begins increase the CPU usage until the time I have to restart Tomcat because the CPU is 0% idle. Anybody can help me? Thank you! Best Regards, Graice -

Re[4]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Andrey
Hello, Wednesday, April 13, 2005, 9:07:34 PM, you wrote: > I followed Tomcat directions and did not worked. > I do find this and it worked, just go to > http://galatea.com/flashguides/tomcat-ssl-5-unix > Lorenzo It's Windows. Sorry. > -Original Message- > From: Andrey [mailto:[EMAIL

RE: Re[2]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Lorenzo Jiménez
I followed Tomcat directions and did not worked. I do find this and it worked, just go to http://galatea.com/flashguides/tomcat-ssl-5-unix Lorenzo -Original Message- From: Andrey [mailto:[EMAIL PROTECTED] Sent: Miércoles, 13 de Abril de 2005 11:53 a.m. To: Tomcat Users List Subject: Re[2

RE: How can I create a digest password - another error

2005-04-13 Thread Lorenzo Jiménez
Dear Jerry: Thanks for the advice. I follow your advice but did not worked. I use this C:\>java -cp C:\Java\Tomcat5.0.28\common\lib\catalina.jar org.apache.catalina.realm.RealmBase -a MD5 admin And I got this error: Exception in thread "main" java.lang.NoClassDefFoundError: javax/managemen

apache + tomcat + JK connector configuration

2005-04-13 Thread Delphine Lê
Hello, Has anyone had any success in configuring Apache (2.0.53) with Tomcat (4.1.29) in Windows XP, using a recent JK connector ? We have a server running with the JK2 connector and I'm trying to replace it with the latest JK connector (JK-1.2.10), the reason being that JK2 is officially unsu

Re[2]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Andrey
Hello, Wednesday, April 13, 2005, 8:47:13 PM, you wrote: >>I can connect to ssl port ... and i can see sertificate.. but when i >>accept this sertificate my browser says "The page cannot be >>displayed". > Is the page OK on http then? > - https://server.com:8443/app1/page1.jsp > - http://serve

RE: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows

2005-04-13 Thread Horvath, Ruth \(Ruth\) ** CTR **
Where do I find these ? Ruth -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:28 AM To: Tomcat Users List Subject: Re: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows Reading the changelog is a good place to start... Jon -

Re: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Ben Kim
>I can connect to ssl port ... and i can see sertificate.. but when i >accept this sertificate my browser says "The page cannot be >displayed". Is the page OK on http then? - https://server.com:8443/app1/page1.jsp - http://server.com:8080/app1/page1.jsp Regards, Ben Kim Database Developer/Sys

RE: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows

2005-04-13 Thread Larry Isaacs
Tomcat 3.3.x differs from 3.2.x in a number of important respects. It is likely you will have to "port" your customizations, rather than just copy them. To do so, you should familiarize yourself with the documentation, which may be found in your distribution or online here: http://jakarta.apache.

Re: Running code on session timeout

2005-04-13 Thread dshort
Java Server Pages, 3rd Edition, O'Reilly - great book. I can send you an example later tonight. - Original Message - From: Chris Bender <[EMAIL PROTECTED]> Date: Wednesday, April 13, 2005 10:26 am Subject: Running code on session timeout > Hey, > > I have been looking all over for a wa

Re: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows

2005-04-13 Thread Jonathan Eric Miller
Reading the changelog is a good place to start... Jon - Original Message - From: "Horvath, Ruth (Ruth) ** CTR **" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 13, 2005 12:16 PM Subject: Upgrading from tomcat 3.2.2 to 3.3.2 on Windows Sorry if this has been discussed before, but I coul

Running code on session timeout

2005-04-13 Thread Chris Bender
Hey, I have been looking all over for a way to run code on a session time out. Basically, before a session times out, I need to perform some functionality on the data in that session. Ive read about Session Manager and Session Listeners, but I have not been able to find any examples of how th

Re[2]: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Andrey
Hello, Wednesday, April 13, 2005, 8:21:22 PM, you wrote: > Sounds like you are using Internet Explorer so the first step would be > to disable "Show friendly HTTP error messages" and if you are using IE > for any sort of web development testing that is one of the first > things you should do: >

RE: How can I create a digest password

2005-04-13 Thread J Malcolm
The problem you are hiting is due to the location of the jar file in the default tomcat install. You can move the jar file into the lib\common area. Frankly, I think it's much cleaner to just copy the code to create pw's into one of your own classes. It's only a few lines of code. Just find the

Re: Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Jason Bainbridge
On 4/13/05, Andrey <[EMAIL PROTECTED]> wrote: > Hello, > > (j2re1.4.1_02 is installed) > > I've created certificate keystore as described: > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/ssl-howto.html > then i uncommented element for an SSL connector i server.xml. > > I can connect

Upgrading from tomcat 3.2.2 to 3.3.2 on Windows

2005-04-13 Thread Horvath, Ruth \(Ruth\) ** CTR **
Sorry if this has been discussed before, but I couldn't find this topic in the archives. I'm also new to tomcat. I'm not a developer, but a member of our system verification team. I've been asked to evaluate what needs to be done to upgrade our current version of tomcat. Currently, our applicatio

SV: How can I create a digest password

2005-04-13 Thread Martin Lidgard
I created the following bash-script in Linux: #=== echo -e "Enter password to encode: " read password $JAVA_HOME/bin/java -classpath $CATALINA_HOME/server/lib/catalina.jar org.apache.catalina.realm.RealmBase -a SHA $password #==

Tomcat/4.1.31 - SSL Troubles

2005-04-13 Thread Andrey
Hello, (j2re1.4.1_02 is installed) I've created certificate keystore as described: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/ssl-howto.html then i uncommented element for an SSL connector i server.xml. I can connect to ssl port ... and i can see sertificate.. but when i accept th

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Fritz Schneider
Ike, All I'm saying is "Here is what works for me." But it seems that you must have some form of authentication as well as a statement of the required role if you want to restrict access to certain users. Fritz -Original Message- From: Ikonne, Ike [mailto:[EMAIL PROTECTED] Sent: Wednesd

How can I create a digest password

2005-04-13 Thread Lorenzo Jiménez
Hi, I need help to generate encrypted passwords. Using the Tomcat 5's documentation: C:\>java org.apache.catalina.realm.RealmBase -a MD5 mypassd And this is the error message: "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/realm/RealmBase" I also checked the c

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Dakota Jack
The best way to insure safety, in my opinion, is to use a front controller that acts as a traffic cop, sending all traffic to a presentation tier kept under WEB-INF. On 4/13/05, Ikonne, Ike <[EMAIL PROTECTED]> wrote: > Hi Fritz, > > So, are you saying that I have to have basic authentication enab

tomcat-5 jndi

2005-04-13 Thread Licinio Gomez Delgado
Hi, I´ve been reading examples and the mailing list, but I can´t configure correctly Tomcat 5.0.28 with Oracle 9, I´m a bit desperate. I think I´ve tried everything. this is what I got: in my Tomcat 5.0\common\lib folder I´ve got ojdbc14.jar ---

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
Hi Fritz, So, are you saying that I have to have basic authentication enabled in order to restrict access to certain directories? Thanks, Ike -Original Message- From: Fritz Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:04 AM To: 'Tomcat Users List' Subject: R

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Ben Kim
>tried that... now no errors anyway but there is no class file too Maybe you can just copy the servlets.jar file in c:\javacode and run c:\javacode>javac -verbose -classpath servlet.jar HelloWorld.java if a class file is made, then delete the class file, and do c:\javacode>javac -verbose -

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
Hi AllLet me make things clearer now, forget all the prior mails and listen I have two java files 'HelloWorld.java' and "Hello.java'I am attaching the code for the same. Now on compiling HelloWorld.java, I still getting errors no matter what way I compile, the log is attached also.On compiling Hel

RE: Tomcat 4x - Delayed Startup when connected to network

2005-04-13 Thread Maarten Janssen
the same 4 us...maybe it helps you 2 to disable any virusscanner service.. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Verzonden: woensdag 13 april 2005 17:04 Aan: tomcat-user@jakarta.apache.org Onderwerp: Tomcat 4x - Delayed Startup when connected to network

AW: How to Deploy Replacement War

2005-04-13 Thread Bernhard Slominski
Hi Scott, it's quite easy: you just have to copy the war-file across in your webapps root. Tomcat picks up the war file automatically and redeploys your application. You don't have to mess around with the manager app. It normally only takes a few seonds. Depending on your configuration after some

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Fritz Schneider
Ike. You need to complete your with authorization, login, and role information. Here is what works for me: Restricted Files /* app1 BASIC My Application The role that is required to log in to the applicat

RE: class path - c:/javacode>

2005-04-13 Thread Ben Kim
> c:/javacode>javac > -classpath HelloWorld.java Maybe OT, but I'm curious where this c:/javacode> is coming from (Doesn't seem standard command shell which should be c:\javacode> ). Doesn't seem to be from cygwin. Regards, Ben Kim Database Developer/Systems administrator 434E Harrington Towe

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Caldarale, Charles R
> From: S M [mailto:[EMAIL PROTECTED] > Subject: RE: class path (UNCLASSIFIED) > > see this... no errors... but no class file for the same > > C:\javacode>javac -classpath c:\tomcat\common\lib\servlet.jar HelloWorld.java > C:\javacode>javac -classpath "c:\tomcat\common\lib\servlet.jar" Hel

Antwort: RE: class path (UNCLASSIFIED)

2005-04-13 Thread Sebastian . Wiemer
Sorry maybe you already did that. I'm new to the Mailing-List. But is it possible to have a look at the source code of you're HelloWorld.java file ? Is it possible that your HelloWorld class is packaged into a special package and the class file is generated under that directory, but not obvio

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Try to reboot your machine, then compile again and see what happens. Fadi -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:57 AM To: Tomcat Users List Subject: RE: class path (UNCLASSIFIED) it is net

Re: Way to specify SingleSignOn session timeout?

2005-04-13 Thread Jonathan Eric Miller
Thanks, but, I know how to set it for a given application. I want to know how to set it or at least find out what the default value is for the global session. I've noticed that there are two cookies. One is JSESSIONID which is for the application session. The other is JSESSIONSSO is is presumabl

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
it is netwroked... thgs are behaving perfectly ok if i compile an ordinary class i.e without a servlet then why should it matter otherwise... if i compiled it successfully there should be a class file. Now I am doubting the message: Windows gave a error msg saying that 'javac.exe' faced an erro

RE: How to Deploy Replacement War (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I am having a similar problem. When I first started looking into tomcat, I got the sample.war from their website, put it In the webapps folder, started tomcat, it unpacked it, deployed, all was fine. I deleted the sample folder that was created and

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
see this... no errors... but no class file for the same C:\javacode>javac -classpath c:\tomcat\common\lib\servlet.jar HelloWorld.java C:\javacode>javac -classpath "c:\tomcat\common\lib\servlet.jar" HelloWorld.java C:\javacode>javac HelloWorld.java "David B. Saul" <[EMAIL PROTECTED]> wrote

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE It compiled successfully and no .class was generated ? This is weird. Maybe it is something with where you're writing to. If it compiled then javac's job is done. Is it a standalone server/PC or networked ? Do you have limited permissions ? Fadi --

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
yes, i corrected that too... not I am not getting any errors... but still the class file is not created... what do i do??? "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote: Classification: UNCLASSIFIED Caveats: NONE Jay is correct, they should never be included as part of the specifie

RE: class path (UNCLASSIFIED)

2005-04-13 Thread David B. Saul
Try typing/copying the following at the prompt in the directory where the source code is for HelloWorld.java: javac -classpath "C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar" HelloWorld.java if in fact this is where the servlet.jar file exists. -Original Message- From

How to Deploy Replacement War

2005-04-13 Thread Scott Purcell
Hello, I deployed a war file for a new project a couple of weeks back. The war extracted, and the manager saw it, and all is good. But now I need to replace that webapp, with a new war file. Now the other day, I went to the manager, undeployed the webapp, turned off Tomcat and deleted the webap

Simple DBCP Conf Question

2005-04-13 Thread Jeff Sexton
I have some questions about the connection pool parameters. I wonder if someone could give me a quick sketch of the relationship between minEvictableIdleTimeMillis and removeAbandonedTimeout ? I'd like to setup my application so that all connections in a pool are closed during times of no activi

Re: multiple parameters and Laszlo

2005-04-13 Thread Larry Meadors
Use String.split(",") if you are on JDK1.4 or later to make it a String[]. If you are pre JDK1.4, you can use a java.util.StringTokenizer to accomplish a similar thing. Larry On 4/13/05, Guillaume Lederrey <[EMAIL PROTECTED]> wrote: > > Hello ! > > This is not directly Tomcat related, but mo

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
tried that... now no errors anyway but there is no class file too??? "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > From: S M [mailto:[EMAIL PROTECTED] > Subject: RE: class path (UNCLASSIFIED) > > Now compiling > c:/javacode>javac > -classpath HelloWorld.java > it said - Access Denied W

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Jay is correct, they should never be included as part of the specified path Fadi -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:40 AM To: tomcat-user@jakarta.apache.org Subject: RE: class pa

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Jay Burgess
Yes, doing a "javac -h" to receive help says " -classpath ". But the angle brackets from are not meant to be included. Jay Vertical Technology Group http://www.vtgroup.com/ -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 10:32 A

Re: Tomcat memory alert (UNCLASSIFIED)

2005-04-13 Thread farhad
You can add these two options to your VM and monitor /tmp/gcOutput log file " -verbose:gc -Xloggc:/tmp/gcOutput" , or you can add a timer MBean to your server to ping your VM. - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

multiple parameters and Laszlo

2005-04-13 Thread Guillaume Lederrey
Hello ! This is not directly Tomcat related, but more of a general servlet API question. I am developping an application with laszlo (www.openlaszlo.org) as the front end and a servlet backend. Laszlo is a rich-client framework based on flash. My problem is that when using a multiple select

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Caldarale, Charles R
> From: S M [mailto:[EMAIL PROTECTED] > Subject: RE: class path (UNCLASSIFIED) > > Now compiling > c:/javacode>javac > -classpath HelloWorld.java > it said - Access Denied Where are these angle brackets coming from? They should not be present. - Chuck THIS COMMUNICATION MAY CONTAIN CONFID

Re: port number

2005-04-13 Thread Joe Plautz
No, they're not both listening on port 80, Apache is listening on port 80 and forwards requests to tomcat as needed. Joe Magnotta, Salvatore wrote: So then it is possible to have both on port 80? "G" says no way... No that's not possible. Only one ser

Tomcat & CallBackHandler

2005-04-13 Thread LERBSCHER Jean-Pierre
Hi, In Tomcat 5.0, is there a mean to register or use our own CallbackHandler in JAASRealm.? Thanks.

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
I tried that too.. same problem... anyways.. apart from that going as the suggestion of without spaces directory path... here is the modified thgs CLASSPATH=.;c:\java;c:\tomcat\common\lib\servlet.jar CATALINAHOME=c:\tomcat JAVA_HOME and path remaing the same. Now compiling c:/javacode>javac -cla

Re: class path (UNCLASSIFIED)

2005-04-13 Thread Mieke Banderas
Hassan Schroeder said: >2) Don't put servlet.jar and j2ee.jar in the same classpath, as >you'll have duplicated classes... Excuse a stupid question, but how do you use both libraries at once then? 2 JVMs? separation between Tomcat and the J2EE framework? Or can one use 2 classpaths in the sam

RE: port number

2005-04-13 Thread Magnotta, Salvatore
So then it is possible to have both on port 80? "G" says no way... No that's not possible. Only one server for one port... You could try to forward incomming connections from apache to tomcat. For that there is a plug in on tomcats web site... G

Re: class path (UNCLASSIFIED)

2005-04-13 Thread BAO RuiXian
Hello, S M wrote: tried that too... but it can't identify the path. C:\javacode>javac -classpath HellWorld.java Try use quotes instead of '<' and '>' to quote the class path. Good luck. Bao The system cannot find the file specified. anyways.. now will reinstall as suggested 'without' spaces and

How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
Hi all, I am trying to restrict access to directories under webapps/myapp and I have the following in my WEB-INF/web.xml, but users still can browse through all the directories under webapps/myapp What am I doing wrong? I have the same thing for Jetty webserver and it works. I am running t

Re: port number

2005-04-13 Thread Tim Funk
You need let apache "forward" the appropriate requests to tomcat. The different ways you can do that can be found here: http://jakarta.apache.org/tomcat/faq/connectors.html -Tim t.n.a. wrote: Hi everyone, I host applications on a machine where both apache and tomcat are running. I access apache

RE: port number

2005-04-13 Thread Peter Crowther
> From: t.n.a. [mailto:[EMAIL PROTECTED] > I host applications on a machine where both apache and tomcat are > running. I access apache at port 80 and tomcat at 8080. Is it > possible > (using the tomcat apache connection, or some other way) to > access both at port 80? Yes, but you'll have t

Re: port number

2005-04-13 Thread Joe Plautz
Just user the jk connector. The work famously together. Obviously you're not running tomcat on port 80, but you don't need to. Here's the link on setting it up. http://jakarta.apache.org/tomcat/connectors-doc/index.html t.n.a. wrote: Hi everyone, I host applications on a machine where both apache

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I am pretty sure you need to SPECIFY servlet.jar, not just the directory where it resides Fadi -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:01 AM To: Tomcat Users List Subject: RE: class path (UN

  1   2   >