J W [
http://community.jboss.org/people/jmwest532] created the discussion
"WebDav error when adding files to Guvnor from Eclipse"
To view the discussion, visit:
http://community.jboss.org/message/582907#582907
--------------------------------------------------------------
Hi all,
Using Eclipse to integrate with Guvnor, and at "Select Folder" dialog screen
(trying to select defaultPackage), I am getting an Eclipse error dialog screen with the
message:
*+Guvnor Repository Error+*
*+Reason:+*
*+WebDav error: Internal Server Error (500)+*
Guvnor's WebDav implementation seems to be working fine, since using a browser to the
url:
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/webdav/
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/webdav/ rendered:
*+Contents of this Folder:+*
*+packages+*
*+snapshots+*
This seems alright, since I can browse inside using for example the url:
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/webdav/packages
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/webdav/packages
Looking inside the jboss' logs, I found the following exception:
2011-01-25 13:03:42,308 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule:
first pass2011-01-25 13:03:42,308 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N]
[com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first
pass
2011-01-25 13:03:42,308 DEBUG [com.arjuna.ats.jta.logging.loggerI18N]
[com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
2011-01-25 13:03:49,667 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/drools-guvnor].[WebdavServlet]]
Servlet.service() for servlet WebdavServlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 0
at
org.drools.guvnor.server.files.RepositoryServlet.unpack(RepositoryServlet.java:167)
at
org.drools.guvnor.server.files.RepositoryServlet.allowUser(RepositoryServlet.java:126)
at org.drools.guvnor.server.files.WebdavServlet.service(WebdavServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:662)
2011-01-25 13:03:52,331 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery
- second pass <Tue, 25 Jan 2011 13:03:52>
*Have you come across with this problem? Any workaround?*
I am using the environment set up by jbpm-installer (SNAPSHOT 66), and
+java version "1.6.0_23"++Java(TM) SE Runtime Environment (build 1.6.0_23-b05)+
+Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)+
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/582907#582907]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]