Bug 1039040 - Class Path entry warnings when deploying social-portlets.war
Summary: Class Path entry warnings when deploying social-portlets.war
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Quickstarts
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR02
: 6.1.1
Assignee: mposolda
QA Contact: Tomas Kyjovsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-06 12:50 UTC by Peter Palaga
Modified: 2019-01-01 03:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Unnecessary JAR files in the social-portlets.war WEB-INF/lib/ directory caused WARN messages to be logged. The fix removes all JAR files not required by the social-portlets.war, which prevents WARN messages in the log file and corrects the issue.
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Peter Palaga 2013-12-06 12:50:56 UTC
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:

Comment 2 Peter Palaga 2013-12-06 13:53:28 UTC
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

Comment 3 mposolda 2013-12-09 22:40:09 UTC
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).

Comment 4 Filip Kiss 2014-01-02 14:16:23 UTC
Verified on DR02


Note You need to log in before you can comment on or make changes to this bug.