You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christoph Kukulies <ku...@kukulies.org> on 2010/04/18 14:05:55 UTC

common/endorsed - Tomcat 6.0

I'm experimenting with a wsdl enabled service deplyed to tomcat.
The build.xml file has
this section in it:

    <condition property="lib.home" value="${catalina.home}/shared/lib" 
else="${as.home}
/lib">
        <isset property="bld.for.tomcat"/>
    </condition>

    <condition property="lib.endorsed" 
value="${catalina.home}/common/endorsed">
        <isset property="bld.for.tomcat"/>
    </condition>

    <condition property="lib.endorsed" value="${as.home}/lib/endorsed">
        <and>
            <not>
                <isset property="bld.for.tomcat"/>
            </not>
            <available file="${as.home}/lib/endorsed" type="dir"/>
        </and>
    </condition>

Maybe this file is for Tomcat 5.5 or something, don't know. I chaned the 
shared/lib to /lib already but
what should I do with common/endorsed?

I'm doing a

ant -Duse.tomcat=true deploy

on it
.


--
Christoph Kukulies
 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: common/endorsed - Tomcat 6.0

Posted by Pid <pi...@pidster.com>.
On 20/04/2010 08:24, Christoph Kukulies wrote:
> Harry Metske schrieb:
>> 2010/4/18 Christoph Kukulies <ku...@kukulies.org>
>>
>>  
>>> Harry Metske schrieb:
>>>
>>>  2010/4/18 Christoph Kukulies <ku...@kukulies.org>
>>>    
>>>>
>>>>      
>>>>> I'm experimenting with a wsdl enabled service deplyed to tomcat.
>>>>> The build.xml file has
>>>>> this section in it:
>>>>>
>>>>>  <condition property="lib.home" value="${catalina.home}/shared/lib"
>>>>> else="${as.home}
>>>>> /lib">
>>>>>      <isset property="bld.for.tomcat"/>
>>>>>  </condition>
>>>>>
>>>>>  <condition property="lib.endorsed"
>>>>> value="${catalina.home}/common/endorsed">
>>>>>      <isset property="bld.for.tomcat"/>
>>>>>  </condition>
>>>>>
>>>>>  <condition property="lib.endorsed" value="${as.home}/lib/endorsed">
>>>>>      <and>
>>>>>          <not>
>>>>>              <isset property="bld.for.tomcat"/>
>>>>>          </not>
>>>>>          <available file="${as.home}/lib/endorsed" type="dir"/>
>>>>>      </and>
>>>>>  </condition>
>>>>>
>>>>> Maybe this file is for Tomcat 5.5 or something, don't know. I
>>>>> chaned the
>>>>> shared/lib to /lib already but
>>>>> what should I do with common/endorsed?
>>>>>
>>>>>
>>>>>
>>>>>         
>>>> assuming you are now using tomcat 6:  remove it, it is no longer used
>>>>
>>>>
>>>>       
>>> em, er, excuse me, you are kidding. what is then the current version? Or
>>> should I go back to 5.5
>>> with all my other apps?
>>>
>>>     
>>
>> sorry, maybe I was not clear enough.
>> In your first email you did not mention what version of tomcat you are
>> using, you only mentioned that you had a build file that was probably for
>> tomcat 5.
>> The current version of tomcat is of course 6, and in version 6 there
>> is no
>> longer a common/endorsed directory, in that case my suggestion was to
>> remove
>> the common/endorsed from your build file too (and move all jars to lib).
>>
>> regards,
>> Harry
>>   
> 
> Thanks. I wrote it in the subject (6.0). Actually it was the latest
> (6.0.26).
> And I meant that Tomcat 6 doesn't have the common/endorsed and
> shared/lib directories. Wonder whether they wok when I create them
> and put the stuff in there.

Not unless you take extra action to enable them, which isn't usually
necessary.  ${catalina.home}/lib is fine almost all applications.

> I got around it for now by using MyEclipse and the embedded tomcat
> there. Although in the long run I would like
> to put the WSIT/wsdl enabled stuff into my "normal" tomcat webapps
> directory.
> 
> Maybe I just put them in there with the web.xml and see what happens.

I don't know what you're referring to.


p

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 



Re: common/endorsed - Tomcat 6.0

Posted by Christoph Kukulies <ku...@kukulies.org>.
Harry Metske schrieb:
> 2010/4/18 Christoph Kukulies <ku...@kukulies.org>
>
>   
>> Harry Metske schrieb:
>>
>>  2010/4/18 Christoph Kukulies <ku...@kukulies.org>
>>     
>>>
>>>       
>>>> I'm experimenting with a wsdl enabled service deplyed to tomcat.
>>>> The build.xml file has
>>>> this section in it:
>>>>
>>>>  <condition property="lib.home" value="${catalina.home}/shared/lib"
>>>> else="${as.home}
>>>> /lib">
>>>>      <isset property="bld.for.tomcat"/>
>>>>  </condition>
>>>>
>>>>  <condition property="lib.endorsed"
>>>> value="${catalina.home}/common/endorsed">
>>>>      <isset property="bld.for.tomcat"/>
>>>>  </condition>
>>>>
>>>>  <condition property="lib.endorsed" value="${as.home}/lib/endorsed">
>>>>      <and>
>>>>          <not>
>>>>              <isset property="bld.for.tomcat"/>
>>>>          </not>
>>>>          <available file="${as.home}/lib/endorsed" type="dir"/>
>>>>      </and>
>>>>  </condition>
>>>>
>>>> Maybe this file is for Tomcat 5.5 or something, don't know. I chaned the
>>>> shared/lib to /lib already but
>>>> what should I do with common/endorsed?
>>>>
>>>>
>>>>
>>>>         
>>> assuming you are now using tomcat 6:  remove it, it is no longer used
>>>
>>>
>>>       
>> em, er, excuse me, you are kidding. what is then the current version? Or
>> should I go back to 5.5
>> with all my other apps?
>>
>>     
>
> sorry, maybe I was not clear enough.
> In your first email you did not mention what version of tomcat you are
> using, you only mentioned that you had a build file that was probably for
> tomcat 5.
> The current version of tomcat is of course 6, and in version 6 there is no
> longer a common/endorsed directory, in that case my suggestion was to remove
> the common/endorsed from your build file too (and move all jars to lib).
>
> regards,
> Harry
>   

