Re: Stopping of tomcat failed.

2006-04-17 Thread manivannan84
hi Yasunori, welcome. 'unclosed sockets' - some client application interacting with your tomcat forgets to close the connection. (like browsers etc) . Or the tomcat doesnt close connection to the database. So, this unclosed connections results in 'unclosed sockets' 'hangin process' - A proces

Re: Re[2]: Tomcat works on Linux localhost but not in the network

2006-04-17 Thread vineesh kumar
Check ur firewall by using telnet like telnet hostname 8080 if it is connecting to the 8080 port, ur firewall is ok.if u are not able to connect,he problem is of firewall.also In some cases like in IE it may not work properly if u simply type hostname:8080, u should use something like http://19

Re[2]: Tomcat works on Linux localhost but not in the network

2006-04-17 Thread Corobitsyn Roman
You must check your network and firewall settings. Try to use iptables E.g. in SUSE can help SUSEFirewall2 (edit /etc/sysconfig/SuSEFirewall2 file) jl> Thanks jl> but I was able to access the port 80 for apache, jl> and I got tha welcome page ... jl> where can I check if that is the pro

Re: Autodeployment of web.xml Does Not Work

2006-04-17 Thread Evan J
Ok, new revelations... I believe I figured out What I was doing wrong. It turned out that autodeployment of WEB-INF/web.xml was actually working and being monitored. What I had been missing all along was misunderstanding of request-mapping to servlets. So according to Servlet Specification and se

Re: Stopping of tomcat failed.

2006-04-17 Thread Yasunori Taniguchi
[EMAIL PROTECTED] wrote: >yes, the 'unclosed sockets', 'hanging process' and the likes are some notable >root causes. Sorry. I don't know about 'unclosed sockets', 'hanging process'. Are they bugs ? Please tell me the informations about them. [EMAIL PROTECTED] wrote: >yes, the 'unclosed sockets

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists
just disable your apache server, on some linux that would be chkconfig --del httpd, what it is on your, I don't know, so read the docs :) Filip Jonathan Pare wrote: That's it ! Thaks a lot ! I changed the tomcat port back to 8080 and everything went back to normal. But then I remembered why

Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread V D
Thank you for the info. That settles it for me. David Smith wrote: Oops, meant unpackWars="false" David Smith wrote: Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="tru

RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
That's it ! Thaks a lot ! I changed the tomcat port back to 8080 and everything went back to normal. But then I remembered why I change the port in the first place. It's because I want to use dyndns to access my website from outside my network, so I have to use (I think) the port 80. Any sugg

RE: Re: Directory listing... what happened ?

2006-04-17 Thread GB Developer
buried in your stacktrace: SEVERE: Error initializing endpoint java.net.BindException: Address already in use:80 Combine this with your previous statement "... until I rebooted my computer" Most likely there is a version of Apache web server that was enabled with your ubuntu installation, t

RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
There are my 2 logs: -- localhost.2006-04-17.log: Apr 17, 2006 5:02:38 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() Apr 17, 2006 5:02:38 PM org.apache.catalina.core.ApplicationContext log INFO: ContextLis

RE: Building tomcat 5.5.16

