Re: Configure mulitple installs tomcat 8.5 - catalina_base/catalina_home

2022-02-24 Thread Jason Countryman
e installs tomcat 8.5 - catalina_base/catalina_home Jason, On 2/23/22 13:50, Jason Countryman wrote: > Good afternoon, > > On a Centos 7 machine, I have multiple full tomcat installs. > > /var/tomcat_installs/initiatingPROD > /var/tomcat_installs/respondingPROD > > My app u

Re: Configure mulitple installs tomcat 8.5 - catalina_base/catalina_home

2022-02-24 Thread Christopher Schultz
for the keystore/truststore, and log4j2 for logging. When I start each individual tomcat using startup.sh, they report setting CATALINA_HOME and CATALINA_BASE correctly for their respective locations. $ /var/tomcat_installs/initiatingPROD/apache-tomcat-8.5.73/bin/startup.sh Using CATALINA_BASE

Configure mulitple installs tomcat 8.5 - catalina_base/catalina_home

2022-02-23 Thread Jason Countryman
. When I start each individual tomcat using startup.sh, they report setting CATALINA_HOME and CATALINA_BASE correctly for their respective locations. $ /var/tomcat_installs/initiatingPROD/apache-tomcat-8.5.73/bin/startup.sh Using CATALINA_BASE: /var/tomcat_installs/initiatingPROD/apache-tomcat

Should c3p0 and postgres libraries be in $CATALINA_HOME/lib or each application's classpath?

2017-08-11 Thread Miguel Almeida
I used to put both libraries in CATALINA_HOME, as past experiences made me suspect of memory leaks if any of these 2 dependencies was in each application's classpath. However, the most recent c3p0 version has a dependency to mchange-commons-java-0.2.11.jar (which also needs to

Re: Trouble separating catalina_base and catalina_home in TC 8

2015-05-01 Thread David kerber
On 4/30/2015 2:49 PM, David kerber wrote: I'm having trouble getting the default webapps to start under TC8 when I separate catalina_base and catalina_home. It must be something stupid I'm missing, but I can't think of any place else to check. This is a windows server 2012 R2 s

Re: Trouble separating catalina_base and catalina_home in TC 8

2015-04-30 Thread Konstantin Kolinko
2015-04-30 21:49 GMT+03:00 David kerber : > I'm having trouble getting the default webapps to start under TC8 when I > separate catalina_base and catalina_home. It must be something stupid I'm > missing, but I can't think of any place else to check. > > This is a

Trouble separating catalina_base and catalina_home in TC 8

2015-04-30 Thread David kerber
I'm having trouble getting the default webapps to start under TC8 when I separate catalina_base and catalina_home. It must be something stupid I'm missing, but I can't think of any place else to check. This is a windows server 2012 R2 server, with JRE 7u75, JRE 8u45, TC 7.0.5

Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080

2014-11-20 Thread Nikolas Nikolaou
On Thu, 20/11/14, Christopher Schultz wrote: Subject: Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080 To: "Tomcat Users List" Date: Thursday, 20 November, 2

Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080

2014-11-20 Thread Christopher Schultz
copying the $CATALINA_HOME/conf and creating new common > logs temp server shared work webapps subdirectories.I have > altered the port numbers In the conf/server.xml file and set > $CATALINA_BASE in /etc/profile.Prior to restarting , I could reach > $CATALINA_HOME on port 8080 b

Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080

2014-11-20 Thread Nikolas Nikolaou
Tomcat 8.0.15 binary   Debian 7.7.0 wheezy Hi. I created a new directory copying the $CATALINA_HOME/conf and creating new  common logs temp server shared   work webapps subdirectories.I have altered the port numbers In the conf/server.xml file and set $CATALINA_BASE in /etc

Tomcat 8.0.14 - Host appBase not defaulting to "webapps" in $CATALINA_HOME ???

