Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Konstantin Kolinko
2011/6/30 Rohan Kadam : > Hi All, > > We had recently upgraded tomcat from 5.5.30 to 7.0.14. We were earlier facing > problem that tomcat was not able to connect using Static IP address. The fix > that we found was adding > address = "0.0.0.0" in the Connector tag of server.xml in the "conf" > dir

Re: [OT] webapps and TCP/UDP listening sockets

2011-07-01 Thread David kerber
On 7/1/2011 2:39 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/1/2011 11:03 AM, David kerber wrote: I don't know anything about x11, but if it's similar to Citrix or Microsoft RDP No, it's Citrix and RDP that are like X11 :) Like I said, I know no

Re: Access to manager webapp (JAAS exception)

2011-07-01 Thread Chema
> 01-jul-2011 17:23:55 org.apache.catalina.realm.JAASRealm setContainer > INFO: Set JAAS app name Catalina >> I don't see a log error, only an INFO message. Right. I just said that I didnt understand this message , because I dont have configurated any JAASRealm I've dowloaded 7.0.16 release and t

Re: Access to manager webapp (JAAS exception)

2011-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chema, On 7/1/2011 11:26 AM, Chema wrote: > 2011/7/1 Mark Thomas : >> On 01/07/2011 15:22, Chema wrote: >>> Hi: >>> >>> I've just installed ( unzipped ) Tomcat 7.0.14 and I'm trying to >>> access to manager web application. >> >> What else did you cha

Re: [OT] webapps and TCP/UDP listening sockets

2011-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/1/2011 11:03 AM, David kerber wrote: > I don't know anything about x11, but if it's similar to Citrix or > Microsoft RDP No, it's Citrix and RDP that are like X11 :) - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 7/1/2011 10:52 AM, Tim Judd wrote: > I understand you guys are trying to help, but I am disappointed all I'm > hearing > is "you're doing it wrong" basically. You're reading it wrong: I was asking "what are you doing?" not telling you that

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rohan, On 7/1/2011 7:56 AM, Rohan Kadam wrote: > We have created a service named say "ABCTomcat" > > Then we navigated to bin directory of tomcat, typed the following command - > > tomcat7w.exe //ES//ABCTomcat > > After that Iwent to Java Tab, and

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread Mark Eggers
- Original Message - > From: Tim Judd > To: Tomcat Users List > Cc: > Sent: Friday, July 1, 2011 7:52 AM > Subject: Re: webapps and TCP/UDP listening sockets > > Hi Pid, all > > I'm disappointed the responses I've gotten seemingly to be scolding > messages.  I > am reading up on doc

RE: Tomcat 7 Embedded: Manager

2011-07-01 Thread Caldarale, Charles R
> From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] > Subject: Re: Tomcat 7 Embedded: Manager > i guess the problem is that the manager-servlet's context is > "mounted" at root I think right there we have a conceptual problem, or at least a terminology one. Webapps aren't "mounted" i

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread André Warnier
Tim Judd wrote: Hi Pid, all I'm disappointed the responses I've gotten seemingly to be scolding messages. I am reading up on documentation, I am reading the APIs, I am reading everything I can. Think of Citrix (in Windows environments) - code is executed on the server and displayed on your

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread Tim Judd
David, Thank you loads. :) If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. From: David kerber To: Tomcat Users List Sent: Fri, July 1, 2011 9:03:58 AM Subje

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 12:44, Dark Before Dawn wrote: > Hi Pid, > i guess the problem is that the manager-servlet's context is "mounted" > at root and the ServletMapping points to /manager. > >> server.addContext("", baseDirectory); >> ctx.addServletMapping("/manager/*", manager-servlet); > > So all relat

Re: Access to manager webapp (JAAS exception)

2011-07-01 Thread Mark Thomas
On 01/07/2011 16:26, Chema wrote: > 2011/7/1 Mark Thomas : >> On 01/07/2011 15:22, Chema wrote: >>> Hi: >>> >>> I've just installed ( unzipped ) Tomcat 7.0.14 and I'm trying to >>> access to manager web application. >> >> What else did you change? >> > > > I think nothing. > There is a log when s

