[rules-users] Unable to save or validate facts in Guvnor

arup arup4u2007 at gmail.com
Thu Feb 9 01:34:42 EST 2012


Guvnor 5.1 and it's running on Websphere application server 6.1. 
The error is coming when i'm trying to save or validate anything.
I tried to export thr repository and got this in the console:





[2/9/12 11:58:02:401 IST] 00000023 SystemOut     O DEBUG 09-02 11:58:02,401
(RepositoryBackupServlet.java:processExportRepositoryDownload:115) 	
Starting to process export
[2/9/12 11:58:02:401 IST] 00000023 WrappingFileO W  switchFiles TRAS0031W:
Unable to rename file C:\Program
Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\logs\server1\SystemOut.log
to C:\Program
Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\logs\server1\SystemOut_12.02.09_11.58.02.log
during log file rollover. Attempting to copy file contents.
[2/9/12 11:58:02:422 IST] 00000023 SystemOut     O DEBUG 09-02 11:58:02,422
(RepositoryServlet.java:getFileManager:69) 	 WARNING: RUNNING IN NON SEAM
MODE SINGLE USER MODE - ONLY FOR TESTING AND DEBUGGING !!!!!
[2/9/12 11:58:02:457 IST] 00000023 SystemOut     O ERROR 09-02 11:58:02,455
(RulesRepository.java:exportRulesRepositoryToStream:999) 	 
java.lang.NullPointerException
	at
org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBInDataStore.java:135)
	at
org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:101)
	at org.apache.jackrabbit.value.BinaryValue.getStream(BinaryValue.java:157)
	at org.apache.jackrabbit.value.ValueHelper.serialize(ValueHelper.java:679)
	at
org.apache.jackrabbit.commons.xml.SystemViewExporter.exportValue(SystemViewExporter.java:122)
	at
org.apache.jackrabbit.commons.xml.SystemViewExporter.exportProperty(SystemViewExporter.java:102)
	at
org.apache.jackrabbit.commons.xml.SystemViewExporter.exportProperty(SystemViewExporter.java:87)
	at
org.apache.jackrabbit.commons.xml.Exporter.exportProperty(Exporter.java:363)
	at
org.apache.jackrabbit.commons.xml.Exporter.exportProperties(Exporter.java:268)
	at
org.apache.jackrabbit.commons.xml.SystemViewExporter.exportNode(SystemViewExporter.java:77)
	at org.apache.jackrabbit.commons.xml.Exporter.exportNode(Exporter.java:294)
	at
org.apache.jackrabbit.commons.xml.Exporter.exportNodes(Exporter.java:213)
	at
org.apache.jackrabbit.commons.xml.SystemViewExporter.exportNode(SystemViewExporter.java:78)
	at org.apache.jackrabbit.commons.xml.Exporter.exportNode(Exporter.java:297)
	at
org.apache.jackrabbit.commons.xml.Exporter.exportNodes(Exporter.java:213)
	at
org.apache.jackrabbit.commons.xml.SystemViewExporter.exportNode(SystemViewExporter.java:78)
	at org.apache.jackrabbit.commons.xml.Exporter.exportNode(Exporter.java:297)
	at org.apache.jackrabbit.commons.xml.Exporter.export(Exporter.java:143)
	at
org.apache.jackrabbit.commons.AbstractSession.export(AbstractSession.java:543)
	at
org.apache.jackrabbit.commons.AbstractSession.exportSystemView(AbstractSession.java:257)
	at
org.apache.jackrabbit.commons.AbstractSession.exportSystemView(AbstractSession.java:311)
	at
org.drools.repository.RulesRepository.exportRulesRepositoryToStream(RulesRepository.java:994)
	at
org.drools.guvnor.server.files.FileManagerUtils.exportRulesRepository(FileManagerUtils.java:249)
	at
org.drools.guvnor.server.files.RepositoryBackupServlet.processExportRepositoryDownload(RepositoryBackupServlet.java:118)
	at
org.drools.guvnor.server.files.RepositoryBackupServlet.doGet(RepositoryBackupServlet.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1101)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
	at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
	at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
	at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)











One thing i would like to say while configuring the guvnor in the WAS 6.1 I
was getting the following errors after deployment. So, I commemted out the
JBoss seam and seam listener related lines from the web.xml. Is it causing
because of this? 
Also I think it's not configured with the repository properly. thanks for ur
reply. can u help me to resolve this problem....

--
View this message in context: http://drools.46999.n3.nabble.com/Unable-to-save-or-validate-facts-in-Guvnor-tp3725241p3728582.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list