Hi Ian,

On Fri, Jul 25, 2014 at 3:01 PM, Ian Phillips <ian.phill...@gmail.com>
wrote:

> Can anybody point me at an example of how to configure Ebean when just
> using Akka (i.e. without Play). I'm trying to structure my app into 2
> projects: a front end that uses Play/Akka and a back end that is just Akka
> based. I can use Ebean as normal from the front end app but when I try to
> start my Akka based project either:
>
> public static void main(String... args) {
>
>     Ebean.createSqlQuery("select 1").findList();
>
>     akka.Main.main(new String[]{Sparky.class.getName()});
>
> }
>
>
> Gives me a PersistenceException: The default EbeanServer has not been
> defined? error, and commenting out the Ebean... lie gives me a 
> RuntimeException:
> There is no started application error, which seems to be triggered by me
> calling a Model.Finder method.
>

Akka has nothing to do with Ebeans, this is definitely not an issue related
to Akka.

-ENdre


>
> Cheers,
> Ian.
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to