|
Re: Deploy BIRT Viewer 3.7.1 into Tomcat Server 7.0 [message #870833 is a reply to message #870731] |
Wed, 09 May 2012 19:10 |
|
If you copy this folder :WebViewerExample to the tomcat webapps
directory it should work fine. Have you tried to directly access it
instead of using the tag lib as a test?
Jason
On 5/9/2012 9:34 AM, Claude B wrote:
> Hi,
>
> I've deployed successfully BIRT Viewer 3.7.1 into a web application
> using Glassfish Server 3.1.2. I used the JSP taglib with a JSF 2.0
> dynamic web project (v2.5).
> Now I'm trying to switch from Glassfish to Tomcat 7.0 Server because I'm
> having many display problems with Glassfish but when I execute the web
> page containing the JSP taglib I get this error:
>
> The requested resource (/birt/frameset) is not available.
>
> I think the problem is related to the deployment of BIRT Viewer into
> Tomcat. I'm getting this error in this two cases:
> - I copied the war file (birt.war) into the Tomcat's Webapps folder and
> I deployed it from the Tomcat manager.
> - I tried also to copy the WebViewerExample folder into Tomcat's Webapps
> folder.
>
> For the Glassfish deployment I deployed the war file from the manager
> and it worked without problem.
> So How can I deploy successfully BIRT viewer into a Tomcat Server???
|
|
|
|
Re: Deploy BIRT Viewer 3.7.1 into Tomcat Server 7.0 [message #871077 is a reply to message #870936] |
Thu, 10 May 2012 17:40 |
|
If that worked fine then BIRT is deployed correctly. Add the attached
report design and jsp file to the birt viewer top directory and then
access the jsp like:
http://localhost:8080/viewer/ViewerTag.jsp
Jason
On 5/10/2012 5:54 AM, Claude B wrote:
> Yes I tried direct access and it worked fine. Can you give me other
> suggestions.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/birt.tld" prefix="birt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<body onload="resizeFrame(document)" bgcolor="#cccccc">
</head>
<body>
<birt:viewer id="birttViewer"
reportDesign="TopNPercent.rptdesign"
format="html"
scrolling="true"
height="700"
width="950"
pattern="frameset"
isHostPage="false">
</birt:viewer>
</body>
</html>
|
|
|
|
Re: Deploy BIRT Viewer 3.7.1 into Tomcat Server 7.0 [message #871259 is a reply to message #871166] |
Fri, 11 May 2012 16:38 |
|
Can you give some details on how you have it deployed on Glassfish?
Jason
On 5/11/2012 4:44 AM, Claude B wrote:
> Thank you Jason for this solution, I tested and it has worked. But this
> is not exactly what I want because in my JSP page I have many other
> elements in addition to the viewer tag like JSF tags and some managed
> beans and I think this kind of solution will make my project more
> complicated. What I need exactly is to deploy Tomcat the same way I
> deployed GlassFish and I saw in many forums that this worked for many
> people but till now I don't understand why this is not working for me.
|
|
|
|
|
|
Re: Deploy BIRT Viewer 3.7.1 into Tomcat Server 7.0 [message #871677 is a reply to message #871276] |
Mon, 14 May 2012 17:03 |
|
Are you using the default birt.war or do you have a modified one?
Jason
On 5/11/2012 1:52 PM, Claude B wrote:
> First I run GlassFish server and I opened the administration console
> from browser (IE) using this address localhost:4848/common/index.jsf
> I selected the Application tab at the left and I clicked on the deploy
> button, then I selected browse button and I set the location of my
> birt.war file. Finally I validated with ok button.
>
> I tried to deploy Tomcat the same way as GlassFish:
> I lunched the Tomcat server and I visited the manager console at
> localhost:8080/ manager/html
> At the end of the page I clicked the browse button and I set the war
> file's path and I get the message application successfully deployed
>
> What I'm I messing here???
|
|
|
|
Re: Deploy BIRT Viewer 3.7.1 into Tomcat Server 7.0 [message #872283 is a reply to message #872189] |
Tue, 15 May 2012 20:35 |
|
If you look at the runtime download the WebViewerExample directory is
the exploded version of the birt.war. You could try to re-war it and
deploy it. There is a web.xml in the web-inf directory of this app.
I just tried deploying to 7.0.27 with the manager url and it worked for me.
Jason
On 5/15/2012 12:05 PM, Claude B wrote:
> Hi Jason, yes I'm using the default birt.war
> BTW, Can you give me an example of a working web.xml configuration
|
|
|
Powered by
FUDForum. Page generated in 0.05580 seconds