I found the root cause for this issue. Spring tries to create a java URL
object using a jndi URL and it fails.

URL url = new URL(location);

Basically this give the following exception.

java.net.MalformedURLException: unknown protocol: jndi
at java.net.URL.<init>(URL.java:574)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.wso2.test.Main.main(Main.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

This means there's no resource handler registered for jndi. Now the problem
is narrowed down to finding how to register it. This works well in the last
release.

Thanks,
~Isuru

On Wed, Feb 29, 2012 at 12:08 AM, Pradeep Fernando <[email protected]> wrote:

> Hi,
>
> we should reproduce the issue with a simple hello world web app. debugging
> with cxf app is bit difficult.
>
> --Pradeep
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Isuru Suriarachchi
Technical Lead
WSO2 Inc. http://wso2.com
email : [email protected]
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to