Hi Pradeep, Can you please apply the proper patch for this into Carbon core?
~Isuru On Wed, Feb 29, 2012 at 6:47 PM, Isuru Suriarachchi <is...@wso2.com> wrote: > Sameera fixed the issue and now everything looks fine.. > > Thanks, > ~Isuru > > > On Wed, Feb 29, 2012 at 5:53 PM, Isuru Suriarachchi <is...@wso2.com>wrote: > >> Ok found the issue. In tomcat WebappLoader class, URL stream handler >> factory is registered as follows.. >> >> URLStreamHandlerFactory streamHandlerFactory >> = DirContextURLStreamHandlerFactory.getInstance(); >> URL.setURLStreamHandlerFactory(streamHandlerFactory); >> >> Here we can register only one factory >> into URL.setURLStreamHandlerFactory and it can't be overridden. Before the >> OSGification, this is set first by the WebappLoader and it works fine. But >> now, this is first get registered by equinox framework and it can't be >> overridden. >> >> So this is something we have to fix from the OSGi level and Pradeep is >> looking into this.. >> >> Thanks, >> ~Isuru >> >> On Wed, Feb 29, 2012 at 3:52 PM, Isuru Suriarachchi <is...@wso2.com>wrote: >> >>> 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 <prad...@wso2.com>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 >>>> Carbon-dev@wso2.org >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> Isuru Suriarachchi >>> Technical Lead >>> WSO2 Inc. http://wso2.com >>> email : is...@wso2.com >>> blog : http://isurues.wordpress.com/ >>> >>> lean . enterprise . middleware >>> >>> >> >> >> -- >> Isuru Suriarachchi >> Technical Lead >> WSO2 Inc. http://wso2.com >> email : is...@wso2.com >> blog : http://isurues.wordpress.com/ >> >> lean . enterprise . middleware >> >> > > > -- > Isuru Suriarachchi > Technical Lead > WSO2 Inc. http://wso2.com > email : is...@wso2.com > blog : http://isurues.wordpress.com/ > > lean . enterprise . middleware > > -- Isuru Suriarachchi Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev