Re: how to setup jconsole to monitor tomcat locally

2009-05-09 Thread Anamika raj
hi i m not getting the meaning of that [ create CATALINA_HOME/bin/setenv.sh 3. Make it executable 4. Add the following to setenv.sh export CATALINA_OPTS=-Dcom.sun.management.jmxremote] please tell me if i did right i created one batch file setenv.bat and made directory structure like

RE: how to setup jconsole to monitor tomcat locally

2009-05-09 Thread Karthik Nanjangude
Hi CATALINA_OPTS=-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=9004 \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false Just add the following as 1'st line's into u'r /TOMCAT/bin/Catalina.bat ( .sh on Unix /Linux)

RE: Tomcat Configuration in Eclipse

2009-05-09 Thread Karthik Nanjangude
Hi I have been using this plug-in for long time...I have not found any issues... The plug in for Eclipse is used only for start/stop/ war file creation only For Tomcat and not for any other purpose Once the zip file exploded and placed under Eclipse/plugin's . u need to restart Eclipse and

enable only localhost access to tomcat 6.0.18 /manager in win32

2009-05-09 Thread m zyzy
I am using win32 server (Server 2008 Enterprise SP1) and tomcat 6.0.18 (extracted from zip) . I am a newbie in tomcat who use the bundled manager application as often as I can to deploy /undeploy webapp or simply to manage it. As I set a hard-to-guess password and username in the tomcat-users.xml

Deploy a WAR

2009-05-09 Thread Mosab Hsis
Hi everybody I have a problem with Apache Tomcat in Netbeans 6.5 and Apache Tomcat separated... I made my project with Netbeans 6.5, the server is Apache Tomcat who is included with it... When I deploy, it work very good But when a made my *.WAR and I installe Apache Tomcat separeted and I

Re: Form Based Authentication creates user session before it is authenticated?

2009-05-09 Thread Pid
umeshkavade wrote: Hello, In my web application, I am using tomcat's form based authentication for protecting my secure web pages. Thus whenever user starts accessing webapp by providing an URL of protected page, it is redirected to login page. However, while doing so it creates a session.

Re: Form Based Authentication creates user session before it is authenticated?

2009-05-09 Thread Pid
Pid wrote: umeshkavade wrote: Hello, In my web application, I am using tomcat's form based authentication for protecting my secure web pages. Thus whenever user starts accessing webapp by providing an URL of protected page, it is redirected to login page. However, while doing so it creates

Tomcat and Oracle connections

2009-05-09 Thread Wouter D'Haeseleer
Hi Guys, We have an Oracel RAC at work and using some applications running on a tomcat which needs oracle. Nearly every week we have a problem with these connections. We are getting: ORA-12520: TNS:listener could not find available handler for requested type of server This means, no

RE: Form Based Authentication creates user session before it is authenticated?

2009-05-09 Thread Martin Gainty
take a look at HttpServletRequest.code for method which creates a new session via getSession(request,true) http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Core/Servlet-API-by-tomcat/javax/servlet/http/HttpServletRequest.java.htm getSession(request,true) will create a new Session

RE: how to setup jconsole to monitor tomcat locally

2009-05-09 Thread Caldarale, Charles R
From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Subject: RE: how to setup jconsole to monitor tomcat locally Just add the following as 1'st line's into u'r /TOMCAT/bin/Catalina.bat ( .sh on Unix /Linux) Bad advice. You should not be modifying Tomcat-supplied scripts;

RE: phpmyadmin and tomcat

