Re: inherit modul for hibernate

2009-09-15 Thread Sripathi Krishnan
In your RPC Servlet, extend the method doUnexpectedFailure(Throwable t), and
log the exception. If you have your debugger setup, but a breakpoint in that
method to see what the exception is.

--Sri


2009/9/15 Daniel Pomrehn 

> Hi!
> Thank you for your answer Diego!
> You solved my problem, I moved the class to the server side and there's no
> more error.
>
> But wenn I run the application through Eclipse I get Message "The call
> failed on the server; see server log for details" in the Console.
> But when I look in the server log I can't find any error. Any ideas?
>
>
> Yes, I'm quite new to GWT. 2 weeks ago I started with little applications
> and by now I'd like to integrate a database. I'll again at the giled
> Example, too.
>
> Best regards
> Daniel
>
>
>
> 2009/9/15 Diego Lovison 
>
>
>> donwload the example in gilead site and follow.. ;D
>>
>> I believe that you are calling the session factory into the package
>> "client" or other modelu that you define in the gwt.xml
>>
>> you is new in gwt?
>>
>> On 15 set, 13:59, Danny  wrote:
>> > Hello,
>> >
>> > I try to integrate hibernate into a GWT 1.6 project. I've done it with
>> > the help of:
>> http://code.google.com/intl/de-DE/webtoolkit/articles/using_gwt_with_...
>> > and used gilead.
>> >
>> > But when I run my application it says in the log:
>> > No source code is available for type org.hibernate.SessionFactory; did
>> > you forget to inherit a required module?
>> > No source code is available for type org.hibernate.cfg.Configuration;
>> > did you forget to inherit a required module?
>> > No source code is available for type
>> > java.lang.Exception.InInitializeError; did you forget to inherit a
>> > required module?
>> >
>> > But I've imported the mentioned classes and in my app.gwt.xml I've
>> > added: 
>> >
>> > Has anyone ideas what to check why it does not work?
>> >
>> > Thanks in advance
>> > Daniel
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: inherit modul for hibernate

2009-09-15 Thread Daniel Pomrehn
Hi!
Thank you for your answer Diego!
You solved my problem, I moved the class to the server side and there's no
more error.

But wenn I run the application through Eclipse I get Message "The call
failed on the server; see server log for details" in the Console.
But when I look in the server log I can't find any error. Any ideas?


Yes, I'm quite new to GWT. 2 weeks ago I started with little applications
and by now I'd like to integrate a database. I'll again at the giled
Example, too.

Best regards
Daniel



2009/9/15 Diego Lovison 

>
> donwload the example in gilead site and follow.. ;D
>
> I believe that you are calling the session factory into the package
> "client" or other modelu that you define in the gwt.xml
>
> you is new in gwt?
>
> On 15 set, 13:59, Danny  wrote:
> > Hello,
> >
> > I try to integrate hibernate into a GWT 1.6 project. I've done it with
> > the help of:
> http://code.google.com/intl/de-DE/webtoolkit/articles/using_gwt_with_...
> > and used gilead.
> >
> > But when I run my application it says in the log:
> > No source code is available for type org.hibernate.SessionFactory; did
> > you forget to inherit a required module?
> > No source code is available for type org.hibernate.cfg.Configuration;
> > did you forget to inherit a required module?
> > No source code is available for type
> > java.lang.Exception.InInitializeError; did you forget to inherit a
> > required module?
> >
> > But I've imported the mentioned classes and in my app.gwt.xml I've
> > added: 
> >
> > Has anyone ideas what to check why it does not work?
> >
> > Thanks in advance
> > Daniel
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: inherit modul for hibernate

2009-09-15 Thread Diego Lovison

donwload the example in gilead site and follow.. ;D

I believe that you are calling the session factory into the package
"client" or other modelu that you define in the gwt.xml

you is new in gwt?

On 15 set, 13:59, Danny  wrote:
> Hello,
>
> I try to integrate hibernate into a GWT 1.6 project. I've done it with
> the help 
> of:http://code.google.com/intl/de-DE/webtoolkit/articles/using_gwt_with_...
> and used gilead.
>
> But when I run my application it says in the log:
> No source code is available for type org.hibernate.SessionFactory; did
> you forget to inherit a required module?
> No source code is available for type org.hibernate.cfg.Configuration;
> did you forget to inherit a required module?
> No source code is available for type
> java.lang.Exception.InInitializeError; did you forget to inherit a
> required module?
>
> But I've imported the mentioned classes and in my app.gwt.xml I've
> added: 
>
> Has anyone ideas what to check why it does not work?
>
> Thanks in advance
> Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



inherit modul for hibernate

2009-09-15 Thread Danny

Hello,

I try to integrate hibernate into a GWT 1.6 project. I've done it with
the help of: 
http://code.google.com/intl/de-DE/webtoolkit/articles/using_gwt_with_hibernate.html
and used gilead.

But when I run my application it says in the log:
No source code is available for type org.hibernate.SessionFactory; did
you forget to inherit a required module?
No source code is available for type org.hibernate.cfg.Configuration;
did you forget to inherit a required module?
No source code is available for type
java.lang.Exception.InInitializeError; did you forget to inherit a
required module?

But I've imported the mentioned classes and in my app.gwt.xml I've
added: 

Has anyone ideas what to check why it does not work?

Thanks in advance
Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---