Stripersist Getting Started Guide

View: New views
5 Messages — Rating Filter:   Alert me  

Stripersist Getting Started Guide

by Gregg Bolinger-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Stripersist Getting Started Guide

by Aaron Porter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gregg,
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 Guide

by Lionel-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Stripersist Getting Started Guide

by Gregg Bolinger-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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. :)

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 Guide

by Lionel-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gregg 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
LightInTheBox - Buy quality products at wholesale price