Re: Access to manager webapp (JAAS exception)

2011-07-01 Thread Chema
2011/7/1 Mark Thomas : > On 01/07/2011 15:22, Chema wrote: >> Hi: >> >> I've just installed ( unzipped ) Tomcat 7.0.14 and I'm trying to >> access to manager web application. > > What else did you change? > I think nothing. There is a log when server starts that I dont understand : 01-jul-2011 1

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread David kerber
On 6/30/2011 11:45 PM, Tim Judd wrote: Hi Christopher, all 'machine' was meant to indicate one of two choices, the computer that is running the tomcat server, or the computer who is the client in a client-server relationship. I don't know the intricities of webapps yet in how they run. This thr

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread Tim Judd
Hi Pid, all I'm disappointed the responses I've gotten seemingly to be scolding messages. I am reading up on documentation, I am reading the APIs, I am reading everything I can. Think of Citrix (in Windows environments) - code is executed on the server and displayed on your desktop; X11 fo

Re: Access to manager webapp (JAAS exception)

2011-07-01 Thread Mark Thomas
On 01/07/2011 15:22, Chema wrote: > Hi: > > I've just installed ( unzipped ) Tomcat 7.0.14 and I'm trying to > access to manager web application. What else did you change? Mark > > So, > > http://127.0.0.1:8080/manager/html > > and popup a browser logging form. > > My conf/tomcat-users.xml

Access to manager webapp (JAAS exception)

2011-07-01 Thread Chema
Hi: I've just installed ( unzipped ) Tomcat 7.0.14 and I'm trying to access to manager web application. So, http://127.0.0.1:8080/manager/html and popup a browser logging form. My conf/tomcat-users.xml is But, when I try to log in, an exception occurs: 01-jul-2011 16:10:51 org.apache

RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Rohan Kadam
We have created a service named say "ABCTomcat" Then we navigated to bin directory of tomcat, typed the following command - tomcat7w.exe //ES//ABCTomcat After that Iwent to Java Tab, and added the below line in Java Option Section. Please let me know if I am missing something. -Original Me

RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Rohan Kadam
Sorry Folks...I forgot to mention, I have also restarted the service after the changes were done. -Original Message- From: Rohan Kadam Sent: Friday, July 01, 2011 5:26 PM To: Tomcat Users List Subject: RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14) We have created a

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Pid
On 01/07/2011 12:07, Rohan Kadam wrote: > I have tries to set this java option in catalane .bat, but no success > > -Djava.net.preferIPv4Stack=true > > I am using tomcat as a service, so configures the same in Java properties as > well. But it is not working. How are you setting it, exactly?

RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Rohan Kadam
I have tries to set this java option in catalane .bat, but no success -Djava.net.preferIPv4Stack=true I am using tomcat as a service, so configures the same in Java properties as well. But it is not working. Please suggest. -Original Message- From: Pid [mailto:p...@pidster.com] Sent:

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Dark Before Dawn
sorry for that :) diddn't want to annoy Cheers Darky Am 01.07.2011 12:41, schrieb Pid: On 01/07/2011 10:40, Dark Before Dawn wrote: this is realy driving me nuts for weeks so *does* the arbit*rary* use of *bold* for me. p -

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Pid
On 30/06/2011 21:57, Christopher Schultz wrote: > Rohan, > > On 6/30/2011 8:01 AM, Rohan Kadam wrote: >> We had recently upgraded tomcat from 5.5.30 to 7.0.14. We were earlier facing >> problem that tomcat was not able to connect using Static IP address. The fix >> that we found was adding >> addr

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 10:40, Dark Before Dawn wrote: > Hi again, > this is realy driving me nuts for weeks :) > FAIL - Encountered exception javax.management.InstanceNotFoundException: > Tomcat:type=Deployer,host=localhost 1. Connect to your running instance with JConsole*. 2. Examine the MBeans publish

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 10:40, Dark Before Dawn wrote: > this is realy driving me nuts for weeks so *does* the arbit*rary* use of *bold* for me. p signature.asc Description: OpenPGP digital signature

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread Pid
On 01/07/2011 04:45, Tim Judd wrote: > Hi Christopher, all > > 'machine' was meant to indicate one of two choices, the computer that is > running > the tomcat server, or the computer who is the client in a client-server > relationship. So you meant the client or the server. > I don't know t

