Re: Error on startup catalina

2010-06-02 Thread Bob Hall
Sondro, --- On Wed, 6/2/10 at 2:57 PM, Sandro Gallo wrote: > TOMCAT version: 6.0.26. > > java -version > java version "1.6.0_17" > Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248) > Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, > mixed mode) > The version of Java is already on

Re: Out of Memory exception (hotspot compilation)

2010-06-02 Thread Leon Rosenberg
On Thu, Jun 3, 2010 at 1:54 AM, Leon Kolchinsky wrote: > Yep :) > You're right Charles. > > Thanks, > Leon >From Leon To Leon, an advice from personal experience and the golden rule of the tomcat user list, write it down in glowing red letters on the wall you are looking at most: Charles is ALWAY

Re: Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
I moved the CGI servlet mapping from tomcat/conf/web.xml to /home/hosts/ourwebsite/webapps/ROOT/WEB-INF/web.xml and that did the trick! I figured that the privileged="true" in Context.xml applies only to that particular web application and hence I need to move the Servlet Mapping to the webapplicat

Re: Out of Memory exception (hotspot compilation)

2010-06-02 Thread Leon Kolchinsky
Yep :) You're right Charles. Thanks, Leon On Wed, Jun 2, 2010 at 16:27, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > > Subject: Re: Out of Memory exception (hotspot compilation) > > > > I'd like to file a bug report on similar

Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
Hey All, We are using Tomcat 6 on a RedHat box. Today I installed AWStats and AWStats needs CGI. So I enabled the CGIServlet in the Tomcat's web.xml file. When I restarted Tomcat, I got the following error message: SEVERE: Error deploying web application directory docs java.lang.SecurityException

RE: question for singlesignon for vertical cluster

2010-06-02 Thread Okubo, Yasushi (TSD)
To experts Could someone clarify if singlesignon or clustersinglesignon on tomcat cluster upon failover ever worked before? Tomcat 6.0.26 [64bit jdk1.6.0_20] on linux box mod_proxy_ajp in httpd-2.2.3-43.el5. I may upgrade it to the latest if singlesignon works upon failover. Otherwise, I may

Re: Adding memory to Tomcat 6.0 as a service?

2010-06-02 Thread Konstantin Kolinko
2010/6/3 Konstantin Kolinko : > 2010/6/3 Debbie Shapiro : >> > > Have you searched the list archives? It has to be answered a couple of times. > >> The version of Tomcat (6.0) that I have installed > > For the future, the version is three numbers, "x.y.z". > >> I was told that there might be some t

Re: JAAS Realm Authentication with Kerberos

2010-06-02 Thread geofrey rainey
okay, thank you very much. On Wed, Jun 2, 2010 at 10:25 PM, dB. wrote: > Yes. You can (and should) have a list of roles - everything the user that > just logged in has access to / every role he has. > > cheers > dB. > > > > dB. @ dblock.org > Moscow|Geneva|Seattle|New York > > > -Original Me

Re: Adding memory to Tomcat 6.0 as a service?

2010-06-02 Thread Konstantin Kolinko
2010/6/3 Debbie Shapiro : > Have you searched the list archives? It has to be answered a couple of times. > The version of Tomcat (6.0) that I have installed For the future, the version is three numbers, "x.y.z". > I was told that there might be some type of service configuration tool > if you

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-02 Thread Savoy, Melinda
Andre, First my apologies for forgetting my earlier setup within my Windows XP box and therefore as you say not learning what I had done previously. Second - this Windows 2003 server was already setup and the second host was created in order that the user could enter a URL of http://scmisdev an

Re: Error on startup catalina

2010-06-02 Thread Sandro Gallo
Sorry, I forgot a bit 'of informations. TOMCAT version: 6.0.26. java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) The version of Java is already on Mac. I installed Tomcat by followin

Adding memory to Tomcat 6.0 as a service?

2010-06-02 Thread Debbie Shapiro
Hello - I am using Tomcat 6.0 on a Windows 2003 Server for the web server piece of our BI tool. We are continually running out of Java Heap Space and I'm trying to update the values but don't see where to do this. I was referred to this link: http://vegdave.wordpress.com/2008/04/04/configure-

RE: Error on startup catalina

