Re: tomcat server hacked

2009-08-18 Thread Mark Thomas
Nick Knol wrote: First post, sorry if I'm breaking protocol. I could really use help tightening up security with the tomcat web server I'm running. A hacker got in and trashed a bunch of files and I'm scared to death it will happen again. I've been setting up a tomcat web server with the

RE: tomcat server hacked

2009-08-18 Thread Caldarale, Charles R
From: BJ Selman [mailto:bjsel...@travelhost.com] Subject: RE: tomcat server hacked What does your tomcat-users.xml look like? (sans the p/w of course) Note that using the toy tomcat-users.xml for authentication is inappropriate for a secure environment. - Chuck THIS COMMUNICATION MAY

RE: tomcat server hacked

2009-08-18 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] Subject: Re: tomcat server hacked Have you run your tomcat as root and what is your kernel version? According to the first post, Tomcat runs via jsvc with the userid Tomcat. If you don't run your tomcat as root and have a more

Tomcat server Not starting when symantec installed!

2009-07-08 Thread Raghu.p
have un-installed Symantec then again Tomcat is working fine. Can anybody tell solution to resolve the issue. Thanks Raghav -- View this message in context: http://www.nabble.com/Tomcat-server-Not-starting-when-symantec-installed%21-tp24391352p24391352.html Sent from the Tomcat - User mailing

Re: Tomcat server Not starting when symantec installed!

2009-07-08 Thread Tim Funk
Don't run Symantec ? :) Symantec is probably doing 1 of 2 things 1) Noticing tomcat is trying to bind to a socket (it is a webserver) and killing it 2) It has bad heuristics and thinks its a trojan My bet is #1. You probably need to white list tomcat. Actually - you might need to whitelist

Re: Tomcat server Not starting when symantec installed!

2009-07-08 Thread David kerber
I use SEP 11 with tomcat 5.5, and had no trouble. I installed SEP while TC was running, so maybe it detected that it needed to leave that port open? D Tim Funk wrote: Don't run Symantec ? :) Symantec is probably doing 1 of 2 things 1) Noticing tomcat is trying to bind to a socket (it is a

RE: Tomcat server Not starting when symantec installed!

2009-07-08 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Tomcat server Not starting when symantec installed! I use SEP 11 with tomcat 5.5, and had no trouble. I installed SEP while TC was running, so maybe it detected that it needed to leave that port open? Can't be a simple port

Re: Mix http and https on one tomcat server?

2009-06-18 Thread Bruce Edge
On Wed, Jun 17, 2009 at 9:37 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Bruce Edge [mailto:bruce.e...@gmail.com] Subject: Re: Mix http and https on one tomcat server? ...snip... but can it be setup to _not_ require a password for localhost access? Not without

Re: Mix http and https on one tomcat server?

2009-06-18 Thread André Warnier
Bruce Edge wrote: ... I can do this: Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.*/ but does that really do anything if I'm already accepting connections from 127.*? You're right (and perceptive). /That/ Valve does not help. Chuck meant that you'd need to

Re: Mix http and https on one tomcat server?

2009-06-18 Thread André Warnier
André Warnier wrote: Bruce Edge wrote: ... Since I don't really feel like doing what I should really be doing tonight, let me elaborate a bit. The Request comes into your webapp, and first hits the filter. The filter checks if the IP origin of the request is 127.0.0.1. If it is, it

Re: Mix http and https on one tomcat server?

2009-06-18 Thread André Warnier
André Warnier wrote: and he's back. Browsing the documentation of urlrewritefilter, at http://tuckey.org/urlrewrite/manual/2.6/ In the condition element, one of the conditions is : remote-addr The IP address of the host making the request, e.g. 123.123.123.12 i.e. request.getRemoteAddr() So

Re: Mix http and https on one tomcat server?

2009-06-18 Thread André Warnier
André Warnier wrote: Ooops. I forgot to add this : in the /thewebapp-internal, you should also have a filter, this time which /blocks/ the request if it does /not/ come from 127.0.0.1. Otherwise people not from 127.0.0.1 would be able to hit it directly, just by knowing the

Re: Mix http and https on one tomcat server?