2006-04-17 Thread Carlos Alberto Peláez Ayala
Mark, But In the same Server, I have the source of tomcat 5.0 and I can build this without problems, with the same Ant (1.6.5) configuration environment. Carlos. -Mensaje original- De: Mark Thomas [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 17 de Abril de 2006 03:41 p.m. Para: Tomcat

Re: Building tomcat 5.5.16

2006-04-17 Thread Mark Thomas
Carlos Alberto Peláez Ayala wrote: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/tools/ant/launch/Launcher This is a problem with your Ant environment, not Tomcat. Try Googling for this exception and/or the Ant users list. Mark --

Building tomcat 5.5.16

2006-04-17 Thread Carlos Alberto Peláez Ayala
Hi, I try to build the tomcat 5.5.16 in a Solaris 9 server, with ant 1.6.5 and jdk1.5.0_02. Set my ANT_HOME and JAVA_HOME environment variables. But when I try to execute the "ant" command, appears this Exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tool

Re: Relative Link Question

2006-04-17 Thread Hassan Schroeder
On 4/17/06, biai <[EMAIL PROTECTED]> wrote: > I'm a newbie in this, so where can I define appbase. First, it's appBase, *not* 'appbase' -- case sensitive. Second, it's well documented in the Tomcat configuration guide. :-) Third, I'd strong recommend putting all your appBases outside of $CATAL

Re: Directory listing... what happened ?

2006-04-17 Thread David Smith
Have you looked at your logs? This stinks of Apache HTTPd on port 80 instead of Tomcat. You might also want to use netstat to see what is running and on what ports. --David Jonathan Pare wrote: I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's listening on port

RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
Thanks for the reply, I changed the port to 80: File: usr/local/tomcat/conf/server.xml Changed this: Date: Mon, 17 Apr 2006 13:56:41 -0500> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: Directory listing... what happened ?> > > tomcat by default listens to port 8080, n

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists
tomcat by default listens to port 8080, not 80, so if you just installed Tomcat, http://localhost:8080/ is the correct path Filip Jonathan Pare wrote: I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's listening on port 80. But why the index.jsp file in the webapps/

Re: 404

2006-04-17 Thread Edoardo Panfili
[EMAIL PROTECTED] ha scritto: What are the files that I should check if they're ok ? /usr/local/tomcat/conf/server.xml I use the default file, It works good for me. I have the configuration for the application inside the application folder: $tomcatHome/webapp/APPLICATION_NAME/META-INF/context.

RE: Re: Directory listing... what happened ?

2006-04-17 Thread Jonathan Pare
I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's listening on port 80. But why the index.jsp file in the webapps/ROOT/index.jsp is not showing when I go to http://localhost/ ? And why do I have a file not found when I go to http://localhost/index.jsp ? (and the fi

Re: 404

2006-04-17 Thread jonathan . pare
What are the files that I should check if they're ok ? /usr/local/tomcat/conf/server.xml /usr/loca/tomcat/webapps/root/WEB-INF/web.xml what should I look for in those files ? Could you show me examples of "working" configuration Is there other config files I should check ? Thanks

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists
who listens to port 80? Apache? if so, consult your apache docs. if Tomcat listens to port 80, then the webapps/ROOT/ is your root application "/" Filip [EMAIL PROTECTED] wrote: Hi, I'm running Ubuntu 5.10. I installed Tomcat 5.5.16. My webserver was going fine until I rebooted my computer

Re: Relative Link Question

2006-04-17 Thread biai
I'm a newbie in this, so where can I define appbase. I've done the following in %Catalina_Home%\conf\server.xml Each of the applications Webapp1 and Webapp2 are inside the directory D:\Tomcat 5.5\webapps\. What am I doing wrong? Thank you for

Re: 404

2006-04-17 Thread Edoardo Panfili
[EMAIL PROTECTED] ha scritto: I didn't take the default. I changed the port to 80: File: usr/local/tomcat/conf/server.xml Changed this: If you have some time you can download tomcat from tomcat.apache.org and then use "diff" to find the differences from the original configuration files. Edo

Re: 404

2006-04-17 Thread jonathan . pare
I didn't take the default. I changed the port to 80: File: usr/local/tomcat/conf/server.xml Changed this: A Tomcat Users List 2006-04-17 13:20

Re: 404

2006-04-17 Thread David Kerber
If you took all the defaults, as it says in that document, Tomcat is on 8080, not 80. So try: http://localhost:8080 [EMAIL PROTECTED] wrote: Sorry guys about my reply to another thread, I didn't realize. I'm new at this so... I only installed tomcat following this guide: http://www.ubunt

404

2006-04-17 Thread jonathan . pare
Sorry guys about my reply to another thread, I didn't realize. I'm new at this so... I only installed tomcat following this guide: http://www.ubuntuforums.org/showthread.php?t=44006&highlight=tomcat Maybe apache comes with tomcat (I didn't manually installed apache) ? But I thing it's tomcat who

Re: 404

2006-04-17 Thread Marc Farrow
So what do you have running on port 80? Apache or Tomcat? On 4/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Yes I've tried with the port number (in my case it's 80) and also with the > APPLICATION_NAME. > > But the weird thing is that yesterday everything was going fine and now I > g

Re: 404

2006-04-17 Thread jonathan . pare
Yes I've tried with the port number (in my case it's 80) and also with the APPLICATION_NAME. But the weird thing is that yesterday everything was going fine and now I get that directory listing instead of the jsp page. Here's what I get when I click on the apache2-default directory:

Re: 404

2006-04-17 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: 404

2006-04-17 Thread Edoardo Panfili
[EMAIL PROTECTED] ha scritto: Why when I go to http://localhost/ I get a directory listing containing those 2 elements: [DIR] Parent Directory 15-Apr-2006 15:22 - [DIR] apache2-default/ 15-Apr-2006 15:22 - And when I go to http://localhost/index.jsp I get a file not found error although THE FIL

404

2006-04-17 Thread jonathan . pare
Why when I go to http://localhost/ I get a directory listing containing those 2 elements: [DIR] Parent Directory 15-Apr-2006 15:22 - [DIR] apache2-default/ 15-Apr-2006 15:22 - And when I go to http://localhost/index.jsp I get a file not found error although THE FILE EXISTS ! Thanks. (using ubun

[OT] Re: hypens

2006-04-17 Thread Mark Thomas
John, This is the users list for Tomcat. I think you want one of the Lucene lists. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat works on Linux localhost but not in the network