2009-05-09 Thread Martin Gainty
not to mention if one of the php libraries (such as php5ts) crashes your server you will have to acquire all the make,cc,link build tools (good luck with that as you will have to get that from OS vendor) acquire all the makefile build scripts(BTW none of the php build scripts in the src distro

RE: how to setup jconsole to monitor tomcat locally

2009-05-09 Thread Caldarale, Charles R
From: Anamika raj [mailto:rajnam...@gmail.com] Subject: Re: how to setup jconsole to monitor tomcat locally hi i m not getting the meaning of that [ create CATALINA_HOME/bin/setenv.sh CATALINA_HOME refers to the directory in which you have Tomcat installed. 3. Make it executable

Mandragora 0.3.2 released : Ejb support

2009-05-09 Thread Alessandro Colantoni
Mandragora (http://mandragora.sourceforge.net/) is an opensource framework that provides a pre-built infrastructure for every kind of java application. Mandragora is a generic business layer highly configurable and easily extensible, suitable for distributed applications as well, that come with

RE: Tomcat and Oracle connections

2009-05-09 Thread Caldarale, Charles R
From: Wouter D'Haeseleer [mailto:wdhaesel...@vangenechten.com] Subject: Tomcat and Oracle connections Don't suppose you could be bothered to tell us the Tomcat version, JVM level, and OS you're running on? And when I look at the connections itself in oracle I see that the following

Re: Tomcat and Oracle connections

2009-05-09 Thread George Sexton
Your application is not closing all result sets, statements, or connections. You might get a tool like FindBugs http://findbugs.sourceforge.net/ and look at your application if it's compiled java. Wouter D'Haeseleer wrote: Hi Guys, We have an Oracel RAC at work and using some applications

RE: enable only localhost access to tomcat 6.0.18 /manager in win32

2009-05-09 Thread Caldarale, Charles R
From: m zyzy [mailto:myz...@gmail.com] Subject: enable only localhost access to tomcat 6.0.18 /manager in win32 Now , I want the /manager webapp only be accesible from localhost only ( but other webapp must be accessible from outside whether private LAN or Internet) ,but how ? Use the

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Configuration help with tomcat connectors I have been trying to set up tomcat with apache 2.2 for the last few days and have been unsuccessful in getting the connectors working with the supplied example files.

RE: Configuration help with tomcat connectors

2009-05-09 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors So, I am told there will be static content as well as JSP pages. Tomcat does an excellent job of serving static content all by itself. Unless you have some other compelling need to run httpd

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
André Warnier wrote: Hi. Just for a start, add a line after this one : # Send JSPs for context /jsp-examples to worker named default JkMount /jsp/*.jsp worker1 JkMount /jsp worker1 and just try again (after restarting Apache) Note : I also think you've got way too many workers there,

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors So, I am told there will be static content as well as JSP pages. Tomcat does an excellent job of serving static content all by itself. Unless you

RE: Configuration help with tomcat connectors

2009-05-09 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors So, can you clarify what you mean by standalone? Not front-ended by httpd or other web server. Right now it is running on port 8080 and I have other sites running on this server on the

Sanity check: Multiple SSL virtual hosts

2009-05-09 Thread Ognjen Blagojevic
Hi all, I just configured Tomcat 6.0.18 (over CentOS 5.3 and Java 1.6.0u13) to work with two virtual hosts over https, and wanted to check is this the proper configuration: two https connectors (bounded to the IPs) with two keystores, two Host elements, all inside one Service element. Here

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors So, can you clarify what you mean by standalone? Not front-ended by httpd or other web server. Right now it is running on port 8080 and I have other sites

Re: Sanity check: Multiple SSL virtual hosts

2009-05-09 Thread Mark Thomas
Ognjen Blagojevic wrote: Does this look right? It should work. The only potential issue is that a request to 123.123.123.111 can still access host2 (although they will get a warning about certificate validity). It would require playing with name resolution (eg local hosts file) to do this. Mark

Re: IIS Redirect Issue

2009-05-09 Thread Mark Thomas
Maze, Jeffrey S. wrote: Hello, I'm new to the list. I'm having an issues with Tomcat. I'm using version 1.2.28 of the redirect, and I've tried Tomcat versions 6.0.18 and 5.5.27 and Java versions 1.5u18 and 1.6u13. No matter what Tomcat or Java version I use, I have the same

Re: Configuration help with tomcat connectors

2009-05-09 Thread André Warnier
Dave Filchak wrote: ... Hi. Since the simple answer did not work (or was not sufficient), and since on the other hand you seem to be wanting to understand what you are doing, let me try to give you an overview. For short, I will use Apache when I mean Apache httpd, and Tomcat to mean the

RE: Sanity check: Multiple SSL virtual hosts

2009-05-09 Thread Martin Gainty
I noticed you are using the same port 8443 for 2 different connectors each connector needs their own IP/port combination Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
André Warnier wrote: snip André, Thanks very much for taking the time to write this very helpful and detailed response. I truly appreciate it. I have basically come to terms with most of the theory in what you are saying here and slowly the light is coming on. ... BUT I have

RE: Configuration help with tomcat connectors

2009-05-09 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors 1a: I assume that if the DNS for a particular virtualhost (domain) points to this new IP, the tomcat server will serve the correct files based on the context? True. 2. Modify the

RE: Sanity check: Multiple SSL virtual hosts

2009-05-09 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Sanity check: Multiple SSL virtual hosts It should work. The only potential issue is that a request to 123.123.123.111 can still access host2 Shouldn't there be Alias elements for the IP addresses for each Host to insure proper

RE: Configuration help with tomcat connectors

2009-05-09 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Configuration help with tomcat connectors Engine name=Catalina defaultHost=test.mydomain.net Host name=test.mydomain.net appbase=webapps It's not necessary to change the Host name (or the defaultHost) if you only have one

RE: Sanity check: Multiple SSL virtual hosts

2009-05-09 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Sanity check: Multiple SSL virtual hosts I noticed you are using the same port 8443 for 2 different connectors each connector needs their own IP/port combination ??? The OP's config clearly shows a separate IP address for each of

RE: Sanity check: Multiple SSL virtual hosts

2009-05-09 Thread Martin Gainty
wrong again Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Charles, Caldarale, Charles R wrote: Engine name=Catalina defaultHost=test.mydomain.net Host name=test.mydomain.net appbase=webapps It's not necessary to change the Host name (or the defaultHost) if you only have one Host element, so I'd recommend changing both back to

Re: Configuration help with tomcat connectors

2009-05-09 Thread Dave Filchak
Charles, Caldarale, Charles R wrote: WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'appbase' to 'webapps' did not find a matching property. The above is due to the invalid Context element in server.xml. I have removed the offending Context element but I

Is it possible to move Tomcat logfiles?

2009-05-09 Thread johnrock
I am setting up a CentOS 5 server running tomcat and wanted to know whether the best practice is to leave the Tomcat logfiles in their default location: /usr/share/apache-tomcat-6.0.18/logs or whether I should place them in another directory like /var/log/tomcat. Is this possible, and/or