You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2002/04/23 17:15:01 UTC
catalina.home and catalina.base
Hi,
I am wondering why we have both catalina.home and catalina.base.
catalina.base is the only one used but catalina.home is used to set catalina.base...
What was the goal of having 2 properties instead one?
Cheers
Jean-frederic
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: catalina.home and catalina.base
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Please ignore my previous mail...
Something looks broken in the JVM I was using (jdk1.2.2) ;-(
Clere, Jean-Frederic wrote:
> Remy Maucherat wrote:
>
>>> Hi,
>>>
>>> I am wondering why we have both catalina.home and catalina.base.
>>> catalina.base is the only one used but catalina.home is used to set
>>
>>
>> catalina.base...
>>
>>> What was the goal of having 2 properties instead one?
>>
>>
>>
>> It is to allow sharing one binary between multiple users.
>
>
> Ok.
>
> But I have now the following error (in the second user):
> +++
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.4-b2
> java.lang.SecurityException: sealing violation
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
> at java.net.URLClassLoader.access$1(URLClassLoader.java:215)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at
> org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:674)
>
> at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1093)
>
> at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
>
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:311)
> at
> org.apache.catalina.core.StandardContext.createNamingContext(StandardContext.java:3687)
>
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3381)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
> +++
>
> The files I have copied from the original TC installation are the
> directories conf and webapps.
> The directories logs and temp I have created empty.
> The work directory have been created by the TC.
>
> tc1@vtxclere:~ > ls -lt
> total 20
> drwxr-xr-x 2 tc1 users 4096 Apr 23 18:18 logs
> drwxr-xr-x 2 tc1 users 4096 Apr 23 18:16 temp
> drwxr-xr-x 3 tc1 users 4096 Apr 23 18:06 work
> drwxr-xr-x 2 tc1 users 4096 Apr 23 18:06 conf
> drwxr-xr-x 7 tc1 users 4096 Mar 26 19:13 webapps
>
> Any idea?
>
>>
>> Remy
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>>
>>
>>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: catalina.home and catalina.base
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Remy Maucherat wrote:
>>Hi,
>>
>>I am wondering why we have both catalina.home and catalina.base.
>>catalina.base is the only one used but catalina.home is used to set
>
> catalina.base...
>
>>What was the goal of having 2 properties instead one?
>
>
> It is to allow sharing one binary between multiple users.
Ok.
But I have now the following error (in the second user):
+++
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4-b2
java.lang.SecurityException: sealing violation
at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
at java.net.URLClassLoader.access$1(URLClassLoader.java:215)
at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at
org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:674)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1093)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:311)
at
org.apache.catalina.core.StandardContext.createNamingContext(StandardContext.java:3687)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3381)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
+++
The files I have copied from the original TC installation are the directories
conf and webapps.
The directories logs and temp I have created empty.
The work directory have been created by the TC.
tc1@vtxclere:~ > ls -lt
total 20
drwxr-xr-x 2 tc1 users 4096 Apr 23 18:18 logs
drwxr-xr-x 2 tc1 users 4096 Apr 23 18:16 temp
drwxr-xr-x 3 tc1 users 4096 Apr 23 18:06 work
drwxr-xr-x 2 tc1 users 4096 Apr 23 18:06 conf
drwxr-xr-x 7 tc1 users 4096 Mar 26 19:13 webapps
Any idea?
>
> Remy
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: catalina.home and catalina.base
Posted by Remy Maucherat <re...@apache.org>.
> Hi,
>
> I am wondering why we have both catalina.home and catalina.base.
> catalina.base is the only one used but catalina.home is used to set
catalina.base...
> What was the goal of having 2 properties instead one?
It is to allow sharing one binary between multiple users.
Remy
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>