On 20/04/2010 08:24, Christoph Kukulies wrote: > Harry Metske schrieb: >> 2010/4/18 Christoph Kukulies <k...@kukulies.org> >> >> >>> Harry Metske schrieb: >>> >>> 2010/4/18 Christoph Kukulies <k...@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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
signature.asc
Description: OpenPGP digital signature