Aaron Porter wrote:
> If you haven't noticed yet the example app's web.xml is incorrect -
> the Extension.Packages should use org.stripersist instead of
> com.stripersist.
It's org.stripesstuff.
I'm trying to use stripersist with tomcat.
To load the persistance.xml file, you do:
URL url =
Thread.currentThread().getContextClassLoader().getResource("/META-INF/persistence.xml");
when deployed on tomcat by eclipse (using WTP) this doesn't work, "/" points
to webinf/classes.
Could you add the following line if URL is null after your getResource ?
url = servletContext.getResource("/META-INF/persistence.xml")
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users