JSF with java vector object

Hi;
Would like to know if in JSF, it is allowing to program normal java command, like using vector, to add item and print out the value?
I found out, many features available in JSP, which is not able to perform in JSF. Like, how to chk & print the size of list / collection object in JSF?
Thanks in advance.

Simply deploy the EAR in the application server.
Or if you're using an IDE, import it as new EAR project, add it to the server and run it.

Similar Messages

  • Weblogic - a web service with java.lang.Object parameter

    hi all,
    i'm creating a web service with a java.lang.Object parameter.
    my question is as follows:
    when a client calls the web service, how to i get the soap message object and convert it to soap message string using the parameter?
    thanks,
    alex

    Here's some code from one of the Axis samples, this shows the basic process of making a call:
    package samples.message;
    import org.apache.axis.client.Service;
    import org.apache.axis.client.Call;
    import org.apache.axis.message.SOAPBodyElement;
    import org.apache.axis.utils.Options;
    import org.apache.axis.utils.XMLUtils;
    import org.w3c.dom.Element;
    import java.net.URL;
    import java.util.Vector;
    public class TestMsg {
    public String doit(String[] args) throws Exception {
    Options opts = new Options(args);
    opts.setDefaultURL("http://localhost:8080/axis/services/MessageService");
    Service service = new Service();
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress( new URL(opts.getURL()) );
    SOAPBodyElement[] input = new SOAPBodyElement[2];
    input[0] = new SOAPBodyElement(XMLUtils.StringToElement("urn:foo",
    "e1", "Hello"));
    input[1] = new SOAPBodyElement(XMLUtils.StringToElement("urn:foo",
    "e1", "World"));
    Vector elems = (Vector) call.invoke( input );
    SOAPBodyElement elem = null ;
    Element e = null ;
    elem = (SOAPBodyElement) elems.get(0);
    e = elem.getAsDOM();
    String str = "Res elem[0]=" + XMLUtils.ElementToString(e);
    elem = (SOAPBodyElement) elems.get(1);
    e = elem.getAsDOM();
    str = str + "Res elem[1]=" + XMLUtils.ElementToString(e);
    return( str );
    public static void main(String[] args) throws Exception {
    String res = (new TestMsg()).doit(args);
    System.out.println(res);

  • Unable to map actionscripting with java nested objects

    Hi Experts...,
    Im a newbie in flex and actionscripting.....
    Im unable to map nested java classes and objects with my front end flex application using actionscript....I have searched everywhere almost to my knowledge on the net but failed to find a fix...,
    im having serious trouble reffereing to attributes of an object using another object( which by the way happens to be the parent object).
    Im using hibernate and springs to do the DB transactions....,
    Please help me out with this issue.....
    Thanks for all the help and support in advance....

    Again, I don't work with Java and you should ask Java-related question in Flex (or Java) forum.
    Java or not - you need to package your server side language specific object into something that AS understands (text, XML, AMF object) and load this data into AS via, perhaps, URLLoader. Or you can open socket. Then you parse this data with AS3 code in SWF.

  • Set Java Object with Java Long Object from JNI

    Hi,
    i am getting crazy with the jni...
    in Java i have the follwoing:
    public class blabla{
    Object myObject;
    i chose Object cause the return value from native is not known
    in case for a long value i handle it like this :
    //get the Long class
    jclass LongCls = env->FindClass("Ljava/lang/Long;");
    jmethodID jmid = env->GetMethodID(LongCls, "<init>","(J)V");
    //create an Long Object with the long return value
    jobject LongObj = env->NewObject(LongCls,jmid,longreturnvalue);
    //set Long Objekt - doesnt work!(jclazz is the class of the return Object of the blabla class)
    jfid = env->GetFieldID(jclazz, "myObject", "Ljava/lang/Object;");
    env->SetObjectField( returnobjectofblabla,jfid,LongObj );
    the long value is set fine in the Long Object but i cant set the Long Object with the SetObjectField method into the Object myObject.
    Java is shown that the myObject contains a Long Object but the long value of the Long Object is totally wrong and doesnt equal to the long value which has been set.But setting the value works fine- any ideas or solutions?
    Thank you!

    charliess wrote:
    sometimes i really wonder about the answers in this forum - until now i got not one answer that helps me, even i tried to write down the problem very detailed...
    Sometimes I wonder about people who jump onto a site and immediately assume that
    1. They are the most important person in the world
    2. That they deserved the absolute undivided attention of absolute everyone.
    3. That everyone should be absolutely polite to them and provide them with perfect answers.
    4. Feel free to denigrate and posit their own opinion on everything while ignoring anything else that anyone else says.
    5. Expect that everyone else should understand their poorly worded questions.
    Myself I find such individuals extremely amusing. Although they seldom stick around long here. At least not under their original alias.
    plaz tel me how to realise your error checking?example plz
    You start by having at least a basic understanding of C/C++ and java.
    Then you read the JNI documents, all of them, for each method that you are using.
    Then you write code such that it actually reflects the documents. For example you check return types. And probably deal with the possibility that JNI methods might throw exceptions.
    as far as i know the jni methods like getfieldids and so on throw exceptions other like stObject dont do that the just return nothing
    i can see all exceptions in my Java console thats not the Problem, setting the Long Object does not throwing a exception btw->
    Myself I wouldn't expect that a JNI exception would show in the java console. Could I suppose though.
    However nothing so far would suggest that an exception is being thrown. That however doesn't alter the fact that you must still write the code such that it could happen.
    is it possible in general to set an java Long Object created in C(native) into a Object type (Object) overgiven as parameter in my JNI function with the setObject method?
    Is it possible that you could actually follow my previous request and create some code that actually runs instead of cut and pasting whatever you feel like?
    plz answer also with code and examples i did the same for you...No you didn't. You posted something which would not compile and quite possibly doesn't represent your actual code at all.
    And please note that we do not get paid to do this. If you want to pay someone to solve your problem then there are sites for that.
    Paying someone allows you to make all sorts of demands. The more you pay the more people will put up with.
    If you don't want to pay and do in fact want free answers then it will probably be in your interest to
    1. Be polite
    2. Answer the questions that have been asked of you.

  • How do I prevent the Darker Shade Box (color shift) around Vector Objects when Printing

    Sorry in advance for the novelette. I am absolutely mystified and frustrated and would love some help! I've been working on this problem for about 30 hours over the last 4 days to figure out what the heck is happening and cannot find an answer through various forms of research.
    Basically, when I print a JPEG, I am getting this area (a box) of darker shaded coloring around my heart and love text.  I've tested it a million different ways and am at a loss as to what the problem is ... is it an application problem, a color profile problem between my applications and printer, an improper way that I saved my file, etc.
    Here is a photo I took of the image printed out (so it is slightly skewed from camera distortion):
    The details:
    (1) I create graphic art and sell it online. I save all of my printable art as JPEG files because of my customer base (diy hobbyists that print on their home printers without much knowledge base nor graphic design software).
    (2) I use both Adobe Illustrator (AI) and Photoshop Elements 11 (PSE11) to design and save my artwork.
    (3) I insert JPEG images into Microsoft Word 2003 documents to "test print" since most of my customers use home printers to print. Since most people have this basic software, it is a good gauge of the kind of print out they might get using the same or similar software.
    (4) My PSE11 color profile setting is the default sRGB. I have test printed many times and I get the truest colors with this color profile.
    (5) My AI color settings are normally also an sRGB color mode, but on occasion, I use a CMYK color mode if I am creating a larger document that I know the customer will need to take to a professional printer to print out.
    (6) I do my home printing (for proofs) on an Epson Stylus Photo 1400 (which has the 6 color ink cartridges).
    (7) Until this printing problem occurred on this test print out, I always used the "photo enhance" option when I designate settings for my printer via the Microsoft Word documents.
    IMPORTANT: This is when I have the color shift?? or color rendering issues?? and it is the only time. If I use the regular ICM/ICC color profile of sRGB, the printing issue doesn't occur. Instead, I have a solid color background instead of this one with the strips of lighter color on the top and bottom.  However, I can't control how the customer prints, so I need to feel confident that whatever color profile setting they use, they will not run into this problem.  I even test printed the documents over at FedEx and the darker box/color shift did not occur.
    (8) The document in question only has 3 sets of objects: the heart, the solid colored rectangle colored background and the text.  All 3 objects are vectors, they are at 100% opacity and there are no "special effects" applied.
    (9) The image was entirely created in AI this time and exported as a maximum quality JPEG file, although you will see below that I tried many ways to create and save the file so that I didn't have the color band borders on top/bottom.
    (10) I regularly use AI for part of my art, then I drag it to my PSE11 open document and it becomes a Vector Object (it cannot by copying/pasting into a PSE11 document).  I also regularly export AI images as PNG files, then insert them into an open PSE11 document. This printing issue has not occurred until recently.  Here is an example of a very complex AI image I created, then inserted into PSE11 just to add the background (the Teddy Bear and books are AI vector objects) that were exported as PNG files then inserted into PSE11 to integrate with the background image - I test printed with Photo Enhance and had no printing issues:
    So, from the research I have done, it looks like it is a color rendering or color space issue with conflicting color profiles in the same document. I checked my color profile settings and both sRGB and CMYK were set to embed ICC color profiles.
    I tried changing AI settings to Preserve Numbers (ignore linked profiles) for CMYK, but that didn't work.
    I also checked and made sure that not only the document setup showed the sRGB color profile, but that all the objects within the document also were converted to sRGB as well for consistency. That didn't work.
    I tried converting the document to CMYK along with the vector objects. That didn't work.
    I tried saving the heart image as a PNG file alone, the "love" text as a PNG file alone, both the heart and text together as a PNG files alone. Once saved as PNG files, I inserted them into an open empty PSE11 document - as I normally do. I then added the background color I wanted. That didn't work - the print still showed the color changes.
    I tried dragging each vector object separately and even as a group and got the same color change issue when printing.
    I tried "expanding" and "outlining" the text before exporting as JPEG, before exporting as a PNG and before dragging as a vector object into PSE11. Expanding the text did not help the situation.
    I tried exporting as Adobe PDF, then opening in PSE11, then resaving as JPEG. That didn't work.
    I tried flattening transparency (even though there is no transparency in the AI file). That didn't work.
    I tried rasterizing the image. That didn't work.
    Thinking that the file might be corrupt, I started from scratch and redesigned the same heart and love text.  Unfortunately, I had the same problem as before.  At this point, my AI started becoming buggy and would not open new files. It happened repeatedly and I decided it was best to uninstall and reinstall AI (and maybe that would fix the problem).
    I created just the heart in AI, then inserted it into an open PSE11 document (both after exporting as PNG and also by dragging as Vector Object from AI). It seemed to work. I could both drag the vector into PSE11 from AI and export from AI as a PNG, then insert into open PSE11 document with a background color - and it printed a solid background.
    So, I thought that reinstalling and setting back to defaults worked. But, then I added the love text around the heart and tried exporting as JPEG files and the same problem continued to recur. Whether I dragged as a Vector object into PSE11 (the heart object and love text separately and also another time with the vector objects dragged as a group) or saved them as PNG files and inserted into PSE11 - I got the different shades of color on what should be a solid background. I even tried saving the PSE11 as a PSD file first, then resaving as JPEG and I tried saving as PNG and printing and this didn't help solve the problem.
    I really think it is some color conflict issue but I can't figure it out. I am definitely not very knowledgeable about color profiles and how to sync all my devices, however, as I mentioned, this was not an issue until recently (and I think??? I recall changing the CMYK setting from Preserve Numbers to embed color profile a month or so ago - however, it should have been solved when AI went back to its defaults upon reinstall).
    The reason I believe it is a color rendering/color space issue is because I could see the color output when I saved the JPEG with CMYK color profile versus sRGB color profile and the sRGB colors were much richer, not surprisingly. The top and bottom colors matched the sRGB printout and the middle darker box section matched the CMYK printout.
    I am sure it is something fundamental or simple and I am completely overlooking it.  I wish it were just a transparency issue, because people know how to fix or do workarounds for it. But, there are no vector objects with any transparency ...
    If I missed some detail, I apologize. Any help would be a dream come true at this point! lol
    Thank you!

    Okay, I got motivated to try again.  From doing a bit more research on troubleshooting AI printing problems, the Adobe article talks about print drivers. It was advised to uninstall and reinstall the print driver if the printing issue persists. So, I did. Unfortunately, I still had the same result after reinstalling and trying a test print! Ugh.
    So, as Jacob said upfront, I seem to have an overactive print driver that is trying too hard (and it is a non-postscript printer which I realize is part of the problem).
    There are so many variables in my situation as to how I create art and save/export art. I sometimes work solely in AI, sometimes solely in PSE and sometimes I use both programs to create. Consequently, I will:
    (1) export directly from AI as JPEG if I am not adding PSE11 artwork.
    (2) export directly from AI as PNG  if I plan on inserting that image into PSE11 to add to artwork I have created in PSE11.
    (3) drag vector objects as a Smart Objects directly from AI to PSE11 to add to artwork I am creating in PSE11 if I know I will playing with the vector object and resizing in PSE11.
    So, I did a test print using scenario 2, where I inserted the heart and love text PNG (AI created vector object) into an old PSE11 document. This old document already had a vector object from AI with a solid background and I knew it printed correctly. So, after inserting this new PNG from AI into this old document, it printed correctly using the photo enhance mode.
    However, I haven't had a chance to actually create new art in the older AI files (that I know print properly), resave as something else and try another test print (either by exporting as JPEG and printing in Word or by exporting as PNG file and inserting into PSE11 document, then saving as JPEG and printing in Word).
    After testing the different possibilities of ICM settings within my printer, I found that the JPEG images printed out with the truest colors and best quality if I simply selected "no color management" from the printer. Shocker, huh? lol
    MY SOLUTION: So, what I think I will simply do is add an instruction sheet with the printables I sell, explaining that the color profile setting should never be handled by the printer so make sure to turn off color management by printer (and if they feel they must use the printer for color management, make sure the setting is sRGB since I embed that color profile in my JPEG's).
    Edited to add: Since my issue was never about how I could print a successful image (I knew I could simply change the color profile settings), but rather about how to make sure that customers would get consistent and high quality print outputs of my digital images, this seems like the best approach.
    I don't think I will every really know exactly why I am now getting color shifts in the "photo enhance" mode when I did not have this problem a couple months ago - applying the same methods of creating artwork. I was concerned that I was saving/exporting using incorrect or mismatched color settings or something of that nature.  However, since I went through the process of making my color spaces the same for everything, and I still have issue, clearly that is not the culprit. The only thing I can do to solve the problem and it is a straightforward solution anyway -> is to educate the buyer on how to print successfully (don't use photo enhance! ha ha).
    Thanks again to everyone who chimed in and offered advice!

  • Problems with Java and Business Objects

    <p>Hello everybody,<br /><br />I&#39;m new in BusinessObjects/Crystal Report. Now, I have some problems with Business Objects for Java (Business Objects XI Release 2 Developer).</p><p> </p><p>1)  I create a report in the report designer. This report has a parameterfield. Before I run this report within a jsp web application I want fill the parameterfield with some values from the database. I found the following code snippet for this problem in your forum. But it don&#39;t works right, because it occurs a simple input field instead of a combo box with my database values. Where is my mistake? I need the combo box! (In debug mode I saw that the parameterfield was filled with my data!)</p><p><%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,<br />com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,<br />com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,<br />java.io.IOException,<br />java.sql.Connection,<br />java.sql.DriverManager,<br />java.sql.ResultSet,<br />java.sql.SQLException,<br />java.sql.Statement,<br />java.util.Locale,<br />com.crystaldecisions.sdk.occa.report.application.DataDefController,<br />com.crystaldecisions.sdk.occa.report.data.FieldDisplayNameType,<br />com.crystaldecisions.sdk.occa.report.data.ParameterField,<br />com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue,<br />com.crystaldecisions.sdk.occa.report.data.Values,<br />com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%<br /><br />    try {<br /><br />        String reportName = "avoParameterfeld.rpt";<br />        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);<br /><br />        if (clientDoc == null) {<br />            // Report can be opened from the relative location specified in the CRConfig.xml, or the report location<br />            // tag can be removed to open the reports as Java resources or using an absolute path<br />            // (absolute path not recommended for Web applications).<br /><br />            clientDoc = new ReportClientDocument();<br />            clientDoc.setReportAppServer("inproc:jrc");<br />            // Open report<br />            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br /><br />             // Connection Info for fetching the resultSet<br />            String connectStr = "jdbc:oracle:thin:@it1srv19:1521:itoracle";<br />            String driverName = "oracle.jdbc.driver.OracleDriver";<br />            String userName = "user";        <br />            String password = "password";    <br /><br />            // TODO: Ensure this query is valid in your database. An exception will be thrown otherwise.<br />            String query = "SELECT DISTINCT AVONR FROM MBDEADM.AVO ORDER BY AVONR";<br />            ResultSet paramData = null;<br />           <br />            //we will now pass the resultset to the parameter to use as Default Values<br />            String parameterName = "AVONR2";<br />            int colIndex = 1; //this is the column in the ResultSet to use as the values<br />           <br />//            Load JDBC driver for the database that will be queried   <br />            Class.forName(driverName);<br /><br />            Connection connection = DriverManager.getConnection(connectStr, userName, password);<br />            Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE , ResultSet.CONCUR_READ_ONLY);<br />           <br />            paramData = statement.executeQuery(query);<br />           <br />            DataDefController dataDefController = clientDoc.getDataDefController();<br />           <br />            ParameterField origParamField = (ParameterField)dataDefController.getDataDefinition().getParameterFields().findField(parameterName, FieldDisplayNameType.fieldName, Locale.getDefault());<br />            ParameterField newParamField = (ParameterField)origParamField.clone(true);<br />           <br />            Values newVals = (Values)newParamField.getDefaultValues().clone(true);<br />            newVals.clear(); <br />            paramData.first();<br />            while(!paramData.isLast()){<br />                ParameterFieldDiscreteValue value = new ParameterFieldDiscreteValue();<br />                value.setValue(paramData.getObject(colIndex));<br />                newVals.add(value);<br />                paramData.next();<br />            }<br />            <br />            dataDefController.getParameterFieldController().modify(origParamField, newParamField);<br />            // Store the report document in session<br />            session.setAttribute(reportName, clientDoc);<br /><br />        }<br /><br />            // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** <br />            {<br />                // Create the CrystalReportViewer object<br />                CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();<br /><br />                //    set the reportsource property of the viewer<br />                IReportSource reportSource = clientDoc.getReportSource();               <br />                crystalReportPageViewer.setReportSource(reportSource);<br /><br />                // set viewer attributes<br />                crystalReportPageViewer.setOwnPage(true);<br />                crystalReportPageViewer.setOwnForm(true);<br /><br />                // Apply the viewer preference attributes<br /><br />                // Process the report<br />                crystalReportPageViewer.processHttpRequest(request, response, application, null);<br /><br />            }<br />            // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************       <br /><br />    } catch (ReportSDKExceptionBase e) {<br />        out.println(e);<br />    }<br />   <br />%><br /><br /><br /><br />2) In a other report I tried to update the data source used by the report at runtime. I used the method &#39;setDataSource(ResultSet rs, String oldTableAlias, String newTableAlias)&#39; of the &#39;DatabaseController&#39;. I got a message like this: &#39;At present in Java reporting Component does not implement&#39;. I use JRC and the docs (http://support.businessobjects.com/global/interactive/xi/om/JRC/default.html) show me this method. Is it not possible to change the data at runtime in JRC? (I tried it with the methods &#39;setDataSource(IXMLDataSet rs, String oldTableAlias, String newTableAlias)&#39;, &#39;setDataSource(Object newds)&#39;, &#39;setDataSource(IDataSet ds, String oldTableAlias, String newTableAlias)&#39;, too. But the result was the same!)<br /><br /><br /><br />3) I tried to use Business Objects in JSF framework (Ver MyFaces 1.1.3) with the same samples above. But in JSF nothing work! I got the following exception. What is my problem? Can you get me a tutorial for jsf/BusinessObjects?<br /><br />08:21:43,165 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception<br />javax.faces.FacesException: com.businessobjects.reports.sdk.JRCCommunicationAdapter<br />    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:435)<br />    at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233)<br />    at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219)<br />    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)<br />    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at de.itinformatik.mes.web.filter.SynchronizingFilter.doFilter(SynchronizingFilter.java:42)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at de.itinformatik.mes.web.ajax.aa.AAFilter.doFilter(AAFilter.java:54)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br />    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br />    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)<br />    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)<br />    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)<br />    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br />    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br />    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br />    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br />    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)<br />    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)<br />    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<br />    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)<br />    at java.lang.Thread.run(Thread.java:595)<br />Caused by: java.lang.ClassCastException: com.businessobjects.reports.sdk.JRCCommunicationAdapter<br />    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocumentState.saveContents(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocumentState.save(Unknown Source)<br />    at com.crystaldecisions.xml.serialization.XMLObjectSerializer.save(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.writeExternal(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.writeExternal(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.writeExternal(Unknown Source)<br />    at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1304)<br />    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1282)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)<br />    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)<br />    at java.util.Hashtable.writeObject(Hashtable.java:813)<br />    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />    at java.lang.reflect.Method.invoke(Method.java:585)<br />    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)<br />    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)<br />    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)<br />    at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)<br />    at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)<br />    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)<br />    at java.util.ArrayList.writeObject(ArrayList.java:569)<br />    at sun.reflect.GeneratedMethodAccessor669.invoke(Unknown Source)<br />    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />    at java.lang.reflect.Method.invoke(Method.java:585)<br />    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)<br />    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)<br />    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)<br />    at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)<br />    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)<br />    at java.util.ArrayList.writeObject(ArrayList.java:569)<br />    at sun.reflect.GeneratedMethodAccessor669.invoke(Unknown Source)<br />    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />    at java.lang.reflect.Method.invoke(Method.java:585)<br />    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)<br />    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)<br />    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)<br />    at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)<br />    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)<br />    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)<br />    at org.apache.myfaces.application.jsp.JspStateManagerImpl.serializeView(JspStateManagerImpl.java:590)<br />    at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:493)<br />    at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:332)<br />    at org.apache.myfaces.taglib.core.ViewTag.doAfterBody(ViewTag.java:122)<br />    at org.apache.jsp.testCR_jsp._jspx_meth_f_view_0(org.apache.jsp.testCR_jsp:149)<br />    at org.apache.jsp.testCR_jsp._jspService(org.apache.jsp.testCR_jsp:83)<br />    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)<br />    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)<br />    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<br />    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<br />    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)<br />    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)<br />    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)<br />    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)<br />    ... 32 more<br /><br /><br />Thanks for your assistance <br /><br />Tosch</p>

    Which Business Objects are you referring to.
    MS .NET has a thing called Business Objects but they only work in .NET.

  • Create complex component in JSF only with Java

    Hi, now I'm developing some JSF components. My objective is that the developers who use this components only need to write something like:
    <%@ taglib uri="http://chain.com" prefix="d" %>
    <d:somecomponent atributte1="value1" attribute2="value2"/>
    ...This somecomponent will have some subcomponents like HtmlInputSecret, etc.
    How can I create this subcomponents and render it only with Java?
    I can't found anywhere how to do this. Can somebody help me or tell me some URL where it is explained?
    Thank you,

    Hello,
    I am working on a similar need.
    Inside your UIComponent, create a data member like an UIInput.
    Set the rendererType("javax.faces.Secret");
    Do not forget to update the component structure : I mean do a setParent, for example.
    For the rendering step, just call encode subroutines (in the renderer class).
    For this kind of component, it works but for a UICommand with a javax.faces.Link renderer type it does not work.....yet...I will find the solution...
    Hope to help.

  • Problem with Java Memory "Could not reserve enough space for object heap"

    Hi gurus,
    I am not an expert with Java´s configuration, and I have a situation that I don´t understand. First of all, I am working at Centos 6.2 with jdk_1.6 and Tomcat 7.
    The problem is...
    - If I run Tomcat with JAVA_OPTS="-Xmx128m"* (at catalina.sh) all works fine.
    - If I run Tomcat with JAVA_OPTS="-Xmx512m"* (at catalina.sh) an error appears:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    This appear when I run java -version or when I try to stop Tomcat, and the Tomcat isn´t able to stop.
    The strange thing is that my server has more than 200M free in physical memory. So, why Tomcat isn´t able to stop? and Why Java doesn´t use the free memory in my server?
    Thanks in advanced.

    Hello EJP, thanks for your answer.
    I have explained bad.
    The server has 703M free when Tomcat is stopped. I had mentioned that my server has more than 200M free in physical memory when Tomcat is running with JAVA_OPTS="-Xmx512m", so I don´t understand why these errors appear.
    Do you understand me?
    Recently I have checked the swap memory, and it is disabled. In spite of swap memory is disabled I think java wouldn´t need this memory because it has free physical memory
    Thanks again.

  • JSF webapp works with Java 1.4, but not Java EE 5

    Hello
    I am having a really weird problem with internationalizing my JavaServer Faces web application.
    I am using Netbeans 6.0, Tomcat 6.0.10, JSF 1.2, and JTSL 1.1....
    If I use Java 1.4 to run the webapp, everything works fine!
    If I use Java EE 5 then it fails to execute internationalization of my choosen locale.
    I could just use Java 1.4 and have my site working fine, but I would really like to use Java EE 5 since it can do more. Also I don't see why it can work on one version of Java but not another. My locales are English (en) and Korean (ko).
    This is my index.jsp
    <%--
        Document   : index
        Created on : 2/05/2008, 01:33:01
        Author     : Steve
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
    <html>
        <f:view locale="#{localeBean.language}">
            <f:loadBundle basename="resources.messages" var="msg"/>
            <head>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                <title>JSP Page</title>
            </head>
            <body>
                <h2>Hello <h:outputText value="#{localeBean.country}"/>!</h2>
                <br>
                <h4><h:outputText value="#{msg.language}"/>:</h4>
                <h:form id="languageForm">
                    <h:selectOneMenu   onchange="this.form.submit();" valueChangeListener="#{localeBean.dropdown1_processValueChange}">
                        <f:selectItem itemLabel="English" itemValue="en"/>
                        <f:selectItem itemLabel="������" itemValue="ko"/>
                    </h:selectOneMenu>
                </h:form>
                <h:outputText value="#{localeBean.language}"/>
            </body>
        </f:view>
    </html>This is my localeBean which is under the package "resources"
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package resources;
    * @author Steve
    import java.util.Locale;
    import javax.faces.event.ValueChangeEvent;
    public class localeBean {
        private String language = Locale.getDefault().getLanguage();
        private String country = Locale.getDefault().getCountry();
        public String getLanguage() {
            return language;
        public void setLanguage(String newValue) {
            language = newValue;
        public String getCountry() {
            return country;
        public void setCountry(String newValue) {
            country = newValue;
        public void dropdown1_processValueChange(ValueChangeEvent vce) {
            setLanguage((String) vce.getNewValue());
    }This is my faces-config file
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
        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 http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
    <application> 
            <locale-config>  
                <default-locale>en</default-locale>  
                <supported-locale>en</supported-locale>
                <supported-locale>ko</supported-locale>
            </locale-config>
            <message-bundle> resources.messages </message-bundle>
        </application>
        <managed-bean>
            <managed-bean-name>localeBean</managed-bean-name>
            <managed-bean-class>resources.localeBean</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>
    </faces-config>and lastly I have my message bundle under the "resources" package which is named "messages".
    This has a key word "language" which is "Language" in the 'en' locale file and "����" in the 'ko' locale file.
    Once again when using Java 1.4 this project runs fine, however with Java EE 5 it does not.
    You may notice in my index.jsp that I have <h:outputText value="#{localeBean.language}"/>
    I use this to display the locale that has been chosen by my select box. Even when this shows a different language has been chosen the page does still not display in the correct language. According to <f:view locale="#{localeBean.language}"> then the locale of the page should be changed.
    I have looked over the web quite far for an answer to this problem. But everyone else seems to be using a similar method of loading up a message bundle and using it the same way I am. However my method does not work.
    Any suggestions or clues to what is going wrong would be really appreciated.
    Thanks in advance^^

    it seems that the
    <f:view locale="en">
    only work if a ressource bundle with the locale sufix '_en' is provided.
    Everything works now if I provide 3 ressouce files:
    global_en.properties
    global_de.properties
    global.properties
    global.properties and global_en.properties are identically!
    But if I delete the global_en.properties file always the global_de.properties file wins before the default properties.
    I did not expect such a behavior :-(

  • Looking for answer keys for "Object First with Java"

    Where can I find a book with anwser keys for the book " Object First with Java" Third Edition?

    zxcvbnm wrote:
    Where can I find a book with anwser keys for the book " Object First with Java" Third Edition?This ought to be an interesting thread. :)

  • HELP!! Deploying with DC, missing type java.lang.Object

    Hi Folks,
    I have a WebDynpro project created with a DC. I have been deploying the project directly from the application node, but I just built the associated DC for the first time, and now I get errors in my source code that I have the missing type java.lang.Object.
    I have tried the repair-->project structure and classpath option already. Looks like some basic links are broken.
    This is hopefully simple, but I have no Idea what I need to do.
    Thanks
    Message was edited by:
            Todd Fisher

    Hi there,
    If it's because of broken links, did you try closing the project and opening it again?
    Kind regards,
    J.

  • Failed to load value at index 22 with java object of type java.lang.String

    Hi all,
    As i am trying to open the notifications created from Administartor Workflow ,
    It throws a below error::
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 22 with java object of type java.lang.String due to java.sql.SQLException. at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886) at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720) at oracle.apps.ap.oie.workflow.apexp.webui.NotifExpLinesCO.processRequest(NotifExpLinesCO.java:116) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.process
    java.sql.SQLException: Invalid column index
    at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:1042) at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(OracleSQLBuilderImpl.java:1198) at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:1633) at oracle.jbo.server.ViewRowImpl.populate(ViewRowImpl.java:2221).
    No extensions done in the page
    Please let me know the cause for this error ASAP
    Thanks
    Kash

    Problem solved. set the datatype as timestamp for that attribute in buissiness object.

  • JSF with Developer Workplace 7.0 SP14

    Hello,
    I'm trying to port an J2EE application initially developed on a Tomcat 5.5 with Java 1.4.2 and JSF 1.1 to a NWDI.
    Locally I use a Developer Workplace 7.0 SP14.
    When I deploy the *.ear File (with the included *.war-file) to my local Application Server alway gives me a ClassCastException:
    +#1.5 #00059A3C7800007B00000041000019D400045676BCD02BA5#1220967880687#com.sap.engine.services.servlets_jsp.Deploy#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.Deploy#Guest#0##n/a##626173507e7511ddb52700059a3c7800#SAPEngine_Application_Thread[impl:3]_6##0#0#Error##Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Cannot load filter < extensionsFilter > The error is: java.lang.ClassCastException
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addFilter(WebComponents.java:225)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadFilters(ApplicationThreadInitializer.java:292)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:107)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.5 #00059A3C7800007B00000043000019D400045676BCD02CC1#1220967880687#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##626173507e7511ddb52700059a3c7800#SAPEngine_Application_Thread[impl:3]_6##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Cannot load filter < extensionsFilter >
    The error is: java.lang.ClassCastException: null
    Exception id: [00059A3C7800007B00000041000019D400045676BCD02BA5]#
    My Web.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
                             "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <display-name>WEB APP</display-name>
        <description>WEB APP description</description>
        <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
         <filter>
              <filter-name>extensionsFilter</filter-name>
              <filter-class>
                   org.apache.myfaces.webapp.filter.ExtensionsFilter
              </filter-class>
              <init-param>
                   <param-name>maxFileSize</param-name>
                   <param-value>20m</param-value>
              </init-param>
         </filter>
    The Method "addFilter" in the class "sap.engine.services.servlets_jsp.server.runtime.context.WebComponents" which is part of the "servlet_jsp.jar" (also Used DC of my Web Component) looks as this:
        public Vector addFilter(String filterName, String filterClassName, HashMapObjectObject params)
            Class clasFilter = null;
            Filter filter = null;
            Vector warnings = new Vector();
            filterClasses.put(filterName, filterClassName);
            filterParams.put(filterName, params);
            try
                clasFilter = applicationClassLoader.loadClass(filterClassName);
                filter = (Filter)clasFilter.newInstance();
            catch(OutOfMemoryError e)
                throw e;
            catch(ThreadDeath e)
                throw e;
            catch(Throwable e)
                Log.getCategory(1).logError(currentLocation, "Cannot load filter < " + filterName + " >", e, aliasName);
                warnings.add(new LocalizableTextFormatter(WebResourceAccessor.getResourceAccessor(), WebWarningException.CANNOT_LOAD_FILTER, new Object[] {
                    filterName, e.toString()
                return warnings;
    As one can see, both sides implement the interface "javax.servlet.Filter", which is part of the library "servlet.jar".
    To veryfy this I "enhanced" the method "addFilter" by some additional output which gives me the classes and interfaces:
        public Vector addFilter(String filterName, String filterClassName, HashMapObjectObject params)
            Class clasFilter = null;
            Filter filter = null;
            Vector warnings = new Vector();
            filterClasses.put(filterName, filterClassName);
            filterParams.put(filterName, params);
            try
                   Log.getCategory(1).logError(currentLocation, "Meinlog 1 < " + filterClassName + " >", null, aliasName);
                clasFilter = applicationClassLoader.loadClass(filterClassName);
                   Log.getCategory(1).logError(currentLocation, "Meinlog 2 < " + clasFilter.toString() + " >", null, aliasName);
                   //Log.getCategory(1).logError(currentLocation, "Meinlog 2b < " + clasFilter.getDeclaringClass().getClass().getName() + " >", null, aliasName);
                   Log.getCategory(1).logError(currentLocation, "Meinlog 3 < " + Filter.class.toString() + " >", null, aliasName);
                   Object obj = clasFilter.newInstance();
                   String ausgabe = obj!=null?obj.toString():"null";
                   String ausgabe2;
                   try {
                        ausgabe2 = obj!=null?obj.getClass().getInterfaces()[0].toString():"null";
                   } catch (Exception ex){
                        ausgabe2=ex.getMessage();
                   Log.getCategory(1).logError(currentLocation, "Meinlog 4 < " + ausgabe + " >", null, aliasName);
                   Log.getCategory(1).logError(currentLocation, "Meinlog 5 < " + ausgabe2 + " >", null, aliasName);
                filter = (Filter)obj;
                   Log.getCategory(1).logError(currentLocation, "Meinlog 6 < " + filter.toString() + " >", null, aliasName);
    This generated the following log:
    #1.5 #00059A3C7800006B000000830000169C000456876CE37E25#1221039554156#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 1 < com.sap.engine.services.servlets_jsp.server.servlet.PutProtectionFilter >#
    #1.5 #00059A3C7800006B000000850000169C000456876CE3E05E#1221039554187#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 2 < class com.sap.engine.services.servlets_jsp.server.servlet.PutProtectionFilter >#
    #1.5 #00059A3C7800006B000000870000169C000456876CE3E11E#1221039554187#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 3 < interface javax.servlet.Filter >#
    #1.5 #00059A3C7800006B000000890000169C000456876CE3E1F1#1221039554187#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 4 < com.sap.engine.services.servlets_jsp.server.servlet.PutProtectionFilter@180a84e >#
    #1.5 #00059A3C7800006B0000008B0000169C000456876CE3E2A5#1221039554187#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 5 < interface javax.servlet.Filter >#
    #1.5 #00059A3C7800006B0000008D0000169C000456876CE3E35C#1221039554187#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 6 < com.sap.engine.services.servlets_jsp.server.servlet.PutProtectionFilter@180a84e >#
    #1.5 #00059A3C7800006B0000008F0000169C000456876CE42ACE#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 1 < com.sap.engine.services.servlets_jsp.server.servlet.ConnectionWrapperFilter >#
    #1.5 #00059A3C7800006B000000910000169C000456876CE42D37#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 2 < class com.sap.engine.services.servlets_jsp.server.servlet.ConnectionWrapperFilter >#
    #1.5 #00059A3C7800006B000000930000169C000456876CE42DF8#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 3 < interface javax.servlet.Filter >#
    #1.5 #00059A3C7800006B000000950000169C000456876CE42EBA#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 4 < com.sap.engine.services.servlets_jsp.server.servlet.ConnectionWrapperFilter@e47ec1 >#
    #1.5 #00059A3C7800006B000000970000169C000456876CE42F73#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 5 < interface javax.servlet.Filter >#
    #1.5 #00059A3C7800006B000000990000169C000456876CE43033#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 6 < com.sap.engine.services.servlets_jsp.server.servlet.ConnectionWrapperFilter@e47ec1 >#
    #1.5 #00059A3C7800006B0000009B0000169C000456876CE430F6#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 1 < org.apache.myfaces.webapp.filter.ExtensionsFilter >#
    #1.5 #00059A3C7800006B0000009D0000169C000456876CE43438#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 2 < class org.apache.myfaces.webapp.filter.ExtensionsFilter >#
    #1.5 #00059A3C7800006B0000009F0000169C000456876CE434EF#1221039554203#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 3 < interface javax.servlet.Filter >#
    #1.5 #00059A3C7800006B000000A10000169C000456876CF915AF#1221039555578#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 4 < org.apache.myfaces.webapp.filter.ExtensionsFilter@1295527 >#
    #1.5 #00059A3C7800006B000000A30000169C000456876CF91664#1221039555578#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Meinlog 5 < interface javax.servlet.Filter >#
    #1.5 #00059A3C7800006B000000A40000169C000456876CF91859#1221039555578#com.sap.engine.services.servlets_jsp.Deploy#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.Deploy#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Cannot load filter < extensionsFilter > The error is: java.lang.ClassCastException
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addFilter(WebComponents.java:225)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadFilters(ApplicationThreadInitializer.java:292)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:107)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.5 #00059A3C7800006B000000A60000169C000456876CF91937#1221039555578#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#bauerfeind.com/careplatformcareweb#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#0##n/a##713fd9707f1a11dda51300059a3c7800#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Plain###application [ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com] Cannot load filter < extensionsFilter >
    The error is: java.lang.ClassCastException: null
    Exception id: [00059A3C7800006B000000A40000169C000456876CF91859]#
    As shown in "Meinlog 3" and "Meinlog 5" both sides implement the same Interface. So classcast should work.
    I have no more idea about this. Does anybody of you have?
    Best regards,
    Jens Stolpmann
    Edited by: Jens Stolpmann on Sep 10, 2008 12:03 PM

    Hello Vladimir,
    after I removed all occurences of servlet.jar (which was my initial state):
    >LLR -all -f javax/servlet/Filter.class
    [library:servlet]
       jar:file:/D:/usr/sap/JS1/JC00/j2ee/cluster/server0/bin/ext/servlet/servlet.ja
    r!/javax/servlet/Filter.class,
    I got this error:
    application [ECR_CAREPF_Dcareplatformcareservletbauerfeind.com] Cannot load filter < extensionsFilter > The error is: java.lang.NoClassDefFoundError: javax/servlet/Filter
    Loader Info -
    ClassLoader name: [bauerfeind.com/careplatform~careweb]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       Common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
       library:bauerfeind.comcareplatformdatamodel
       library:bauerfeind.comcareplatformdblayer
       library:bauerfeind.comcareplatformhiberlib
       library:bauerfeind.comcareplatformmyfaces~lib
    Resources:
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-lang.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\pop3.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jta.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\dsn.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatform~careweb\src.zip
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\antlr.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\tomahawk-sandbox.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservletbauerfeind.com\root\WEB-INF\lib\bauerfeind.comcareplatformdblayerhiber~DBLayer_Hibernate.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\hibernate3.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jxl.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\asm.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservletbauerfeind.com\root\WEB-INF\lib\bauerfeind.comcareplatformdatamodelmodel~DatamodelLibrary.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\iText.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jasper-compiler.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-digester.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jstl.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\tomahawk.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-fileupload.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-logging-1.1.1.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-validator.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\cglib.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\work
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-logging.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-io.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\dom4j.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\ehcache.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\naming-resources.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jasper-compiler-jdt.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jsp-api-2.0.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\naming-factory.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\activation.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\oro.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\myfaces-api.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\mailapi.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\classes
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\naming-factory-dbcp.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\logkit.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\log4j.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-el.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\myfaces-impl.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jdbc2_0-stdext.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\jasper-runtime.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\smtp.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\asm-attrs.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\fop.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-codec.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\commons-beanutils.jar
       D:\usr\sap\JS1\JC00\j2ee\cluster\server0\apps\bauerfeind.com\careplatformcareweb\servlet_jsp\ECR_CAREPF_Dcareplatformcareservlet~bauerfeind.com\root\WEB-INF\lib\imap.jar
    Loading model: {parent,references,local}
    The error occurred while trying to load "org.apache.myfaces.webapp.filter.ExtensionsFilter".
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:401)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addFilter(WebComponents.java:183)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadFilters(ApplicationThreadInitializer.java:292)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:107)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    But without any problem, he could instantiate "com.sap.engine.services.servlets_jsp.server.servlet.PutProtectionFilter" within the same application, which also implements "javax.servlet.Filter".
    Jens

  • Error while calling EJB with a heavyweight Object Parameter

    Hi Everybody,
    I am getting the following Error when i call a EJB with a heavyweight Object Parameter in Sun ONE Application Server 7.0.0_04.
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: org.omg.CORBA.BAD_PARAM: java.util.PropertyResourceBundle vmcid: OMG minor code: 6 completed: Maybe
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.util.Utility.throwNotSerializableForCorba(Utility.java:1018)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:691)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
    [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.corba.TCUtility.marshalIn(TCUtility.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.corba.AnyImpl.write_value(AnyImpl.java:599)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:538)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:233)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:196)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at javax.rmi.CORBA.Util.writeAny(Util.java:78)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.write_Array(ValueHandlerImpl.java:446)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:134)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:916)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.OutputStreamHook.defaultWriteObject(OutputStreamHook.java:129)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at java.util.Vector.writeObject(Vector.java:1017)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObject(Native Method)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:560)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:523)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1082)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.copyObjects(Util.java:440)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at javax.rmi.CORBA.Util.copyObjects(Util.java:296)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at java.security.AccessController.doPrivileged(Native Method)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: java.rmi.UnexpectedException: java.io.IOException: Serializable readObject method failed internally
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:370)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at javax.rmi.CORBA.Util.wrapException(Util.java:277)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at java.security.AccessController.doPrivileged(Native Method)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
    [03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr:      at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    Can someone please help to solve this.
    Regards,
    Sunil

    Unfortunately there's not really enough information for anyone to help you much. I can tell you've hit an EOF Exception, but that's about it.
    What exactly do you mean by a heavyweight object parameter? Do you mean a large (in memory size) object?
    Without any knowledge of your application, I'd probably start by changing your ejb method to do nothing. That should tell you at least whether it's the serialization of the parameter that's the issue or not. Narrow it down from there.
    If you need more help, printing the entire stack trace of the EOFException and posting it here would be helpful.
    -- Rob

  • Intermittent problem in Coldfusion 9, BlazeDS with Java Service class and CFCProxy

    If that title doesn't scare you, you might be able to help.
    I believe there is a bug in Coldfusion 9's version of CFCProxy.
    Tech Stack:
    Flex Application
    BlazeDS (stock with CF9)
    Java Service class (java-amf BlazeDS endpoint)
    Coldfusion business tier, invoked by the Java Service class using CFCProxy
    Tomcat 6 on Java 1.6
    Linux or Windows servers, both exhibit same behavior
    SQL Server database
    Problem:
    When Flex calls a Java service method through BlazeDS that invokes a Coldfusion CFC through CFCProxy, and the method called in the Coldfusion CFC includes a large query (10 fields, 1000+ records returned), we intermittently (1 out of ~5 times) receive the following exception:
    java.lang.NullPointerException
        at coldfusion.runtime.NeoPageContext.popBody(NeoPageContext.java:1925)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:57)
        at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
        at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
        at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
        at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
        at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
        at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:437)
        at coldfusion.cfc.CFCProxyFilter.invoke(CFCProxyFilter.java:56)
        at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:281)
        at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:193)
        at com.lampo.mapping.service.MapToolWebService.makeCfcProxyCall(MapToolWebService.java:1326)
        at com.lampo.mapping.service.MapToolWebService.getTerritoryList(MapToolWebService.java:609)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
        at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
        at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
        at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
        at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
        at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
        at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
        at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
        at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
        at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
        at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
        at coldfusion.flex.ColdfusionMessageBrokerServlet.service(ColdfusionMessageBrokerServlet.jav a:114)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestControlFilter.java:71)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:662)
    Attempts to diagnose:
    These things remove the problem:
    CF8 works perfectly with the identical code, never fails.
    Calling the same Coldfusion CFC method with the large query (10 fields, 1000+ records returned) from another CFC 100+ times never fails.
    Using a Coldfusion service class (a "my-cfamf" BlazeDS endpoint) never fails. However, we need to use a Java service class because we are using ~40 Java value objects (VOs) that correspond to ~40 auto-generated Actionscript VOs. BlazeDS won't correctly deserialize the Actionscript VOs into the Java VOs with a Coldfusion service class.
    If I replace the large query with a Sleep(5000) instead, it never fails.
    These things don't remove the problem:
    Using the latest Microsoft JDBC driver doesn't help.
    Even if the Coldfusion method returns an empty resultset (i.e., just calls the query and doesn't do any other work or return anything), the call still fails intermittently.
    If the Coldfusion CFC with the method in question is instantiated and stored in SERVER scope as a singleton across multiple requests with CFCProxy, doesn't help.
    Different large (1000+ record queries) all fail in the same way.
    Caching the query doesn't help
    Changes in the datasource configuration doesn't help
    Using the older version of BlazeDS doesn't help
    With all of these tests, I believe it comes down to a problem in the combination between CFCProxy and large queries. There may be more to it, but that is what we've narrowed it down to.
    Any insight would be very welcome.

    Hi Frank
    The page is ADF bound, I've added the page source and the adfc-config source below :
    Page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:commandButton text="commandButton 1" id="cb1"
                              actionListener="#{test.testws}"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>adfc-config
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="view1">
        <page>/view1.jspx</page>
      </view>
      <managed-bean id="__4">
        <managed-bean-name id="__3">test</managed-bean-name>
        <managed-bean-class id="__2">ch.mit.test.test</managed-bean-class>
        <managed-bean-scope id="__1">request</managed-bean-scope>
      </managed-bean>
    </adfc-config>It seems to be the same sort of problem as in Re: Error in ADF Web Service Connection
    Regards
    Paul

Maybe you are looking for