8 Replies Latest reply on Sep 16, 2012 12:52 PM by Ramesh Verala

    Error 400 on Build Package Click

    Tobias Wittur Newbie

      Hi,

       

      I got the following error when I tryed to build the default sample repository after starting guvnor the first time.

       

      I then tried to build my own package, and got the same error:

       

       

      400 Sorry, a technical error occurred. Please contact a system administrator.

       

      This is what the server log says:

       

       

      2011-08-17 15:52:44,813 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-1) ERROR 17-08 15:52:44,811 (LoggingHelper.java:error:69) Service method 'public abstract org.drools.guvnor.client.rpc.BuilderResult org.drools.guvnor.client.rpc.PackageService.buildPackage
      (java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,boolean,java.lang.String,
      java.lang.String,boolean,java.lang.String)
      throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: org.drools.RuntimeDroolsException:
      Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.
      JavaDialectConfiguration'

      org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'

      at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:277)
      at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:262)
      at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:175)
      at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:148)
      at org.drools.guvnor.server.builder.BRMSPackageBuilder.getPackageBuilderConfiguration(BRMSPackageBuilder.java:134)
      at org.drools.guvnor.server.builder.BRMSPackageBuilder.<init>(BRMSPackageBuilder.java:67)
      at org.drools.guvnor.server.builder.AssemblerBase.createBuilder(AssemblerBase.java:46)
      at org.drools.guvnor.server.builder.PackageAssembler.createBuilder(PackageAssembler.java:35)
      at org.drools.guvnor.server.builder.AssemblerBase.<init>(AssemblerBase.java:42)
      at org.drools.guvnor.server.builder.PackageAssemblerBase.<init>(PackageAssemblerBase.java:44)
      at org.drools.guvnor.server.builder.PackageAssembler.<init>(PackageAssembler.java:49)
      at org.drools.guvnor.server.RepositoryPackageOperations.buildPackage(RepositoryPackageOperations.java:522)
      at org.drools.guvnor.server.RepositoryPackageOperations.buildPackage(RepositoryPackageOperations.java:480)
      at org.drools.guvnor.server.RepositoryPackageService.buildPackage(RepositoryPackageService.java:299)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
      at org.drools.guvnor.server.RepositoryPackageService_$$_javassist_7.buildPackage(RepositoryPackageService_$$_javassist_7.java)
      at org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:282)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
      at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      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:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      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:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:722)

      Caused by: org.drools.RuntimeDroolsException: value '1.7' is not a valid language level

      at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:161)
      at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:56)
      at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:273)
      ... 68 more

       

      Any hints?

       

      Best regards,

      Tobias

        • 1. Re: Error 400 on Build Package Click
          Tihomir Surdilovic Master

          What AS are you deploying Guvnor on? Seems not tomcat-based because you seem to be missing the jasper jar(s).

          • 2. Re: Error 400 on Build Package Click
            Tobias Wittur Newbie

            I am using the standard demo installation. The following is my installation and start.demo log.

            C:\jbpm>ant install.demo

            Buildfile: C:\jbpm\build.xml

             

            download.jboss.check:

                 [echo] Checking JBoss AS download ...

             

            download.jboss:

             

            install.jboss:

                [unzip] Expanding: C:\jbpm\lib\jboss-5.1.0.GA.zip into C:\jbpm

             

            download.drools.guvnor.check:

                 [echo] Checking Drools Guvnor download ...

             

            download.drools.guvnor:

             

            install.guvnor.into.jboss:

             

            check.jboss.version:

             

            install.guvnor.into.jboss.5:

                [mkdir] Created dir: C:\jbpm\target\drools-guvnor

                [unzip] Expanding: C:\jbpm\lib\guvnor-distribution-wars-5.2.0.Final-jboss-as

            -5.1.war into C:\jbpm\target\drools-guvnor

                  [zip] Building zip: C:\jbpm\target\drools-guvnor.war

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\deploy

               [delete] Deleting directory C:\jbpm\target

             

            check.jboss.version:

             

            install.guvnor.into.jboss.other:

             

            download.designer.check:

                 [echo] Checking Designer download ...

             

            download.designer:

             

            install.designer.into.jboss:

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\deploy

             

            download.h2.check:

                 [echo] Checking h2 download ...

             

            download.h2:

             

            check.birt:

             

            download.birt.check:

             

            download.birt:

             

            download.jBPM.gwt-console.check:

                 [echo] Checking jBPM gwt-console download ...

             

            download.jBPM.gwt-console:

             

            install.jBPM-gwt-console.into.jboss:

                [mkdir] Created dir: C:\jbpm\target

                [unzip] Expanding: C:\jbpm\lib\jbpm-5.1.0.Final-gwt-console.zip into C:\jbpm

            \target

                [mkdir] Created dir: C:\jbpm\target\jbpm-gwt-console-server-war

                [unzip] Expanding: C:\jbpm\target\jbpm-gwt-console-server-5.1.0.Final.war in

            to C:\jbpm\target\jbpm-gwt-console-server-war

                 [copy] Copying 1 file to C:\jbpm\target\jbpm-gwt-console-server-war\WEB-INF

            \classes

                 [copy] Copying 1 file to C:\jbpm\target\jbpm-gwt-console-server-war\WEB-INF

            \classes\META-INF

                 [copy] Copying 2 files to C:\jbpm\target\jbpm-gwt-console-server-war\WEB-IN

            F\classes

                  [zip] Building zip: C:\jbpm\target\jbpm-gwt-console-server-5.1.0.Final.war

             

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\deploy

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\deploy

               [delete] Deleting directory C:\jbpm\target

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\deploy

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\lib

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\conf

                 [copy] Copying 1 file to C:\jbpm\jboss-5.1.0.GA\server\default\conf

             

            check.birt:

             

            install.reporting.into.jboss:

             

            download.eclipse.check:

                 [echo] Checking Eclipse download ...

             

            download.eclipse:

             

            download.eclipse.gef.check:

                 [echo] Checking Eclipse GEF download ...

             

            download.eclipse.gef:

             

            install.eclipse:

             

            unzipEclipse:

                [unzip] Expanding: C:\jbpm\lib\eclipse-java-helios-SR2-win32.zip into C:\jbp

            m

             

            untarEclipse:

                [unzip] Expanding: C:\jbpm\lib\GEF-SDK-3.6.2.zip into C:\jbpm

             

            download.jBPM.eclipse.check:

                 [echo] Checking jBPM Eclipse download ...

             

            download.jBPM.eclipse:

             

            install.jBPM-eclipse.into.eclipse:

                [unzip] Expanding: C:\jbpm\lib\jbpm-5.1.0.Final-eclipse-all.zip into C:\jbpm

            \eclipse

             

            download.jBPM.bin.check:

                 [echo] Checking jBPM binaries download ...

             

            download.jBPM.bin:

             

            install.jBPM.runtime:

                [mkdir] Created dir: C:\jbpm\runtime

                [unzip] Expanding: C:\jbpm\lib\jbpm-5.1.0.Final-bin.zip into C:\jbpm\runtime

             

             

            download.drools.eclipse.check:

                 [echo] Checking Drools Eclipse download ...

             

            download.drools.eclipse:

             

            install.drools-eclipse.into.eclipse:

                [mkdir] Created dir: C:\jbpm\eclipse\drools-update-site

                [unzip] Expanding: C:\jbpm\lib\org.drools.updatesite-5.2.0.Final-assembly.zi

            p into C:\jbpm\eclipse\drools-update-site

                 [copy] Copying 3 files to C:\jbpm\eclipse\features

                 [copy] Copying 4 files to C:\jbpm\eclipse\plugins

               [delete] Deleting directory C:\jbpm\eclipse\drools-update-site

             

            install.demo:

             

            BUILD SUCCESSFUL

            Total time: 1 minute 43 seconds

             

            C:\jbpm>ant start.demo

            Buildfile: C:\jbpm\build.xml

             

            download.h2.check:

                 [echo] Checking h2 download ...

             

            download.h2:

             

            start.h2:

             

            start.jboss:

             

            start.eclipse:

             

            start.human.task:

                [javac] C:\jbpm\build.xml:500: warning: 'includeantruntime' was not set, def

            aulting to build.sysclasspath=last; set to false for repeatable builds

                 [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

                 [java] SLF4J: Defaulting to no-operation (NOP) logger implementation

                 [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for fu

            rther details.

                 [java] Task service started correctly !

                 [java] Task service running ...

            • 3. Re: Error 400 on Build Package Click
              Tobias Wittur Newbie

              We are facing this issue now on two separate systems. We simply downloaded the default installation package

               

              http://sourceforge.net/projects/jbpm/files/jBPM 5/jbpm-5.1.0.Final/jbpm-5.1.0.Final-installer-full.zip

               

              and installed the demo environment.

               

              The error comes up in eclipse, when I execute the junit test of the examples package or the evaluation example, straight after the installation.

               


               

              At this stage, we were not even using guvnor.

               

              Cheers,

               

              Tobi

              • 4. Re: Error 400 on Build Package Click
                Tobias Wittur Newbie

                It was the java version.

                It works with jdk1.6.0_26, but not with java 7.

                • 6. Re: Error 400 on Build Package Click
                  gs1972 Newbie

                  I am also getting same error while running Test Scenario.

                  Test Scenario Error -400 Technical error Contact System Administrator.PNG

                  I changes the Users as an Administrator but its not working

                  • 7. Re: Error 400 on Build Package Click
                    Dirk Meyer Newbie

                    I hope that you have resolved this, But I had a similar 400 error,

                    but I have resolve this by making sure that I always start my Jboss server from the same directory. I you install the default installation package and use "ant start jboss" when you first test the installation and load data into guvnor, then there are a good chance that you will see this error when you later start the jboos server through another means, from with-in eclipse or directly in say ${jboss.home}.bin

                    The reason is that Guvnor install the repository.xml and repository in the start-up directory. This can easily be fixed in the build.xml file by adding the dir="${jboss.home}/bin" in the ant exec command.

                    I hope this help

                     

                    • 8. Re: Error 400 on Build Package Click
                      Ramesh Verala Newbie

                      I am getting the same problem with jdk1.6.0_35 , i changed from jdk1.6.0_26 since there was a security issue with that version. SHould I have to roll back?