jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kapil Khanna" <kkha...@kana.com>
Subject AW: Cactus-Ant Integration issue
Date Mon, 16 Mar 2009 02:25:38 GMT
Thanks for the reply but I'm using Cactus-1.7.1 using Ant-1.7 and able
to call the cactifyear and cactus target.

 

But now it throws the following error :

 

BUILD FAILED

java.lang.IllegalArgumentException: InputStream cannot be null

        at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

        at
org.apache.cactus.integration.ant.deployment.application.ApplicationX

mlIo.parseApplicationXml(ApplicationXmlIo.java:152)

        at
org.apache.cactus.integration.ant.deployment.application.DefaultEarAr

chive.getApplicationXml(DefaultEarArchive.java:89)

        at
org.apache.cactus.integration.ant.deployment.EarParser.getUriOfCactif

iedWebModule(EarParser.java:161)

        at
org.apache.cactus.integration.ant.deployment.EarParser.parse(EarParse

r.java:59)

        at
org.apache.cactus.integration.ant.CactusTask.execute(CactusTask.java:

139)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:79)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:618)

        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

a: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(DefaultExe

cutor.java:41)

        at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)

        at org.apache.tools.ant.Main.runBuild(Main.java:758)

        at org.apache.tools.ant.Main.startAnt(Main.java:217)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

 

Any clue, why the inputStream is coming as null , is it something I'm
missing in passing the value in the web.xml

 

Thanks!


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message