2010-06-02 Thread Caldarale, Charles R
> From: Sandro Gallo [mailto:sandro.gallo...@gmail.com] > Subject: Error on startup catalina > > Using recently Tomcat. What version of Tomcat? What JVM level? How did you install Tomcat? What are you using to start Tomcat? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERW

Error on startup catalina

2010-06-02 Thread Sandro Gallo
Hi, Using recently Tomcat. So far I have used it on a Windows XP machine, and everything went well. I decided to install it on a machine Mac, Mac OS X Snow Leopard, but can not boot. I do not know how to solve the problem, and I need to use Tomcat. Please, help me. Here are some info on startup:

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-02 Thread André Warnier
Savoy, Melinda wrote: I finally got my Windows 2003 development box setup with the Tomcat Connector and IIS 6.0. The following is my setup: In the server.xml file I have the following in the HOST element: scmisde

Re: [OT] Re: problems at thejarbar.org

2010-06-02 Thread yuccanel
Ok I appreciatethis big help. I am expecting a small amount of users though so does that mean that a datasource realm may be overkill? I am not implying that this is what was being said earlier, just trying to learn more. I have noticed though that forum posters seem to assume a lot at times, an

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
Thanks Konstantin. However, that source code achieves deployment by copying/unpacking a war file to tomcat's webapps directory. What I want to be able to do is already have a context defined, and simply get it deployed/started. I would hope this is possible without resorting to file system op

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Konstantin Kolinko
2010/6/2 Jeff Ramin : > > If anybody has the time and is willing to give this a try, I'd like to know > if > it's possible to deploy a webapp via JMX/jconsole in either tomcat 5.5.x or > 6.0.x. I can't seem to do it, although it's possible I have a configuration > problem. > > Thanks. > > > On 06/0

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
If anybody has the time and is willing to give this a try, I'd like to know if it's possible to deploy a webapp via JMX/jconsole in either tomcat 5.5.x or 6.0.x. I can't seem to do it, although it's possible I have a configuration problem. Thanks. On 06/02/2010 11:54 AM, Konstantin Kolinko

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
On 06/02/2010 11:54 AM, Konstantin Kolinko wrote: I do not know what are those "the WebModule beans" that you mentioned and how they do work, are deployed etc. The WebModule stuff is available through jconsole when an app has been deployed. They can be used to start/stop a web app. However,

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Konstantin Kolinko
2010/6/2 Jeff Ramin : > > I've been experimenting some more, and can't seem to find a solution to my > situation. > Deploying an app via JMX seems to be broken. The manager webapp uses JMX. So it should be working. (Maybe not the methods that you are trying to use -- I do not know which ones you

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
When I run jconsole against my tomcat instance, the Catalina/Deployer/localhost/operations/manageApp button is broken. I assume this is the same behavior Charles mentioned below, when he said he was unable to get it to work. No stacktraces or log entries, as it doesn't seem possible from jcon

Re: Tomcat and Pluto

2010-06-02 Thread Pid
On 02/06/2010 16:35, Søren Blidorf wrote: > Hi. > > I am trying to use Pluto together with Tomcat. > > When I use the startup.bat I get a CATALINA_HOME problem: Environment > variables not defined correctly. I cannot see any problems with my > CATALINA_HOME (C:\Programmer\Apache Software Foundati

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Pid
On 02/06/2010 16:28, Jeff Ramin wrote: > > I've been experimenting some more, and can't seem to find a solution to > my situation. > Deploying an app via JMX seems to be broken. > > Anybody have any ideas, or is this unworkable? What did you try and what log messages did you see? Were there any

Tomcat and Pluto

2010-06-02 Thread Søren Blidorf
Hi. I am trying to use Pluto together with Tomcat. When I use the startup.bat I get a CATALINA_HOME problem: Environment variables not defined correctly. I cannot see any problems with my CATALINA_HOME (C:\Programmer\Apache Software Foundation\Tomcat 5.5) Any idears? Soren

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Jeff Ramin
I've been experimenting some more, and can't seem to find a solution to my situation. Deploying an app via JMX seems to be broken. Anybody have any ideas, or is this unworkable? Thanks. On 06/01/2010 01:20 PM, Caldarale, Charles R wrote: From: Jeff Ramin [mailto:jeff.ra...@singlewire.com]

Re: [OT] Re: problems at thejarbar.org

2010-06-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yucca Nel, On 6/2/2010 8:27 PM, yucca...@live.co.za wrote: > There was a question as to why I am using a realm and application > based realm and I have no idea howcome people think I am not using only > tomcat realm? It's not that we think you're u

Re: [OT] Re: problems at thejarbar.org

2010-06-02 Thread yuccanel
Hello, with all this confusion (and I am loving it) I will reveal what I am doing :p My website and webapp is to showcase my skills to get work and with a very long term goal of blogging about Java development and having a site to distribute stuff from. There was a question as to why I am usi

Re: Can I deploy war file to the running Tomcat, by using my web application?

2010-06-02 Thread Ivan Mladenović
Hi, Thank you for the replay. I solve the problem by using HTTP client. Best Regards, Ivan Mladenovic On Wed, Jun 2, 2010 at 1:06 PM, Pid wrote: > On 02/06/2010 09:30, Ivan Mladenović wrote: > > Hi, > > > > I am using Tomcat 6.0.26. Manager user is enabled in my tomcat-users.xml > > file. >

Re: Can I deploy war file to the running Tomcat, by using my web application?

2010-06-02 Thread Pid
On 02/06/2010 09:30, Ivan Mladenović wrote: > Hi, > > I am using Tomcat 6.0.26. Manager user is enabled in my tomcat-users.xml > file. > > Can I deploy war file to the running Tomcat, by using my web application? Using the manager application you can deploy applications. > Could I get some exam

Re: Problems after upgrading to Tomcat6

2010-06-02 Thread André Warnier
Peter Crowther wrote: On 2 June 2010 09:13, David Karlsen wrote: Caldarale, Charles R Wrote: parent=gnu.gcj.runtime.SystemClassLoader You need to use a real JVM (HotSpot, JRockit, IBM), not a toy one. Remove gcj from your system as quickly as possible. It seems like jpackage.org packages

Re: Problems after upgrading to Tomcat6

2010-06-02 Thread Pid
On 02/06/2010 09:13, David Karlsen wrote: > Hi > > Caldarale, Charles R Wrote: > >>> parent=gnu.gcj.runtime.SystemClassLoader >> You need to use a real JVM (HotSpot, JRockit, IBM), not a toy one. > Remove gcj from your system as quickly as possible. > > It seems like jpackage.org packages is hav

Re: Problems after upgrading to Tomcat6

2010-06-02 Thread David Karlsen
Hi Problems fixed. It was a mismatch between JVM-versions. Upgrading Tomcat, did not automaticly upgrade JVM. Seems like when building the Tomcat packages, it did not take into account checking the JVM for wrong version. Upgrading the JVM to the latest GCJ version solved the problem. Thanks. ---

RE: JAAS Realm Authentication with Kerberos

2010-06-02 Thread dB .
Yes. You can (and should) have a list of roles - everything the user that just logged in has access to / every role he has. cheers dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: geofrey rainey [mailto:geofr...@gmail.com] Sent: Tuesday, June 01, 2010 10

Re: Problems after upgrading to Tomcat6

2010-06-02 Thread Peter Crowther
On 2 June 2010 09:13, David Karlsen wrote: > Caldarale, Charles R Wrote: > > >> parent=gnu.gcj.runtime.SystemClassLoader > >You need to use a real JVM (HotSpot, JRockit, IBM), not a toy one. > Remove gcj from your system as quickly as possible. > > It seems like jpackage.org packages is having de

Can I deploy war file to the running Tomcat, by using my web application?

2010-06-02 Thread Ivan Mladenović
Hi, I am using Tomcat 6.0.26. Manager user is enabled in my tomcat-users.xml file. Can I deploy war file to the running Tomcat, by using my web application? Could I get some examples about this? Thanks in advance. Best Regards, Ivan Mladenovic

Re: Problems after upgrading to Tomcat6

2010-06-02 Thread David Karlsen
Hi Caldarale, Charles R Wrote: >> parent=gnu.gcj.runtime.SystemClassLoader >You need to use a real JVM (HotSpot, JRockit, IBM), not a toy one. Remove gcj from your system as quickly as possible. It seems like jpackage.org packages is having dependency towards gcj. Do you know perhaps about anoth