|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Stripersist Getting Started GuideIs there a getting started step by step guide for working with
Stripersist? I searched the mailing list but didn't see any links to anything. Thanks. Gregg ------------------------------------------------------------------------- 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 Stripes-users@... https://lists.sourceforge.net/lists/listinfo/stripes-users |
|
|
Re: Stripersist Getting Started GuideGregg,
Sorry, I've been out of town without access to a computer. Did you find everything you needed? 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. Aaron Gregg Bolinger wrote: > Is there a getting started step by step guide for working with > Stripersist? I searched the mailing list but didn't see any links to > anything. > > Thanks. > > Gregg > > ------------------------------------------------------------------------- > 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 > Stripes-users@... > https://lists.sourceforge.net/lists/listinfo/stripes-users > > ------------------------------------------------------------------------- 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 Stripes-users@... https://lists.sourceforge.net/lists/listinfo/stripes-users |
|
|
Re: Stripersist Getting Started GuideAaron 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 Stripes-users@... https://lists.sourceforge.net/lists/listinfo/stripes-users |
|
|
Re: Stripersist Getting Started GuideYea, META-INF/persistence.xml should be in your classpath
(WEB-INF/classes). So its being loaded from the correct place. Sounds like you aren't putting the file in the right place. :) Gregg Lionel wrote: > 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 > Stripes-users@... > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------- 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 Stripes-users@... https://lists.sourceforge.net/lists/listinfo/stripes-users |
|
|
Re: Stripersist Getting Started GuideGregg Bolinger wrote:
> Yea, META-INF/persistence.xml should be in your classpath > (WEB-INF/classes). So its being loaded from the correct place. > Sounds like you aren't putting the file in the right place. :) You're right. i made it work, I sent the mail too quickly :) ------------------------------------------------------------------------- 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 Stripes-users@... https://lists.sourceforge.net/lists/listinfo/stripes-users |
| Free Forum Powered by Nabble | Forum Help |