2009-06-18 Thread Bruce Edge
On Thu, Jun 18, 2009 at 2:10 PM, André Warnier a...@ice-sa.com wrote: André Warnier wrote: Ooops. I forgot to add this : in the /thewebapp-internal, you should also have a filter, this time which /blocks/ the request if it does /not/ come from 127.0.0.1. Otherwise people not from 127.0.0.1

Re: Mix http and https on one tomcat server?

2009-06-18 Thread André Warnier
Bruce Edge wrote: André, thanks for your help. Well actually, forget all I said, it turns out that it was mostly nonsense. The problem is, that if you use the container (Tomcat) based authentication, then the authentication will happen anyway, before it even gets to the servlet filter.

Re: Mix http and https on one tomcat server?

2009-06-18 Thread Bruce Edge
Securityfilter seems like overkill. I'd like to try the custom Valve first. Any idea how I can get at the Role from the Valve invoke method? public void invoke(Request arg0, Response arg1) throws IOException, ServletException { Can I drill down into the Request and find the role? -Bruce

Re: Mix http and https on one tomcat server?

2009-06-18 Thread André Warnier
Bruce Edge wrote: Securityfilter seems like overkill. I'd like to try the custom Valve first. Any idea how I can get at the Role from the Valve invoke method? Sorry, that's beyond my league. But persist a little, there's a a lot here who could tell you.

Mix http and https on one tomcat server?

2009-06-17 Thread Bruce Edge
Is it possible to deploy both http and https on the same tomcat instance? I'd like to expose https to the external IP addr and http to 127.0.0.1. How is this configured in the xerver.xml file? I'm using apache cxf if that matters. Thanks -Bruce P.S. Apologies if this is a resend, I have just

RE: Mix http and https on one tomcat server?

2009-06-17 Thread Caldarale, Charles R
From: Bruce Edge [mailto:bruce.e...@gmail.com] Subject: Mix http and https on one tomcat server? Is it possible to deploy both http and https on the same tomcat instance? Of course. Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html http://tomcat.apache.org/tomcat-6.0

Re: Mix http and https on one tomcat server?

2009-06-17 Thread Bruce Edge
On Wed, Jun 17, 2009 at 8:39 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Bruce Edge [mailto:bruce.e...@gmail.com] Subject: Mix http and https on one tomcat server? Is it possible to deploy both http and https on the same tomcat instance? Of course. Read the doc

RE: Mix http and https on one tomcat server?

2009-06-17 Thread Caldarale, Charles R
From: Bruce Edge [mailto:bruce.e...@gmail.com] Subject: Re: Mix http and https on one tomcat server? I assume that I need a different connector for each, so I changed the 8080 redirector in server.xml: Put it back the way it was; the redirectPort attribute is required so a switch to HTTPS

canonical hostnames for tomcat server

2009-06-12 Thread d tbsky
Hi: i have a tomcat server, which can be access by many ways, like http://portal.example.com http://portal http://192.168.1.1 i want to user to use only http://portal.example.com;. other ways will be redirect to the canonical hostname. i found i can do this with apache

Re: canonical hostnames for tomcat server

2009-06-12 Thread André Warnier
d tbsky wrote: Hi: i have a tomcat server, which can be access by many ways, like http://portal.example.com http://portal http://192.168.1.1 i want to user to use only http://portal.example.com;. other ways will be redirect to the canonical hostname. i found i can do

Re: canonical hostnames for tomcat server

2009-06-12 Thread Mark Shifman
host name aliases may help http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Host%20Name%20Aliases d tbsky wrote: Hi: i have a tomcat server, which can be access by many ways, like http://portal.example.com http://portal http://192.168.1.1 i want to user to use

RE: canonical hostnames for tomcat server

2009-06-12 Thread Caldarale, Charles R
From: Mark Shifman [mailto:mark.shif...@yale.edu] Subject: Re: canonical hostnames for tomcat server host name aliases may help http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Host%20Name%20Aliases I don't think aliases will do it. Look at virtual hosting in Tomcat: http

Re: canonical hostnames for tomcat server

