[jboss-jira] [JBoss JIRA] (WFLY-4065) Warning about private module use issued twice

Frank Langelage (JIRA) issues at jboss.org
Thu Nov 26 14:10:00 EST 2015


    [ https://issues.jboss.org/browse/WFLY-4065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134475#comment-13134475 ] 

Frank Langelage commented on WFLY-4065:
---------------------------------------

CXF was just an example, the message occurs twice for every private module used.
I have a simple reproducer for you. A war file just with an empty web-app.xml and jboss-deployment-structure.xml.
Deploying this war by copying it to the deployments folder gives me
{noformat}
26.11. 20:04:23,592 INFO  [org.jboss.as.server.deployment#start] WFLYSRV0027: Starting deployment of "test.war" (runtime-name: "test.war")
26.11. 20:04:23,689 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.test.war" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.
26.11. 20:04:23,710 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.test.war" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.
26.11. 20:04:23,723 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.test.war" is using a private module ("org.apache.cxf.impl:main") which may be changed or removed in future versions without notice.
26.11. 20:04:23,732 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.test.war" is using a private module ("org.apache.cxf.impl:main") which may be changed or removed in future versions without notice.
26.11. 20:04:23,755 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.test.war" is using a private module ("com.google.guava:main") which may be changed or removed in future versions without notice.
26.11. 20:04:23,759 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.test.war" is using a private module ("com.google.guava:main") which may be changed or removed in future versions without notice.
26.11. 20:04:23,940 INFO  [org.wildfly.extension.undertow#registerDeployment] WFLYUT0021: Registered web context: /test
26.11. 20:04:24,061 INFO  [org.jboss.as.server#handleResult] WFLYSRV0016: Replaced deployment "test.war" with deployment "test.war"
{noformat}
with latest 10.0.0.CR5-SNAPSHOT.

> Warning about private module use issued twice
> ---------------------------------------------
>
>                 Key: WFLY-4065
>                 URL: https://issues.jboss.org/browse/WFLY-4065
>             Project: WildFly
>          Issue Type: Bug
>          Components: Class Loading
>    Affects Versions: 10.0.0.CR5
>            Reporter: Frank Langelage
>            Assignee: David Lloyd
>            Priority: Minor
>
> My web app is using some modules of WildFly AS which are not public.
> The warning about using private modules is issued twice for every module:
> 09.11. 22:07:34,088 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.web-maj2e-langfr-dev.war" is using a private module ("org.jboss.common-core:main") which may be changed or removed in future versions without notice.
> 09.11. 22:07:34,090 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.web-maj2e-langfr-dev.war" is using a private module ("org.jboss.common-core:main") which may be changed or removed in future versions without notice.
> 09.11. 22:07:34,091 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.web-maj2e-langfr-dev.war" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.
> 09.11. 22:07:34,091 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.web-maj2e-langfr-dev.war" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.
> 09.11. 22:07:34,092 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.web-maj2e-langfr-dev.war" is using a private module ("org.apache.cxf.impl:main") which may be changed or removed in future versions without notice.
> 09.11. 22:07:34,094 WARN  [org.jboss.as.dependency.private#start] WFLYSRV0018: Deployment "deployment.web-maj2e-langfr-dev.war" is using a private module ("org.apache.cxf.impl:main") which may be changed or removed in future versions without notice.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list