6 Replies Latest reply on Jul 20, 2011 5:20 PM by tsurdilovic

    everything blocked after trying to edit from Guvnor

    tomarenz

      Hi, sequence was:

       

      - add "evaluation" process to Guvnor from inside Eclipse.

      - open Guvnor default package, list processes, select evaluation.

      - web editor shown, however no diagram appears.

      - close evaluation tab e open again.

      - designer blocked forever in "loading assets".

      - try to open the jBPM console: no way, everything blocked forever.

      - try running "ant stop.demo": no way, got stuck in "stop.jboss".

      - the last option: reboot.

        • 1. Re: everything blocked after trying to edit from Guvnor
          tomarenz

          ... and to complete - after rebooting:

           

          - restarted ant start.demo.

          - run Guvnor application till clicking on defaultPackage: then got "400 Sorry, a technical error occurred. Please contact a system administrator."

          - logged out (seems nop).

          - tried again: now it seems to run fine.

          - the console runs as well.

          • 2. Re: everything blocked after trying to edit from Guvnor
            tsurdilovic

            Try to tail -f the server.log in $jbpm_installer/$jboss/server/default/logs to see what errors you are actually getting so there is no guessing going on.

             

            *web editor shown, however no diagram appears  -> what oryx designer version are you using? There is an information button in the toolbar which should give you the version. Both of the evaluation processes open without issues with designer-1.0.0.053 and should also with designer-1.0.0.052

             

            *designer blocked forever in "loading assets". -> parsing error when opening the bpmn2 of your process, again server log should show you what happened

             

            *try running "ant stop.demo": no way, got stuck in "stop.jboss" -> whats stuck mean? Looking at server and boot logs will allow you not to have to guess

             

            *the last option: reboot - seriously?

             

            Please prodive more info. Thanks.

            • 3. Re: everything blocked after trying to edit from Guvnor
              tomarenz

              I cannot see such a button ("about" says Version 5.2.0 final). Anyway from the lib dir I see designer-1.0.0.052-jboss.war (reinstalled jBpm yesterday).

              Server log, many errors:

               

              2011-07-19 15:03:46,151 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/drools-guvnor].[PackageDeploymentServlet]] (http-localhost%2F127.0.0.1-8080-5) Servlet.service() for servlet PackageDeploymentServlet threw exception

              javax.jcr.PathNotFoundException: drools:repository/drools:package_area

                  at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2437)

                  at org.drools.repository.RulesRepository.getAreaNode(RulesRepository.java:209)

               

              Many of:

               

              ERROR 19-07 16:28:10,473 (LoggingHelper.java:error:69)      Blocked request without GWT permutation header (XSRF attack?)

              java.lang.SecurityException: Blocked request without GWT permutation header (XSRF attack?) at com.google.gwt.user.server.rpc.RemoteServiceServlet.checkPermutationStrongName(RemoteServiceServlet.java:272)

               

              A couple of:

               

              ERROR 19-07 17:25:33,804 (UserInfo.java:<init>:51) Unable to init UserInfo

              javax.jcr.RepositoryException: failed to resolve path  relative to node /drools:repository/user_info

              at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java:249)

               

              and the final killer:

               

              2011-07-19 17:43:11,910 ERROR [org.apache.catalina.connector.CoyoteAdapter] (http-localhost%2F127.0.0.1-8080-2) An exception or error occurred in the container during the request processing

              java.lang.OutOfMemoryError: Java heap space

                  at java.util.LinkedHashMap.createEntry(LinkedHashMap.java:424)

               

              By "stuck" I meant never returning.

              I don't know jboss enough to be selective in killing its processes (Win7 64 bits), so rebooting was my last chance.

               

              Renzo

              • 4. Re: everything blocked after trying to edit from Guvnor
                tsurdilovic

                Weird errors, does your user have permissions to edit directories in the $jbpminstaller directory or are they set to read-only?

                Guvnor uses apache Jackrabbit as the default JCR impl and it reads/writes your repository data in the installer by default to $installerdir/repository directory

                 

                How much memory are you running with? You may need more because of the OOM.

                • 5. Re: everything blocked after trying to edit from Guvnor
                  tomarenz

                  There are no permission problems, I installed all twice by unzipping jbpm-5.1.0.Final-installer-full.zip and running ant as described in install page. Home is c:/users/Sperkmandl/jbpm-installer

                   

                  I'm running win- 64 bits with 4 GB. And of course now (after yesterday reboot) everything seems running fine, except about the (XSRF attack?) log error, which appears often in today log (whatever it means).

                  • 6. Re: everything blocked after trying to edit from Guvnor
                    tsurdilovic

                    The XSRF attack errors seems valid - see https://issues.jboss.org/browse/GUVNOR-1272. This is still an open issue. Please read comments in Jira for more info.