Thanks. I wrote it in the subject (6.0). Actually it was the latest 
(6.0.26).
And I meant that Tomcat 6 doesn't have the common/endorsed and 
shared/lib directories. Wonder whether they wok when I create them
and put the stuff in there.

I got around it for now by using MyEclipse and the embedded tomcat 
there. Although in the long run I would like
to put the WSIT/wsdl enabled stuff into my "normal" tomcat webapps 
directory.

Maybe I just put them in there with the web.xml and see what happens.


--
Christoph Kukulies



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: common/endorsed - Tomcat 6.0

Posted by Harry Metske <ha...@gmail.com>.
2010/4/18 Christoph Kukulies <ku...@kukulies.org>

> Harry Metske schrieb:
>
>  2010/4/18 Christoph Kukulies <ku...@kukulies.org>
>>
>>
>>
>>> I'm experimenting with a wsdl enabled service deplyed to tomcat.
>>> The build.xml file has
>>> this section in it:
>>>
>>>  <condition property="lib.home" value="${catalina.home}/shared/lib"
>>> else="${as.home}
>>> /lib">
>>>      <isset property="bld.for.tomcat"/>
>>>  </condition>
>>>
>>>  <condition property="lib.endorsed"
>>> value="${catalina.home}/common/endorsed">
>>>      <isset property="bld.for.tomcat"/>
>>>  </condition>
>>>
>>>  <condition property="lib.endorsed" value="${as.home}/lib/endorsed">
>>>      <and>
>>>          <not>
>>>              <isset property="bld.for.tomcat"/>
>>>          </not>
>>>          <available file="${as.home}/lib/endorsed" type="dir"/>
>>>      </and>
>>>  </condition>
>>>
>>> Maybe this file is for Tomcat 5.5 or something, don't know. I chaned the
>>> shared/lib to /lib already but
>>> what should I do with common/endorsed?
>>>
>>>
>>>
>>
>> assuming you are now using tomcat 6:  remove it, it is no longer used
>>
>>
> em, er, excuse me, you are kidding. what is then the current version? Or
> should I go back to 5.5
> with all my other apps?
>

sorry, maybe I was not clear enough.
In your first email you did not mention what version of tomcat you are
using, you only mentioned that you had a build file that was probably for
tomcat 5.
The current version of tomcat is of course 6, and in version 6 there is no
longer a common/endorsed directory, in that case my suggestion was to remove
the common/endorsed from your build file too (and move all jars to lib).

regards,
Harry

>
> --
> Christoph
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: common/endorsed - Tomcat 6.0

Posted by Christoph Kukulies <ku...@kukulies.org>.
Harry Metske schrieb:
> 2010/4/18 Christoph Kukulies <ku...@kukulies.org>
>
>   
>> I'm experimenting with a wsdl enabled service deplyed to tomcat.
>> The build.xml file has
>> this section in it:
>>
>>   <condition property="lib.home" value="${catalina.home}/shared/lib"
>> else="${as.home}
>> /lib">
>>       <isset property="bld.for.tomcat"/>
>>   </condition>
>>
>>   <condition property="lib.endorsed"
>> value="${catalina.home}/common/endorsed">
>>       <isset property="bld.for.tomcat"/>
>>   </condition>
>>
>>   <condition property="lib.endorsed" value="${as.home}/lib/endorsed">
>>       <and>
>>           <not>
>>               <isset property="bld.for.tomcat"/>
>>           </not>
>>           <available file="${as.home}/lib/endorsed" type="dir"/>
>>       </and>
>>   </condition>
>>
>> Maybe this file is for Tomcat 5.5 or something, don't know. I chaned the
>> shared/lib to /lib already but
>> what should I do with common/endorsed?
>>
>>     
>
> assuming you are now using tomcat 6:  remove it, it is no longer used
>   
em, er, excuse me, you are kidding. what is then the current version? Or should I go back to 5.5
with all my other apps?

--
Christoph




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: common/endorsed - Tomcat 6.0

Posted by Harry Metske <ha...@gmail.com>.
2010/4/18 Christoph Kukulies <ku...@kukulies.org>

> I'm experimenting with a wsdl enabled service deplyed to tomcat.
> The build.xml file has
> this section in it:
>
>   <condition property="lib.home" value="${catalina.home}/shared/lib"
> else="${as.home}
> /lib">
>       <isset property="bld.for.tomcat"/>
>   </condition>
>
>   <condition property="lib.endorsed"
> value="${catalina.home}/common/endorsed">
>       <isset property="bld.for.tomcat"/>
>   </condition>
>
>   <condition property="lib.endorsed" value="${as.home}/lib/endorsed">
>       <and>
>           <not>
>               <isset property="bld.for.tomcat"/>
>           </not>
>           <available file="${as.home}/lib/endorsed" type="dir"/>
>       </and>
>   </condition>
>
> Maybe this file is for Tomcat 5.5 or something, don't know. I chaned the
> shared/lib to /lib already but
> what should I do with common/endorsed?
>

assuming you are now using tomcat 6:  remove it, it is no longer used




> I'm doing a
>
> ant -Duse.tomcat=true deploy
>
> on it
> .
>
>
> --
> Christoph Kukulies
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>