Deployment to an ear application

  • SENOUCI Abdelkader
Posted: Wed, 09/01/2010 - 03:53

Hi,

I've tried to use jsf4birt in my current project (an ear project: jsf1.2 with facelets anf richfaces 3.3.3, ejb, jpa) on Jboss 5.1
I use Eclipse3.5.2 (JeeBirt with jboss Tools)
I've copied to the lib and platform of WEB-INF (in jsf project)

but nothing on the screen nor in the log.

is there a difference between a war and ear project ?
is there a method to deploy the lib and platform directories to jboss (not in the project)?

thanks.

Hi, What can you see on

  • amarkavtsov
  • 05/28/10
  • Wed, 09/01/2010 - 16:01

Hi,

What can you see on client side (HTML code)?
Are you sure that you have put components library to application classpath?

Andrey

Deployment to an ear application

  • SENOUCI Abdelkader
  • 08/31/10
  • Thu, 09/02/2010 - 01:15

Hi,
The steps I followed :

  • - Copy of all Jars from the /ReportEngine/lib to /WEB-INF/lib directory

- Creation of directory platform in WEB-INF
- Copy of (from BRE 2.5.2) /ReportEngine/plugins and /ReportEngine/configuration directories to platform
- Copy of jsf4birt.jar to /WEB-INF/lib directory
- I created a simple report test.rptdesign in Reporting folder.
- I created a simple test.xhtml
  <?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:birt="http://jsf4birt.components/">
 <ui:composition>
  <rich:panel styleClass="panelhelp">
   <f:facet name="header" >
    Test Reporting
   </f:facet>
   
   <birt:birtWrapper id="testReoprt" reportDesign="/Reporting/test.rptdesign" >
   </birt:birtWrapper>
   
  </rich:panel>
 </ui:composition>
</html>