Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355871

Summary: Viewer has issues with JBoss AS 7.0.0 and 7.0.1
Product: z_Archived Reporter: Jason Weathersby <jasonweathersby>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: wyan
Version: 3.7.0   
Target Milestone: 3.7.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jason Weathersby CLA 2011-08-25 12:08:47 EDT
Deploying the viewer to JBoss 7.0.0 does not work with BIRT 3.7. and viewing with IE.  It works with firefox. Both work if deployed to 7.0.1 but the following warnings occur:



14:34:25,860 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Sta
rting deployment of "birt.war"
14:34:31,729 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_cs.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7.0.
1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point t
o a valid jar for a Class-Path reference.
14:34:31,737 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_de_DE.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7
.0.1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not poin
t to a valid jar for a Class-Path reference.
14:34:31,742 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_es.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7.0.
1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point t
o a valid jar for a Class-Path reference.
14:34:31,748 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_fr.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7.0.
1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point t
o a valid jar for a Class-Path reference.
14:34:31,753 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_hu.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7.0.
1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point t
o a valid jar for a Class-Path reference.
14:34:31,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_it.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7.0.
1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point t
o a valid jar for a Class-Path reference.
14:34:31,764 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_ja_JP.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7
.0.1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not poin
t to a valid jar for a Class-Path reference.
14:34:31,770 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_ko_KR.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7
.0.1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not poin
t to a valid jar for a Class-Path reference.
14:34:31,776 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_pl.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7.0.
1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point t
o a valid jar for a Class-Path reference.
14:34:31,781 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_pt_BR.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7
.0.1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not poin
t to a valid jar for a Class-Path reference.
14:34:31,787 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_ru.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7.0.
1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point t
o a valid jar for a Class-Path reference.
14:34:31,793 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_zh_CN.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7
.0.1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not poin
t to a valid jar for a Class-Path reference.
14:34:31,800 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-6) Cla
ss Path entry derbyLocale_zh_TW.jar in "/C:/apps/jboss-as-7.0.1.Final/jboss-as-7
.0.1.Final/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not poin
t to a valid jar for a Class-Path reference.
14:34:31,864 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) added javax.persi
stence.api dependency to birt.war
14:34:32,511 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1
-1) Deploying JDBC-compliant driver class org.apache.derby.jdbc.AutoloadedDriver
 (version 10.5)
14:34:33,344 INFO  [org.jboss.web] (MSC service thread 1-6) registering web cont
ext: /birt
14:34:33,353 INFO  [org.jboss.as] (MSC service thread 1-7) JBoss AS 7.0.1.Final
"Zap" started in 9722ms - Started 150 of 207 services (57 services are passive o
r on-demand)
14:34:33,396 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads -
 2) Deployed "birt.war"
Comment 1 Wei Yan CLA 2011-09-07 15:03:37 EDT
There are two issues here:
1. Jboss AS 7.0.0 has a bug in Set-Cookie, which causes BIRT can't create a session for IE, see:
http://community.jboss.org/message/612763#612763
https://issues.jboss.org/browse/AS7-1283
This bug has been fixed in Jboss AS 7.0.1.

2. The Class-Path warning is caused by Class-Path entry in the MANIFEST.MF of Derby.jar.,There is a section in the manifest as:
Class-Path: derbyLocale_cs.jar derbyLocale_de_DE.jar derbyLocale_es.ja
 r derbyLocale_fr.jar derbyLocale_hu.jar derbyLocale_it.jar derbyLocal
 e_ja_JP.jar derbyLocale_ko_KR.jar derbyLocale_pl.jar derbyLocale_pt_B
 R.jar derbyLocale_ru.jar derbyLocale_zh_CN.jar derbyLocale_zh_TW.jar
It is used to import the localization resources which is not needed in BIRT. I think we needn't fix it.

Set it as INVALID as it is a bug of JBoss AS 7.0.0
Comment 2 Wei Yan CLA 2011-09-07 15:21:33 EDT
If you don't use the sample report or sample data source, it is safe to remove the derby.jar from the WAR.