2014-11-19 Thread Barnes, Mark (CORP)
found. (Did things change between Tomcat 6 and Tomcat 8?) My $CATALINA_HOME is set to /usr/local/tomcat /usr/local/tomcat is a symbolic link to /usr/local/tomcat8 /user/local/tomcat8 is a symbolic link to /usr/local/apache-tomcat-8.0.14 In my element in my server.xml, I have appBase="&qu

Re: Tomcat 8.0.14 - Host appBase not defaulting to "webapps" in $CATALINA_HOME ???

2014-11-19 Thread Konstantin Kolinko
g appBase and docBase correctly, but when I start Tomcat I > get a series of exceptions that indicate that the directory cannot be found. > (Did things change between Tomcat 6 and Tomcat 8?) > > My $CATALINA_HOME is set to /usr/local/tomcat > /usr/local/tomcat is a symbolic link to /us

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/4/14 1:05 PM, Neven Cvetkovic wrote: > Thanks Chris! > > On Tue, Nov 4, 2014 at 10:41 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >>> I guess, it's easy to add new directories to >>> TOMCAT/conf/catalina.prope

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Neven Cvetkovic
Thanks Chris! On Tue, Nov 4, 2014 at 10:41 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > I guess, it's easy to add new directories to > > TOMCAT/conf/catalina.properties file: > > > > common.loader= > > > ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Leo Donahue
; > >>> SLIGHTLY-OFFTOPIC: > >>> > >>> Although, I would love to see out-of-box setup for additional > >>> shared-lib folder, something other than TOMCAT/lib with Tomcat > >>> default libraries. Essentially, I would love to separate my &

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
other than TOMCAT/lib with Tomcat >>> default libraries. Essentially, I would love to separate my >>> customer shared libraries from Tomcat default libraries. I >>> guess - question would be where are CATALINA_HOME/lib JAR >>> files being loaded from? Can we add anoth

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Mark Eggers
ld have been 127.0.0.1 > > Is this Netbeans-only, or does it happen with a stock Tomcat? It is NetBeans-only. Stock 8.0.14 starts fine using startup.bat from Windows Explorer. > > It's also odd that it has something to do with using tcnative at > the same time. > That

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Leo Donahue
gt; SLIGHTLY-OFFTOPIC: > > > > Although, I would love to see out-of-box setup for additional > > shared-lib folder, something other than TOMCAT/lib with Tomcat > > default libraries. Essentially, I would love to separate my > > customer shared libraries from Tomcat de

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
> shared-lib folder, something other than TOMCAT/lib with Tomcat >> default libraries. Essentially, I would love to separate my >> customer shared libraries from Tomcat default libraries. I guess >> - question would be where are CATALINA_HOME/lib JAR files being >> loaded fr

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
i-instance > environment, you can still get away with copying standard > out-of-box Tomcat directory over and over again, for each instance > separately. The hassle would be to do the upgrades on many > instances. That's why we have CATALINA_HOME for shared stuff > (binaries+lib

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread vince.webb
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: 03 November 2014 20:51 > To: Tomcat Users List > Subject: Re: Separation of CATALINA_HOME and CATALINA_BASE > > On 03/11/2014 19:38, vince.w...@thomsonreuters.com wrote: > > >

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
ove to separate my customer shared libraries from > Tomcat default libraries. I guess - question would be where are > CATALINA_HOME/lib JAR files being loaded from? Can we add another directory > to scan for libraries to be loaded? Is that configurable? > > > I guess, it's e

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
rted. > +1 >> An installer program would have to explain what in the world the > >> split configuration was. Have you ever tried to tell someone how > >> to set up their email? POP versus IMAP? Most users have > >> absolutely no idea what that is, and mail prog

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 5:46 PM, Mark Eggers wrote: > One of the issues I did run into when using tcnative-1.dll is that > I got the following error message: > > 12.0.0.1 is not a recognized command, and Tomcat failed to start. > > Moving tcnative-1.dll

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
k You don't need all of that, but you can create all that structure if you'd like. > 3. Copy tomcat-juli.jar from CATALINA_HOME/bin to > CATALINA_BASE/bin tomcat-juli.jar can still live in CATALINA_HOME/bin (unless is something very specific to Netbeans deployments). >

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
o do real work that will find its >>> way to a real server. > >>> Either of the benefits you described as a) and b) mean >>> CATALINA_HOME and CATALINA_BASE need to be separate on a real >>> server. > >>> I would rather get it straight fr

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Eggers
"Newbie-friendly", I think Tomcat would be a >> whole lot more friendly if CATALINA_HOME and CATALINA_BASE were >> always totally separate with a minimum of overlap. >> >> > Why is that? > > I would argue current setup is very simple and "newbie-fr

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
ay: C:\whatever> wget http://host/path/to/tomcat-x.y.z.zip C:\whatever> unzip http://host/path/to/tomcat-x.y.z.zip (or however you unzip from the CLI in Windows.. I haven't been able to figure that out, but it's clearer than giving mouse-click

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Eggers
gt; Either of the benefits you described as a) and b) mean >> CATALINA_HOME and CATALINA_BASE need to be separate on a real >> server. > >> I would rather get it straight from the outset rather than mess >> about with a configuration that is going nowhere. > >

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Leo Donahue
t; $ mkdir -p my-tomcat-base/work > $ mkdir -p my-tomcat-base/temp > $ mkdir -p my-tomcat-base/webapps > $ cp tomcat-x.y.z/conf/server.xml my-tomcat-base/conf > $ cp tomcat-x.y.z/conf/web.xml my-tomcat-base/conf > (the above step may not actually be necessary) > $ cp tomcat-x.y.z/

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vince, On 11/3/2014 1:12 PM, vince.w...@thomsonreuters.com wrote: > Neven Even Tomcat newbies have to do real work that will find its > way to a real server. > > Either of the benefits you described as a) and b) mean > CA

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/3/14 4:12 PM, vince.w...@thomsonreuters.com wrote: > Even Tomcat newbies have to do real work that will find its way to > a real server. > > Either of the benefits you described as a) and b) mean > CATALINA_HOME and CAT

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread vince.webb
Neven Even Tomcat newbies have to do real work that will find its way to a real server. Either of the benefits you described as a) and b) mean CATALINA_HOME and CATALINA_BASE need to be separate on a real server. I would rather get it straight from the outset rather than mess about with a

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vince, On 11/3/14 2:38 PM, vince.w...@thomsonreuters.com wrote: > On the subject of "Newbie-friendly", I think Tomcat would be a > whole lot more friendly if CATALINA_HOME and CATALINA_BASE were > always totally separate with a

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Mark Thomas
On 03/11/2014 19:38, vince.w...@thomsonreuters.com wrote: > Yes, I've read RUNNING.TXT and I'm left wondering why do I have a > catalina class not found if all the tomcat jar files are in > CATALINA_HOME/lib Because you are trying to configure a listener that doesn't

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread Neven Cvetkovic
Vince, On Mon, Nov 3, 2014 at 2:38 PM, wrote: > On the subject of "Newbie-friendly", I think Tomcat would be a whole lot > more friendly if CATALINA_HOME and CATALINA_BASE were always totally > separate with a minimum of overlap. > > Why is that? I would argue current

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-03 Thread vince.webb
On the subject of "Newbie-friendly", I think Tomcat would be a whole lot more friendly if CATALINA_HOME and CATALINA_BASE were always totally separate with a minimum of overlap. Although I used Tomcat quite a lot years ago I still consider myself a Tomcat Newbie, mostly because con

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-10-17 Thread vince.webb
I don’t see their separation as being incompatible with running from a default shell or batch file. It already figures out where to use for CATALINA_HOME, the default place for CATALINA_BASE could be a standard difference from CATALINA_HOME, for example: CATALINA_BASE=$CATALINA_HOME

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-10-16 Thread Christopher Schultz
is now >> decidedly rusty so I've been reading Tomcat 7's RUNNING.txt with >> interest. >> >> The section under the heading: Advanced Configuration - Multiple >> Tomcat Instances Looks interesting to me even though I have no >> desire to run multiple i

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-10-16 Thread vince.webb
apache.org] Sent: 16 October 2014 19:44 To: Tomcat Users List Subject: Re: Separation of CATALINA_HOME and CATALINA_BASE On 16/10/2014 19:11, vince.w...@thomsonreuters.com wrote: > Hello > I'm coming back to Tomcat after years using GlassFish. The little that I ever > understood of

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-10-16 Thread Mark Eggers
t; decidedly rusty so I've been reading Tomcat 7's RUNNING.txt with >> interest. >> >> The section under the heading: Advanced Configuration - Multiple >> Tomcat Instances Looks interesting to me even though I have no >> desire to run multiple instances.

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-10-16 Thread Konstantin Kolinko
heading: > Advanced Configuration - Multiple Tomcat Instances > Looks interesting to me even though I have no desire to run multiple > instances. > > Configuring CATALINA_HOME and CATALINA_BASE to be separate directories looks > to me like such a winning idea that I'm left wo

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-10-16 Thread Mark Thomas
> > The section under the heading: > Advanced Configuration - Multiple Tomcat Instances > Looks interesting to me even though I have no desire to run multiple > instances. > > Configuring CATALINA_HOME and CATALINA_BASE to be separate directories looks > to me like such a wi