2009-06-12 Thread André Warnier
Caldarale, Charles R wrote: From: Mark Shifman [mailto:mark.shif...@yale.edu] Subject: Re: canonical hostnames for tomcat server host name aliases may help http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Host%20Name%20Aliases I don't think aliases will do it. Look at virtual hosting

Re: canonical hostnames for tomcat server

2009-06-12 Thread d tbsky
hi : Thanks a lot for all the information. in fact my http://portal.example.com is a liferay portal server. i need a canonical hostname because liferay need it to function 100% correctly. Finally i choose to use tomcat+urlrewritefilter, and i found that liferay+tomcat bundle already

Re: Tomcat Server can't load himself (without using localhost)

2009-05-27 Thread Sibil87
://www.nabble.com/Tomcat-Server-can%27t-load-himself-%28without-using-localhost%29-tp23718730p23737281.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Sibil87
://application.sogetel.it:8080 I don't have any response... Why http://application.sogetel.it:8080 is not working on the same machine?!? Is there any conf file of Tomcat I have to change to make it work?!?! Thank u very mucc!!! Giorgio -- View this message in context: http://www.nabble.com/Tomcat

RE: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Peter Crowther
From: Sibil87 [mailto:giorgio.zampare...@gmail.com] I mount Tomcat 6.0 on my server and u can visit it at http://application.sogetel.it:8080. If I open any browser from that machine and I try to visit http://localhost:8080 I can see my Servlet Manager and it's all ok. If I open any browser

RE: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Sibil87
. Is there anyway in changing the conf file conf/server.xml in the part: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false that can solve this problem?! -- View this message in context: http://www.nabble.com/Tomcat-Server

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread David kerber
I'll bet your router or firewall are doing address translation, so the DNS of sogetel.it is returning a public routable address, while the address of the machine itself is a different, non-routable one. Most routers won't do that kind of turn-around (routing a request from inside, back out

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giorgio, On 5/26/2009 5:12 AM, Sibil87 wrote: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false In your Engine, what is the defaultHost attribute set to? -

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Konstantin Kolinko
2009/5/26 Sibil87 giorgio.zampare...@gmail.com: Hi guys! I mount Tomcat 6.0 on my server and u can visit it at http://application.sogetel.it:8080. If I open any browser from that machine and I try to visit http://localhost:8080 I can see my Servlet Manager and it's all ok. If I open any

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
to Tomcat Server Hello: I am using Netbeans 6.5 IDE to deploy to Tomcat 4.1 server. This Tomcat server cannot be registered with the Netbeans tool as it is an older version of Tomcat. I follow the instructions and try to start the Tomcat server from the IDE [see syntax below]. If I run it from

Re: Deploying to Tomcat Server

2009-04-21 Thread Pid
Apr 2009 22:43:50 To: users@tomcat.apache.org Cc: users-i...@tomcat.apache.org Subject: Deploying to Tomcat Server Hello: I am using Netbeans 6.5 IDE to deploy to Tomcat 4.1 server. This Tomcat server cannot be registered with the Netbeans tool as it is an older version of Tomcat

Re: Deploying to Tomcat Server

2009-04-21 Thread David Smith
Message- From: Richard Coutinho richardcouti...@shaw.ca Date: Mon, 20 Apr 2009 22:43:50 To: users@tomcat.apache.org Cc: users-i...@tomcat.apache.org Subject: Deploying to Tomcat Server Hello: I am using Netbeans 6.5 IDE to deploy to Tomcat 4.1 server. This Tomcat server cannot

RE: Deploying to Tomcat Server

2009-04-21 Thread Shaun Farrugia
...@pidster.com] Sent: Tuesday, April 21, 2009 2:39 PM To: Tomcat Users List Subject: Re: Deploying to Tomcat Server Sounds like a netbeans / ant problem. Rather than Tomcat, sorry. p Richard Coutinho wrote: Is anyone going to respond to my question? Sent from my BlackBerry device on the Rogers

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Thanks Shaun Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Shaun Farrugia sfarru...@fry.com Date: Tue, 21 Apr 2009 14:44:43 To: Tomcat Users Listusers@tomcat.apache.org; p...@pidster.comp...@pidster.com Subject: RE: Deploying to Tomcat Server

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
to Tomcat Server Thanks Shaun Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Shaun Farrugia sfarru...@fry.com Date: Tue, 21 Apr 2009 14:44:43 To: Tomcat Users Listusers@tomcat.apache.org; p...@pidster.comp...@pidster.com Subject: RE: Deploying

