Tihomir,

Thanks for including the JBPM-4070 fix. I'm a git / github newbie, but I'm reading up on it now, and will try and use pull requests for any future changes.

I'll take a look at the Repository interface, and will also try and blog about this if I get the chance. I'll let you know.

Again, thanks for all your help!

Regards,

Alan Gairey
Product Architect, Tessella Archiving Solutions

Tessella
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS    
Registered in England No. 1466429
T: +44 (0)1235 555511     E: alan.gairey@tessella.com     W:
www.digital-preservation.com



This message is commercial in confidence and may be privileged. It is intended for the addressee(s) only. Access to this message by anyone else is unauthorized and strictly prohibited. If you have received this message in error, please inform the sender immediately. Please note that messages sent or received by the Tessella e-mail system may be monitored and stored in an information retrieval system.

Please consider the environment and do not print this e-mail unless you really need to.







From:        Tihomir Surdilovic <tsurdilo@redhat.com>
To:        Alan.Gairey@tessella.com,
Cc:        jbpm-users@lists.jboss.org
Date:        31/07/2013 19:44
Subject:        Re: [jbpm-users] Having problems deploying latest 6.0.0 snapshot of jBPM Designer on Tomcat 7





On 7/31/13 12:08 PM, Alan.Gairey@tessella.com wrote:
Tihomir,

Outstanding! I downloaded the war, and it worked straight out of the box. After tweaking the JbpmServiceRepositoryServlet class (see
https://issues.jboss.org/browse/JBPM-4070), I even got it to upload all the wok item definitions from my service repository. Many thanks for your help with this.
Your fix was merged into master. Next time consider contributing it via github pull request please.

One more question if I may: in this forum response (
https://community.jboss.org/message/827376#827376), you mentioned that the designer can be configured to store business process assets in a file system. Could you please provide some information on how to do this.
Designer has a repository interface - https://github.com/droolsjbpm/jbpm-designer/blob/master/jbpm-designer-backend/src/main/java/org/jbpm/designer/repository/Repository.java
which you can use to implement your custom impls for different systems. Would be nice for someone to try out a config and see what issues they run into currently.


Once again, thanks for your help - the designer is excellent.

Glad you like it! Would really help if you find time to write a blog about your use of it or something. Let me know.

Thanks.


Regards,

Alan Gairey
Product Architect, Tessella Archiving Solutions

Tessella
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS    
Registered in England No. 1466429
T: +44 (0)1235 555511     E:
alan.gairey@tessella.com     W: www.digital-preservation.com



This message is commercial in confidence and may be privileged. It is intended for the addressee(s) only. Access to this message by anyone else is unauthorized and strictly prohibited. If you have received this message in error, please inform the sender immediately. Please note that messages sent or received by the Tessella e-mail system may be monitored and stored in an information retrieval system.

Please consider the environment and do not print this e-mail unless you really need to.







From:        
Tihomir Surdilovic <tsurdilo@redhat.com>
To:        
Alan.Gairey@tessella.com,
Cc:        
jbpm-users@lists.jboss.org
Date:        
30/07/2013 15:22
Subject:        
Re: [jbpm-users] Having problems deploying latest 6.0.0 snapshot of jBPM Designer on Tomcat 7





You could use Nexus:
https://repository.jboss.org/nexus/content/groups/public-jboss/org/jbpm/jbpm-designer-distribution-wars/

On 7/29/13 3:40 PM,
Alan.Gairey@tessella.com wrote:
Tihomir,


Many thanks for the update. I downloaded the source from Github, but unfortunately I can't build it on Windows. I get the error 'Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.0:compile (gwt-compile) on project jbpm-designer-standalone'; I think this is a known issue with the gwt-maven-plugin on Windows (
http://stackoverflow.com/questions/8181098/the-command-line-is-too-long-in-java-project-with-maven). So, nothing to do with jBPM, but very frustrating for me.

Is there a built version of the war file available anywhere for download?


Thank you again for your help,


Alan





From:        
Tihomir Surdilovic <tsurdilo@redhat.com>
To:        
Alan.Gairey@tessella.com,
Cc:        
jbpm-users@lists.jboss.org
Date:        
29/07/2013 14:01
Subject:        
Re: [jbpm-users] Having problems deploying latest 6.0.0 snapshot of jBPM Designer on Tomcat 7




We fixed the issues with Designer (standalone) on Tomcat (tested on tomcat 7). Update from master and give it a go.

Thanks.
On 7/18/13 11:55 AM,
Alan.Gairey@tessella.com wrote:
Tihomir,


Thanks for the info. If I get a chance, I'll take a look at the issues with deploying to Tomcat 7. Right now though I need to get the standalone version of the designer up and running ASAP. With this in mind, I deployed JBoss EAP 6.1.0 (this is based on AS 7 - correct?), and tried to auto-deploy the standalone version of designer. I'm currently getting the following error:


ERROR [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "designer.war" was rolled back with the following failure message: {"JBAS014771: Services with

missing/unavailable dependencies" => ["jboss.naming.context.java.module.designer.designer.env.ErraiService is missing [jboss.naming.context.java.jboss.resources.ErraiService]"]}

Any ideas on how I fix this?


Many thanks for your time and your help.


Regards,


Alan





From:        
Tihomir Surdilovic <tsurdilo@redhat.com>
To:        
Alan.Gairey@tessella.com,
Cc:        
jbpm-users@lists.jboss.org
Date:        
18/07/2013 14:50
Subject:        
Re: [jbpm-users] Having problems deploying latest 6.0.0 snapshot of jBPM Designer on Tomcat 7




We need to look into this for Designer and all our other webapps (distribution assembly for tomact). We have tested the jboss7 assembly extensively and that should work fine so if it's possible run it on 7.1.1 for not until its fixed. If you would like to try look into this and contribute a patch let me know --
https://github.com/droolsjbpm/jbpm-designer/tree/master/jbpm-designer-distribution-wars/src/main

Thanks.
Tihomir
On 7/18/13 9:44 AM,
Alan.Gairey@tessella.com wrote:
I've just built the jbpm-designer-standalone-tomcat7.0.war file from the latest 6.0.0 source. I renamed the war to designer.war, and deployed it to Tomcat 7.


When I try to open the URL:
http://localhost:8080/designer/editor?profile=jbpm

I get HTTP error code 500 returned, with the following stack trace:


java.lang.NullPointerException

    org.jboss.solder.servlet.event.ImplicitServletObjectsHolder.responseInitialized(ImplicitServletObjectsHolder.java:93)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:601)

    org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:45)
    org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)
    org.jboss.solder.servlet.event.ImplicitServletObjectsHolder$Proxy$_$$_WeldClientProxy.responseInitialized(ImplicitServletObjectsHolder$Proxy$_$$_WeldClientProxy.java)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:601)

    org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
    org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
    org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
    org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
    org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
    org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51)
    org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:245)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:233)
    org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:213)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:117)
    org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:85)
    org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:75)
    org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:70)
    org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:562)
    org.jboss.solder.servlet.event.AbstractServletEventBridge.fireEvent(AbstractServletEventBridge.java:45)
    org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:61)
    org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:224)

Any ideas please?


Thanks,


Alan Gairey


_______________________________________________
jbpm-users mailing list

jbpm-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-users