Separation of CATALINA_HOME and CATALINA_BASE

2014-10-16 Thread vince.webb
Instances Looks interesting to me even though I have no desire to run multiple instances. Configuring CATALINA_HOME and CATALINA_BASE to be separate directories looks to me like such a winning idea that I'm left wondering, why the default TOMCAT installation puts all that stuff in one directory ?

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ravi, On 3/3/14, 5:53 PM, Ravi Gupta wrote: > Any idea if the same would work for JBOSS 5.X (uses tomcat under > the hood)? perhaps it is not the same, but I tried putting > admin-console.xml under > jboss-5.1.0.GA/server/default/deploy/jbossweb.sa

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
According to this, it should match up https://community.jboss.org/wiki/Web-AppContextConfiguration On Mon, Mar 3, 2014 at 4:53 PM, Ravi Gupta wrote: > Any idea if the same would work for JBOSS 5.X (uses tomcat under the hood)? > perhaps it is not the same, but I tried putting > admin-console.xm

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
Any idea if the same would work for JBOSS 5.X (uses tomcat under the hood)? perhaps it is not the same, but I tried putting admin-console.xml under jboss-5.1.0.GA/server/default/deploy/jbossweb.sar it contains But I was still able to access http://localhost:8080/admin-console after a bounce?

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ravi, (Moving the discussion back onto the list: please reply to the list and not to individuals. That's what community is about.) On 3/3/14, 5:29 PM, Ravi Gupta wrote: > Thanks, the issue is that my customer does not want to restrict > the admin-c

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
Thanks, the issue is that my customer does not want to restrict the admin-console in it's war - the rational is anybody can then just redeploy a new admin-console.war and access it (overwrite the restrictions). They want to restrict access to this context from OUTSIDE the actual deployment. Make se

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ravi, On 3/3/14, 5:10 PM, Ravi Gupta wrote: > Tomcat 6.X RHEL > > I tried adding the below in order to limit access to > /admin-console > > It worked, but it limits access to EVERY context, which is odd. I > am sure I am doing something wrong or I

$CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
Tomcat 6.X RHEL I tried adding the below in order to limit access to /admin-console It worked, but it limits access to EVERY context, which is odd. I am sure I am doing something wrong or I misunderstand how this works I want to put restrictions on the /admin-console context, but I do not wan

RE: $CATALINA_HOME/conf/tomcat-users.xml - access deneid

2013-11-16 Thread Caldarale, Charles R
> From: ישראל מלאכי [mailto:alayc...@gmail.com] > Subject: Fwd: $CATALINA_HOME/conf/tomcat-users.xml - access deneid > My employer wants my to put a war file on tomcat server installed in by > http://198.57.249.59:8080/ hostgator.com > problem is that I can't get to the app

Fwd: $CATALINA_HOME/conf/tomcat-users.xml - access deneid

2013-11-16 Thread ישראל מלאכי
Hello My employer wants my to put a war file on tomcat server installed in by http://198.57.249.59:8080/ hostgator.com problem is that I can't get to the app manger since I don't have usernameand password. I know that I should edit the above file, I tried through putty but access to file is denie

Re: CATALINA_BASE and CATALINA_HOME deployment

2012-05-25 Thread Christopher Schultz
ows for easier migration between tomcat > versions, etc. Absolutely! > As a point of reference, I'm reading about how to do this in > Tomcat: The Definitive Guide. Also, I'm dealing with 5.5.35, if > that matters. CATALINA_BASE and CATALINA_HOME have worked (roughly) the same way

Re: CATALINA_BASE and CATALINA_HOME deployment

2012-05-25 Thread André Warnier
and catalina_home is /mainly/ directed at allowing someone to run multiple tomcat instances on the same host, with different configurations, but sharing the same (tomcat) code. As a point of reference, I'm reading about how to do this in Tomcat: The Definitive Guide. That may be ok, but why n

CATALINA_BASE and CATALINA_HOME deployment

2012-05-25 Thread Chad.Davis
rsion specific stuff that I'll have to sift through when it's time to migrate? Will I be able to just upgrade CATALINA_HOME and not upgrade all of that copied conf stuff as well? Thanks, Chad

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread Mark DeSpain
Hi Mark T, Thanks for the information about removing the ... entry from $CATALINA_BASE/context.xml. While that prevents a web applications from restarting when modifying the web.xml included with it, it does not prevent restarting of all web applications when modifying the web.xml in the server's

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread Mark Thomas
Mark DeSpain wrote: >We're using some revision of Tomcat 7.0... I don't recall the >specific version, but I can look it up if it is relevant. Normally, the answer to that question would be yes. In this case, you are in luck. >Apparently when someone modifies $CATALIN

Re: info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-16 Thread André Warnier
Mark DeSpain wrote: Greetings! Just trying to do some research regarding a behavior my team observed today. We're using some revision of Tomcat 7.0... I don't recall the specific version, but I can look it up if it is relevant. Apparently when someone modifies $CATALINA_HOME/co

info regarding automatic restart of webapps when modifying $CATALINA_HOME/conf/web.xml

2012-03-15 Thread Mark DeSpain
Greetings! Just trying to do some research regarding a behavior my team observed today. We're using some revision of Tomcat 7.0... I don't recall the specific version, but I can look it up if it is relevant. Apparently when someone modifies $CATALINA_HOME/conf/web.xml, Tomcat will

Re: [Apache_Tomcat]: $CATALINA_HOME/webapps/host-manager/manager.xml

2011-08-23 Thread quanba
Thanks Mark, that's exactly the answer I want Mark Thomas wrote: > > On 23/08/2011 10:12, quanba wrote: >> >> Hi there, >> >> I am a newbie to Apache Tomcat. While studying the host-manager >> application, >> I found the file $CATALINA_HOME

Re: [Apache_Tomcat]: $CATALINA_HOME/webapps/host-manager/manager.xml

2011-08-23 Thread Mark Thomas
On 23/08/2011 10:12, quanba wrote: > > Hi there, > > I am a newbie to Apache Tomcat. While studying the host-manager application, > I found the file $CATALINA_HOME/webapps/host-manager/manager.xml. This file > seems to be the configuration file for the manager application (not

[Apache_Tomcat]: $CATALINA_HOME/webapps/host-manager/manager.xml

2011-08-23 Thread quanba
Hi there, I am a newbie to Apache Tomcat. While studying the host-manager application, I found the file $CATALINA_HOME/webapps/host-manager/manager.xml. This file seems to be the configuration file for the manager application (not the host-manager): I wonder what the file is used for? I tried

Re: class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, On 12/7/2010 12:59 PM, frank wrote: > I set CATALINA_BASE and CATALINA_HOME to my directory like: > > CATALINA_BASE=/usr/share/mydir > CATALINA_HOME=/usr/share/mydir Why did you set either of these environment varia

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-08 Thread g f
Not sure of your distro and your requirements but for squeeze there is: http://packages.debian.org/squeeze/tomcat6 lenny: http://packages.debian.org/lenny/tomcat5.5 Now the script modification is a different story. Cheers, GF On Wed, Dec 8, 2010 at 3:02 AM, Christoph Kukulies wrote: > Am 07.1

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-08 Thread Christoph Kukulies
Am 07.12.2010 22:19, schrieb g f: Did you aptitude install tomcat6? If so why not modify the init.d script that came with that. If not perhaps you want to try to use the debs. apt-get install tomcat6 G AFAIK there isn't such a thing like a tomcat6 package under the debian distribution. And I w

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread g f
Did you aptitude install tomcat6? If so why not modify the init.d script that came with that. If not perhaps you want to try to use the debs. apt-get install tomcat6 G On Tue, Dec 7, 2010 at 1:45 PM, Juha Laiho wrote: > On 7.12.2010 18:45, Christoph Kukulies wrote: > > Can be found any instructi

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Juha Laiho
On 7.12.2010 18:45, Christoph Kukulies wrote: > Can be found any instructions to build your own > /etc/init.d/tomcat_startup script. > catalina.sh seems to have provisions for it but I don't see a hook where to > put in the user (e.g. tomcat55 or tomcat6) catalina runs under. No need to have a hoo

Re: class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-07 Thread Pid
On 12/7/10 5:59 PM, frank wrote: > > Hi Experts: > I have read "class not found" in FAQ and "class loader howto" of > tomcat6, unfortunately, they don't resolve my problem. > I set CATALINA_BASE and CATALINA_HOME to my directory like:

Re: class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-07 Thread Mark Eggers
in FAQ and "class loader howto" of tomcat6, unfortunately, they don't resolve my problem. I set CATALINA_BASE and CATALINA_HOME to my directory like: CATALINA_BASE=/usr/share/mydir CATALINA_HOME=/usr/share/mydir then link subdirs (conf/, bin/ ...)of tomcat6 to $C

class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-07 Thread frank
Hi Experts: I have read "class not found" in FAQ and "class loader howto" of tomcat6, unfortunately, they don't resolve my problem. I set CATALINA_BASE and CATALINA_HOME to my directory like: CATALINA_BASE=/usr/share/mydir CATALINA_HOME=/usr/share/myd

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Christoph Kukulies
Am 07.12.2010 16:15, schrieb Konstantin Kolinko: 2010/12/7 Caldarale, Charles R: What is this? Some Debian specific stuff? No, it's part of every Tomcat 5.5 distribution. Debian may have modified it. +1. In TC 5.5 there were separate "server", "common" and "shared" directories. In TC6+ all

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Konstantin Kolinko
2010/12/7 Caldarale, Charles R : > >> What is this? Some Debian specific stuff? > > No, it's part of every Tomcat 5.5 distribution.  Debian may have modified it. > +1. In TC 5.5 there were separate "server", "common" and "shared" directories. In TC6+ all those are replaced by a single "lib" one.

RE: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Caldarale, Charles R
> From: Christoph Kukulies [mailto:k...@kukulies.org] > Subject: what ist $CATALINA_HOME/server ? (debian) > In seeking what screwed my installation I'm stumbling across a directory > /usr/share/tomcat5.5/server Nothing wrong with that. > What is this? Some Debian speci

what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Christoph Kukulies
In seeking what screwed my installation I'm stumbling across a directory /usr/share/tomcat5.5/server /usr/share/tomcat5.5# find server server server/classes server/webapps server/webapps/host-manager server/webapps/host-manager/manager.xml server/webapps/host-manager/host-manager.xml server/webap

Re: how to setup HOME_PATH for Java and CATALINA_HOME

2010-11-18 Thread Salam Y. ELIAS
manage updates for these > components > manually. However, at least Java can be managed via yum (just download the > RPM > packages from Oracle). > > . . . . just my two cents > > /mde/ > > - Original Message > From: Salam Y. ELIAS > To: users

Re: how to setup HOME_PATH for Java and CATALINA_HOME

2010-11-18 Thread Mark Eggers
18, 2010 1:46:54 AM Subject: how to setup HOME_PATH for Java and CATALINA_HOME I need to set up the environment variable JAVA_HOME and and CATALINA_HOME to start some web and Java EE, am little bit confused with conflicting information. When I run java -version ie get java version "1.6.0

Re: how to setup HOME_PATH for Java and CATALINA_HOME

2010-11-18 Thread Pid
On 18/11/2010 09:46, Salam Y. ELIAS wrote: > I need to set up the environment variable JAVA_HOME and and > CATALINA_HOME to start some web and Java EE, am little bit confused > with conflicting information. OK. No problem. > When I run > java -version > ie get > j

how to setup HOME_PATH for Java and CATALINA_HOME

2010-11-18 Thread Salam Y. ELIAS
I need to set up the environment variable JAVA_HOME and and CATALINA_HOME to start some web and Java EE, am little bit confused with conflicting information. When I run java -version ie get java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.2) (fedora-43.1.8.2.f

Re: "/META-INF/context.xml" is being copied to "$CATALINA_HOME/conf/my_engine/my_app/ROOT.xml"

2010-03-27 Thread André Warnier
Dave Cherkassky wrote: ... Just a note : in the setup you showed, most if not all tags are unnecessary, since they just duplicate the name you have in the tag. You need an tag only if you want to access the same virtual host through different DNS names. Like : bigserver.company.com sun

Re: "/META-INF/context.xml" is being copied to "$CATALINA_HOME/conf/my_engine/my_app/ROOT.xml"

2010-03-24 Thread Dave Cherkassky
See below: Is this a new bug? Why is it a bug? Sorry, I was not implying anything :) I was just wondering why the behaviour changed. Did the Tomcat behaviour change in an undocumented fashion? See notes for 6.0.19. http://tomcat.apache.org/tomcat-6.0-doc/changelog.html Ah, this is a sid

Re: "/META-INF/context.xml" is being copied to "$CATALINA_HOME/conf/my_engine/my_app/ROOT.xml"

2010-03-24 Thread Pid
directory. - I have several virtual hosts: ... hg.djinnsoft.com ... test-hg.djinnsoft.com ... Here'smy question/problem: I've noticed that the /META-INF/context.xml files are being copied from the respective appBase directories to $CATALINA_HOME/conf/my_engine director

"/META-INF/context.xml" is being copied to "$CATALINA_HOME/conf/my_engine/my_app/ROOT.xml"

2010-03-24 Thread Dave Cherkassky
ve appBase directories to $CATALINA_HOME/conf/my_engine directory. For example: # ls /opt/tomcat6/conf/my_engine/hg.djinnsoft.com/ROOT.xml /opt/tomcat6/conf/my_engine/hg.djinnsoft.com/ROOT.xml # ls /opt/tomcat6/conf/my_engine/test-hg.djinnsoft.com/ROOT.xml /opt/tomcat6/conf/my_engine/test-

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-12 Thread Martin Grotzke
app classpath. > > > > ISODateTimeFormat is a class provided by joda. > > > >> > >> Where have you placed your joda jar? > > The joda jar is placed in WEB-INF/lib of the application. I don't want > > to have this in $CATALINA_HOME/lib as joda serializa

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Konstantin Kolinko
ith the > memcached-session-manager (msm), which should be used/activated if joda > is available in the webapp classpath. > > ISODateTimeFormat is a class provided by joda. > >> >> Where have you placed your joda jar? > The joda jar is placed in WEB-INF/lib of th

RE: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-10 Thread Caldarale, Charles R
> From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > Subject: Re: How to deploy java app. on Tomcat's virtual domains > residing outside CATALINA_HOME? > > I also would like to keep apache http and use it's ssl capabilities. The identical SSL capabilities (same code)

Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-10 Thread Leon Kolchinsky
Thank you guys, I've decided to install it into CATALINA_HOME since it seems to be the only "proper" way for now of installing Sakai. I also would like to keep apache http and use it's ssl capabilities. Leon On Sun, Jan 10, 2010 at 7:57 AM, Christopher Schultz < ch...

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Martin Grotzke
in the webapp classpath. ISODateTimeFormat is a class provided by joda. > > Where have you placed your joda jar? The joda jar is placed in WEB-INF/lib of the application. I don't want to have this in $CATALINA_HOME/lib as joda serialization shall only be supported if it's required by the w

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Konstantin Kolinko
2010/1/10 Martin Grotzke : > Hi, > > Jan 10, 2010 2:57:51 PM org.apache.catalina.connector.CoyoteAdapter service > SEVERE: An exception or error occurred in the container during the request > processing > java.lang.NoClassDefFoundError: org/joda/time/format/ISODateTimeFormat >        at > de.java

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Mark Thomas
On 10/01/2010 14:35, Martin Grotzke wrote: > final XMLFormat xmlFormat = (XMLFormat) Class.forName( > "de.javakaffee.web.msm.serializer.javolution.JodaDateTimeFormat", > true, classLoader ).newInstance(); > Can someone help with this? I suggest downloading a copy of

How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Martin Grotzke
Hi, for some feature of the memcached-session-manager (memcached-based session failover, [1]) I want to access/reference webapplication classes (in WEB-INF/lib/) directly from my manager implementation (subclasses o.a.catalina.session.ManagerBase, registered via Context/Manager) when tomcat starts

Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 1/9/2010 9:38 AM, Leon Kolchinsky wrote: > Yes instructions for Sakai actually say expand it into CATALINA_HOME. What are the top-level contents for the Sakai tarball? Is it a single directory? I would expect http://source.sakaiproject.

Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-09 Thread Leon Kolchinsky
Hello again, Yes instructions for Sakai actually say expand it into CATALINA_HOME. O.K I may be wrong but http://sakai26.dyndns.org/servlets-examples/ is working. I'd like to fix my configuration and I'm opened for suggestions. What should I change in my configs (I think that I g

Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-09 Thread Mark Thomas
On 09/01/2010 13:42, Leon Kolchinsky wrote: > Hello Mark, > > Thanks for the link - > http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html > I don't think that you've read my configs well. > > CATALINA_HOME != httpd document root > That's my

Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-09 Thread Leon Kolchinsky
Hello Mark, Thanks for the link - http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html I don't think that you've read my configs well. CATALINA_HOME != httpd document root That's my case! Where did you got the info that it isn't so? appBase and docBase are

Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-09 Thread Mark Thomas
told us what was in it. > They all talking about downloading the archive into $CATALINA_HOME and > then unpacking the archive. Then start up Tomcat > - > http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.6) > > When I extract sakai-bin-2.6.1.tgz

How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-08 Thread Leon Kolchinsky
environment :( They all talking about downloading the archive into $CATALINA_HOME and then unpacking the archive. Then start up Tomcat - http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.6) When I extract sakai-bin-2.6.1.tgz into /srv/myserver029 (Vitual domain

RE: $CATALINA_HOME

2009-04-07 Thread Caldarale, Charles R
> From: jigneshjsoni [mailto:jigneshjs...@gmail.com] > Subject: $CATALINA_HOME > > When I run above command on cmd prompt , I get message path can not be > found. How to find path for $CATALINA_HOME from cmd prompt ? Read *all* of RUNNING.txt, including this from 2.2: "For

$CATALINA_HOME

2009-04-07 Thread jigneshjsoni
I am trying to do following. (3) Start Up Tomcat (3.1) Tomcat can be started by executing the following commands: $CATALINA_HOME\bin\startup.bat (Windows) When I run above command on cmd prompt , I get message path can not be found. How to find path for $CATALINA_HOME from cmd prompt

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Koberg wrote: > > On Feb 6, 2009, at 4:45 PM, Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Dave, >> >> Dave Pawson wrote: >>> Only one aspect of security Rob. >>> As needed I'll look at others

  1   2   >