Help with tomcat 5.5

2005-04-13 Thread dummy
Problem with tomcat 5.5. Application running on tomcat 5.0 fine but when run on tomcat 5.5 alot of problem appeared like noclassfound. Why is it so ? Anybody have the same problem ? How to solve ?

startup

2005-04-13 Thread Maarten Janssen
Hi All, I use tomcat 4.1.27 (with struts) for a long time now. I set all my webapplications up with the use of virtual hosting. Normally when I restart the service I take about 30 seconds to restart. Yesterdag it took a half a hour. In my stout.log I see about 5 rows lik below! It seems its

Re: TC 5.5 and commons-dbcp

2005-04-13 Thread Trond G. Ziarkowski
Hi Robert, the JNDI resource configuration has changed in 5.5. Check out the docs for an example: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html. Also Tomcat 5.5 has changed the commons-dbcp-x.x.x.jar to naming-factory-dbcp.jar. And the

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2005-04-13 Thread Licinio Gomez Delgado
Hi, I´m a newbie with problems configurating Tomcat, 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 it´s what I got: in my Tomcat 5.0\common\lib folder I´ve got ojdbc14.jar

RE: webapps/MYAPP/* removed

2005-04-13 Thread Pawson, David
-Original Message- From: Anoop kumar V If you need help then u will have to provide more information. Since this is quite an unusual problem - anything out of the ordinary will be a good place to start from. I suggest you start from the log files - check

RE: webapps/MYAPP/* removed

2005-04-13 Thread Pawson, David
-Original Message- From: Tom A We have seen this before when accidentally leaving a old context descriptor in $tomcat_home/conf/Catalina/localhost/ This happened after we created a context.xml inside the WAR and forgot to delete the old one. Hi Tom. I

RE: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2005-04-13 Thread Licinio Gomez Delgado
Hi, I´ve seen tomcat 5.0.28 has different *.xml files for each context in catalina/localhost, then I´ve modified ROOT.xml instead server.xml here it is: - ROOT.xml - ?xml version='1.0' encoding='utf-8'? Context displayName=Welcome to Tomcat

RE: clean start. Was webapps/MYAPP/* removed

2005-04-13 Thread Pawson, David
Clean installation of tomcat 559, Change the port to 80 (server.xml) No security. System now working well. Lesson, dont install the admin gzip unless you know what you are doing :-) Sorry to waste the bandwidth. Final question. I chose the .gzip package rather than the .exe (for win2k

Symbolic links and Webdav

2005-04-13 Thread Patrick [EMAIL PROTECTED] AG
Hi all I am runnnig Tomcat 5.0.24 standalone. I have setup for Webdav. When I connect to the resource I can't see the Symbolic links. In Fact, the apear very short after connection and then dissapear again. Any ideas? Thanks you for any help Patrick

tomcat 5.5 help

2005-04-13 Thread dummy
Problem with tomcat 5.5. Application running on tomcat 5.0 is fine but when run on tomcat 5.5 alot of problem appeared like noclassfound etc. Why is it so ? Anybody have the same problem ? How to solve ?

RE: tomcat 5.5 help

2005-04-13 Thread Dale, Matt
I've had this problem with the activation jar required for emailing. My suspicion is that it is from a 1.4 J2EE so there is some funniness going on there but I haven't been able to solve it yet. Would be interested in the answer to this. Ta Matt -Original Message- From: dummy

RE: tomcat 5.5 help

2005-04-13 Thread Pawson, David
Just run through similar checks. Clean install of 559, html at /ROOT works jsp at webapps/myapp/index.jsp works .class at webapps/myapp/WEB-INF/classes works. Early problem was not using the jar files from the new installation for compiling. Just need to check that logging works. I think that

Re: tomcat 5.5 help

2005-04-13 Thread David Smith
TC 5.5 moved to being built around JDK 5. It works in JDK 1.4, but needs some extra classes that are included in the JDK 5 download. What JDK are you using and if it's v 1.4, did you download and install the TC 5.5 compatibility package as well? --David dummy wrote: Problem with tomcat 5.5.

RE: clean start. Logging in tomcat 559

2005-04-13 Thread Pawson, David
Now I have logging working. Using log4j-1.2.9 My application is 'hub' put the properties file named log4j.properties in tc's classpath (I use webapps/hub/WEB-INF/classes ) put the log4j-1.2.9.jar into webapps/hub/WEB-INF/lib Init as follows: //jakarta log4j import org.apache.log4j.*; import

Antwort: Re: DBCP/JDBC Problems with DelegatingResultSet

2005-04-13 Thread Sebastian . Wiemer
Thanks Jimmy, sorry that my question was not really clear. You're right, i want/need to access the Sybase Implementation of the ResultSet which i expected to be accessible from getInnermostDelegate(). I tried a little bit with the idea of you're code below but got stuck in a really strange

RE: Session object not the same in different JSP's

2005-04-13 Thread Adam Lipscombe
Thanks for that Wendy. I thought it might be your suggestion about caching so I added code to the JSP's to disable the browser cache. I also added logging to display the session ID's and they are indeed different: From the JSP that invokes the modal dialog: sessionID =

Re: Help with tomcat 5.5

2005-04-13 Thread Anoop kumar V
the classes / jar files available for TC 5.5 are not the same in your case - Check the commons/lib folder and the web-inf/lib folder. Make sure all the classes/jar files in the above folders in 5.0 are available and the same as in 5.5 - my guess is that some are missing in 5.0. if that does not

Re: class path

2005-04-13 Thread S M
Hi These are the env. variables that I have set explicitly for tomcat 4.1 installation lJAVA_HOME = C:\java\bin lCATALINA_HOME = C:\Program Files\Apache Group\Tomcat 4.1 CLASSPATH= .;C:\javacode;%CATALINA_HOME%;%CATALINA_HOME%\common\lib\servlet.jar;%J2EE_HOME%\lib\j2ee.jar; I have the

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE What errors are you getting again ? -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 9:47 AM To: Tomcat Users List; Jason Bainbridge Subject: Re: class path Hi These are the env. variables that I have

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
The same as before. C:\javacodejavac HelloWorld.java HelloWorld.java:2: package javax.servlet does not exist import javax.servlet.*; ^ HelloWorld.java:3: package javax.servlet.http does not exist import javax.servlet.http.*; ^ HelloWorld.java:5: cannot

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I am sorry, but how are you compiling your class ? Are you using any IDE (i.e Eclipse, Jdeveloper) ? -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 10:07 AM To: Tomcat Users List Subject: RE: class

Tomcat memory alert

2005-04-13 Thread Carlos Rule
Hello all, newbie here. Does anyone know if there is a reliable way of setting up an alert to tell me whenever the Tomcat (5.0.25) process reaches a certain level of memory usage? Many thanks! Carlos

Re: class path (UNCLASSIFIED)

2005-04-13 Thread Anto Paul
On 4/13/05, Samara, Fadi N Mr ACSIM/ASPEX [EMAIL PROTECTED] wrote: Classification: UNCLASSIFIED Caveats: NONE I am sorry, but how are you compiling your class ? Are you using any IDE (i.e Eclipse, Jdeveloper) ? -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent:

Re: Change standart error page?

2005-04-13 Thread rassylkaformazaj
Hello All. Can someone theoretically answer on my question here? Or I choosed wrong maillist. run I have installed Apache 2.0.40 and Tomcat 5.0.30. They are connected run using mod_jk2. run I have setuped in the httpd.conf the following ErrorDocument 500 /500.htm run so when somebody tries

RE: Tomcat memory alert (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I suspect this might be an OS level issue. If you are behind Active directory, I for sure know you can do it. What OS are you running ? I am not sure if you can specify such parameter in tomcat Fadi -Original Message- From: Carlos Rule

RE: How can I access a web app only from 443 in Tomcat 5

2005-04-13 Thread Lorenzo Jiménez
Thank you very much! Regards, Lorenzo -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Martes, 12 de Abril de 2005 06:04 p.m. To: Tomcat Users List Subject: Re: How can I access a web app only from 443 in Tomcat 5 On 4/12/05, Lorenzo Jiménez [EMAIL PROTECTED]

RE: Tomcat memory alert (UNCLASSIFIED)

2005-04-13 Thread Carlos Rule
Thanks for your response. I think you are probably right about it being an OS level issue. Is there any third party software which monitors processes in this way? I'm running Windows 2000 server, but not with Active Directory, unfortunately. Thanks! Carlos -Original Message- From:

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
I compiling it from the command prompt. The sourse code is in c:\javacode so i on cmd... i change directory to c:\javacodejavac HelloWorld.java Samara, Fadi N Mr ACSIM/ASPEX [EMAIL PROTECTED] wrote: Classification: UNCLASSIFIED Caveats: NONE I am sorry, but how are you compiling your class ?

Re: class path (UNCLASSIFIED)

2005-04-13 Thread Hassan Schroeder
S M wrote: The same as before. Not surpring if you haven't addressed the problems Jason already pointed out -- lCATALINA_HOME = C:\Program Files\Apache Group\Tomcat 4.1 1) Reinstall Tomcat in `C:\tomcat_4.1` or something, with *no* spaces in the path. 2) Don't put servlet.jar and j2ee.jar in

RE: Tomcat memory alert (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I am sure there is something out there, I am just not aware of any specific ones cuz I never used them. If you are under 2000 server, I am pretty sure you can implement such a job. I will try to get you more info. Fadi -Original Message-

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Try compiling the class by including the path for servlet.jar in your javac command, if you haven't done that yet. -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 10:33 AM To: Tomcat Users List

Re: class path (UNCLASSIFIED)

2005-04-13 Thread Larry Meadors
Oh, and spaces in your install directory (despite that being the default) is a bad idea. On 4/13/05, Samara, Fadi N Mr ACSIM/ASPEX [EMAIL PROTECTED] wrote: Classification: UNCLASSIFIED Caveats: NONE Try compiling the class by including the path for servlet.jar in your javac command, if

port number

2005-04-13 Thread t.n.a.
Hi everyone, 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? I ask because of firewall issues: port 80 seems to be the

RE: port number (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I personally don't think it is a good idea, even if it could be done. Try changing the port for tomcat and do some testing on your side, to check if they seem to be operating correctly. Fadi -Original Message- From: t.n.a. [mailto:[EMAIL

RE: port number

2005-04-13 Thread Magnotta, Salvatore
Is that even possible? Port 80 is the default HTTP port. Port 443 is the default HTTPS port. That said, Microsoft Internet Information Server, Apache web server and most servers default to port 80 which makes sense since it is for HTTP. I've tried myself to attach Tomcat to port 80 along

Re: port number

2005-04-13 Thread Viorel Dragomir
Look for mod_jk how to. It's a connector that can send .jsp or servlets requests from apache to tomcat. Viorel Dragomir . .. --- - Original Message - From: t.n.a. To: Tomcat Users List Sent: Wednesday, April 13,

RE: class path (UNCLASSIFIED)

2005-04-13 Thread S M
tried that too... but it can't identify the path. C:\javacodejavac -classpath C:\Program Files\Apache Group\Tomcat 4.1\common\lib HellWorld.java The system cannot find the file specified. anyways.. now will reinstall as suggested 'without' spaces and will let you know.. thanks so far Samara,

AW: port number

2005-04-13 Thread Canto IT System Manager
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 -Ursprüngliche Nachricht- Von: Magnotta, Salvatore [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13.

RE: port number

2005-04-13 Thread Magnotta, Salvatore
I think what he is saying is sending the requests to the AJP12 and AJP13 workers. Look in your Tomcat workers.properties file and make sure you load the mod_jk in your Apache httpd config file. -Original Message- From: Viorel Dragomir [mailto:[EMAIL PROTECTED] Sent: Wednesday, April

Tomcat 4x - Delayed Startup when connected to network

2005-04-13 Thread Shimon_Crown
Tomcat 4,1 (we have tried the latest 31 build and an earlier 24 build) on Windows XP. When Tomcat starts it hangs for an awfully long time (2 or 3 minutes) before it prints the init line and tells me that it is initializing coyote. This only happens when the host computer is connected to the

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

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

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 to

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

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

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:\javacodejavac -classpath C:\Program Files\Apache Group\Tomcat 4.1\common\lib HellWorld.java Try use quotes instead of '' and '' to quote the class path. Good luck. Bao The system cannot find the file specified. anyways..

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 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 same

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:/javacodejavac

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: 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

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:/javacodejavac -classpathc:\tomcat\common\lib\servlet.jar HelloWorld.java it said - Access Denied Where are these angle brackets coming from? They should not be present. - Chuck THIS

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

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

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Jay Burgess
Yes, doing a javac -h to receive help says -classpath path. But the angle brackets from path 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

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

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:/javacodejavac -classpath HelloWorld.java it said - Access Denied Where are

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 more of a

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

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

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:

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 specified

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
see this... no errors... but no class file for the same C:\javacodejavac -classpath c:\tomcat\common\lib\servlet.jar HelloWorld.java C:\javacodejavac -classpath c:\tomcat\common\lib\servlet.jar HelloWorld.java C:\javacodejavac HelloWorld.java David B. Saul [EMAIL PROTECTED] wrote: Try

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
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

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

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

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

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:\javacodejavac -classpath c:\tomcat\common\lib\servlet.jar HelloWorld.java C:\javacodejavac -classpath c:\tomcat\common\lib\servlet.jar

RE: class path - c:/javacode

2005-04-13 Thread Ben Kim
c:/javacodejavac -classpathc:\tomcat\common\lib\servlet.jar 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

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

2005-04-13 Thread Fritz Schneider
Ike. You need to complete your security-constraint with authorization, login, and role information. Here is what works for me: !-- Define a Security Constraint on this Application -- security-constraint web-resource-collection web-resource-nameRestricted Files/web-resource-name

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: 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

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

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:\javacodejavac -verbose -classpath servlet.jar HelloWorld.java if a class file is made, then delete the class file, and do c:\javacodejavac -verbose

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:

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 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 enabled

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

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:

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 Connector element for an SSL connector i server.xml. I can connect to ssl port ... and i can see sertificate.. but when i

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

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

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 Connector element for an SSL connector i server.xml. I can connect

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

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: Tools

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

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: tomcat-user@jakarta.apache.org 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

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 way to

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:

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/Systems

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[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 -

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

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:

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[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

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: 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,

  1   2   >