RE: Deploying to Tomcat Server

2009-04-21 Thread Martin Gainty
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: sfarru...@fry.com To: users@tomcat.apache.org; p...@pidster.com Date: Tue, 21 Apr 2009 14:44:43 -0400 Subject: RE: Deploying to Tomcat Server Yes

Re: Deploying to Tomcat Server

2009-04-21 Thread André Warnier
Richard Coutinho wrote: Shaun Who would I contact to verify the startup.bat file? Richard, following your desperate call, we had a meeting here at work with all our Tomcat and Java experts to study the problem. After two hours we were not really making any headway, but the blonde cleaning

RE: Deploying to Tomcat Server

2009-04-21 Thread Caldarale, Charles R
From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Subject: Re: Deploying to Tomcat Server Who would I contact to verify the startup.bat file? Yourself? You might try downloading a vanilla copy of Tomcat 4.1 from the tomcat.apache.org web site and look for differences. Also note

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Thanks I will try downloading again Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: André Warnier a...@ice-sa.com Date: Tue, 21 Apr 2009 21:17:18 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Deploying to Tomcat Server Richard

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Thanks again. Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Caldarale, Charles R chuck.caldar...@unisys.com Date: Tue, 21 Apr 2009 14:22:34 To: Tomcat Users Listusers@tomcat.apache.org Subject: RE: Deploying to Tomcat Server From: Richard

RE: Deploying to Tomcat Server

2009-04-21 Thread Shaun Farrugia
Did this work for you? -Original Message- From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Sent: Tuesday, April 21, 2009 3:32 PM To: Tomcat Users List Subject: Re: Deploying to Tomcat Server Thanks again. Sent from my BlackBerry device on the Rogers Wireless Network

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
: Deploying to Tomcat Server Did this work for you? -Original Message- From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Sent: Tuesday, April 21, 2009 3:32 PM To: Tomcat Users List Subject: Re: Deploying to Tomcat Server Thanks again. Sent from my BlackBerry device on the Rogers

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
richardcouti...@shaw.ca Date: Tue, 21 Apr 2009 21:14:51 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Deploying to Tomcat Server I will confirm later tonight. I looked at the bat file and I think I need to define an environment variable called $CATALINA_HOME pointing to the local

RE: Deploying to Tomcat Server

2009-04-21 Thread Caldarale, Charles R
From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Subject: Re: Deploying to Tomcat Server I looked at the bat file and I think I need to define an environment variable called $CATALINA_HOME pointing to the local Tomcat directory You shouldn't have to do that. The startup.bat script

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Users Listusers@tomcat.apache.org; richardcouti...@shaw.carichardcouti...@shaw.ca Subject: RE: Deploying to Tomcat Server From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Subject: Re: Deploying to Tomcat Server I looked at the bat file and I think I need to define an environment

RE: Deploying to Tomcat Server

2009-04-21 Thread Caldarale, Charles R
From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Subject: Re: Deploying to Tomcat Server It looks like the JAVA_HOME environment is not defined. This must be in reference to the Java SDK location. That you will need to set. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Deploying to Tomcat Server

2009-04-21 Thread André Warnier
Canucks Go! Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Richard Coutinho richardcouti...@shaw.ca Date: Tue, 21 Apr 2009 21:14:51 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Deploying to Tomcat Server I will confirm later tonight

Re: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
in this space Thx Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: André Warnier a...@ice-sa.com Date: Wed, 22 Apr 2009 00:33:06 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Deploying to Tomcat Server Richard, Considering your later

RE: Deploying to Tomcat Server

2009-04-21 Thread Richard Coutinho
Message- From: Richard Coutinho [mailto:richardcouti...@shaw.ca] Sent: Tuesday, April 21, 2009 3:45 PM To: Tomcat Users List; a...@ice-sa.com Subject: Re: Deploying to Tomcat Server Andre thanks. I think the problem maybe with the JAVA_HOME env var that I need to define. I will try this out

