thanks Matt, I did post it over there, didnt get any satisfactory response. Just posting out to appfuse users, if anyone has tried JOTM with embedded tomcat or jetty. Pl share tomcat plugin secion of your pom.xml. I am able to get the local installed version of tomcat working with JOTM but embedded versions dont seem to load the UserTransaction in JNDI
-sxm mraible wrote: > > I would suggest asking this on the Jetty mailing list. > > http://www.nabble.com/Jetty-Support-f61.html > > They're usually pretty responsive. > > Matt > > On 5/24/07, sxm <[EMAIL PROTECTED]> wrote: >> >> Wondering if any one has tried JOTM with Jetty and starting jetty from >> maven >> using mvn jetty:run. >> I have looked at various places (e.g. >> http://docs.codehaus.org/display/JETTY/JOTM codeHaus ), I am not sure >> what >> is missing. I have added carol.properties in my resource folder and here >> is >> how the pom looks >> >> <plugin> >> <groupId>org.mortbay.jetty</groupId> >> >> <artifactId>maven-jetty-plugin</artifactId> >> <version>6.0.0</version> >> <configuration> >> <contextPath>/flex</contextPath> >> >> <scanIntervalSeconds>3000</scanIntervalSeconds> >> <scanTargets> >> >> <scanTarget>src/main/webapp/WEB-INF</scanTarget> >> </scanTargets> >> >> <!-- Configure a Jotm instance >> which provides a >> javax.transaction.TransactionManager --> >> <!-- and a >> javax.transaction.UserTransaction implementation. >> --> >> <New id="jotm" >> class="org.objectweb.jotm.Jotm"> >> <Arg >> type="boolean">True</Arg> >> <Arg >> type="boolean">False</Arg> >> <Call id="tm" >> name="getTransactionManager" /> >> <Call id="ut" >> name="getUserTransaction" /> >> </New> >> >> <!-- Set up the UserTransaction >> impl from JOTM as the transaction >> manager for jetty6 --> >> <New id="tx" >> >> class="org.mortbay.jetty.plus.naming.Transaction"> >> <Arg> >> <Ref id="ut" /> >> </Arg> >> </New> >> <New id="UserTransaction" >> >> class="org.mortbay.jetty.plus.naming.Transaction"> >> <Arg> >> <Ref id="ut" /> >> </Arg> >> </New> >> </configuration> >> <dependencies> >> <dependency> >> <groupId>jotm</groupId> >> >> <artifactId>jotm</artifactId> >> >> <version>${jotm.version}</version> >> </dependency> >> </dependencies> >> </plugin> >> -- >> View this message in context: >> http://www.nabble.com/Running-Jetty-via-maven-with-JOTM-tf3808610s2369.html#a10779206 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Running-Jetty-via-maven-with-JOTM-tf3808610s2369.html#a10908426 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]