JSF View Error
Requirement is like that first it will go to another servlet ,will do some processing like session id ,security and then it will generate JSF view.
When I am forwarding from my login servlet to JSF page ,
i am getting this error
Oracle.ClassLoader.Util.AnnotatedNoClassDefError
Missing Error javax.faces.FactoryFinder
Depended Class Com.LoginServlet
Can anybody help me.
Thanks In advance...
Hi,
make sure you don't perform a server side forward to the JSF JSP page but a redirect to theJSF URL that includes the "faces" path.
Frank
Similar Messages
-
Has anyone successfully implemented the JSF Viewer with Facelets?
We have recently started integrating Crystal into one of our web apps that is using JSF + Facelets + Seam.
I've built a taglib for the jsf viewer and configured it in web.xml and faces-config. I'm pulling an IReportSource from a backing bean using com.crystaldecisions.reports.sdk.ReportClientDocument and that is using a .rpt file stored on a directory. This all seems to be working, as I can step through the code and see the IReportSource being generated.
However, when the page loads, I am seeing the crystal javascript being converted in the page source, but nothing is loading on the page.
Has anyone seen an issue similar to this tied to Facelets? I've seen numerous documentation on Crystal and JSP, but very little on JSF or Facelets.
Has anyone been able to get a setup like this or similar to work properly?
I've also noticed an error when adding the viewer:
java.io.IOException: Recover report client document state failed.
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.readExternal(SourceFile:1492)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.readExternal(SourceFile:131)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
I believe this to be related to me switching over to the serializable ReportClientDocument: com.crystaldecisions.sdk.occa.report.application.ReportClientDocument versus using the nonserializable version.
When using the non-serializable version, I am seeing a constructor issue with the JPEReportSource
Exception: java.io.InvalidClassException: com.crystaldecisions.reports.reportengineinterface.JPEReportSource; no valid constructor
Has anyone seen this issue before or able to offer any suggestions?Well, according to the tutorials I have seen on the internet, I believe CrystalReport was successfully implemented and tested with jsp, to have it working with Facelets, we need to do a little bit of work around. We need to make a new JSF custom component and assign it to an external renderer. then we can use it to view the report
please follow these and it should work after then,
1- bring the following jars into your libs
commons-configuration-1.2.jar
Concurrent.jar
CrystalCommon.jar
CrystalContentModels.jar
CrystalDatabaseConnectors.jar
CrystalFormulas.jar
CrystalQueryEngine.jar
CrystalReportEngine.jar
CrystalReportingCommon.jar
icu4j.jar
jrcadapter.jar
jrcerom.jar
keycodeDecoder.jar
MetafileRenderer.jar
rasapp.jar
rascore.jar
rpoifs.jar
serialization.jar
URIUtil.jar
webreporting.jar
webreporting-jsf.jar
xercesImpl.jar
xml-apis.jar
2- bring the folder "crystalreportviewers115" right under the "WebContent".
3- implement the custom FacesComponent and make it extend the "UIReportPageViewer" as follows;
import packagename.CustomReportRenderer;
@FacesComponent ("packagename.newReportViewer")
public class UIReportViewer extends com.crystaldecisions.report.web.jsf.UIReportPageViewer implements Serializable{
public UIReportViewer () {
this.setRendererType("packagename.CustomReportRenderer");
4- implement the renderer and make it extend the "ViewerHtmlRenderer" as follows;
@FacesRenderer(componentFamily="CrystalReports.DHTMLViewer", rendererType="packagename.CustomReportRenderer")
public class CustomReportRenderer extends com.crystaldecisions.report.web.jsf.ViewerHtmlRenderer implements Serializable {
5- make a new tag library xml file next to the web.xml so the application can find the tag configurations. name it "taglib.xml" and add the following inside it;
<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee"
version="2.0">
<namespace>http://new-jsf-custom-components/</namespace>
<tag>
<tag-name>ReportViewer</tag-name>
<component>
<component-type>packagename.newReportViewer</component-type>
<renderer-type>packagename.CustomReportRenderer</renderer-type>
</component>
</tag>
</facelet-taglib>
6- configure the web.xml with the following
<context-param>
<description>
State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/taglib.xml</param-value>
</context-param>
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>../../crystalreportviewers115</param-value>
</context-param>
7- implement the reportViewer.xhtml and make sure you have the following;
- in the tag libraries add the namespace schema xmlns:crystalnmcps="http://new-jsf-custom-components/"
- add the new reportViewer component
<crystalnmcps:ReportViewer reportSource="#{youController.reportSource}" displayToolbarLogo="false" parameterFields="#{youController.parameterFields}" allowParameterPrompting="false" />
Now run your app.
I hope this helps. good luck -
How to view errors if bulk collect has thrown errors
Hi,
I have few questions.
1.How to view error whether bulk collect is successful or not
2.What is identified & unidentified relationships in ERWIN
3.How to see the errors whether the sql loder is successful or not
and how to open the log file.Is there any specific command in UNIX
which tells loader is successful or thrown error
4.When executing the pl/sql procedure from UNIX.how to check for errors.
Please provide the answers for this
ThanksUse SAVE EXCEPTIONS clause in your FORALL loop.
Is this for homework/test? -
Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL
Hi all,
We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
Before the upgrade this error did not happen.
No permissions or authorizations were changed in the workstation.
The Crystal Reports layouts remain working fine in server and in the other workstations.
In the workstation following are installed:
- Operating System Windows 7;
- Microsoft .NET Framework 4.5;
- SAP Crystal Reports runtime engine for. NET Framework;
- Crystal Report 2008 Runtime SP6;
- Microsoft SQL Server 2008 R2 Native Client.
All, but the operating system, are equal to the other workstations.
User has edit access to SAP folders, temp and access to the attach path.
We already uninstalled SAP client and client agent and re-installed it but with no avail.
Can anyone help me?
Thanks in advance.
Best regards,
Pedro MarianoHi San Xu,
Thank you for your input.
However I'm facing problem with each software is suitable.
I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
Thanks in advance.
Best regards,
Pedro Mariano -
As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
In short, i want to know the internal implementation of JSF Framework.As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
In short, i want to know the internal implementation of JSF Framework. -
Hi folks,
I am using a cascaded mapping in my OM. I have a graphical mapping followed by the Java mapping. It is a flat file to IDOC mapping. Everything works fine in Dev but when I transport the same objects to QA, the Operation mapping though it doesn't fail in ESR testing tool, gives the following message and there is no output generated for the same payload which is successfully tested in DEV. Please advise on what could be the possible reasons.
Unable to display tree view; Error when parsing an XML document (Premature end of file.)kalyan,
There seems to be an invalid xml payload which causes this error in ESR not generating the tree view. Please find the similar error screenshot and rectify the payload.
Mutti -
JavaMapping in PI 7.1 Error:Unable to display tree view; Error when parsing
hi,
i get by testing in PI 7.1 (operation mapping) this ERROR:
"Unable to display tree view; Error when parsing an XML document (Content is not allowed in prolog.)"
this is my java-programm-code:
import java.io.FileInputStream;
import java.io.FileOutputStream;
import com.sap.aii.mapping.api.StreamTransformation;
import java.io.*;
import java.util.Map;
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
/*IMPORT statement imports the specified classes and its methods into the program */
/Every Java mapping program must implement the interface StreamTransformation and its methods execute() and setParameter() and extend the class DefaultHandler./
public class Mapping extends DefaultHandler implements StreamTransformation {
Below is the declaration for all the variables we are going to use in the
subsequent methods.
private Map map;
private OutputStream out;
private boolean input1 = false;
private boolean input2 = false;
private int number1;
private int number2;
private int addvalue;
private int mulvalue;
private int subvalue;
String lineEnd = System.getProperty("line.separator");
setParamater() method is used to store the mapping object in the variable
"map"
public void setParameter(Map param) {
map = param;
public void execute(InputStream in, OutputStream out)
throws com.sap.aii.mapping.api.StreamTransformationException {
DefaultHandler handler = this;
SAXParserFactory factory = SAXParserFactory.newInstance();
try {
SAXParser saxParser = factory.newSAXParser();
this.out = out;
saxParser.parse(in, handler);
} catch (Throwable t) {
t.printStackTrace();
As seen above execute() method has two parameters "in" of type
InputStream and "out" of type OutputStream. First we get a new instance
of SAXParserFactory and from this one we create a new Instance of
SAXParser. To the Parse Method of SaxParser, we pass two parameters,
inputstream "in" and the class variable "handler".
Method "write" is a user defined method, which is used to write the
string "s" to the outpurstream "out".
private void write(String s) throws SAXException {
try {
out.write(s.getBytes());
out.flush();
} catch (IOException e) {
throw new SAXException("I/O error", e);
public void startDocument() throws SAXException {
write("");
write(lineEnd);
write("");
write(lineEnd);
public void endDocument() throws SAXException {
write("");
try {
out.flush();
} catch (IOException e) {
throw new SAXException("I/O error", e);
public void startElement(String namespaceURI, String sName, String qName,
Attributes attrs) throws SAXException {
String eName = sName;
if ("".equals(eName))
eName = qName;
if (eName.equals("NUMBER1"))
input1 = true;
if (eName.equals("NUMBER2"))
input2 = true;
public void endElement(String namespaceURI, String sName, String qName)
throws SAXException {
String eName = sName;
if ("".equals(eName))
eName = qName;
if (eName.equals("NUMBER1"))
input1 = false;
if (eName.equals("NUMBER2"))
input2 = false;
public void characters(char[] chars, int startIndex, int endIndex)
throws SAXException {
String dataString = new String(chars, startIndex, endIndex).trim();
if (input1) {
try {
number1 = Integer.parseInt(dataString);
} catch (NumberFormatException nfe) {
if (input2) {
number2 = Integer.parseInt(dataString);
if (input2 == true) {
addvalue = number1 + number2;
mulvalue = number1 * number2;
subvalue = number1 - number2;
write("" + addvalue + "");
write(lineEnd);
write("" + mulvalue + "");
write(lineEnd);
write("" + subvalue + "");
write(lineEnd);
in developer studio 7.1 i dont get error.
this happens by testing the mapping-programm in ESR.
can somebody help me please?Make sure that the xml created out after the java mapping is a valid xml with only one root node.
Regards,
Prateek -
Hi ALL,
How can I work with iteration operation in JSF View Class as JSP scriptlets won't work in it
thanks
SudhakarHi Sudhakar,
Thank you for explaining your requirement so clearly.
The task you are trying to achieve is not possible in the jsp source. The reason being that Creator has a page backing bean where the component declarations are done. Hence adding components via the jsp source would not work as the page backing bean is essential for the working of the application.
The solution for your problem would be something like this:
Create an integer property named counter in your session bean and initialise it to 0.
Add a gridpanel to your page.
In your page backing bean (Page1.java) constructor add the following code
for(int i=0; i<array.length;i++){
SessionBean1 sb = getSessionBean1();
int ctr = sb.getCounter();
UIComponent parent = gridPanel1;
HtmlSelectBooleanCheckbox chkBx = new HtmlSelectBooleanCheckbox();
chkBx.setId("checkBox" + ctr);
parent.getChildren().add(chkBx);
sb.setCounter(ctr+1);
The above code just uses one for loop. You could extend it to mak use of nested loops.
I hope this helps
Cheers
Giri :-)
Creator Team -
Refresh Order Management Materialized Views errors out in R12.1.3
Hi All -
Refresh Order Management Materialized Views errors out in R12.1.3 when submitted with blank parameters. Please find below error details ..
OEXITORDMV module: Refresh Order Management Materialized Views
Current system time is 15-OCT-2012 11:30:29
**Starts**15-OCT-2012 11:30:29
ORACLE error 12008 in FDPSTP
Cause: FDPSTP failed due to ORA-12008: error in materialized view refresh path
ORA-01555: snapshot too old: rollback segment number 4 with name "_SYSSMU4_3768336236$" too small
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2566
ORA
Start of log messages from FND_FILE
End of log messages from FND_FILE
Thanks,Cause: FDPSTP failed due to ORA-12008: error in materialized view refresh path
ORA-01555: snapshot too old: rollback segment number 4 with name "_SYSSMU4_3768336236$" too small
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2566Please see old threads for the ORA-015555 docs you need to refer to.
https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01555&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01555+AND+Materialized+AND+View&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Hi All,
I get the below error when i refresh a report from smartview.
Small reports works fine but if the report is huge i get this error
Smart View Error: Requested Operation Failed. Error: Java.lang.NullPointerE
Smart View 11.1.2 MS OFFICE 2007 SP3
Essbase 11.1.2
Any pointers.
Regards,
Minkyou mean i have to set below in essbase.properties of aps
SET JAVA_OPTIONS=–Xms128m –Xmx1024m
Regards,
Mink -
Event Viewer errors and warnings
How do I clear Event Viewer errors and warnings?
This one may help.
http://technet.microsoft.com/en-us/library/cc722318.aspx
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Smart View error when opening Powerpoint files read-only
Users are experiencing the following error when they open a Powerpoint file as read only. Using MS Office 2007 with Hyperion 11.1.2.1 Doesn't happen in edit mode. Error reappears every time user pages down to next slide. Quite annoying!
Shape. Tags : Invalid request. Presentations cannot be modified.
Has anyone experienced this issue and resolved it?
Thanks,Source: My oracle support
=============================================================================================================================
Applies to:
Hyperion Planning - Version: 11.1.2.1.000 and later [Release: 11.1 and later ]
Information in this document applies to any platform.
Symptoms
In Smart View Version 11.1.2.1.000, when attempting to open a PowerPoint document that is already open by other user the following error occurs:
ERROR : Shape.Tags: Invalid Request. Presentation cannot be modified.
Cause
This issue has been verified as Unpublished Bug 12418027: SMART VIEW ERROR : SHAPE.TAGS : INVALID REQUEST. PRESENTATION CANNOT BE MODIFIED
The cause of the problem is that when a presentation is edited by another user, an exception will be thrown while trying to query the tags in the presentation from a different process.
Solution
This issue has been fixed in the Oracle Hyperion Smart View for Office, Release 11.1.2.0.000 Patch Set 1 (PS1): 11.1.2.1.102 Release.
This patch is available via My Oracle Support:
1. Log into the My Oracle Support portal.
2. Choose the Patches & Updates tab.
3. Enter the Patch Name or Number from the drop-down box.
4. Perform a search for Patch:12968304 for your corresponding OS platform.
5. The patch file includes both installers and the readme.
Additional Information:
Please refer to the patch readme for system requirements, dependencies, and installation instructions. -
Problem overriding default JSF conversion error messages
Hello !
I have a problem to override default JSF conversation error message. I have an inputText which is binded to BigDecimal attribute, so when I enter a character in that field I get this error message: "- Conversion failed."
I think I need to register the message bundle in my faces config, and put the key of this error message to my properties file.. am I right ?
Can somebody help me with this ? Which key I need to put into the properties file ?
MiljanGet [Sun's Java EE tutorial |https://www.sun.com/offers/details/JavaEETutorial.xml?cid=20090723ZA_TACO_JVEE_0004] and read the relevant section so you don't have to guess what you need to do.
-
How do I send all my event viewer error reports from 3/1/15 to the manufacturer of my computer? IN the event viewer window there seems to be a lock on opening submenu to perform a copy and paste or a SEND option available. I have a WINDOWS 8.1
OPERATING SYSTEM.You should be able to right click on each indivudual log "App, Sec, Setup, System, etc" and click on Save all events as.
-
Hi,
I am using sun web proxy server 4.0.3 for windows (windows 2000). I used 4.0.2 but I have got some problems with cpu usage (process usage 100 %...).
We are using Etrust Antivirus and recently I have got some problems when I am downloading new signature. Sometimes I can download new signature sometimes not.
In Server status, view error log, I have severals :
"[08/Sep/2006:12:34:53] info ( 3520): CORE3282: stdout: gc channel: ftpav.ca.com anonymous:sunproxy@ "
ftpav.ca.com is from where i'm downloading new signature.
Anyone can help me to understand these messages ?
Mems.
PS: sorry for my english.I have the same problem with ftp. If I try to download the same file several times with help of ftp proxy, after third or fourth retry proxy rejects my connections.
It writes the same line in error log, and file is not accessible anymore.
Maybe you are looking for
-
How can I enable the center mouse click to open and close tabs in Firefox and Chrome?
I have a MacBook Pro Model A1261 purchased in 2009. On my other mac at work (and my PC) I can center click to open a link in a new tab while in Chrome or FireFox, and also to close a tab by clicking on it in the tabs at the top. I am using an externa
-
How can I get these movies back when i-tunes now says there is nothing there to download. Where did they disappear to.
-
I downloaded my Creative Suite 5.5 student teacher licensing software. I all loaded fine in my Mac but at the end of the download it gave me a message that I would need to check my e-mail for further steps in order to be able to use the software. I
-
HT2693 unable to restore iphone 3s due to error code 37 help
help anyone.
-
Quadro 4000 dvi-d to hdmi 1.4 tv as monitor please
hello, i am looking into a monitor solution to start doing 3d work 3d tv's these days seem to have hdmi 1.4 however quadro 4000 only has display port and dvi-i dual link and i can't seem to locate a correct adapter so i'm wondering if anyone has a so