[JBoss JIRA] (ISPN-10635) org.infinispan.commons.util.uberjar.ManifestUberJarDuplicatedJarsWarner.getBundleSymbolicNames is missing doPrivileged
by Nathan Rauh (Jira)
Nathan Rauh created ISPN-10635:
----------------------------------
Summary: org.infinispan.commons.util.uberjar.ManifestUberJarDuplicatedJarsWarner.getBundleSymbolicNames is missing doPrivileged
Key: ISPN-10635
URL: https://issues.jboss.org/browse/ISPN-10635
Project: Infinispan
Issue Type: Bug
Affects Versions: 10.0.0.CR1, 9.4.16.Final
Reporter: Nathan Rauh
We were testing the Infinispan JCache implementation with our product and turned on Java 2 security. It fails with Java 2 security enabled because a doPrivileged is missing from the following stack, so we are unable to grant permissions,
{{java.security.AccessControlException: Access denied ("java.io.FilePermission" [various-jar-file-names-here] "read")java.base/java.security.AccessController.throwACE(AccessController.java:176)
java.base/java.security.AccessController.checkPermissionHelper(AccessController.java:237)
java.base/java.security.AccessController.checkPermission(AccessController.java:373)
java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
com.ibm.ws.kernel.launch.internal.MissingDoPrivDetectionSecurityManager.checkPermission(MissingDoPrivDetectionSecurityManager.java:45)
java.base/java.lang.SecurityManager.checkRead(SecurityManager.java:661)
java.base/java.util.zip.ZipFile.<init>(ZipFile.java:235)
java.base/java.util.zip.ZipFile.<init>(ZipFile.java:176)
java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
java.base/sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:103)
java.base/sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:72)
java.base/sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
java.base/sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:125)
java.base/sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:155)
java.base/java.net.URL.openStream(URL.java:1117)
org.infinispan.commons.util.uberjar.ManifestUberJarDuplicatedJarsWarner.getBundleSymbolicNames(ManifestUberJarDuplicatedJarsWarner.java:54)
org.infinispan.commons.util.uberjar.ManifestUberJarDuplicatedJarsWarner.isClasspathCorrect(ManifestUberJarDuplicatedJarsWarner.java:39)
org.infinispan.commons.util.uberjar.ManifestUberJarDuplicatedJarsWarner.lambda$isClasspathCorrectAsync$3(ManifestUberJarDuplicatedJarsWarner.java:79)
org.infinispan.commons.util.uberjar.ManifestUberJarDuplicatedJarsWarner$$Lambda$252.000000004F268420.get(Unknown Source)
}}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (ISPN-10634) Docs: Maven profile for REST server docs
by Donald Naro (Jira)
Donald Naro created ISPN-10634:
----------------------------------
Summary: Docs: Maven profile for REST server docs
Key: ISPN-10634
URL: https://issues.jboss.org/browse/ISPN-10634
Project: Infinispan
Issue Type: Enhancement
Components: Documentation-Servers
Affects Versions: 10.0.0.Final
Reporter: Donald Naro
Assignee: Donald Naro
Create a documentation profile to generate HTML for the REST server.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (ISPN-10632) Unable to resolve org.infinispan.server:infinispan-server-commons
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10632?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-10632:
-------------------------------
Description:
Because of ISPN-10594, the maven group id changed. I got this error when tried to compile master:
{code:none}
[ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.wildfly:infinispan-server-jgroups:jar:10.0.0-SNAPSHOT: Could not find artifact org.infinispan.server:infinispan-server-commons:jar:tests:10.0.0-SNAPSHOT
{code}
was:
Because of ISPN-10594, the maven group id changed. I got this error when tried to compule master:
{code:none}
[ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.wildfly:infinispan-server-jgroups:jar:10.0.0-SNAPSHOT: Could not find artifact org.infinispan.server:infinispan-server-commons:jar:tests:10.0.0-SNAPSHOT
{code}
> Unable to resolve org.infinispan.server:infinispan-server-commons
> -----------------------------------------------------------------
>
> Key: ISPN-10632
> URL: https://issues.jboss.org/browse/ISPN-10632
> Project: Infinispan
> Issue Type: Bug
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> Because of ISPN-10594, the maven group id changed. I got this error when tried to compile master:
> {code:none}
> [ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.wildfly:infinispan-server-jgroups:jar:10.0.0-SNAPSHOT: Could not find artifact org.infinispan.server:infinispan-server-commons:jar:tests:10.0.0-SNAPSHOT
> {code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (ISPN-10632) Unable to resolve org.infinispan.server:infinispan-server-commons
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10632?page=com.atlassian.jira.plugin... ]
Pedro Ruivo commented on ISPN-10632:
------------------------------------
and this:
{code:none}
[ERROR] Failed to execute goal org.wildfly.build:wildfly-feature-pack-build-maven-plugin:1.2.10.Final:build (feature-pack-build) on project infinispan-feature-pack-wf-modules: Execution feature-pack-build of goal org.wildfly.build:wildfly-feature-pack-build-maven-plugin:1.2.10.Final:build failed: java.lang.RuntimeException: Some errors were encountered creating the feature pack
[ERROR] Could not determine version for artifact org.infinispan.wildfly:infinispan-server-commons
[ERROR] Could not determine version for artifact org.infinispan:infinispan-tasks
[ERROR] Could not determine version for artifact org.infinispan:infinispan-tasks-api
[ERROR] Could not determine version for artifact org.infinispan:infinispan-scripting
[ERROR] Could not determine version for artifact org.infinispan.server:infinispan-server-infinispan
[ERROR] Could not determine version for artifact org.infinispan:infinispan-cachestore-rest
[ERROR] Could not determine version for artifact org.infinispan:infinispan-cachestore-remote
[ERROR] Could not determine version for artifact org.infinispan.server:infinispan-server-jgroups
[ERROR] Missing module ModuleIdentifier{name='org.infinispan.server.commons', slot='ispn-10.0'}. Module was required by [ModuleIdentifier{name='org.jgroups.extension', slot='ispn-10.0'}, ModuleIdentifier{name='org.infinispan.extension', slot='ispn-10.0'}]
{code}
> Unable to resolve org.infinispan.server:infinispan-server-commons
> -----------------------------------------------------------------
>
> Key: ISPN-10632
> URL: https://issues.jboss.org/browse/ISPN-10632
> Project: Infinispan
> Issue Type: Bug
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> Because of ISPN-10594, the maven group id changed. I got this error when tried to compule master:
> {code:none}
> [ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.wildfly:infinispan-server-jgroups:jar:10.0.0-SNAPSHOT: Could not find artifact org.infinispan.server:infinispan-server-commons:jar:tests:10.0.0-SNAPSHOT
> {code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (ISPN-10631) infinispan-feature-pack is using wrong parent path
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10631?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-10631:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.0.0.CR3
Resolution: Done
> infinispan-feature-pack is using wrong parent path
> --------------------------------------------------
>
> Key: ISPN-10631
> URL: https://issues.jboss.org/browse/ISPN-10631
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.0.0.CR2
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Critical
> Fix For: 10.0.0.CR3
>
>
> {code:sh}
> FROM jboss/base-jdk:11
> USER root
> # Install default softwares
> RUN yum -y install git
> ENV MAVEN_VERSION "3.5.4"
> ENV MAVEN_OPTS="-Xmx4g -Xms4g"
> ENV MAVEN_HOME "/opt/maven"
> ENV PATH "$PATH:$MAVEN_HOME/bin"
> # Install maven
> RUN curl -O http://ftp.unicamp.br/pub/apache/maven/maven-3/$MAVEN_VERSION/binaries/ap... && \
> tar xvf apache-maven-${MAVEN_VERSION}-bin.tar.gz && \
> mv apache-maven-${MAVEN_VERSION} /opt/maven
> USER jboss
> WORKDIR /home/ispn
> ENTRYPOINT [ "sh", "-c", "mvn -v && java -version && cd ~/ && git clone https://github.com/infinispan/infinispan.git && cd infinispan && mvn versions:set -DnewVersion=10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe -DprocessAllModules -DgenerateBackupPoms=false -s maven-settings.xml -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn && mvn clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -s maven-settings.xml" ]
> {code}
> {noformat}
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [FATAL] Non-resolvable parent POM for org.infinispan:infinispan-feature-pack:[unknown-version]: Could not find artifact org.infinispan:infinispan-parent:pom:10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe in central (https://repo.maven.apache.org/maven2/) and 'parent.relativePath' points at wrong local POM @ line 4, column 13
> [WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:versions-maven-plugin @ org.infinispan:infinispan-parent:10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe, /opt/jboss/infinispan/pom.xml, line 4349, column 21
> [WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:versions-maven-plugin @ line 4349, column 21
> @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.infinispan:infinispan-feature-pack:[unknown-version] (/opt/jboss/infinispan/wildfly/feature-pack/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM for org.infinispan:infinispan-feature-pack:[unknown-version]: Could not find artifact org.infinispan:infinispan-parent:pom:10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe in central (https://repo.maven.apache.org/maven2/) and 'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months