Re: JDBCRealm, Tomcat and MySQL

2009-05-03 Thread Pid
ubk wrote: Hi all I have a problem with authorization based on JDBCRealm. When I'm trying to get access to some html page which is store in protected directory all that I can see is just login-error.jsp page. I'm using login and password from my database. My server.xml: ?xml

Re: JDBCRealm, Tomcat and MySQL

2009-05-03 Thread ubk
Pid-2 wrote: Tomcat version? Are you sure you can connect to the database using the db user/pass you've specified? p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Database pooling prob

2009-05-03 Thread André Warnier
S Arvind wrote: Why ip is missing??? man netstat or netstat -h - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Basic authentication without a secure connection

2009-05-03 Thread Tokajac
Now why would you want to do that ? I want to connect applications: one is running on Tomcat (Java/Struts) with another (php). I have an application running on Tomcat that has a link to other application which is on another server. Application on another server is protected with:

Re: Basic authentication without a secure connection

2009-05-03 Thread Andre-John Mas
On 3-May-2009, at 08:11, Tokajac wrote: Now why would you want to do that ? I want to connect applications: one is running on Tomcat (Java/ Struts) with another (php). I have an application running on Tomcat that has a link to other application which is on another server. Application on

RE: Database pooling prob

2009-05-03 Thread Caldarale, Charles R
From: S Arvind [mailto: arvindw...@gmail.com] Subject: Re: Database pooling prob Why ip is missing??? It's not. [::1] is the IPv6 equivalent of IPv4 127.0.0.1. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the

RE: JDBCRealm, Tomcat and MySQL

2009-05-03 Thread Caldarale, Charles R
From: ubk [mailto:m.urbanow...@o2.pl] Subject: JDBCRealm, Tomcat and MySQL GlobalNamingResources Resource name=jdbc/MySQL auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/MySQL You say you're using Tomcat 6.0.18, but the Resource config you've

Re: Database pooling prob

2009-05-03 Thread Andre-John Mas
The IP address isn't missing. What you are seeing is an IPv6 address, and more specifically the localhost IP address. For information see: http://en.wikipedia.org/wiki/IPv6 You can try doing 'ping6 ::1' and you will get a repsonse. André-John On 2-May-2009, at 17:17, S Arvind wrote: Why

RE: Redurect URL From Tomcat to IIS

2009-05-03 Thread Caldarale, Charles R
From: akkad [mailto:ahmed.ak...@gmail.com] Subject: Redurect URL From Tomcat to IIS the tomcat server is directly connected to the internet and also it has dhcp which assign the IIS server IP address The above is not at all clear and is probably key to your issue.

Re: hot-deploy problems

2009-05-03 Thread david owens
yes. I prefer to keep things that simple if possible. But I do need to find a way around the errors --- On Fri, 5/1/09, Pid p...@pidster.com wrote: From: Pid p...@pidster.com Subject: Re: hot-deploy problems To: Tomcat Users List users@tomcat.apache.org Date: Friday, May 1, 2009, 11:39

RE: jk-to-tomcat multiple retries

2009-05-03 Thread Caldarale, Charles R
From: Dmitry Beransky [mailto:dmitry.ma...@gmail.com] Subject: Re: jk-to-tomcat multiple retries Unfortunately, the pesky reality is that I would not be permitted to do such an upgrade to our entire infrastructure until I can show that all other options have been exhausted. This reminds me

RE: hot-deploy problems

2009-05-03 Thread david owens
Hello Tomcat 6.0.18 Java 1.6.0_01 OS winXPPro I really like the flexability of just dropping a war file in the webapp directory (as opposed to having individual deploy directories on the server for each webapp). Do you know any way around these occational deploy problems? Thanks again, --

Re: hot-deploy problems

2009-05-03 Thread Hassan Schroeder
On Fri, May 1, 2009 at 7:52 AM, david owens ym...@yahoo.com wrote: I don't currently specify a config.xml and it seems to have something to do with that (docbase and appbase being the same?). Are you saying you have docBase == appBase? If so, don't :-) -- Hassan Schroeder

Re: Database pooling prob

2009-05-03 Thread André Warnier
Andre-John Mas wrote: The IP address isn't missing. What you are seeing is an IPv6 address, and more specifically the localhost IP address. For information see: http://en.wikipedia.org/wiki/IPv6 You can try doing 'ping6 ::1' and you will get a repsonse. TCP[::1]:80

Re: Basic authentication without a secure connection

