[prev in list] [next in list] [prev in thread] [next in thread]
List: juddi-dev
Subject: [jira] Commented: (JUDDI-413) Unable to start registry when juddi
From: "Kurt T Stam (JIRA)" <juddi-dev () ws ! apache ! org>
Date: 2010-10-06 1:26:33
Message-ID: 3594724.41286328393826.JavaMail.jira () thor
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/JUDDI-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918370#action_12918370 \
]
Kurt T Stam commented on JUDDI-413:
-----------------------------------
Hi Shubh,
Just to give a bit more background info, there are data files to seed the jUDDI \
database packaged up in the war. If you want to use those then it makes sense to ship \
an exploded war. If you don't want to use them then you need to come up with some \
mechanism of your own to seed the database. Once you have a seeded database the issue \
you have above will no longer occur. In our design you can add additional data files, \
and they will be picked up as it reads "all the files in the directory", this will \
get very hard if you zip things up multiple times (we only support it being zipped up \
once at the moment).
Is this still an issue for you?
--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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic