[rules-users] Guvnor Into Weblogic

calcacuervo calcacuervo at gmail.com
Wed Nov 2 09:29:16 EDT 2011


Hi Everyone. I have deployed Guvnor 5.2 in Weblogic 10.
I am able to browse it though web ui, create packages. But I have a problem
with eclipse plugin.

When I try to add a process to a package, I get "WebDav Error: Nor Found
(404)

In guvnor logs I see:

ERROR 02-11 09:26:03,257 (WebDavServletBean.java:service:154) 	 Exception:
org.drools.repository.RulesRepositoryException:
javax.jcr.AccessDeniedException: Access denied
	at org.drools.repository.PackageItem.addAsset(PackageItem.java:290)
	at org.drools.repository.PackageItem.addAsset(PackageItem.java:228)
	at
org.drools.guvnor.server.files.WebDAVImpl.createResource(WebDAVImpl.java:140)
	at net.sf.webdav.methods.DoPut.execute(DoPut.java:104)
	at net.sf.webdav.WebDavServletBean.service(WebDavServletBean.java:128)
	at
org.drools.guvnor.server.files.WebdavServlet.service(WebdavServlet.java:76)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	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
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(Unknown Source)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: javax.jcr.AccessDeniedException: Access denied
	at
org.apache.jackrabbit.core.security.simple.SimpleAccessManager.checkPermission(SimpleAccessManager.java:138)
	at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1476)
	at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:2082)
	at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1987)
	at org.drools.repository.PackageItem.addAsset(PackageItem.java:248)
	... 23 more



I have been debugging it, and found that in WebdavServlet class, this:
        String auth = req.getHeader( "Authorization" );

Is returning null, but in my tomcat installed tomcat it returns something
like "Basic .,..".

have everyone had this problem with guvnor in weblogic?

Thanks in advance,

Demian

--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Into-Weblogic-tp3473811p3473811.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list