Deploying to Tomcat Server

2009-04-20 Thread Richard Coutinho
Hello: I am using Netbeans 6.5 IDE to deploy to Tomcat 4.1 server. This Tomcat server cannot be registered with the Netbeans tool as it is an older version of Tomcat. I follow the instructions and try to start the Tomcat server from the IDE [see syntax below]. If I run it from the IDE or simply

Re: Getting the tomcat server IP

2009-02-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuval, On 2/21/2009 1:44 PM, Yuval Perlov wrote: Also, from the socket object you can always call socket.getLocalAddress() on an outgoing connection. This is useful if you want to make sure you are getting the IP for a particular network. Aren't

Re: Getting the tomcat server IP

2009-02-21 Thread Natalie Forood
Subject: Re: Getting the tomcat server IP request.getRemoteAddr(); You can only get your actual IP after opening a connection. Of course it can change depending on where the connection is coming from. Alternatively you can open a connection to a known public server, and figure out your IP using

Re: Getting the tomcat server IP

2009-02-21 Thread Rusty Wright
Yuval, wouldn't that give you the client's address? I thought she wanted the server's ip address, with the added wrinkle that her server has multiple network interfaces. Yuval Perlov wrote: request.getRemoteAddr(); You can only get your actual IP after opening a connection. Of course it

Re: Getting the tomcat server IP

2009-02-21 Thread Yuval Perlov
You are right, should have been: request.getLocalAddr() - my bad. Also, from the socket object you can always call socket.getLocalAddress() on an outgoing connection. This is useful if you want to make sure you are getting the IP for a particular network. Yuval On Feb 21, 2009, at 7:57

Re: Getting the tomcat server IP

2009-02-21 Thread Bill Barker
Natalie Forood nfor...@yahoo.com wrote in message news:206003.52131...@web35302.mail.mud.yahoo.com... Hello, Can you tell me how I can get the IP address of the interface that is running Tomcat? I can't use localhost, I need the IP of the physical interface. request.getLocalAddr()

Re: Getting the tomcat server IP

2009-02-20 Thread Rusty Wright
to you from the ifconfig output? Natalie From: Steve ste...@up-south.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, February 19, 2009 4:36:43 PM Subject: Re: Getting the tomcat server IP Natalie Forood wrote: Hello, Can you tell me how

Re: Getting the tomcat server IP

2009-02-20 Thread Yuval Perlov
request.getRemoteAddr(); You can only get your actual IP after opening a connection. Of course it can change depending on where the connection is coming from. Alternatively you can open a connection to a known public server, and figure out your IP using the resulting socket. If you are

Getting the tomcat server IP

2009-02-19 Thread Natalie Forood
Hello, Can you tell me how I can get the IP address of the interface that is running Tomcat? I can't use localhost, I need the IP of the physical interface. Thanks, Natalie

Re: Getting the tomcat server IP

2009-02-19 Thread Natalie Forood
Subject: Re: Getting the tomcat server IP Natalie Forood wrote: Hello, Can you tell me how I can get the IP address of the interface that is running Tomcat? I can't use localhost, I need the IP of the physical interface. Thanks, Natalie ifconfig (linux/unix/mac osx) ipconfig (windows cmd line

RE: Getting the tomcat server IP

2009-02-19 Thread Caldarale, Charles R
From: Natalie Forood [mailto:nfor...@yahoo.com] Subject: Re: Getting the tomcat server IP Thanka, but if I have multiple interfaces on the server, how do I know which interface to you from the ifconfig output? Not sure what you're asking for. Do you have a Tomcat that's already running

Re: Getting the tomcat server IP

2009-02-19 Thread Natalie Forood
address. Thanks again for your help! Natalie From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, February 19, 2009 6:22:15 PM Subject: RE: Getting the tomcat server IP From: Natalie Forood

Re: Getting the tomcat server IP

