juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Commented: (JUDDI-413) Unable to start registry when juddi war is deployed in OSGi container
Date Fri, 01 Oct 2010 21:11:33 GMT

    [ https://issues.apache.org/jira/browse/JUDDI-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917036#action_12917036
] 

Kurt T Stam commented on JUDDI-413:
-----------------------------------

Hi Shubh,

Can you make sure jUDDI can read the data files to populate the jUDDI database? It can read
the data from the jar, or you can point it to a location on disk (which is what happens in
the exploded war deployment). 

thx,

--Kurt

> Unable to start registry when juddi war is deployed in OSGi container
> ---------------------------------------------------------------------
>
>                 Key: JUDDI-413
>                 URL: https://issues.apache.org/jira/browse/JUDDI-413
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.3
>         Environment: Windows XP, Java 6, ServiceMix 4.2
>            Reporter: Shubhendu Chavda
>            Assignee: Kurt T Stam
>
> Hi,
> I am trying to deploy the juddi war file in an osgi container (ServiceMix 4.2). I modified
the war file to include required OSGi header. However when I deploy the war file, I get following
error.
> This seems to be caused by the fact that war is deployed as a zip bundle and Install.getPublishers(config)
is unable to read seed data from zip bundle.
> Can this be fixed soon?
> Thanks,
> Shubh Chavda
> -------------------
> org.apache.commons.configuration.ConfigurationException: java.lang.ArrayIndexOutOfBoundsException:
0
> 	at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:122)
> 	at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:95)
> 	at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:62)
> 	at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:183)
> 	at org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:205)
> 	at org.apache.jsp.index_jsp._jspService(index_jsp.java:111)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:132)
> 	at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:127)
> 	at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
> 	at org.ops4j.pax.web.jsp.JspServletWrapper.service(JspServletWrapper.java:124)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> 	at org.ops4j.pax.web.service.internal.WelcomeFilesFilter.doFilter(WelcomeFilesFilter.java:169)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
> 	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
> 	at org.apache.juddi.config.Install.getPublishers(Install.java:543)
> 	at org.apache.juddi.config.Install.install(Install.java:109)
> 	at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:120)
> 	... 34 more
> ----------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message