Home » Archived » BIRT » Deploying to WebSphere Application Server
Deploying to WebSphere Application Server [message #130671] |
Wed, 15 February 2006 09:55  |
Eclipse User |
|
|
|
Originally posted by: spsanford2.llbean.com
Hi All,
I have installed and have been running the BIRT Report Viewer web
application in my IBM WSAD IDE for several weeks. Most things have run as
expected without problems. However, when I deploy the BIRT Viewer to my
WebSphere application server, reports that are run in pdf format display a
blank window in IE (no Adobe toolbar, nothing). If I change to display in
HTML format everything works fine. I have insured that the itext-1.3.jar
file is in the proper place in the birt.war file (I think). The same
deployment to the WebSphere app server with BIRT V2 Milestone2 worked fine
(pre itext pdf generation). I have project deadlines looming and am in
desperate need of help.
Any assistance on this is greatly appreciated!!
Thanks in advance!!
~Scott
|
|
| |
Re: Deploying to WebSphere Application Server [message #130697 is a reply to message #130685] |
Wed, 15 February 2006 10:13   |
Eclipse User |
|
|
|
Use this to embed the PDF in your page, it should then be opened...
You can embed the pdf file as an object into your html page, so when
that page is loaded it will start to run Acrobat reader inside it, the
same way Windows Media player would run for a media file.
<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH=800
HEIGHT=600> <PARAM NAME="SRC" VALUE="item3.PDF"> <EMBED
SRC="item3.PDF" HEIGHT=800 WIDTH=600> <NOEMBED> Your browser does not
support embedded PDF files. </NOEMBED> </EMBED></OBJECT>
(of course, you can change height and width, to 100% for example)
>It's an IE issue...
>Check http://support.microsoft.com/default.aspx?kbid=305153 (Title:
>Internet Explorer Opens a Blank Page with a Placeholder Icon Instead
>of a .pdf File in Adobe Acrobat Reader)
>
>:o
>
>>Hi All,
>>I have installed and have been running the BIRT Report Viewer web
>>application in my IBM WSAD IDE for several weeks. Most things have run as
>>expected without problems. However, when I deploy the BIRT Viewer to my
>>WebSphere application server, reports that are run in pdf format display a
>>blank window in IE (no Adobe toolbar, nothing). If I change to display in
>>HTML format everything works fine. I have insured that the itext-1.3.jar
>>file is in the proper place in the birt.war file (I think). The same
>>deployment to the WebSphere app server with BIRT V2 Milestone2 worked fine
>>(pre itext pdf generation). I have project deadlines looming and am in
>>desperate need of help.
>>
>>Any assistance on this is greatly appreciated!!
>>Thanks in advance!!
>>~Scott
|
|
| | | |
Re: Deploying to WebSphere Application Server [message #130894 is a reply to message #130748] |
Wed, 15 February 2006 15:58   |
Eclipse User |
|
|
|
Originally posted by: spsanford2.llbean.com
srini wrote:
> Scott,
> Which version of WSAD you are using? I tried with WSAD 5.0, i got
> unsupported version problem.
> Could you please tell me how did yoy integrate the Birt Viewer to WSAD?
> Thanks
> Srini
Srini,
I am using WSAD 5.1.1 and had the same problem with compatibility. What I
did to fix the problem was to create an empty web project called Birt
(also create an EAR project called BirtEAR). For the web project, right
click and choose properties, then select the web option on the properties
dialog. Here you need to set the J2EE level to 1.2 (it is probably
defaulted to 1.3). I then imported the birt.war file that comes in the
birt-runtime-2_0_0.zip file, and made the additions of jar files, js
files, etc. as noted on the Birt website. Then build the project and
deploy it to your WSAD test server. I get error messages on the build,
but it seems OK. That should do it for you.
Good Luck.
~Scott
|
|
| |
Re: Deploying to WebSphere Application Server [message #131073 is a reply to message #130710] |
Thu, 16 February 2006 03:43   |
Eclipse User |
|
|
|
We had the same problem (white window, no icon), solved using the code
copied below).
I suggest the folowing:
1. Try with another browser, to check wether the problem is linked
with IE or not.
2. If it works with another (recent) browser, then it is a problem
caused by I: try my second suggestion:
<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000"
WIDTH=800 HEIGHT=600> <PARAM NAME="SRC" VALUE="item3.PDF"> <EMBED
SRC="item3.PDF" HEIGHT=800 WIDTH=600> <NOEMBED> Your browser does not
support embedded PDF files. </NOEMBED> </EMBED></OBJECT>
Have a nice day.
>Thanks for your prompt feedback, Frederic!! I appreciate it!!
>
>Unfortunately, the mime types on my server are correct, and I have no
>control over the http headers that BIRT generates. Like I said, this
>worked fine in the Milestone 2 release (pre itext-1.3.jar).
>
>Also, I don't get a placeholder icon where the pdf should be displayed (as
>is described on the microsoft site). I get absolutely nothing.
>
>Has anyone else experienced this?
>Thanks.
>~Scott
>
>
>
|
|
| | | | | |
Re: Deploying to WebSphere Application Server [message #131715 is a reply to message #131484] |
Thu, 16 February 2006 14:08   |
Eclipse User |
|
|
|
Originally posted by: spsanford2.llbean.com
srini wrote:
> Scott,
> I have down loaded latest birt-runtime-2_0_0.zip and copied other jars in
> correct place. After the deployment, it displayed the JSP showing "BIRt
> viewer has been installed " , then i click on "View Example" link, its
> howing
> an error.
> Failed to load servlet: java.lang.UnsupportedClassVersionError:
> org/eclipse/birt/report/viewer/servlet/ViewerServlet (Unsupported
> major.minor version 48.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoade r.java(Compiled
> Code))
> at
>
com.ibm.ws.classloader.CompoundClassLoader._defineClass(Comp oundClassLoader.java:381)
> at
>
com.ibm.ws.classloader.CompoundClassLoader.findClass(Compoun dClassLoader.java:348)
> at
>
com.ibm.ws.classloader.CompoundClassLoader.loadClass(Compoun dClassLoader.java:252)
> at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
> at
>
com.ibm.ws.classloader.ReloadableClassLoader.loadClass(Reloa dableClassLoader.java:76)
> Any idea?
> Srini
Did you set the J2EE level of the Birt web project to 1.2?
If not, do this: for the BIRT web project, right click and choose
properties, then select the web option on the properties dialog. Here you
need to set the J2EE level to 1.2 (it is probably defaulted to 1.3). Then
import the birt.war file that comes in the birt-runtime-2_0_0.zip file,
and make the additions of jar files, js files, etc. as noted on the Birt
website. Then build the project and deploy it to your WSAD test server.
This should fix the problem.
You can do a Google Groups search on "major.minor version 48.0" for more
info.
Regards,
~Scott
|
|
| | | | | | | |
Re: Deploying to WebSphere Application Server [message #1790796 is a reply to message #130671] |
Mon, 18 June 2018 02:41  |
Eclipse User |
|
|
|
I am using WebSphere server and need help in Localizing Text in Column Headings of table in BIRT report.
I have designed a BIRT report where Column Headings, Report Name and other labels are localized. I have placed the properties files in the resources folder and run the report.
I have created 3 properties file (default(ENGLISH),name_es_ES(SPANISH), name_eu_EU(ENGLISH)). The problem is that when I am trying to generate the report in WebSphere , Report Name is getting replaced with "name_es_ES"(SPANISH) value from property file of Spanish, but Column Headings refers default(ENGLISH).
Thank You
Prateek Jain
|
|
|
Goto Forum:
Current Time: Tue Mar 25 18:55:40 EDT 2025
Powered by FUDForum. Page generated in 0.27327 seconds
|