Re: Basic authentication without a secure connection

2009-05-03 Thread André Warnier
Mmmm wait.. I think I am starting to understand what you want. A question first : are the Tomcat server (+Struts) and the php application on the same host ? A second question : does your Tomcat host know the login user-id and password of the users ? In other words, can the host where Tomcat r

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 comp

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 fi

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 tomcat

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

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 tha

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 T

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

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

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

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 pro

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

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 To: Tomcat Users List Sent: Sunday, May 3, 2009 4:08:19 PM Subject: Re: OT: GoDaddy Hosting

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: http://www.hosting-review.com/hosting-d

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 a

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 ap

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 fr

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 attribut

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 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?). > > A

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

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

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

Re: Basic authentication without a secure connection

2009-05-03 Thread Tokajac
Thank you for the link, André-John! User should access the application directly (not proxying). On http://hc.apache.org/httpclient-3.x/tutorial.html as I see header is created for programatic access and not via browser. Is it possible to do this when I use browser for accessing? How? Regards

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 Mic

Re: hot-deploy problems

2009-05-03 Thread Hassan Schroeder
On Fri, May 1, 2009 at 7:52 AM, david owens 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 hassa

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

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 remin

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 wrote: > From: Pid > Subject: Re: hot-deploy problems > To: "Tomcat Users List" > Date: Friday, May 1, 2009, 11:39 AM > Umm, are you uploading war files directly to

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. > http://tomcatserver

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 i

RE: JDBCRealm, Tomcat and MySQL

2009-05-03 Thread Caldarale, Charles R
> From: ubk [mailto:m.urbanow...@o2.pl] > Subject: JDBCRealm, Tomcat and MySQL > > > type="javax.sql.DataSource"/> > You say you're using Tomcat 6.0.18, but the config you've specified is for some ancient version. Read the doc appropriate to your level: http://tomcat.apa

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 i

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: 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: http://en.wikip

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

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