Re: How to start & stop embedding Tomcat correctly?

2011-07-01 Thread Rehtron
OK, thank you very much for your help! 2011/7/1 Mark Thomas > On 01/07/2011 10:56, Rehtron wrote: > > Windows XP, did you mean I should use different port for every test? > > I have seen all OSes hold on to ports after Tomcat has shutdown. Windows > isn't as bad as Linux but it does happen som

Re: How to start & stop embedding Tomcat correctly?

2011-07-01 Thread Mark Thomas
On 01/07/2011 10:56, Rehtron wrote: > Windows XP, did you mean I should use different port for every test? I have seen all OSes hold on to ports after Tomcat has shutdown. Windows isn't as bad as Linux but it does happen sometimes. Yes, you need to use a new port for each test. Again, take a look

Re: How to start & stop embedding Tomcat correctly?

2011-07-01 Thread Rehtron
Windows XP, did you mean I should use different port for every test? Thanks. 2011/7/1 Mark Thomas > On 01/07/2011 10:29, Rehtron wrote: > > Yes, I use same port for all test, but I think the port should be release > > after tomcat stopped. > > What OS are you using? > > Mark > > > > > thanks. >

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Dark Before Dawn
Hi again, this is realy driving me nuts for weeks :) I am developing a Java SE application using *Tomcat* 7 in embedded mode. I am attempting to use the *tomcat* manager application (ManagerServlet) and Ant tasks to perform operations on the running *tomcat* instance. Tasks such as list, sta

RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Rohan Kadam
Please find my connector tag below, I have modified it to listen 7070 - -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, July 01, 2011 3:00 PM To: Tomcat Users List Subject: Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14) Well, answeri

Re: How to start & stop embedding Tomcat correctly?

2011-07-01 Thread Mark Thomas
On 01/07/2011 10:29, Rehtron wrote: > Yes, I use same port for all test, but I think the port should be release > after tomcat stopped. What OS are you using? Mark > > thanks. > > 2011/7/1 Mark Thomas > >> On 01/07/2011 10:07, Rehtron wrote: >>> Dear all, >>> >>> I use org.apache.catalina.st

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread André Warnier
Well, answering Christopher's questions would be a good start. Then also maybe paste the content of your tag in your next message. Rohan Kadam wrote: Hi All, Is some more information required for this? Thanks. -Original Message- From: Rohan Kadam Sent: Thursday, June 30, 2011 7:26

Re: How to start & stop embedding Tomcat correctly?

2011-07-01 Thread Rehtron
Yes, I use same port for all test, but I think the port should be release after tomcat stopped. thanks. 2011/7/1 Mark Thomas > On 01/07/2011 10:07, Rehtron wrote: > > Dear all, > > > > I use org.apache.catalina.startup.Tomcat to do unit test, but the > instance > > of which cannot be started o

RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Rohan Kadam
Hi All, Is some more information required for this? Thanks. -Original Message- From: Rohan Kadam Sent: Thursday, June 30, 2011 7:26 PM To: Tomcat Users List Subject: RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14) Hi, I am using JAVA 1.6 update 23 version. Thanks,

Re: How to start & stop embedding Tomcat correctly?

2011-07-01 Thread Mark Thomas
On 01/07/2011 10:07, Rehtron wrote: > Dear all, > > I use org.apache.catalina.startup.Tomcat to do unit test, but the instance > of which cannot be started or stopped correctly. > > I start and stop embedding tomcat for each test case, but first test can be > passed, the second one will be faile

How to start & stop embedding Tomcat correctly?

2011-07-01 Thread Rehtron
Dear all, I use org.apache.catalina.startup.Tomcat to do unit test, but the instance of which cannot be started or stopped correctly. I start and stop embedding tomcat for each test case, but first test can be passed, the second one will be failed by 503 Service, unavailable, the tomcat.start()