在tomcat下部署gt4
(1) 进入dos界面,输入:cd %globus_location%;
(2) ant -f share/globus_wsrf_common/tomcat/tomcat.xml deploySecureTomcat -Dtomcat.dir=%Catalina_home% 上面的东西连续输入,不要换行。
出现以下错误: deploySecureTomcat: Property "tomcat.dir" has not been set Setting project property:
webapp.dir -> ${tomcat.dir}/webapps/wsrf Setting project property:
webapp.webinf.dir -> ${tomcat.dir}/webapps/wsrf/WEB-IN _baseTomcatDeploy:
[fail] failing due to Must specify -Dtomcat.dir= [antcall] Exiting C:\gt4\share\globus_wsrf_common\tomcat\tomcat.xml.
BUILD FAILED
C:\gt4\share\globus_wsrf_common\tomcat\tomcat.xml:159: The following error occur red while executing this line:
C:\gt4\share\globus_wsrf_common\tomcat\tomcat.xml:74: Must specify -Dtomcat.dir= at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:164) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)