2009-02-19 Thread Jordan Michaels
/* *From:* Caldarale, Charles R chuck.caldar...@unisys.com *To:* Tomcat Users List users@tomcat.apache.org *Sent:* Thursday, February 19, 2009 6:22:15 PM *Subject:* RE: Getting the tomcat server IP From: Natalie Forood [mailto:nfor...@yahoo.com mailto:nfor...@yahoo.com] Subject: Re: Getting

Re: Getting the tomcat server IP

2009-02-19 Thread steve rieger
I believe that tomcat will (unless specified otherwise) bind to all available ip addys -Original Message- From: Natalie Forood nfor...@yahoo.com Date: Thu, 19 Feb 2009 18:41:36 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Getting the tomcat server IP

RE: Getting the tomcat server IP

2009-02-19 Thread Caldarale, Charles R
From: Natalie Forood [mailto:nfor...@yahoo.com] Subject: Re: Getting the tomcat server IP After it is running we want to find out the IP address that Tomcat is using. If the server has multiple Ethernet interfaces, we cannot determine which IP is the one that is used by Tomcat

{Solved}: Configuring alternate host and port on Tomcat server - newbie question

2009-01-26 Thread Shyam Anand
Chuck, Thanks for your help. This was exactly what I need. Thanks, Shyam --- On Thu, 1/22/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com Subject: RE: Configuring alternate host and port on Tomcat server - newbie question

Configuring alternate host and port on Tomcat server - newbie question

2009-01-22 Thread Shyam Anand
Hi, I'm running Tomcat 5.5 on a Solaris(SunOS 5.10 )box. I have a couple of instances of Tomcat web servers running on the same machine - the first one uses the primary IP/localhost and port 443, and I would like to configure the second instance to work with a secondary IP/alternate host and

RE: Configuring alternate host and port on Tomcat server - newbie question

2009-01-22 Thread Caldarale, Charles R
From: Shyam Anand [mailto:struts_new...@yahoo.com] Subject: Configuring alternate host and port on Tomcat server - newbie question I would like to configure the second instance to work with a secondary IP/alternate host and port 443 on the same machine. By default, Tomcat listens on IP

Re: Unable to start tomcat server 6x

2008-12-15 Thread Gregor Schneider
Patha, I think you've received enough pointers here already. If you're logged in as root and you can't even write into a directory, it's pretty likely that either - the device is mounted read-only (check with mount -l) - the device is somewhat corrupted (either the device or the

Re: Unable to start tomcat server 6x

2008-12-15 Thread Partha
this message in context: http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21027749.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Unable to start tomcat server 6x

2008-12-14 Thread Partha
, Partha. -- View this message in context: http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21008378.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Unable to start tomcat server 6x

2008-12-14 Thread Partha Goswami
trying to access a remote server which is set up on a windows box through Secure Shell Client(SSH). I am logged in as root. Please provide some pointers. Thanks and Regards, Partha. -- View this message in context: http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21008378

Re: Unable to start tomcat server 6x

2008-12-14 Thread Partha
-tomcat-server-6x-tp20988232p21008378.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Unable to start tomcat server 6x

2008-12-13 Thread Partha
, it gives the message that the file is read only. Any pointers in this regard would be of great help. Thanks and Regards, Partha. -- View this message in context: http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988232.html Sent from the Tomcat - User mailing list archive

Re: Unable to start tomcat server 6x

2008-12-13 Thread Gregor Schneider
what user are you logged in as? what does ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out and ls -l /usr/local/apache-tomcat-6.0.18 give? gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha
Please help me out in getting the server up again. Thanks and Regards, Partha. -- View this message in context: http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988462.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Unable to start tomcat server 6x

2008-12-13 Thread Varun Puttewar
this message in context: http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988462.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
-tomcat-server-6x-tp20988232p20988462.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
. Thanks and Regards, Partha. -- View this message in context: http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988462.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe

Re: Unable to start tomcat server 6x

2008-12-13 Thread Gregor Schneider
Hi Parha, never ever run tomcat as root - that's a security-issue. I hope you haven't followed the hint to chmod to 777 - that's anything but a good idea. to solve the issue, procceed like this: - as root , do - create a user tomcat - chown -R tomcat /usr/local/apache-tomcat-6.0.18 - su

Re: Unable to start tomcat server 6x

2008-12-13 Thread David Smith
I think the important message is here: /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292: /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file system In particular the phrase Read-only file system suggests the disk/partition tomcat is installed on was mounted read-only

Re: Unable to start tomcat server 6x

2008-12-13 Thread André Warnier
Partha wrote: [...] Isn't this a clue ? touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': Read-only file system - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Unable to start tomcat server 6x

2008-12-13 Thread Hassan Schroeder
On Sat, Dec 13, 2008 at 12:15 AM, Partha parthat...@gmail.com wrote: I am unable to restart apache-tomcat-6.0.18.When i try to run the startup.sh it gives the following error: touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': Read-only file system Last time I saw a

Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
Actually, If anyone use Tomcat in Solaris Zones, then, /usr/local or /usr all is come read only mode, by default. so, Its need to know, Which oS On Sat, Dec 13, 2008 at 6:32 PM, David Smith d...@cornell.edu wrote: I think the important message is here:

Re: How to add multiple SSL Certificates to Tomcat Server

2008-11-20 Thread Sameek Bhaumik
alias, say cert2 in the above command. Hope that helps!! Regards, Sameek Bhaumik From: Suneel Saguturu [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, 20 November, 2008 1:04:50 PM Subject: How to add multiple SSL Certificates to Tomcat Server

RE: How to add multiple SSL Certificates to Tomcat Server

2008-11-20 Thread Suneel Saguturu
Saguturu. -Original Message- From: Sameek Bhaumik [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2008 2:53 PM To: Tomcat Users List Subject: Re: How to add multiple SSL Certificates to Tomcat Server Hi, Are you talking about importing multiple certificates in tomcat

Re: How to add multiple SSL Certificates to Tomcat Server

2008-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suneel, Suneel Saguturu wrote: I am facing one problem, i.e. I have to configure two SSL certificates to JBoss server, I know they are internally using Tomcat for web container. Is it possible to add multiple Certificates to one server

How to add multiple SSL Certificates to Tomcat Server

2008-11-19 Thread Suneel Saguturu
All- I am facing one problem, i.e. I have to configure two SSL certificates to JBoss server, I know they are internally using Tomcat for web container. Is it possible to add multiple Certificates to one server instance itself? If so, then how?

Re: a cookie question of one Server with two tomcat server

2008-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: I've monitored the value of cookies with debug mode at server running, and the cookie values were be set to the new values. I'm not sure what effect of setting the session as invalidate and setting new cookie values, I think set

Re: a cookie question of one Server with two tomcat server

2008-11-09 Thread Bon
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/a-cookie-question-of-one-Server-with-two-tomcat-server-tp20355052p20414674.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: a cookie question of one Server with two tomcat server

2008-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: the logout Servlet will do something as following: 1. set the cookies maxAge to 0 and add them into response again. cookie.setMaxAge(0); response.addCookie(cookie); 2. set the session to invalidate

Re: a cookie question of one Server with two tomcat server

2008-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: In my environment there are two tomcat server runing with different port in one server , and both two must set its own cookies into client Are you talking about JSESSIONID cookies, or some other ones? now, when I open

Re: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
. Thank you for your help~ Bon Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: In my environment there are two tomcat server runing with different port in one server , and both two must set its own cookies into client Are you talking about

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Caldarale, Charles R
From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm not sure what's difference of JSESSIONID cookies and javax.servlet.http.Cookie, JSESSIONID is the specific cookie called out by the servlet spec to be used for tracking sessions

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
with two tomcat server I'm not sure what's difference of JSESSIONID cookies and javax.servlet.http.Cookie, JSESSIONID is the specific cookie called out by the servlet spec to be used for tracking sessions between client and server. Instances of javx.servlet.http.Cookie can be any cookie you

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
also set the JSESSIONID to 0 maybe could be solve my problem right? I'll try it. thank you for your answer. Bon Caldarale, Charles R wrote: From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm not sure what's difference

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
my own cookies's maxAge to 0, if I also set the JSESSIONID to 0 maybe could be solve my problem right? I'll try it. thank you for your answer. Bon Caldarale, Charles R wrote: From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm

<    1   2   3   4   5   6   7   8   >