> -----Messaggio originale----- > Da: news [mailto:[EMAIL PROTECTED] Per conto di Christopher Lenz > Inviato: luned� 26 maggio 2003 15.37 > A: [EMAIL PROTECTED] > Oggetto: Re: testing ejb by ant > > Mariasole, > > sorry for the late response! I think I've fixed a bug related to this > issue, so if you want please try out a recent build > (http://cvs.apache.org/builds/jakarta-cactus/nightly/ now contains full > distributions again, you'll want cactus-[date].zip).
Thank u so much, i upgrade my cactus.jar version! > > The error you reported could be related to not being able to write to > the system temporary directory. The <cactus> task tries to perform a > local installation of the target container into that directory. To get > around this, you can use the 'tmpdir' attribute on the container element > to set a different temporary directory. > > For testing EJBs, you'll need to use a full application server (like > JBoss). Tomcat is "only" a servlet container, and doesn't support > deployment of EJBs etc. You might want to check out this project: > > http://cvs.sourceforge.net/cgi- > bin/viewcvs.cgi/junitbook/junitbook/ejb/integration/ > > It's an example from Vincent's upcoming "JUnit In Action" book which > uses Cactus and also the <cactifywar> and <cactus> tasks to test EJBs > against JBoss. > I had a look to this link, unfortunatly I have to use jbuilder, 'cause my project works there, so, looking at the build_cactus.xml file I found how to use <jboss3x>, I bet I have to use the <generic> containerset to run the borland application server, but I've no idea how to set the "startuptarget", the "shutdowntarget" and so on, as presented in http://jakarta.apache.org/cactus/integration/ant/task_cactus.html may someone help me, by an example? Thanks in advance Mariasole --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