2009-05-03 Thread Andre-John Mas
The browser takes care of that, and you should not be trying to over- ride it. If you don't want to retype the username/password all the time, then you can tell teh browser to remember the password, or have the server in question not asking for the password, understanding the consequences -

Re: Basic authentication without a secure connection

2009-05-03 Thread André Warnier
Imre, just repeating some of the things you've said previously : Tokajac wrote: I want to connect applications: one is running on Tomcat (Java/Struts) with another (php). I want to pass credentials after link is clicked, so I don't need to fill the username and password informations. I

Problem to Deploy Grails 1.1 Web-App-

2009-05-03 Thread Martin Gelling
Hi all, I've a problem to deploy my Grails 1.1 web-app. For development I usesd Tomcat 5.5.27 (standalone) and it runs very well. But I want to deploy my Grails 1.1 web-app. with Apache and Tomcat 5.5.25 The prob is this error: INFO: Manager: restart: Reloading web application at '/testapp-0.1'

RE: Extra Threads in background

2009-05-03 Thread Caldarale, Charles R
From: David.Meldrum [mailto:david.meld...@verizon.net] Subject: Re: Extra Threads in background I did not call the destroy() method because I though it was deprecated and dangerous. I believe Chris meant the ServletContextListener.contextDestroyed() method, not Thread.destroy(); the

RE: hot-deploy problems

2009-05-03 Thread Caldarale, Charles R
From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Subject: Re: hot-deploy problems On Fri, May 1, 2009 at 7:52 AM, david owens ym...@yahoo.com wrote: I don't currently specify a config.xml and it seems to have something to do with that (docbase and appbase being the same?).

RE: hot-deploy problems

2009-05-03 Thread Caldarale, Charles R
From: david owens [mailto:ym...@yahoo.com] Subject: RE: hot-deploy problems Java 1.6.0_01 For security and stability, you really should update the JVM. OS winXPPro Windows has serious file locking issues; you will likely need to set the antiJARLocking and antiResourceLocking attributes

RE: Problem to Deploy Grails 1.1 Web-App-

2009-05-03 Thread Caldarale, Charles R
From: Martin Gelling [mailto:martin.gell...@gmx.de] Subject: Problem to Deploy Grails 1.1 Web-App- For development I usesd Tomcat 5.5.27 (standalone) and it runs very well. But I want to deploy my Grails 1.1 web-app. with Apache and Tomcat 5.5.25 1) Post the server.xml files from both

Re: Basic authentication without a secure connection

2009-05-03 Thread Tokajac
I think my idea would be scenario 4.) I want to: 1.) Open a browser and write Tomcat application's address (localhost:8080/myapp); 2.) Write username and password in login fields of the application; 3.) Save credentials in session after successful login; 4.) Have link to completely separate

Re: IIS 6 Tomcat Connector isapi_redirect-1.2.28.dll not being called 404 2 1260 error

2009-05-03 Thread Rainer Jung
On 01.05.2009 22:46, FOREBACK Dianne wrote: I cannot get IIS 6 to use the Tomcat connector to redirect requests. I followed the directions in http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html configuring the registry by hand. This should be a relatively simple task but I am

Re: OT: GoDaddy Hosting and Tomcat

2009-05-03 Thread George Sexton
Evan Siegel wrote: This posting raises a question I've long had: What JSP-friendly hosts are to be recommended. I did some searching and came up with a large number of helpful sites, but I'd like to poll the list members on the matter.See the following:

Re: OT: GoDaddy Hosting and Tomcat

2009-05-03 Thread Kerry Jacabson
Hi George, checkout http://www.webappcabaret.com They offer a wide variety of Java hosting plans - shared jvm, private jvm, as well as VPS based.   From: George Sexton geor...@mhsoftware.com To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, May 3,

RE: OT: GoDaddy Hosting and Tomcat

2009-05-03 Thread Martin Gainty
if someone elses webapp does a system.exit(1) does that impact your JVM process ? since diskspace,memory and servers are dirt cheap what advantages does VPS offer? i would be curious as to which VPS implementation these guys use Martin _ Disclaimer

Tomcat 6 on Win32 - Enabling Security Manager

2009-05-03 Thread Chris Brookes
_ Looking for a fresh way to share your photos? Check out the new Windows Live Messenger http://windowslive.ninemsn.com.au/article.aspx?id=792335 - To unsubscribe,

Re: OT: GoDaddy Hosting and Tomcat

