0 Replies Latest reply on Dec 23, 2014 2:51 PM by Darren Osten

    Deploy kjar's in offline mode

    Darren Osten Newbie

      Our project runs jBPM 6 in a closed network.  The maven settings file is set to use offline=true and we supply a pre-populated maven repository.  However, when we try to add artifacts, there is an error since maven is offline.  Anybody know a way to run jBPM offline?

       

      Here is the stack trace when deploying artifacts:

       

      13:54:53,608 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/TeamStrikeWorkflow].[M2Servlet].invoke] (http-/0.0.0.0:8080-33) JBWEB000236: Servlet.service() for servlet M2Servlet threw exception: java.lang.RuntimeException: org.sonatype.aether.deployment.DeploymentException: The repository system is in offline mode, deployment impossible

          at org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:242) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:163) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.GuvnorM2Repository$Proxy$_$$_WeldClientProxy.deployArtifact(GuvnorM2Repository$Proxy$_$$_WeldClientProxy.java) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.M2RepoServiceImpl.deployJar(M2RepoServiceImpl.java:52) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.deployJar(M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.java) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.uploadFile(HttpPostHelper.java:199) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.processUpload(HttpPostHelper.java:84) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.handle(HttpPostHelper.java:70) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.guvnor.m2repo.backend.server.M2Servlet.doPost(M2Servlet.java:58) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.2.1.Final.jar:3.2.1.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.2.1.Final.jar:3.2.1.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70) [jbpm-designer-backend-6.1.0.Final.jar:6.1.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:283) [uberfire-security-server-0.4.0.Final.jar:0.4.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:559) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:354) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:932) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

      Caused by: org.sonatype.aether.deployment.DeploymentException: The repository system is in offline mode, deployment impossible

          at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:204) [aether-impl-1.13.1.jar:]

          at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:443) [aether-impl-1.13.1.jar:]

          at org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:238) [guvnor-m2repo-editor-backend-6.1.0.Final.jar:6.1.0.Final]

          ... 44 more