2006-04-17 Thread josemanuel lopez
Thanks but I was able to access the port 80 for apache, and I got tha welcome page ... where can I check if that is the problem .??? Thanks again --- Corobitsyn Roman <[EMAIL PROTECTED]> wrote: > Perhaps, you must to set up your firewall > > jl> I recently installed Tomcat on a Linu

Re: Relative Link Question

2006-04-17 Thread Michael Jouravlev
Unless you use special server-side tags, the path is resolved on client. The browser knows nothing about your context. It only knows the server name (myserver.com) and resource name (/images/pic.jpg). Leading slash means "starting from the root" and that how browser resolves the address. Not being

Re: Relative Link Question

2006-04-17 Thread Hassan Schroeder
On 4/17/06, biai <[EMAIL PROTECTED]> wrote: > I have 3 virtual hosts on the server, so I cannot atribute ROOT to all of > them. Of course you can; just use a different appBase for each host. HTH, -- Hassan Schroeder [EMAIL PROTECTED]

hypens

2006-04-17 Thread John Powers
Hello, If I have a user search for "b-trunk" I would like them to be able to find "b-trunk" (with hypen). I would also like someone searching for "b trunk" to also find "b-trunk". On the other side, if someone searches for 12412 I would like them to be able to find 12412-235, 12412-121, 12412-

Re: Relative Link Question

2006-04-17 Thread biai
Hi, Thank you for your prompt response. The tips you gave me work just fine, but now I have another problem. I have 3 virtual hosts on the server, so I cannot atribute ROOT to all of them. So I guess I will have to do with mod_rewrite, or is there a better answer? Silvio -- View this message in c

Re: SHA encrypting of passwords in server.xml/tomcat-users.xml files

2006-04-17 Thread Marc Farrow
This helps a lot. I am not worried about hackers getting into our system so much as programmers reading the XML file and getting a privileged password. Not a big deal, we can just captivate the account and keep "immoral" programmers out. Thanks! On 4/17/06, Mark Thomas <[EMAIL PROTECTED]> wrote

Directory listing... what happened ?

2006-04-17 Thread jonathan . pare
Hi, I'm running Ubuntu 5.10. I installed Tomcat 5.5.16. My webserver was going fine until I rebooted my computer. Now when I go to http://localhost/ I get a directory listing of "Index of/" with those 2 entries: [DIR] Parent Directory 15-Apr-2006 15:22 - [DIR] apache2-default/

Re: Relative Link Question

2006-04-17 Thread Hadraba Petr
Hi, you have two options: 1. move your application to the ROOT by renaming your war to ROOT.war (case sensitive) or 2. use mod_rewrite. PETR On 4/17/06, biai <[EMAIL PROTECTED]> wrote: > > Hi. > I have the same question as you do. > When you get the answer, please email me to [EMAIL PROTECTED] >

Re: Relative Link Question

2006-04-17 Thread biai
Hi. I have the same question as you do. When you get the answer, please email me to [EMAIL PROTECTED] Another question I have, is how can I access my website without stating MYAPP in the URL. e.g. instead of using http://myserver.com/myapp/servlet/index.jsp use only http://myserver.com/servlet/i

Re: JNDI DB Connection Pooling with SSL

2006-04-17 Thread Eric Roberts
Anyone have any suggestions for configuring an SSL encrypted connection pool to postgresql with tomcat 5.5.15? Eric On Apr 13, 2006, at 3:28 PM, Eric Roberts wrote: PROBLEM: I am having a problem setting up DB connection pooling with Postgresql through JNDI in Tomcat 5.5.15. I have a p

Re: SHA encrypting of passwords in server.xml/tomcat-users.xml files

