Proyproblems with BIRT webviewer [message #189745] |
Mon, 11 September 2006 17:37 |
Eclipse User |
|
|
|
Originally posted by: cruzd.alum.rpi.edu
After some testing I'm are running into an issue using the birt-viewer
with a proxy server.
While we can generate and view reports going through the local network,
going through the proxy server fails.
We checked source of the generated html and saw
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
<HEAD>
<TITLE>BIRT Report Viewer</TITLE>
<BASE href="http://localhost:8080/birt-viewer/webcontent/birt" >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<LINK REL="stylesheet" HREF="birt/styles/style.css" TYPE="text/css">
That base href needs to be configurable or needs to go away or needs to be
changable.
Since I plan to deploy the birt-viewer behind a proxy set up this is a
major problem. The proxy is always going to be running on the local
host, so that it's never going to be the server name. Is there a work
around for this issue? Also should i make another bug report for this ?
|
|
|
Proxy problems with BIRT webviewer [message #189754 is a reply to message #189745] |
Mon, 11 September 2006 17:57 |
Eclipse User |
|
|
|
Originally posted by: cruzd.alum.rpi.edu
edit for clarity:
After some testing I'm are running into an issue using the birt-viewer
with a proxy server. While we can generate and view reports going through
the local network, going through the proxy server fails.
I checked the source of the generated html and saw
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
<HEAD>
<TITLE>BIRT Report Viewer</TITLE>
<BASE href="http://localhost:8080/birt-viewer/webcontent/birt" >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<LINK REL="stylesheet" HREF="birt/styles/style.css" TYPE="text/css">
That base href needs to be configurable or needs to go away or needs to be
changable. Since I plan to deploy the birt-viewer behind a proxy set up
this is a major problem. The proxy is always going to be running on the
local host, so that it's never going to be the server name. Is there a
work around for this issue? Also should i make another bug report for
this ?
|
|
|
|
Re: Proxy problems with BIRT webviewer [message #190067 is a reply to message #189870] |
Tue, 12 September 2006 19:34 |
|
Have you looked that FramesetFragment.jsp page?
<BASE href="<%= "http://" + request.getServerName( ) + ":" +
request.getServerPort( ) + request.getContextPath( ) +
fragment.getJSPRootPath( ) %>" >
It is located in the \WebViewerExample\webcontent\birt\pages\layout folder.
Jason
"Darwin Cruz" <cruzd@alum.rpi.edu> wrote in message
news:814edf22f6bf9782b64d62fc073048e0$1@www.eclipse.org...
> Has anyone else been experiencing a proxy problem?
>
|
|
|
Re: Proxy problems with BIRT webviewer [message #190301 is a reply to message #190067] |
Wed, 13 September 2006 17:49 |
Eclipse User |
|
|
|
Originally posted by: cruzd.alum.rpi.edu
I hard coded my proxy server information in the href of the
FramesetFragment.jsp. It's working now. Thanks for the help Jason
Jason Weathersby wrote:
> Have you looked that FramesetFragment.jsp page?
> <BASE href="<%= "http://" + request.getServerName( ) + ":" +
> request.getServerPort( ) + request.getContextPath( ) +
> fragment.getJSPRootPath( ) %>" >
> It is located in the WebViewerExamplewebcontentbirtpageslayout folder.
> Jason
> "Darwin Cruz" <cruzd@alum.rpi.edu> wrote in message
> news:814edf22f6bf9782b64d62fc073048e0$1@www.eclipse.org...
>> Has anyone else been experiencing a proxy problem?
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03743 seconds