2009-05-03 Thread Kerry Jacabson
Hi Martin, How the plans are setup at WebAppCabaret, the Shared JVMs are run under a Security Manager; so an app calling system.exit would just throw a security exception. I think many choose VPS as a cheaper alternative to a dedicated server as the cost for data center space keeps increasing. 

Tomcat 6.0.18 on Win32 - Enabling Security Manager

2009-05-03 Thread Chris Brookes
Apologies for previous blank question, I am not sure what happened, actual question below... Chris -- Hi, I am writing a Tomcat 6 on Windows hardening guide

RE: OT: GoDaddy Hosting and Tomcat

2009-05-03 Thread Martin Gainty
How does the webapp owner configure a System Exception to throw a SecurityException? For which version of TC does this configuration use? Do you also support WL or Glassfish? Do you support EJB2 and or EJB3? Would this SecruityException be enabled for HTTPS with keystore or using a external

Tomcat over AJP with Apache in front SSL Issues

2009-05-03 Thread matt617
when using apache 2.2, tomcat 5.5.20 on top of java 1.5.10+ using Apache with Mod_SSL and Mod_Proxy to connect the Incoming http session through AJP to Tomcat my browser repeatidly prompts me for a ceritficate. 3 times at the beginning, then about 3 times every 10 minutes. does anyone know why?

RE: Tomcat 6.0.18 on Win32 - Enabling Security Manager

2009-05-03 Thread Caldarale, Charles R
From: Chris Brookes [mailto:cabb...@hotmail.com] Subject: Tomcat 6.0.18 on Win32 - Enabling Security Manager However, when I install Tomcat there is no such program as catalina in the bin directory so I can't run it like that. The .bat scripts are only part of the .zip download, not the .exe

Re: Deploying a WAR file in tomcat 6

2009-05-03 Thread astra123
Hi, Thanks for your response. I have deployed the WAR file as you said. Im trying to bring that into NetBeans. Maciek Rakowski wrote: you don't need netbeans to deploy the .war file. You simply put it in your .war file in the webapps directory of the tomcat folder, or use tomcat manager.

RE: Tomcat 6.0.18 on Win32 - Enabling Security Manager

2009-05-03 Thread Chris Brookes
Thanks for your assistance, I will give that a try. I must say that the nature of your questions leaves me with some concern about the content of your guide... Hmmm, I wont bite but I will provide a little more information on what I am doing. The guide is specifically being written for

Re: Database pooling prob

2009-05-03 Thread Rusty Wright
What did you specify for the ip address that tomcat uses for connecting to the database? If, for example, tomcat is using the host name of your machine, or its ip address that you'd use to connect to it from the outside, and psql is using localhost (127.0.0.1) which is a special ip address

Re: Database pooling prob

2009-05-03 Thread ados1...@gmail.com
Hi, I am trying to configure Tomcat Server on Eclipse and I am not able to do it. My goal is to create a simple JSP page and deploy that on Tomcat Server and access that page through Browser. Guidance would be really appreciated. Regards, Ados. On Sun, May 3, 2009 at 9:12 PM, Rusty Wright

RE: Database pooling prob

2009-05-03 Thread Caldarale, Charles R
From: ados1...@gmail.com [mailto:ados1...@gmail.com] Subject: Re: Database pooling prob I am trying to configure Tomcat Server on Eclipse and I am not able to do it. Don't hijack threads. Start a completely new thread (don't just change the subject line) when you have a new topic to

Re: Deploying a WAR file in tomcat 6

2009-05-03 Thread Maciek Rakowski
So do you want to deploy without copying the .war file? One way to do it is just to right-click on the project, and click 'Deploy.' It worked for me. Either way, you're able to attach the debugger through netbeans. Either way you deploy your application, you can attach the debugger using

Re: Deploying a WAR file in tomcat 6

2009-05-03 Thread astra123
Hi, Thanks for ur reply. Through NetBeans im able to access the WAR file project. I simply imported the project as web existing web application into NetBeans 6. Now im able to hit the login page of it.:-)) Thanks, Maciek Rakowski wrote: So do you want to deploy without copying the .war

Re: Basic authentication without a secure connection

2009-05-03 Thread André Warnier
Tokajac wrote: I think my idea would be scenario 4.) I want to: 1.) Open a browser and write Tomcat application's address (localhost:8080/myapp); 2.) Write username and password in login fields of the application; 3.) Save credentials in session after successful login; 4.) Have link to