2006-04-17 Thread Mark Thomas
Marc Farrow wrote: > I learned how to do this last week and I am enjoying the ease of setup in > order to accomplish this. However, I would like to expand on this a bit > further and use the SHA encrypting with my database password (the one used > in Tomcat's connection pooling). Is this possible

Re: iis 6.0 + apache-tomcat 5.0.28

2006-04-17 Thread Len Popp
It sounds like this bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=39041 -- Len On 4/17/06, Sergio Gonzalez Ramos <[EMAIL PROTECTED]> wrote: > I'm getting following error > > > Apr 17, 2006 6:28:57 AM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Error configurin

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-17 Thread Filip Hanik - Dev Lists
do you have more than one docBase specified? also, servlet.jar etc should not be in your WEB-INF/lib Scott Smith wrote: OK, I removed the unnecessary Contexts (at least they are unnecessary for the time being) and did notice the following messages. WARNING: A docBase c:\webapps\myapp inside the

SHA encrypting of passwords in server.xml/tomcat-users.xml files

2006-04-17 Thread Marc Farrow
I learned how to do this last week and I am enjoying the ease of setup in order to accomplish this. However, I would like to expand on this a bit further and use the SHA encrypting with my database password (the one used in Tomcat's connection pooling). Is this possible? If so, can someone lead

RE: iis 6.0 + apache-tomcat 5.0.28

2006-04-17 Thread abdurrahman sahin
hi; it looks like you have different application versions, please ensure that you have the same java version all around the whole system. http://asahin.net -Original Message- From: Sergio Gonzalez Ramos [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 3:46 PM To: Tomcat Users List

iis 6.0 + apache-tomcat 5.0.28

2006-04-17 Thread Sergio Gonzalez Ramos
I'm getting following error Apr 17, 2006 6:28:57 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class listeners.SessionListener java.lang.ClassFormatError: Extra bytes at the end of class file listeners/SessionListener

Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread David Smith
Oops, meant unpackWars="false" David Smith wrote: Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="true", tomcat will unpack to the work directory instead of the webapps di

Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread David Smith
Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="true", tomcat will unpack to the work directory instead of the webapps dir. --David V D wrote: Thank you for your interest

Re: Stopping of tomcat failed.

2006-04-17 Thread manivannan84
yes, the 'unclosed sockets', 'hanging process' and the likes are some notable root causes. -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Yasunori Taniguchi <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Mon, 17 Apr 2006 20:27:38 +0900 Sub

Re: Stopping of tomcat failed.

2006-04-17 Thread Yasunori Taniguchi
Thanks for your reply ! [EMAIL PROTECTED] wrote: >I understand your problem. This happens sometimes. Instead of runnign >shutdown.sh, you can manually kill the tomcat instance using the following steps: What is the cause of this problem's ? And. Is there any bad influences ? For example, garba

Re: Stopping of tomcat failed.

2006-04-17 Thread manivannan84
I understand your problem. This happens sometimes. Instead of runnign shutdown.sh, you can manually kill the tomcat instance using the following steps: 1. type this command: ps -ax | grep 'endorse'[an ugly way of finding the tomcat process! ] and find out its process id. (For ex

Re: Stopping of tomcat failed.

2006-04-17 Thread Martin Gainty
If you do a netstat -a | grep TomcatPort will show the process listening on configured TomcatPort Is this what you're looking for? Martin-- * This email message and any files transmitted with it contain confidential information i

Re: Stopping of tomcat failed.

2006-04-17 Thread Yasunori Taniguchi
[EMAIL PROTECTED] さんは書きました: >Are you running apache along with tomcat? >(I mean apache on port 80 and tomcat on 8080) ? I'm running apache on port 13000. Is there a setting of port for tomcat ? I can use web application on port 13000. I think it means apache and tomcat are running correctly. >

Re: Tomcat embedded Valve's

2006-04-17 Thread Vivek Mohan
and how was it solved? On 4/17/06, Ugur Dincer <[EMAIL PROTECTED]> wrote: > problem solved :-) > > > From: "Ugur Dincer" <[EMAIL PROTECTED]> > Reply-To: "Tomcat Users List" > To: users@tomcat.apache.org > Subject: Tomcat embedded Valve's > Date: Sun, 16 Apr 2006 19:12:22 +0200 > MIME-Version: 1.0

RE: Tomcat embedded Valve's

2006-04-17 Thread Ugur Dincer
problem solved :-) From: "Ugur Dincer" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: users@tomcat.apache.org Subject: Tomcat embedded Valve's Date: Sun, 16 Apr 2006 19:12:22 +0200 MIME-Version: 1.0 X-Originating-IP: [194.237.142.10] X-Originating-Email: [EMAIL PROTECTED] X-Sender: [EMAI

Re: IE 20 session cookies limitation

2006-04-17 Thread Peter Rossbach
Option is Then all webapps share the same session id. Cheers Peter Am 16.04.2006 um 15:12 schrieb Tim Funk: Check the docs - there is an option that will allow tomcat to use the same jsessionid for all webapps. -Tim Rick Wong wrote: It's been a while since my last posting of this top

Re: Setting up to use 443

2006-04-17 Thread manivannan84
Refer to this tomcat documentation page for ssl configuration: http://tomcat.apache.org/tomcat-4.0-doc/ssl-howto.html Edit the server.xml accordingly. While editing the file, you have to correctly specify your realm. Then restart the tomcat. Good luck. -- Manivannan Palanichamy http://geociti

Re: servlet mapping request

2006-04-17 Thread manivannan84
Could you post your web.xml here? Also, mention the directory structure of WEB-INF/classes and application root. -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Raymond P. Jones <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Sat, 15 A

Re: Stopping of tomcat failed.

2006-04-17 Thread manivannan84
Are you running apache along with tomcat? (I mean apache on port 80 and tomcat on 8080) ? -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Yasunori Taniguchi <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Mon, 17 Apr 2006 13:05:24 +0900 Subj