Hide Forgot
Description of problem: There are warnings in the log during deployment of social-portlets.war Version-Release number of selected component (if applicable): JBoss Portal 6.1.1.DR1 and social-portlets quickstarts distributed with JBoss Portal 6.1.1.DR1. How reproducible: Always Steps to Reproduce: 1. Download the portal http://torii.gva.redhat.com/gatein-prod/jboss-portal-6.1.1.DR1-prod.zip 2. Get and compile the quickstarts: git clone https://github.com/jboss-developer/jboss-portal-quickstarts.git cd jboss-portal-quickstarts git checkout 3.6.x-prod cd social-portlets # now ensure you have https://repository.jboss.org/nexus/content/groups/public/ in settings.xml mvn clean install (3) cp -t $JBOSS_HOME/standalone/deployments/ social-portlets/target/social-portlets.war 3. Start the portal Actual results: The following warnings appear in the log: [0m[33m13:34:31,024 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry xml-apis.jar in /content/social-portlets.war/WEB-INF/lib/serializer-2.7.1-redhat-3.jar does not point to a valid jar for a Class-Path reference. [0m[33m13:34:31,026 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry xercesImpl.jar in /content/social-portlets.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar does not point to a valid jar for a Class-Path reference. [0m[33m13:34:31,027 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry xml-apis.jar in /content/social-portlets.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar does not point to a valid jar for a Class-Path reference. [0m[33m13:34:31,028 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry serializer.jar in /content/social-portlets.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar does not point to a valid jar for a Class-Path reference. Expected results: No warnings. Additional info:
Ad 2. You will need to compile and install the current BOM to be able to compile the quickstart: git clone https://github.com/jboss-developer/jboss-portal-boms.git cd jboss-portal-boms git checkout master # now ensure you have https://repository.jboss.org/nexus/content/groups/public/ in settings.xml mvn clean install
I've sent PR here https://github.com/jboss-developer/jboss-portal-quickstarts/pull/30 . What I did is to add "provided" scope to jboss-jstl-api_1.2_spec dependency to avoid xalan related stuff to be packed inside social-portlets.war/WEB-INF/lib . This helped to avoid WARN in server.log. Not sure if the fix has some other consequences, but I believe that it shouldn't (I did not test with Eclipse or JBDS).
Verified on DR02