Hi Perry,

Thanks for your EAR. I think I have found the problem. In your
application.xml you specify a web-uri but no context-root element. I'm
not sure this is allowed. However, I've modified Cactus to support this
use case. If no context-root is specified, Cactus will now use the
web-uri without a possible leading slash and without the extension.

Several other points:

- your war seems not to be correctly cactified. I don't think you've
used the <cactifywar> Ant task. It's missing commons-logging for
example. Please check the EJB sample application in the latest cactus
nightly build.

- You are adding Orion config files as part of the EAR (and WAR). The
way the Cactus/Ant integration currently works is by creating all
necessary Orion config files and setting up a valid Orion directory
structure. I don't know how the 2 set of config files will mix... 

Thanks
-Vincent

PS: Next time, please use the cactus mailing list or attach your file to
the bugzilla bug report if it's big.

> -----Original Message-----
> From: Perry Young [mailto:[EMAIL PROTECTED]
> Sent: 05 October 2003 18:15
> To: [EMAIL PROTECTED]
> Subject: Test earfile for cactus orion2x
> 
> Vincent,
> 
> Again, sorry for the delay and thanks for looking into cactus' orion
ear
> deployment.  Attached is a stripped down ear file that gives the below
> error.  I'm running the tests on Win XP with j2sdk 1.4.1_01, the 9/7
> manual
> cactus build, and orion 2.0.2.   Just let me know if you need any
further
> info.
> 
> -Perry
> 
> cact:
> 
>   [cactus]
---------------------------------------------------------------
> --
>    [cactus] Running tests against Orion 2.x
> 
>   [cactus]
---------------------------------------------------------------
> --
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:389)
>         at
>
org.apache.tools.ant.filters.ReplaceTokens.addConfiguredToken(ReplaceTok
en
> s.
> java:255)
>         at
>
org.apache.cactus.integration.ant.container.AbstractContainer.createFilt
er
> Ch
> ain(AbstractContainer.java:334)
>         at
>
org.apache.cactus.integration.ant.container.orion.AbstractOrionContainer
..p
> re
> pare(AbstractOrionContainer.java:217)
>         at
>
org.apache.cactus.integration.ant.container.orion.Orion2xContainer.start
Up
> (O
> rion2xContainer.java:90)
>         at
>
org.apache.cactus.integration.ant.container.ContainerRunner$1.run(Contai
ne
> rR
> unner.java:185)
>         at java.lang.Thread.run(Thread.java:536)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to