Home
Analytics
Page not found when access https://localhost/birt/frameset?__report=test.rptdesign&sample=my+par
Jliu
I'm very new to Birt. I tried the eclipse plug-in and played with it, it worked all well. Although I'm struggling with the deployment. I downloaded birt-runtime-2_6_1.zip, unzipped it, copied the WebViewerExample to my jboss deploy directly. I can access the index page, and it says BIRT viewer has been installed, but I cannot access "view Example" page. It gives 404, page not found error. At the same time, the index page doesn't load logo, images. It might be a sign that I didn't indicate the path correctly on some environment variable?
I can't figure out now. Can anybody help on this?
BTW. My jboss deploy directory is a little different from normal jboss/default/deploy. I have a deep path like
JBossATG_build\<company>\dev\jboss_server\<branch>\deploy. Does this matter?
Thanks a lot!
Jane
Find more posts tagged with
Comments
JasonW
Can you try:
http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php#jboss
Jason
Jliu
That is exactly what I followed. I was able to view the index.jsp page, but when I click on the "view sample" link, it gives me 404 error. :unsure:
JasonW
What version of JBoss are you using? Just to verify you did not use the war in the download correct?
Jason
Jliu
Jboss 4.2
I might missed some configuration. how do I verify my birt_home is set correctly? I put
set BIRT_HOME=C:\BIRT\birt-runtime-2_6_1\ReportEngine
(birt-runtime-2_6_1 is the folder I unzip the downloaded file to)
but with this or without this, I still cannot access the sample reports.
JasonW
If you are using the viewer do not set BIRT HOME. Under the birt.war directory do you have a web-inf/platform/plugins directory?
Jason
Jliu
Oh, ok. Just removed it, but it still doesn't help. Yes, I have the WEB-INF\platform\plugins under birt.war.
JasonW
Do you have a configuration directory in the web-inf/platform directory? If so does it contain more than a config.ini? There may be a log file in this folder. If so please check for errors. I assume you dont have any log file errors in the log files for jboss. Do you have write permission on the configuration directory?
Jason
Jliu
I have the configuration folder, but I don't have log file in there. Aside of config.init, I have 4 other folders there:
org.eclipse.core.runtime
org.eclipse.equinox.app
org.eclipse.osgi
org.eclipse.update
You are right, I dont' see any error message on jboss log.
JasonW
Delete everything in the configuration folder but the config.ini and try to restart.
Check that the jsp are compiling:
//on my system
server\default\work\jboss.web\localhost\WebViewer\org\apache\jsp\
Jason
Jliu
I deleted those 4 folders but they keep coming back under configurations, it seems when jboss starts they are generated or deployed at some point of time. and I'm still get 404. Do you know why this happens?
index.jsp gets compiled, I found index_jsp.class and index_jsp.java under <jboss_home>\work\jboss.web\localhost\birt\org\apache\jsp
Anything else you can think of? thanks so much!
Jliu
Another thing is, I cannot access any resource inside birt.war. The image
https://localhost/birt/webcontent/birt/images/EclipseBannerPic.jpg
doesn't load either, although I see that file webcontent/birt/images/EclipseBannerPic.jpg under birt.war.
Do you think I should set
<jboss-web>
<context-root> ... </context-root>
</jboss-web>
in jboss-web.xml? what should the context-root be?
JasonW
The four folders are suppose to be created when osgi startups up. Is there any chance you could use a second copy of jboss and try to deploy to the default directory. This is just to see if it will work.
Jason
Jliu
hmm, before I do that. Can you give me a sample jboss-web.xml? It's not there in the downloaded zip. but I do need one, right?
JasonW
No you should not need one to deploy the viewer.
Jliu
really? my birt.war is not inside any EAR file. it's independent. I googled and some article says if WAR file is outside of EAR, I will need specify context-root in jboss-web.xml
OK, i will try to install a jboss and deploy it into jboss/default/deploy
Burkettma
<blockquote class='ipsBlockquote' data-author="'Jliu'" data-cid="72560" data-time="1295905939" data-date="24 January 2011 - 02:52 PM"><p>
really? my birt.war is not inside any EAR file. it's independent. I googled and some article says if WAR file is outside of EAR, I will need specify context-root in jboss-web.xml<br />
<br />
OK, i will try to install a jboss and deploy it into jboss/default/deploy<br /></p></blockquote>
<br />
<br />
I'm having the same issue...were you ever able to find a solution?
mwilliams
Can you explain your setup and let me know your exact issue?
Burkettma
I have to deploy BIRT viewer on a JBOSS 5.1 Server. I used the following steps.
Install and Deploy Steps
1. Download the BIRT Runtime and extract the contents.
2. Remove org.apache.xerces and org.apache.xml.serializer from the birt-runtime-version\WebViewerExample\WEB-INF\lib folder.
3. Copy the WebViewerExample directory to jboss-version\server\default\deploy directory.
4. Rename WebViewerExample to birtweb.war.
5. Start JBOSS Server.
When I restart the JBOSS server, I can get to the
http://localhost:8080/birtweb/
see screen shot #1 in attachment, but I can't get to the test report
http://localhost/birtweb/frameset?__report=test.rptdesign
see screen shot #2 in attachment.
mwilliams
Can you try downloading a fresh copy of the runtime? You might have gotten a bad download.
Burkettma
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="117102" data-time="1369276307" data-date="22 May 2013 - 07:31 PM"><p>
Can you try downloading a fresh copy of the runtime? You might have gotten a bad download.<br /></p></blockquote>
<br />
I have downloaded fresh copies, tried different versions, same result each time.
mwilliams
Can you try updating to the latest release of java 1.6. I'm not having the same problem and the only difference I see right now is that I'm using update 37. It's worth a shot. Let me know.
Burkettma
I upgraded to jdk 1.6 to 37, but still same results. I do get the following error message when I start up JBOSS.
10:32:53,265 WARNING [config] Unable to process deployment descriptor for context '/birtweb'
Burkettma
Not sure if I gave you all my environment:
Server: Linux RedHat Release 6.2
BIRT Web Viewer: 4.2.2
JAVA: jdk 1.6.0_37
App Server: JBOSS eap 5.1
I have added the server log, I'm getting an error here, but I don't understand what I'm looking at. In this log file I named the war folder BIRT2.
mwilliams
It appears to be having an issue decompressing the contents of the war file you deployed. Did you simply rename the folder BIRT2.war? Or did you actually create a war file out of the web viewer example?
Burkettma
I copied the web viewer example folder into the deploy folder and renamed it BIRT2.war.
Burkettma
Mr Williams can you assist me on what I'm doing wrong? or is there another way to get a birt.war folder that I can deploy that will work in a linux/jboss environment? I need to get this up and running quickly, any further assistance would be greatly appreciated.
mwilliams
Sorry for the delay. I was out of town at the end of last week. I only have the free JBoss app server to test with, so I can't be exact with it, but from the sounds of it, you're doing it correct. Download the 4.2.2 runtime from Eclipse.org/birt, copy the WebViewerExample to your JBoss, and then rename the folder birt.war. I'll dig a little more and see if I can find something for you.
mwilliams
You might take a look at this post. There are several things that people said helped with a similar issue. There are also some posts on the redhat forums (behind a login that I don't have) that discuss the same error. You might go look at their forums.
Burkettma
<p>Michael</p><p> </p><p>After several hours of searching and trying different ideas, I have found the problem. It is case sensitivity!!! The web-inf folder in the download is in lowercase and after noticing that the other WEB-INF folder on my server were in uppercase, I remaned it to uppercase and it worked. Now i'm running into other case sensitivity issues, with unable to find files and images, so I'm working my way through those now.</p><p> </p><p>Matt</p>
mwilliams
<p>Great. Glad you've at least got some direction now! Let me know if you run into any other issues.</p>