Hi All,
We have a install/build.xml that installs an application to a weblogic server. When we are running the build script we get an error connection timed out. This error occurs at the build.xml line number 571 which is the xmltask tag. I have no idea why this is happening. The xmltask jar file is in the classpath for the build as well as defined on line 80 of the build.xml Please help us in solving this issue. Please find below the cutpaste of the error in the log file configure-client-ear: [copy] Copying 1 file to /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output [mkdir] Created dir: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/beforeconfig [mkdir] Created dir: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/afterconfig [mkdir] Created dir: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ warcontents/beforeconfig [mkdir] Created dir: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ warcontents/afterconfig [mkdir] Created dir: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ jarcontents/beforeconfig [mkdir] Created dir: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ jarcontents/afterconfig [unjar] Expanding: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/sim-client. ear into /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/beforeconfig [unjar] Expanding: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/beforeconfig/sim- client.war into /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ warcontents/beforeconfig [unjar] Expanding: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ warcontents/beforeconfig/lib/ sim-client-resources.jar into /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ jarcontents/beforeconfig [copy] Copying 1 file to /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ warcontents/afterconfig/lib [copy] Copying 1 file to /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/afterconfig [copy] Copying 1 file to /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/afterconfig [copy] Copying /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/beforeconfig/conf/ JnlpLaunch.properties to /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/afterconfig/conf/ JnlpLaunch.properties [mkdir] Created dir: /root/SIM_Installer/CDROM/WLS/ sim/application/sim13/ configured-output/tmp/client/ earcontents/afterconfig/META- INF [xmltask] It looks like you've got a network error. The probable cause [xmltask] is that you're trying to resolve a DTD on the internet although [xmltask] you don't know it! Check your XML for DTDs external to your network [xmltask] and read the Ant documentation for <xmlcatalog>. XMLTask will support [xmltask] usage of <xmlcatalog>. See the following: [xmltask] http://ant.apache.org/manual/CoreTypes/xmlcatalog.html [xmltask] http://www.oopsconsultancy. com/software/xmltask [xmltask] If this isn't the problem, then please report this error to the support [xmltask] mailing list. Thanks! BUILD FAILED /root/SIM_Installer/CDROM/WLS/ sim/application/build.xml:571: Connection timed out at com.oopsconsultancy.xmltask. ant.XmlTask.execute(XmlTask. java:662) at org.apache.tools.ant. UnknownElement.execute( UnknownElement.java:288) at sun.reflect. GeneratedMethodAccessor22. invoke(Unknown Source) at sun.reflect. DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:25) at java.lang.reflect.Method. invoke(Method.java:597) at org.apache.tools.ant.dispatch. DispatchUtils.execute( DispatchUtils.java:106) at org.apache.tools.ant.Task. perform(Task.java:348) at org.apache.tools.ant.Target. execute(Target.java:357) at org.apache.tools.ant.Target. performTasks(Target.java:385) at org.apache.tools.ant.Project. executeSortedTargets(Project. java:1337) at org.apache.tools.ant.Project. executeTarget(Project.java: 1306) at org.apache.tools.ant.helper. DefaultExecutor. executeTargets( DefaultExecutor.java:41) at org.apache.tools.ant.Project. executeTargets(Project.java: 1189) at org.tp23.antinstaller.antmod. Main.runBuild(Main.java:704) at org.tp23.antinstaller.antmod. Main.startAnt(Main.java:216) at org.tp23.antinstaller.antmod. Launcher.run(Launcher.java: 215) at org.tp23.antinstaller.runtime. exe.AntLauncherFilter.exec( AntLauncherFilter.java:76) at org.tp23.antinstaller.runtime. ExecInstall.exec(ExecInstall. java:85) at org.tp23.antinstaller.runtime. ExecInstall.main(ExecInstall. java:157) Please find below the cutpaste of the build.xml for line 80 and 571 <!-- Taskdef setup --> <taskdef resource="net/sf/antcontrib/ antcontrib.properties"> <classpath> <pathelement location="ant-ext/ant-contrib. jar" /> </classpath> </taskdef> <taskdef name="xmltask" classname="com. oopsconsultancy.xmltask.ant. XmlTask"> <classpath> <pathelement location="ant-ext/xmltask-v1. 13.jar" /> </classpath> </taskdef> <taskdef name="credentialStoreManager" classname="com.oracle.retail. integration.common.security. credential. CredentialStoreManagerAntTask" /> <taskdef name="wlst" classname="weblogic.ant. taskdefs.management.WLSTTask" /> <!--Configure application.xml --> <mkdir dir="${client.temp.dir}/ earcontents/afterconfig/META- INF" /> <xmltask source="${client.temp.dir}/ earcontents/beforeconfig/META- INF/application.xml" dest="${client.temp.dir}/ earcontents/afterconfig/META- INF/application.xml"> <replace path="application/module[1]/ web/context-root/text()" withText="${client.context. root.trimmed}"/> </xmltask> Regards, Vikram Gopinath
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Xmltask-users mailing list Xmltask-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xmltask-users