Dear, I made new tests, and also fails to 'defaultPackage'. This made:
1) Create the files users.properties, roles.properties in \drools-5.1.0.M1-
guvnor-standalone\jboss-4.2.3.GA <
http://jboss-4.2.3.ga/>\server\default\conf.
also create the file 'testDS1-ds.xml' in \default\deploy
2) Start the jboss.
3)
http://localhost:8080/
<
http://localhost:8080/drools-guvnor>drools<http://localhost:8080/dr...
- <
http://localhost:8080/drools-guvnor><http://localhost:8080/drools-g...
guvnor <
http://localhost:8080/drools-guvnor>. when he asks "This looks like
a brand new repository. Would you like to install a sample repository?" I
respond "No thanks"
4) From eclipse add hellow_world.rf to Guvnor to 'defaultPackage' package,
OK
5) Build package 'default' , and delivers the same error:
2009-11-03 12:22:47,765 DEBUG [com.arjuna.ats.jta.logging.loggerI18N]
[com.arjuna.ats.internal.jta.recovery.info.secondpass] Local
XARecoveryModule - second pass
2009-11-03 12:24:05,031 INFO [STDOUT] ERROR 03-11 12:24:05,031
(RepositoryServiceServlet.java:doUnexpectedFailure:76)
java.lang.NullPointerException
2009-11-03 12:24:05,031 ERROR [STDERR]
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract org.drools.guvnor.client.rpc.BuilderResult[]
org.drools.guvnor.client.rpc.RepositoryService.buildPackage(java.lang.String,java.lang.String,boolean)
throws com.google.gwt.user.client.rpc.SerializableException' threw an
unexpected exception: java.lang.NullPointerException
2009-11-03 12:24:05,031 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
2009-11-03 12:24:05,031 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
2009-11-03 12:24:05,031 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
2009-11-03 12:24:05,031 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
2009-11-03 12:24:05,031 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2009-11-03 12:24:05,031 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
2009-11-03 12:24:05,031 ERROR [STDERR] at
java.lang.Thread.run(Thread.java:619)
2009-11-03 12:24:05,031 ERROR [STDERR] Caused by:
java.lang.NullPointerException
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.compiler.ProcessBuilder.buildProcess(ProcessBuilder.java:118)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.compiler.ProcessBuilder.addProcessFromFile(ProcessBuilder.java:222)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:468)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.compiler.PackageBuilder.addRuleFlow(PackageBuilder.java:440)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.contenthandler.RuleFlowHandler.compile(RuleFlowHandler.java:167)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:197)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:184)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:104)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:117)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1434)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1415)
2009-11-03 12:24:05,031 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2009-11-03 12:24:05,031 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2009-11-03 12:24:05,031 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-11-03 12:24:05,031 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:597)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.ServiceImplementation_$$_javassist_3.buildPackage(ServiceImplementation_$$_javassist_3.java)
2009-11-03 12:24:05,031 ERROR [STDERR] at
org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:206)
2009-11-03 12:24:05,031 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2009-11-03 12:24:05,031 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2009-11-03 12:24:05,031 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-11-03 12:24:05,031 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:597)
2009-11-03 12:24:05,031 ERROR [STDERR] at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
2009-11-03 12:24:05,031 ERROR [STDERR] ... 27 more
2009-11-03 12:24:47,765 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger]
Periodic recovery - first pass <mar, 3 nov 2009 12:24:47>
Thn
Kris