Home
Analytics
Confused...need help.
kkrishnan
Mashboard newbie here...Do I need iServer express to try out the Mashboard framework on my desktop?
We have valid v10 iserver, Information Console and Actuate BIRT Report Designer Pro Licenses.
How do I download the framework to follow the HOW-TO series? ...Do I even need the framework?
Find more posts tagged with
Comments
hho
Hi kkrishnan,<br />
<br />
You don't need iServer express for mashboard. What you had are good for mashboard. <br />
<br />
You can download mashboard framework from <br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/wiki/Actuate_Mashboard/'>Actuate
Mashboard - BIRT Wiki - BIRT Exchange</a><br />
<br />
and check out documentations and resources from that link. Follow the instructions from those documents, you can set up mashboard framework on your iserver and information console.
kkrishnan
OK made the changes...but when I go to the following page as stated in the forum:<br />
<a class='bbc_url' href='
http://abcd01:8700/iportal/mashboard.do?project=QuickStart'>http://abcd01:8700/iportal/mashboard.do?project=QuickStart</a><br
/>
I get this:<br />
<br />
HTTP Status 404 - Invalid path /mashboard was requested<br />
<br />
<br />
<br />
type Status report<br />
<br />
message Invalid path /mashboard was requested<br />
<br />
description The requested resource (Invalid path /mashboard was requested) is not available.<br />
<br />
<br />
<br />
<br />
<br />
As per this:<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/wiki/Actuate_Mashboard_Installation/'>Actuate
Mashboard Installation - BIRT Wiki - BIRT Exchange</a><br />
I tried to follow the Standard non-customized approach...<br />
<br />
I copied the iportal folder from the package into the root directory....but as a result I have 2 WEB-INF folders...one under actuate/iportal/WEB-INF(with iportal install) and the other under actuate/iportal/iportal/WEB-INF (from the package).<br />
<br />
Please keep in mind that I am NOT using iServer express...I am using fully licensed versions.<br />
<br />
Please let me know how to fix this.
hho
You only copy mashboard and portlet to iportal folder. Update your web.xml and struts_config.xml in your information console WEB-INF (actuate/iportal/WEB-INF) with the provided files in mashboard.
There should be only one WEB-INF folder under actuate/iportal/WEB-INF
kkrishnan
Thanks hvh.<br />
<br />
I made the changes you suggested.<br />
Now when I try the URL:<br />
<br />
<a class='bbc_url' href='
http://abcd01:8700/iportal/mashboard.do?project=QuickStart'>http://abcd01:8700/iportal/mashboard.do?project=QuickStart</a><br
/>
<br />
The error changed to:<br />
<br />
HTTP Status 500 - No action instance for path /mashboard could be created<br />
<br />
<br />
<br />
type Status report<br />
<br />
message No action instance for path /mashboard could be created<br />
<br />
description The server encountered an internal error (No action instance for path /mashboard could be created) that prevented it from fulfilling this request.<br />
<br />
<br />
<br />
<br />
I gave full permissions to mashboard and portlets and files under them.<br />
Any ideas?
hho
I think the instructions fo non-customization is not clear enough.
For step #3 should be:
-Copy mashboard and portlet to iportal folder
-Copy WEB-INF to actuate/iportal/WEB-INF
In the previous post, I told you update web.xml and struts-config.xml that is not enough. You have to copy all jar file in web-inf/lib folder to actuate/iportal/WEB-INF/lib also. There is jar file call mashboard.jar that contains mashboard action.
bhanley
It looks like mashboard.jar did not get deployed to WEB-INF/lib. You might need to re-start Information console to ensure all the changes get picked up.
kkrishnan
Thanks Brian and hvh,
Made a lot of progress...I know I am there.I am able to get the login page now! I copied over the .jars including mashboard.jar to web-inf/lib and re-started.
The only change is that I put the mashboard and portlets under actuate/iportal/iportal rather than just actuate/iportal...after it complained with a 404 error and said it could not find the files in the former path.
But right now I get the login page...but after I login with the iportal userid/pwd...I get this:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:389)
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:253)
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:84)
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:66)
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:132)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
com.actuate.mashboard.config.MashboardJAXBManager.getJAXBContext(MashboardJAXBManager.java:50)
com.actuate.mashboard.config.MashboardJAXBManager.getUnmarshaller(MashboardJAXBManager.java:30)
com.actuate.mashboard.config.MashboardConfiguration.readProjectConfig(MashboardConfiguration.java:115)
com.actuate.mashboard.config.MashboardConfiguration.readConfiguration(MashboardConfiguration.java:65)
com.actuate.mashboard.actions.MashboardAction.loadMashboardConfig(MashboardAction.java:108)
com.actuate.mashboard.actions.MashboardAction.execute(MashboardAction.java:69)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
Apache Tomcat/5.5.26
kkrishnan
Additionally, here is my web.xml. Any ideas?
kkrishnan
Me again....quick question....the framework has 3 folders:
1) iportal
2)src-mashboard.jar
3)volume
I have used the iportal and volume. What about the src-mashboard.jar files....do they go somewhere. Seems like the files in the above error(stack trace) http 500 have the same names mentioned in this folder?
bhanley
Thanks for the Stack Trace, that was really helpful. It looks like you are either missing the JAXB Jar files from your installation or more likely you are running an out-of-date version of JAXB. This could be due to a conflicting version picked up via the classpath before the WEB-INFlib is processed.<br />
<br />
The class that cannot be found (RuntimeModelBuilder) is in <strong class='bbc'><em class='bbc'>jaxb-impl.jar</em></strong>. Can you verify that this file is in WEB-INFlib (there should be several JAXB Jar files there. If the file is there, can you search your classpath and see if a different instance may be obscuring the deployed version? If it is found earlier in the load process, the version we deployed with the mashboard will be ignored.<br />
<br />
Let me know what you find and we will move forward.
kkrishnan
Hi Brian,
I do have the file jaxb-impl.jar in actuate/iportal/WEB-INF/lib...there is also a jaxb1-impl.jar...not sure what this is.
I am using RED HAT LINUX...i couldnt find anything in the echo $CLASSPATH.
pls. advise.
bhanley
Have you installed any additional contexts or applications on this Information Console installation? The JAXB Jar files are bundled in the default Information console installation, so they should not be throwing this exception.
kkrishnan
No...its a brand new Information Console installation and I am trying this demo as a POC to show my boss as to what can be done with BIRT.
Please help
kkrishnan
In the iServer I have 2 mashconfig file...main.mashconfig and the original QuickStart(or whatever).mashconfig that came with the demo...does this matter...does it cause issues?
bhanley
That should not matter. mashconfig files are designed to supporat as many as you need. Each one should be targeted at a different user or role within the context of the application.<br />
<br />
Which Mashboard project are you trying to load? Main or QuickStart? Have you tried loading the default QuickStart project before adding <em class='bbc'>main.mashconfig</em>?
kkrishnan
Hi Brian,
It does not matter at this point to me...I just want to see the initial part work...then I could get to modifying it. Anyway, where should I be looking to see what is getting loaded.
P.S: The content of main.mashconfig and QuickStart_default.mashconfig are the same...since I just copied the info from the QuickStart so I can modify it later.
kkrishnan
I guess I have been trying to load the QuickStart project since this is my url:<br />
<a class='bbc_url' href='
http://abcd01:8700/iportal/mashboard.do?project=QuickStart'>http://abcd01:8700/iportal/mashboard.do?project=QuickStart</a><br
/>
<br />
Please let me know.
kkrishnan
Hi Brian,<br />
A different stack trace this time...not sure what this means. Do I need another version of this API?<br />
<br />
HTTP Status 500 - <br />
<br />
<br />
<br />
type Exception report<br />
<br />
message <br />
<br />
description The server encountered an internal error () that prevented it from fulfilling this request.<br />
<br />
exception <br />
<br />
javax.servlet.ServletException: Servlet execution threw an exception<br />
<br />
<br />
root cause <br />
<br />
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/u1/opt/actuate/iportal/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See <a class='bbc_url' href='
http://java.sun.com/j2se/1.5.0/docs/guide/standards/'>JDK
5.0 Java Endorsed Standards-related APIs & Developer Guides -- from Sun Microsystems</a>)<br />
com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:135)<br />
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:389)<br />
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:253)<br />
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:84)<br />
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:66)<br />
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:132)<br />
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
java.lang.reflect.Method.invoke(Method.java:597)<br />
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)<br />
javax.xml.bind.ContextFinder.find(ContextFinder.java:286)<br />
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)<br />
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)<br />
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)<br />
com.actuate.mashboard.config.MashboardJAXBManager.getJAXBContext(MashboardJAXBManager.java:50)<br />
com.actuate.mashboard.config.MashboardJAXBManager.getUnmarshaller(MashboardJAXBManager.java:30)<br />
com.actuate.mashboard.config.MashboardConfiguration.readProjectConfig(MashboardConfiguration.java:115)<br />
com.actuate.mashboard.config.MashboardConfiguration.readConfiguration(MashboardConfiguration.java:65)<br />
com.actuate.mashboard.actions.MashboardAction.loadMashboardConfig(MashboardAction.java:108)<br />
com.actuate.mashboard.actions.MashboardAction.execute(MashboardAction.java:69)<br />
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)<br />
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)<br />
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)<br />
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)<br />
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)<br />
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br />
<br />
<br />
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.<br />
<br />
<br />
<br />
<br />
Apache Tomcat/5.5.26
kkrishnan
Hi Brian, et all,
I solved it and got to the welcome page with the numerous tabs! Finally....I had to use the JAVA endorsed standards and put the jaxb-api.jar in the endorsed folder under Catalina/common/endorsed(for information console it is actuate_http_service/common/endorsed)...since I guess the latest version of Information Console comes with jdk1.6.
Spent numerous hours googling this issue.
Thanks again...hopefully this post will help any newbies trying out Mashboard on a full install of information console.
P.S: As stated by HVH, earlier the wiki needs to be updated to state the correct information esp for people not using iServer express. In some places the info is ambiguous.