users@glassfish.java.net

Re: NPE - java.lang.reflect.UndeclaredThrowableException

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Fri, 03 Feb 2012 15:46:25 +0530

Before we go to repair your code, which is more complicated than this
simple sample, let's make sure a trivial sample works. From the output
you had sent me, I noticed that the sample didn't work. Yes, it deployed
fine, but it never obtained a handle to the data source. Compare the
output I observed when I ran the sample with what you have got. Do you
see anything missing?

Sahoo

On Friday 03 February 2012 02:04 PM, forums_at_java.net wrote:
> Yesterday I remove Glassfish 3.1.1 and I installed it again.I don't find
> any difference. I can also deploy successfully the jdbc example. The
> inresting part is that I can successfully deploy it even when I remove
> all
> JNDI connectors from Glassfish. And I still get "no data source" when
> I try to run my osgi bundle.
>
> I kindly ask you for your help with my code. This time I'm out of any
> ideas.
> Would you help me to repair my code, please?
>
> http://www.2shared.com/file/NQCpJARO/SH_27.html
>
>
> --
>
> [Message sent by forum member 'rcbandit']
>
> View Post: http://forums.java.net/node/883210
>
>