Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Deploying Birt Viewer on Ubuntu
Deploying Birt Viewer on Ubuntu [message #368459] Mon, 01 June 2009 07:58 Go to next message
R. S. Patil is currently offline R. S. PatilFriend
Messages: 13
Registered: July 2009
Junior Member
Hi,

I am newbie to web applications as well to JSP/PHP/Tomcat etc. etc.

I have downloaded Birt and have created successfully a simple
report and now I want to test it by deploying to Tomcat 5.5.

I have Installed Tomcat 5.5 from standard repositories and
I could get it working by url localhost:8180 and I can use
admin, manager, sample application successfully.

I followed instructions on page
http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php

and copied the viewer directory to /usr/share/tomcat5.5-webapps/
restarted tomcat but in manager link I could not see the
birtviewer but is I copy them to /usr/share/tomcat5.5/webapps/
I could see the birtviewer directory in manager but when Click
the birtviewer URL in Manager I get following error.

--------------------------------------------------
HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/5.5
--------------------------------------------------

Can somebody help me in this situation.

I am using Ubuntu 8.10 desktop on Dell Vostro-1710 laptop

thanks and best regards

R. S. Patil
Re: Deploying Birt Viewer on Ubuntu (Solved) [message #368460 is a reply to message #368459] Mon, 01 June 2009 12:06 Go to previous message
R. S. Patil is currently offline R. S. PatilFriend
Messages: 13
Registered: July 2009
Junior Member
Hi,

Sorry for posting without googling.

> and copied the viewer directory to /usr/share/tomcat5.5-webapps/
> restarted tomcat but in manager link I could not see the
> birtviewer but is I copy them to /usr/share/tomcat5.5/webapps/
> I could see the birtviewer directory in manager but when Click
> the birtviewer URL in Manager I get following error.

> --------------------------------------------------
> HTTP Status 404 -

> type Status report

> message

> description The requested resource () is not available.
> Apache Tomcat/5.5
> --------------------------------------------------

> I am using Ubuntu 8.10 desktop on Dell Vostro-1710 laptop

The problem is that in Debian/Ubuntu Tomcat is started using the java
security manager. One solution is to deactivate the security manager
in /etc/init.d/tomcat5.5. But Following is more ellegant since it
relaxes security only for one application i.e. ReportViewer.

edit /etc/tomcat5.5/policy.d/50user.policy and add following line

grant codeBase "file:${catalina.base}/webapps/ReportViewer/-" {
permission java.security.AllPermission;
};


saved the file and restarted tomcat.

with http://localhost:8180/ReportViewer

the signature "index.jsp" appeared in browser.But the testreport
execution failled with some error messages. Instead of solving those
error I decided to try my own report which is working in designer.

I added my own working report to the ReportViewer Directory
and edited the "index.jsp" for URL to my report and viola !!!

I could see my report running.

Thanks to developers of Birt who had brought lot of simplicity
by virtue of which without any past web development experience
and with little knowledge of php,jsp I could get my evaluation
report working in flat 4/5 days in spare time working on it.

Keep it up and long live Birt.

best regards.

R. S. Patil
Previous Topic:Formatting Numbers inside a Text Field
Next Topic:Page Level Security
Goto Forum:
  


Current Time: Fri Apr 26 23:44:56 GMT 2024

Powered by FUDForum. Page generated in 0.03072 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top