Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » View hyperlinks in weblogic server(View hyperlinks in weblogic server)
View hyperlinks in weblogic server [message #740956] Tue, 18 October 2011 23:27 Go to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
Hi,

We have created a report with hyperlinks in it, it works fine when previewed but when deployed in server, it does not work because the url is:

http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.

This url works only if we have relative path for rptdesign.But the hyperlink created from report automatically takes absolute path.

We have created hyperlink using hyperlink option in birt.

Any idea on how to resolve this issue.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #741418 is a reply to message #740956] Wed, 19 October 2011 10:04 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

What version of BIRT are you using and can you post the design?

Jason

On 10/18/2011 11:27 PM, kkp wrote:
> Hi,
>
> We have created a report with hyperlinks in it, it works fine when
> previewed but when deployed in server, it does not work because the url is:
>
> http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.
>
> This url works only if we have relative path for rptdesign.But the
> hyperlink created from report automatically takes absolute path.
> We have created hyperlink using hyperlink option in birt.
>
> Any idea on how to resolve this issue.
> Thanks,
> Hari Priya
Re: View hyperlinks in weblogic server [message #741968 is a reply to message #741418] Wed, 19 October 2011 23:52 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
Birt version used is 3.7.

Below is attached master and detail rptdesign files.They work fine when previed but when deployed in server , the hyper link fails as the url would turn out to be:

http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.

Attached are master and detail rptdesign files.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #742535 is a reply to message #741968] Thu, 20 October 2011 11:29 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Hari,

I just deployed these two reports and it worked fine. Can you post your
web.xml?

Jason

On 10/19/2011 11:52 PM, kkp wrote:
> Birt version used is 3.7.
>
> Below is attached master and detail rptdesign files.They work fine when previed but when deployed in server , the hyper link fails as the url would turn out to be:
>
> http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.
>
> Attached are master and detail rptdesign files.
>
> Thanks,
> Hari Priya
>
Re: View hyperlinks in weblogic server [message #743636 is a reply to message #742535] Fri, 21 October 2011 12:22 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
Jason,

The web.xml is the same file that is taken from viewer.
We are rendering master report using birt report tag.

I have tried placing the rptdesign in default working folder but in vain.
If the url is modified as below it works:

http://localhost:8001/reporting/__report=SalesInvoice.rptdesign.
The issue is with the absolue path of the rptdesign.If it is changed to relative path it is working fine.But how do i change it to relative path on the fly.Is there any way i can have only relative path.

Kindly suggest how to proceed.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #748246 is a reply to message #743636] Mon, 24 October 2011 11:29 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Hari,

If you open the WebViewer (not through tag libs) does it work?

Jason


On 10/21/2011 12:22 PM, kkp wrote:
> Jason,
>
> The web.xml is the same file that is taken from viewer.
> We are rendering master report using birt report tag.
>
> I have tried placing the rptdesign in default working folder but in vain.
> If the url is modified as below it works:
>
> http://localhost:8001/reporting/__report=SalesInvoice.rptdesign.
> The issue is with the absolue path of the rptdesign.If it is changed to
> relative path it is working fine.But how do i change it to relative path
> on the fly.Is there any way i can have only relative path.
>
> Kindly suggest how to proceed.
>
> Thanks,
> Hari Priya
Re: View hyperlinks in weblogic server [message #748304 is a reply to message #748246] Mon, 24 October 2011 12:14 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
Jason,

Yes it works in webviewer.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #748341 is a reply to message #748304] Mon, 24 October 2011 12:42 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you post the tag snippet you are using to render the report so I can
try to reproduce the issue?

Jason

On 10/24/2011 12:14 PM, kkp wrote:
> Jason,
>
> Yes it works in webviewer.
>
> Thanks,
> Hari Priya
Re: View hyperlinks in weblogic server [message #749475 is a reply to message #748341] Tue, 25 October 2011 04:39 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
hi,

below is the tld we are using.

<birt:report id="birtViewer"
reportDocument="xyz.rptdocument"
format="html"
frameborder="no"
isHostPage="false"
pageNum="<%=pageNum%>"
scrolling="no"
width="950"
reportContainer="div"
contentEncoding="UTF-8">
</birt:report>
Re: View hyperlinks in weblogic server [message #750018 is a reply to message #749475] Tue, 25 October 2011 11:26 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The issue appears to be because you are using a rptdocument instead of a
report design. I assume you generated the rptdocument in the designer
and not in the viewer? Run the report in the viewer and either add
&__document=master.rptdocument or just look in the documents folder to
get the report document that is generated by the viewer. Use this
document instead of the one generated in the designer.

Jason

On 10/25/2011 4:39 AM, kkp wrote:
> hi,
>
> below is the tld we are using.
>
> <birt:report id="birtViewer" reportDocument="xyz.rptdocument"
> format="html" frameborder="no" isHostPage="false" pageNum="<%=pageNum%>"
> scrolling="no" width="950" reportContainer="div"
> contentEncoding="UTF-8">
> </birt:report>
Previous Topic:PageCount with bookmark
Next Topic:Create reportdesign with the Birt API in java
Goto Forum:
  


Current Time: Wed Jul 23 10:08:17 EDT 2014

Powered by FUDForum. Page generated in 0.02362 seconds