0 Replies Latest reply on Nov 22, 2017 1:18 AM by li andy

    HTTP Status 500 – Internal Server Error when i upload  artifacts

    li andy Newbie

      i get the error message below when i upload a artifact ,i think because of  my company's local  server forbid internet connection but access internet with proxy server,so how can i setting  proxy server in KIE-server

       

      Type Exception Report

      Message org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model for org.mybatis:mybatis:3.2.8

      Description The server encountered an unexpected condition that prevented it from fulfilling the request.

      Exception

      java.lang.RuntimeException: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model for org.mybatis:mybatis:3.2.8 [FATAL] Non-resolvable parent POM for org.mybatis:mybatis:3.2.8: Failure to transfer org.mybatis:mybatis-parent:pom:21 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.mybatis:mybatis-parent:pom:21 from/to central (https://repo.maven.apache.org/maven2): connect timed out @ line 20, column 11 for project org.mybatis:mybatis:3.2.8 org.guvnor.m2repo.backend.server.repositories.DistributionManagementArtifactRepository.getDistributionManagement(DistributionManagementArtifactRepository.java:158) org.guvnor.m2repo.backend.server.repositories.DistributionManagementArtifactRepository.deploy(DistributionManagementArtifactRepository.java:109) sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38) org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) org.guvnor.m2repo.backend.server.repositories.ArtifactRepository$250157362$Proxy$_$$_WeldClientProxy.deploy(Unknown Source) org.guvnor.m2repo.backend.server.GuvnorM2Repository.lambda$deployArtifact$3(GuvnorM2Repository.java:289) java.util.ArrayList.forEach(ArrayList.java:1249) org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:289) org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:159) org.guvnor.m2repo.backend.server.GuvnorM2Repository$Proxy$_$$_WeldClientProxy.deployArtifact(Unknown Source) org.guvnor.m2repo.backend.server.M2RepoServiceImpl.deployJar(M2RepoServiceImpl.java:64) org.guvnor.m2repo.backend.server.M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.deployJar(Unknown Source) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.uploadJar(HttpPostHelper.java:166) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.upload(HttpPostHelper.java:123) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.handle(HttpPostHelper.java:64) org.guvnor.m2repo.backend.server.M2Servlet.doPost(M2Servlet.java:57) javax.servlet.http.HttpServlet.service(HttpServlet.java:661) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:110) org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:70) 

      Root Cause

      org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model for org.mybatis:mybatis:3.2.8 [FATAL] Non-resolvable parent POM for org.mybatis:mybatis:3.2.8: Failure to transfer org.mybatis:mybatis-parent:pom:21 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.mybatis:mybatis-parent:pom:21 from/to central (https://repo.maven.apache.org/maven2): connect timed out @ line 20, column 11 for project org.mybatis:mybatis:3.2.8 org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:168) org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:126) org.appformer.maven.integration.embedder.MavenEmbedder.readProject(MavenEmbedder.java:298) org.guvnor.m2repo.backend.server.repositories.DistributionManagementArtifactRepository.getDistributionManagement(DistributionManagementArtifactRepository.java:154) org.guvnor.m2repo.backend.server.repositories.DistributionManagementArtifactRepository.deploy(DistributionManagementArtifactRepository.java:109) sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38) org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) org.guvnor.m2repo.backend.server.repositories.ArtifactRepository$250157362$Proxy$_$$_WeldClientProxy.deploy(Unknown Source) org.guvnor.m2repo.backend.server.GuvnorM2Repository.lambda$deployArtifact$3(GuvnorM2Repository.java:289) java.util.ArrayList.forEach(ArrayList.java:1249) org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:289) org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:159) org.guvnor.m2repo.backend.server.GuvnorM2Repository$Proxy$_$$_WeldClientProxy.deployArtifact(Unknown Source) org.guvnor.m2repo.backend.server.M2RepoServiceImpl.deployJar(M2RepoServiceImpl.java:64) org.guvnor.m2repo.backend.server.M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.deployJar(Unknown Source) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.uploadJar(HttpPostHelper.java:166) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.upload(HttpPostHelper.java:123) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.handle(HttpPostHelper.java:64) org.guvnor.m2repo.backend.server.M2Servlet.doPost(M2Servlet.java:57) javax.servlet.http.HttpServlet.service(HttpServlet.java:661) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:110) org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:70) 

      Root Cause

      org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for org.mybatis:mybatis:3.2.8 [FATAL] Non-resolvable parent POM for org.mybatis:mybatis:3.2.8: Failure to transfer org.mybatis:mybatis-parent:pom:21 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.mybatis:mybatis-parent:pom:21 from/to central (https://repo.maven.apache.org/maven2): connect timed out @ line 20, column 11  org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:197) org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:1029) org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:800) org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:329) org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:161) org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:126) org.appformer.maven.integration.embedder.MavenEmbedder.readProject(MavenEmbedder.java:298) org.guvnor.m2repo.backend.server.repositories.DistributionManagementArtifactRepository.getDistributionManagement(DistributionManagementArtifactRepository.java:154) org.guvnor.m2repo.backend.server.repositories.DistributionManagementArtifactRepository.deploy(DistributionManagementArtifactRepository.java:109) sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38) org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) org.guvnor.m2repo.backend.server.repositories.ArtifactRepository$250157362$Proxy$_$$_WeldClientProxy.deploy(Unknown Source) org.guvnor.m2repo.backend.server.GuvnorM2Repository.lambda$deployArtifact$3(GuvnorM2Repository.java:289) java.util.ArrayList.forEach(ArrayList.java:1249) org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:289) org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:159) org.guvnor.m2repo.backend.server.GuvnorM2Repository$Proxy$_$$_WeldClientProxy.deployArtifact(Unknown Source) org.guvnor.m2repo.backend.server.M2RepoServiceImpl.deployJar(M2RepoServiceImpl.java:64) org.guvnor.m2repo.backend.server.M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.deployJar(Unknown Source) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.uploadJar(HttpPostHelper.java:166) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.upload(HttpPostHelper.java:123) org.guvnor.m2repo.backend.server.helpers.HttpPostHelper.handle(HttpPostHelper.java:64) org.guvnor.m2repo.backend.server.M2Servlet.doPost(M2Servlet.java:57) javax.servlet.http.HttpServlet.service(HttpServlet.java:661) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:110) org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegration