Serialization Exception Again

I was able to get my HTTPS web service to communicate with my clients, but now
when I try to connect to the web service (type=document), I get this error:
[java] 3) testQuoteStubs(com.arrow.arrowsoap.client.QuoteServiceClientTest)
junit.framework.AssertionFailedError: failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException:
type mapping lookup failure on class=class weblogic.apache.xerces.dom.DeferredDocumentImpl
TypeMapping=TYPE
MAPPING SIZE=3
[java] ENTRY 1:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:ProcessResponse
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
b957ea
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
3aff84
[java] ENTRY 2:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:Process
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
15d4de6
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
a53de4
[java] ENTRY 3:
[java] class: java.lang.Object
[java] xsd_type: ['http://www.w3.org/2001/XMLSchema']:xsd:anyType
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
827968
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
1f0b7d3
[java] at com.arrow.arrowsoap.client.QuoteServiceClientTest.testQuoteSt
ubs(QuoteServiceClientTest.java:98)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
Attached is the WSDL for the service.
The type-mapping file looks like:
<wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:ProcessResponse"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:Process"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry class-name="java.lang.Object"
type="xsd:anyType"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
</wsdd:type-mapping>
Any ideas?? Am I missing something from my classpath?? I am running the tests
using the WL 8.1 ANT installation and using this as my WL classpath (my own jars
are added first in the path and are omitted here):
          <pathelement path="${weblogic.home}/lib/webserviceclient.jar"/>
          <pathelement path="${weblogic.home}/lib/weblogic_sp.jar"/>
          <pathelement path="${weblogic.home}/lib/weblogic.jar"/>
Thanks
-- jake
[QuoteService.wsdl]

Hi Karen,
My suggestion is to separate the issues (serialization failures and
SSL). Make sure your app works OK using http trasport. For SSL, RU
using the WLSSLAdapter for the client as described in the docs [1]? One
or 2way SSL? What version of WLS?
Thanks,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/security.html#1053203
Karen Yuan wrote:
>
Hi Bruce,
I was also getting the SerializationException when I tried to connect from my
weblogic web
service client to my HTTPS webMethods web service (SOAP-RPC protocol). Then I
included
webserviceclient+ssl.jar client runtime JAR file on both of my client and server
sides and re-ran
my test. I still got the same error:
Exception in thread "main" java.rmi.RemoteException: web service invoke failed:
javax.xml.soap.SOAPException: failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException:
type mapping lookup
failure on class=class java.io.StringReader TypeMapping=TYPEMAPPING SIZE=2
ENTRY 1:
class: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletInput
xsd_type: ['http://com/freddiemac/ImportLoan/FileUploadHttpsStreamClient/WS_1/i
mportLoanSubmitStream']:lcl0:__callServletInput
ser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletInputCodec@7eb366
deser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletInputCodec@33f0de
ENTRY 2:
class: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletOutput
xsd_type: ['http://com/freddiemac/ImportLoan/FileUploadHttpsStreamClient/WS_1/i
mportLoanSubmitStream']:lcl0:__CallServletOutput
ser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletOutputCodec@ab444
deser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletOutputCodec@c0f1ec; nested exception is:
.... more
Any suggestions?
Thanks,
Karen
Bruce Stephens <[email protected]> wrote:
Hi Jacob,
From your post it was not clear was working and what was changed. Could
you clarify. Note, for the standalone client app using SSL, you will
need to include webserviceclient+ssl.jar client runtime JAR file,
described in the docs [1].
Thanks,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/security.html#1053203
Jacob Anderson wrote:
I was able to get my HTTPS web service to communicate with my clients,but now
when I try to connect to the web service (type=document), I get thiserror:
[java] 3) testQuoteStubs(com.arrow.arrowsoap.client.QuoteServiceClientTest)
junit.framework.AssertionFailedError: failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException:
type mapping lookup failure on class=class weblogic.apache.xerces.dom.DeferredDocumentImpl
TypeMapping=TYPE
MAPPING SIZE=3
[java] ENTRY 1:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:ProcessResponse
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
b957ea
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
3aff84
[java] ENTRY 2:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:Process
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
15d4de6
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
a53de4
[java] ENTRY 3:
[java] class: java.lang.Object
[java] xsd_type: ['http://www.w3.org/2001/XMLSchema']:xsd:anyType
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
827968
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
1f0b7d3
[java] at com.arrow.arrowsoap.client.QuoteServiceClientTest.testQuoteSt
ubs(QuoteServiceClientTest.java:98)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
Attached is the WSDL for the service.
The type-mapping file looks like:
<wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:ProcessResponse"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:Process"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry class-name="java.lang.Object"
type="xsd:anyType"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
</wsdd:type-mapping>
Any ideas?? Am I missing something from my classpath?? I am runningthe tests
using the WL 8.1 ANT installation and using this as my WL classpath(my own jars
are added first in the path and are omitted here):
<pathelement path="${weblogic.home}/lib/webserviceclient.jar"/>
<pathelement path="${weblogic.home}/lib/weblogic_sp.jar"/>
<pathelement path="${weblogic.home}/lib/weblogic.jar"/>
Thanks
-- jake
Name: QuoteService.wsdl
QuoteService.wsdl Type: ACT Project (text/xml)
Encoding: base64

Similar Messages

  • How do I permanently set a popup exception. I can set an exception, but everytime I leave FF and connect again, I have to set the exception again.

    How do I permanently set a popup exception. I can set an exception, but every time I leave FF and connect again, I have to set the exception again. Can I set it once on a permanent basis?

    In case you are using "Clear history when Firefox closes":
    *do not clear Site Preferences
    *Tools > Options > Privacy: History: [X] Clear history when Firefox closes > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.

  • Serialization Exception for : CachedRowSet

    Hi ..
    I have populated my CachedRowSet with as follows
    // lRst is a SCROLLABLE ResultSet
    javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
    lCachedRowSet.setPageSize(mPageSize);
    lCachedRowSet.populate(lRst,10);While i try to serialize CachedRowSet , I get a Serialization Exception.
    for 'weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_ScrollableResultSet'
    However if i try to populate the same as follows It works fine:
    javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
    lCachedRowSet.setPageSize(mPageSize);
    lCachedRowSet.populate(lRst);I am using Oracle 8i and Weblogic 8.1.
    I have to take the first approach. Please let me know if there is any solution for the first approach.

    Hi ..
    I have populated my CachedRowSet with as follows
    // lRst is a SCROLLABLE ResultSet
    javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
    lCachedRowSet.setPageSize(mPageSize);
    lCachedRowSet.populate(lRst,10);While i try to serialize CachedRowSet , I get a Serialization Exception.
    for 'weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_ScrollableResultSet'
    However if i try to populate the same as follows It works fine:
    javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
    lCachedRowSet.setPageSize(mPageSize);
    lCachedRowSet.populate(lRst);I am using Oracle 8i and Weblogic 8.1.
    I have to take the first approach. Please let me know if there is any solution for the first approach.

  • Serialization exception in RMI

    I have a GameServerImp remote class:
    HashMap clients;
    HashMap versus;
    public GameServerImp() throws RemoteException
    clients =new HashMap();
    versus =new HashMap();
    public void register(String name,GameClientInt c) throws RemoteException
    clients.put(name,c);
    these are its functions.
    I have a client :
    public class BI implements GameClientInt{
    public BI()
    I have following code invoking the register method.
    1 mainServer = (GameServerInt)Naming.lookup("rmi://localhost:1099/gameservice");
    2 mainServer.register(name,new BI());
    when 2 line executes it gives exception:
    java.rmi.MarshalException: error marshalling arguments; nested exception is:
    java.io.NotSerializableException: BI
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
    at $Proxy0.register(Unknown Source)
    There is nothing related to io :(. I cant figure out why it is happening.

    Hi,
    Please user for posting sample code
    Does this interface  GameClientInt extends Serializable? if not can you do that and try again
    Regards,
    Alan Mehio
    London,UK                                                                                                                                                                                                                                                                                                                                                           

  • Firefox keeps saying the connection is untrusted... I save the exception, yet it NEVER works, everytime I use the same websites I have to "save the exception" again! What can I do to stop this, I'm about to throw in the towel!

    I used certain secured websites every day. And every day, I get the same old "connection is untrusted" messages, on every one of those websites. I do know the "add exception" thing, and I do add the exception for said websites... yet every time I start a new sessions, the exception hasn't been stored, and I have to do it all over again. It's getting really frustrating to use Firefox, since I am sick and tired of adding exceptions that aren't getting stored. I haven't added any new add-ons, only thing I have is Mc-Afee Site Advisor , and I had the same problem before I had to upgrade my Windows XP to Windows 7. One day it was working fine, then it started giving me trouble out of nowhere without new software or extension or anything being added. Nothing I've found online works, and I'm desperate for an answer.

    You can retrieve the certificate and check who issued the certificate.
    * Click the link at the bottom of the error page: "I Understand the Risks"
    Let Firefox retrieve the certificate: "Add Exception" -> "Get Certificate".
    * Click the "View..." button to inspect the certificate and check who is the issuer.

  • Serialization Exception

    Hi All,
    I am developing webservice application using Dynamic Proxy client. I am using Weblogic8.1 as my application server. All my services are generated using servicegen and clientgen task of Ant.
    While using Dynamic Proxy client to invoke webservice, i am passing array of my POJO class. I am generating types using generateTypes option of the service task so that it generates serialized class automatically. But while passing this array object as an input parameter while invoking webservice, i am getting below error -
    [java] General exception thrown
    [java] java.lang.reflect.UndeclaredThrowableException
    [java] at $Proxy0.lookup(Unknown Source)
    [java] at cititru.scan.transScan.createGiService(transScan.java:47)
    [java] at cititru.scan.transScan.main(transScan.java:22)
    [java] Caused by: java.rmi.RemoteException: Failed to invoke; nested exception is:
    [java] javax.xml.rpc.JAXRPCException: web service invoke failed: javax.xml.soap.SOAPException: failed to serialize class [Lcititru.api.interdict.gi.ScannedTextData;weblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=class Lcititru.api.interdict.gi.ScannedTextData; class context=TypedClassContext{schemaType=['java:cititru.api.interdict.gi']:ArrayOfScannedTextData}
    [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    [java] at weblogic.webservice.core.rpc.StubImpl.throwRemoteException(StubImpl.java:266)
    [java] at weblogic.webservice.core.rpc.StubImpl.invoke(StubImpl.java:251)
    [java] ... 3 more
    [java] Caused by: javax.xml.rpc.JAXRPCException: web service invoke failed: javax.xml.soap.SOAPException: failed to serialize class [Lcititru.api.interdic
    t.gi.ScannedTextData;weblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=class [Lcititru.api.interdict.gi.ScannedTextData; class context=TypedClassContext{schemaType=['java:cititru.api.interdict.gi']:ArrayOfScannedTextData}
    [java] at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:331)
    [java] at weblogic.webservice.core.rpc.StubImpl.invoke(StubImpl.java:247)
    [java] ... 3 more
    In the above error message ScannedTextData is my POJO class which i am passing as an input parameter to webservice. Please suggest me what needs to be done to resolve the above issue.

    We'd need some more info to help you. Can you show us the code for your
    sfsb? Are you sure you aren't doing something in ejbActivate to replace
    the Serializable instance with a new class?
    -- Rob
    Kiran Raj wrote:
    Hi All,
    I have a problem while using a serialized class from within a stateful session
    bean.
    I am setting values to the serialized bean class by using one of the set methods
    but at the very next statement when i am printing the values that is set is giving
    null.
    class myClass implements serializable {
    private int counter=0;
    public void setValues(){
    counter++;
    System.out.println(counter);
    public int getValues(){
    System.out.println(counter);
    return counter;
    class caller{
    public void callingmethod(){
    myClass x=new myClass();
    x.setValues();
    x.getValues();
    when i call callingmethod, the output is
    1
    0
    it is getting incremented and then getting reset to 0
    I have 2 deployments, a development environment and a production environment.
    It works fine in the development environment but fails in the production environment.
    The xml files used are the same in both cases, so there is no configuration difference.
    I am using welogic 6.1 wih service pack 3 and jdk 1.3.1
    I suspect that this is related to serialization in weblogic but dont know exactly
    how weblogic implements serialization.
    if anybody has encountered this or knows the reasons it would be helpful to me.
    Thanks,
    Kiran.

  • Struts Exception Again!!!! Help plz.........

    Hello again,
    Hope this time i'll get some response regarding my error in a simple struts exception.........i've an application in which i've main page i.e "index.jsp", frm this page i've a html link tag fwdin to another jsp page i.e "search.jsp".Now when i click on the link at my index.jsp page i'm getting the following exception:-
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented
    it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /search.jsp(44,26) equal symbol
    expected
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHan
    dler.java:39)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.jav
    a:407)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.jav
    a:90)
    org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:193)
    org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:143)
    org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1328)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
         org.apache.jasper.compiler.Parser.parseBody(Parser.java:1789)
    org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1060)
    org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1367)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.ja
    va:220)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java
    :101)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
    ava:511)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
    ava:295)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja
    va:1069)
    org.apache.struts.action.RequestProcessor.internalModuleRelativeForward
    (RequestProcessor.java:1012)
    org.apache.struts.action.RequestProcessor.processValidate(RequestProces
    sor.java:980)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java
    :255)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache
    Tomcat/5.0.27 logs.
    Apache Tomcat/5.0.27
    Plz help me by telling what kind of equal symbol is expected by the application and where possibly it can be????????i've only 2 reference for "search.jsp" tht too in struts-config.xml file...........

    here's the search.jsp file:-
    <%@ page language="java" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html>
    <head>
    <title>Gaurav, Human Resource Portal</title>
    </head>
    <body>
    <font size="+1"><b>Gaurav, Human Resource Portal - search.jsp</b></font>
    <hr width="100%" noshade="true">
    <html:errors/>
    <html:form action="/search">
         <table>
              <tr>
                   <td align="right"><bean:message key="label.search.name"/>:</td>
                   <td><html:text property="name"/></td>
              </tr>
              <tr>
                   <td></td>
                   <td>--- or ---</td>
              </tr>
              <tr>
                   <td align="right"><bean:message key="label.search.ssNum"/>:</td>
                   <td><html:text property="ssNum"/> (xxx-xx-xxxx)</td>
              </tr>
              <tr>
                   <td></td>
                   <td><html:submit/></td>
              </tr>
         </table>
    </html:form>
    <logic:present name="searchForm" property="results">
         <hr width="100%" size="1" noshade="true">
         <bean:size id="size" name"searchForm" property="results"/>
              <logic:equal name="size" value="0">
                   <center><font color="red"><b>No Employees Found</b></font></center>
              </logic:equal>
              <logic:greaterThan name="size" value="0">
                   <table border="1">
                        <tr>
                             <th>Name</th>
                             <th>Social Security number</th>
                        </tr>
                        <logic:iterate id="result" name="searchForm" property="results">
                        <tr>
                             <td><bean:write name="result" property="name"/></td>
                             <td><bean:write name="result" property="ssNum"/></td>
                        </tr>
                        </logic:iterate>
                   </table>
              </logic:greaterThan>
    </logic:present>
    </body>
    </html>

  • Getting xml serializer exception

    dont know what this mean, did anybody got this exception before.
    Searched on google but got few results only which were not helpful.
    Frustrated posting this here . if anybody has seen this and resolved this , give me tips on how to get this working or atleast what could be cause of this problem.
    java.lang.NullPointerException
    at org.apache.xml.serialize.OutputFormat.whichMethod(Unknown Source)
    at org.apache.xml.serialize.OutputFormat.<init>(Unknown Source)
    at com.tibco.portalservices.administrator.AbstractDOMDeploymentDescriptorEditor.update(AbstractDOMDeploymentDesc
    riptorEditor.java:125)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.administrator.consoles.deploymentconfiguration.ServiceDetailPane.update(ServiceDetailPane.java:94)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractFrame.update(AbstractFrame.java:101)
    at com.tibco.wfc.FramesetComponent.update(FramesetComponent.java:186)
    at com.tibco.wfc.AbstractContainer.update(AbstractContainer.java:32)
    at com.tibco.wfc.AbstractFrame.update(AbstractFrame.java:101)
    at com.tibco.wfc.FrameManager.a(FrameManager.java:235)
    at com.tibco.wfc.FrameManager.service(FrameManager.java:142)
    at com.tibco.administrator.AdministratorServlet.service(AdministratorServlet.java:843)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)
    at java.lang.Thread.run(Thread.java:595)

    There is no HashMap in your ArrayList. Take a look at this line:
    selectedDataList.add(searchList);I think a object f type SearchBean is added to the list here. This is no HashMap I presume.
    Please use code tags when posting code. This looks lke this:
    public String getSelectedItems() {
    // Get selected items.
    HashMap map = new HashMap();
    DeleteContentDialog deleteContentDialog = new DeleteContentDialog();
    selectedDataList = new ArrayList();
    for (SearchBean searchList : searchResultdetails) {
    System.out.println("Inside getSelectedItems.........Inside for"+searchList);
    if (searchList.isSelected()) {
    System.out.println("Inside getSelectedItems........searchList."+searchList);
    selectedDataList.add(searchList);
    searchList.setSelected(false); // Reset.
    try {
    for(int i=0;i<selectedDataList.size();i++){
    System.out.println("Inside the delete Method");
    System.out.println("selectedDataList is "+selectedDataList.get(i));
    if (selectedDataList.size() != 0)
    System.out.println("Array List is having = "selectedDataList.size()" records");
    //printValuesTest(medianList);
    System.out.println("**************THESE ARE THE VALUES OF THE HASHMAP AT THE INDEX = "+i);
    map = (HashMap)selectedDataList.get(i);
    if (map.size() != 0)
    Iterator iterator = map.keySet().iterator();
    while (iterator.hasNext())
    String key = (String) iterator.next();
    String value = (String) map.get(key);
    System.out.println("Key = "key " and Value = "+value);
    deleteContentDialog.init(map);
    else
    System.out.println("Hashmap is empty");
    catch(Exception e){
    e.printStackTrace();
    return "deletedFile"; // Navigation case.
    }

  • SevletContextImpl not serializable exception when one cluster is restarted.

    Hello,
              I am using WLS 5.1 SP8 with apache plug-in and in-memory session
              replication. There is one proxy server and two cluster: A and B. I started
              cluster A and B together and each cluster would "see" each other. I shut
              down cluster A and my session will continue working fine on cluster B.
              However, when I restart cluster A, I get the the following stack trace from
              cluster B:
              Mon Apr 02 12:04:56 PDT 2001:<I> <Cluster> Adding server
              6345049800752707933S172
              .17.17.77:[80,80,443,443,80,-1] to cluster view
              Mon Apr 02 12:04:57 PDT 2001:<E> <Kernel> ExecuteRequest failed.
              java.io.NotSerializableException:
              weblogic.servlet.internal.ServletContextImpl
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.io.IOException.<init>(Compiled Code)
              at
              java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              at
              java.io.NotSerializableException.<init>(NotSerializableException.java
              :31)
              at java.io.ObjectOutputStream.outputObject(Compiled Code)
              at java.io.ObjectOutputStream.writeObject(Compiled Code)
              at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
              at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
              at java.io.ObjectOutputStream.outputObject(Compiled Code)
              at java.io.ObjectOutputStream.writeObject(Compiled Code)
              at java.util.Hashtable.writeObject(Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at java.lang.reflect.Method.invoke(Compiled Code)
              at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
              at java.io.ObjectOutputStream.outputObject(Compiled Code)
              at java.io.ObjectOutputStream.writeObject(Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              at
              weblogic.servlet.internal.session.ReplicatedSession.writeExternal(Replicated
              Session.java:74)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(Co
              mpiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(Compiled
              Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compi
              at
              weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled Code)
              at weblogic.rmi.extensions.AbstractOutputStream.writeObject(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              ager_WLStub.java:86)
              at
              weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              at
              weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              ationManager.java:582)
              at
              weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              sh.java:207)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              --------------- nested within: ------------------
              weblogic.rmi.MarshalException: error marshalling arguments
              - with nested exception:
              [java.io.NotSerializableException:
              weblogic.servlet.internal.ServletContextImpl]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.io.IOException.<init>(Compiled Code)
              at weblogic.common.T3Exception.<init>(T3Exception.java:47)
              at weblogic.rmi.RemoteException.<init>(RemoteException.java:41)
              at weblogic.rmi.MarshalException.<init>(MarshalException.java:31)
              at
              weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              ager_WLStub.java:90)
              at
              weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              at
              weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              ationManager.java:582)
              at
              weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              sh.java:207)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              --------------- nested within: ------------------
              weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
              exception - w
              ith nested exception:
              [weblogic.rmi.MarshalException: error marshalling arguments
               - with nested exception:
              [java.io.NotSerializableException:
              weblogic.servlet.internal.ServletContextImpl]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              at
              weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.java:23)
              at
              weblogic.rmi.extensions.RemoteRuntimeException.<init>(RemoteRuntimeException
              .java:22)
              at
              weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              ager_WLStub.java:108)
              at
              weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              at
              weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              ationManager.java:582)
              at
              weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              sh.java:207)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              I looked everywhere in our code and we don't store ServletContext object
              anywhere in the session level..Can someone give me some hints as to what the
              problem is?
              Thanks for your help in advance.
              Vincent
              

    You probably have a non serializable object in your session.
              You can have only serializable data in the session.
              Cheers,
              -- Prasad
              Vincent Shek wrote:
              > Hello,
              >
              > I am using WLS 5.1 SP8 with apache plug-in and in-memory session
              > replication. There is one proxy server and two cluster: A and B. I started
              > cluster A and B together and each cluster would "see" each other. I shut
              > down cluster A and my session will continue working fine on cluster B.
              > However, when I restart cluster A, I get the the following stack trace from
              > cluster B:
              >
              > Mon Apr 02 12:04:56 PDT 2001:<I> <Cluster> Adding server
              > 6345049800752707933S172
              > .17.17.77:[80,80,443,443,80,-1] to cluster view
              > Mon Apr 02 12:04:57 PDT 2001:<E> <Kernel> ExecuteRequest failed.
              > java.io.NotSerializableException:
              > weblogic.servlet.internal.ServletContextImpl
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.io.IOException.<init>(Compiled Code)
              > at
              > java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              > at
              > java.io.NotSerializableException.<init>(NotSerializableException.java
              > :31)
              > at java.io.ObjectOutputStream.outputObject(Compiled Code)
              > at java.io.ObjectOutputStream.writeObject(Compiled Code)
              > at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
              > at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
              > at java.io.ObjectOutputStream.outputObject(Compiled Code)
              > at java.io.ObjectOutputStream.writeObject(Compiled Code)
              > at java.util.Hashtable.writeObject(Compiled Code)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at java.lang.reflect.Method.invoke(Compiled Code)
              > at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
              > at java.io.ObjectOutputStream.outputObject(Compiled Code)
              > at java.io.ObjectOutputStream.writeObject(Compiled Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              > at
              > weblogic.servlet.internal.session.ReplicatedSession.writeExternal(Replicated
              > Session.java:74)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(Co
              > mpiled Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(Compiled
              > Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compi
              > at
              > weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled Code)
              > at weblogic.rmi.extensions.AbstractOutputStream.writeObject(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              > ager_WLStub.java:86)
              > at
              > weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              > ationManager.java:582)
              > at
              > weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              > sh.java:207)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              >
              > --------------- nested within: ------------------
              > weblogic.rmi.MarshalException: error marshalling arguments
              > - with nested exception:
              > [java.io.NotSerializableException:
              > weblogic.servlet.internal.ServletContextImpl]
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.io.IOException.<init>(Compiled Code)
              > at weblogic.common.T3Exception.<init>(T3Exception.java:47)
              > at weblogic.rmi.RemoteException.<init>(RemoteException.java:41)
              > at weblogic.rmi.MarshalException.<init>(MarshalException.java:31)
              > at
              > weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              > ager_WLStub.java:90)
              > at
              > weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              > ationManager.java:582)
              > at
              > weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              > sh.java:207)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              > --------------- nested within: ------------------
              > weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
              > exception - w
              > ith nested exception:
              > [weblogic.rmi.MarshalException: error marshalling arguments
              >  - with nested exception:
              > [java.io.NotSerializableException:
              > weblogic.servlet.internal.ServletContextImpl]
              > ]
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              > at
              > weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.java:23)
              > at
              > weblogic.rmi.extensions.RemoteRuntimeException.<init>(RemoteRuntimeException
              > .java:22)
              > at
              > weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              > ager_WLStub.java:108)
              > at
              > weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              > ationManager.java:582)
              > at
              > weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              > sh.java:207)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              >
              > I looked everywhere in our code and we don't store ServletContext object
              > anywhere in the session level..Can someone give me some hints as to what the
              > problem is?
              >
              > Thanks for your help in advance.
              >
              > Vincent
              

  • Serializable Exception

    Hi:
    I have a JSF application that works fine.
    I do have in the Tomcat logs the following exception
    WARNING: Cannot serialize session attribute SessionBean1 for session 92B0E4668AA791BD626F99DB1DC5A841
    java.io.NotSerializableException: com.motorola.mmu.ParmItemThis ParmItem is a simple class that has getters and Setters for an simple Item object.
    1. Why is JSF trying to serialize this?
    2. Should I add the Serializable interface to this class
    3. Is there a good example to this?
    Thanks

    Apparently you've configured Tomcat so that it persists sessions on disk (e.g. for clustering or for recovering on restart). In this case all session attributes should be serializable. Just let it implement java.io.Serializable. Read its API document for more details and how to use serialVersionUID: http://java.sun.com/javase/6/docs/api/java/io/Serializable.html Or if you don't need clustering or recovering on restart, then disable it in the Tomcat configuration.

  • Exception again but not previous

    Hi
    now the given example is running well
    my code is creating this error or exception
    Exception:
    java.sql.SQLException: ORA-00917: missing comma
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled Code)
         at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled Code)
         at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java, Compiled Code)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java, Compiled Code)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java, Compiled Code)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java, Compiled Code)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java, Compiled Code)
         at fileSave.insertNewPhoto(filesave.java:69)
         at demo.jsp._docInsert._jspService(_docInsert.java:154)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java, Compiled Code)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java, Compiled Code)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java, Compiled Code)
         at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
         at oracle.jsp.JspServlet.service(JspServlet.java, Compiled Code)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
         at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
         at java.lang.Thread.run(Thread.java:479)

    <%@ page language="java" %>
    <%@ page import="fileSave" %>
    <%@ page import="oracle.ord.im.OrdHttpJspResponseHandler" %>
    <%@ page import="oracle.ord.im.OrdHttpUploadFormData" %>
    <%@ page import="oracle.ord.im.OrdHttpUploadFile" %>
    <jsp:useBean id = "docb" scope = "page" class = "fileSave"/>
    <jsp:useBean id = "handler" scope = "page" class = "oracle.ord.im.OrdHttpJspResponseHandler"/>
    <jsp:useBean id = "formData" scope = "page"
    class = "oracle.ord.im.OrdHttpUploadFormData"/>
    <%
    String doc_id;
    String to;
    String from;
    String sub;
    String desc;
    OrdHttpUploadFile uploaddoc = null;
    try
    formData.setServletRequest(request);
    if (!formData.isUploadRequest())
    %>
    <jsp:forward page = "docload.jsp"/>
    <%
    return ;
    formData.parseFormData();
    to = formData.getParameter("to");
    from = formData.getParameter("from");
    sub = formData.getParameter("sub");
    desc = formData.getParameter("desc");
    uploaddoc = formData.getFileParameter("doc");
    if (uploaddoc == null ||
    uploaddoc.getOriginalFileName() == null ||
    uploaddoc.getOriginalFileName().length() == 0)
    %>
    <jsp:forward page = "docload.jsp?error = Please + give + doc + name."/>
    <%
    return;
    if (uploaddoc.getContentLength() == 0)
    %>
    <jsp:forward page = "loaddoc.jsp?error = Please + give + File. "/>
    <%
    return ;
    //docb.setDoc_id(doc_id);
    docb.setTo(to);
    docb.setFrom(from);
    docb.setSub(sub);
    docb.setDesc(desc);
    docb.insertNewPhoto(uploaddoc);
    finally
    //docb.release();
    // formData.release();
    %>
    <html>
    <head>
    <title>File Insertion jsp page</title>
    </head>
    <body>
    <h3>Document load page</h3>
    </body>
    </html>
    fileSave code is here
    import java.util.*;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.ServletException;
    import oracle.jdbc.driver.*;
    import oracle.ord.im.OrdDoc;
    import oracle.ord.im.OrdHttpUploadFile;
    import oracle.ord.im.OrdMediaUtil;
    public class fileSave
         private final static String EMPTY_DOC = "ordsys.ordDoc.init()";
         private OracleConnection conn;
         private OraclePreparedStatement stmt;
         private OracleResultSet rset;
         private static Stack connStack = new Stack();
         private static boolean driverLoaded = false;
         String doc_id;
         String to;
         String from;
         String sub;
         String desc;
         OrdDoc doc;
         public void selectTable() throws SQLException
              if (conn == null)
                   getConnection();
                   stmt = (OraclePreparedStatement)conn.prepareStatement(
                                  "select * from doc_table");
                   rset =(OracleResultSet)stmt.executeQuery();
         public void selectRowByDoc_id(String doc_id) throws SQLException
                   if (conn == null)
                             getConnection();
                   stmt = (OraclePreparedStatement)conn.prepareStatement(
                                                                     "select * from doc_table where doc_number = ?");
                        stmt.setString(1, doc_id);
                        rset = (OracleResultSet)stmt.executeQuery();
         public boolean fetch() throws SQLException
                   if (rset.next())
                        doc_id = rset.getString(1);
                        to = rset.getString(2);
                        from = rset.getString(3);
                        sub = rset.getString(4);
                        desc = rset.getString(5);
                        doc = (OrdDoc)rset.getCustomDatum(6,OrdDoc.getFactory() );
                             return true;
                             else
                             rset.close();
                             stmt.close();
                             return false;
    public void insertNewPhoto(OrdHttpUploadFile uploaddoc)
    throws SQLException, ServletException, IOException
    if (conn == null)
         getConnection();
                             conn.setAutoCommit(false);
              OraclePreparedStatement stmt =     
                                            (OraclePreparedStatement)conn.prepareStatement(          
         "select doc_sequence.nextval from dual" );
    OracleResultSet rset = (OracleResultSet)stmt.executeQuery();
         if (!rset.next() )     {
         throw new ServletException( "new ID not found" );
              String doc_id = rset.getString( 1 );     
    rset.close();
    stmt.close();
    stmt = (OraclePreparedStatement)conn.prepareStatement(
    "insert into doc_table(doc_number, to_user, from_user,subject, description, doc)" +
                                       "values(?,?,?,?,?,ORDSYS.ORDDoc.init())");
                             stmt.setString(1,doc_id);
                             stmt.setString(2,to);
                             stmt.setString(3,from);
                             stmt.setString(4,sub);
                             stmt.setString(5,desc);
                             stmt.executeUpdate();
                             stmt.close();
                             stmt = (OraclePreparedStatement)conn.prepareStatement(
                        "select doc from doc_table where doc_number = ? for update");
                             stmt.setString(1, doc_id);
                             rset = (OracleResultSet)stmt.executeQuery();
                             if (!rset.next())
         throw new ServletException("new row not found in table");
    doc = (OrdDoc)rset.getCustomDatum(1,OrdDoc.getFactory());
    rset.close();
    stmt.close();
    uploaddoc.loadDoc(doc);
    stmt = (OraclePreparedStatement)conn.prepareStatement(
    "update doc_table set doc = ? where doc_number = ? ");
    stmt.setCustomDatum(1,doc);
    stmt.setString(2,doc_id);
    stmt.execute();
    stmt.close();
    conn.commit();
    public void release() throws SQLException
    if (rset != null)
    rset.close();
    rset = null;
    if (stmt != null)
    stmt.close();
    rset = null;
    if (conn != null)
    freeConnection(conn);
    conn = null;
    public String getDoc_id()
    return doc_id;
    public void setDoc_id(String doc_id)
    this.doc_id = doc_id;
    public String getTo()
    return to;
    public void setTo(String to)
    this.to = to;
    public String getFrom()
    return from;
    public void setFrom(String from)
    this.from = from;
    public String getSub()
    return sub;
    public void setSub(String sub)
    this.sub = sub;
    public String getDesc()
    return desc;
    public void setDesc(String desc)
    this.desc = desc;
    public OrdDoc getDoc()
    return doc;
    public void setDoc(OrdDoc doc)
    this.doc = doc;
    private Connection getConnection()
    throws SQLException
    //Connection conn = null;
    synchronized(connStack)
    if(!driverLoaded)
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    driverLoaded = true;
    if (connStack.empty())
                                       conn =(OracleConnection)DriverManager.getConnection
                   ("jdbc:oracle:oci8:@", "kashif", "raojee");
                                            try
                                            OrdMediaUtil.imCompatibilityInit(conn);
                                            catch (Exception e)
                                            throw new SQLException(e.toString());
                                                 else
    conn = (OracleConnection)connStack.pop();
    conn.setAutoCommit(true);
    return conn;
    private void freeConnection(Connection conn)
    if(conn != null)
    synchronized(connStack)
    connStack.push(conn);

  • Datum exception (again!)

    Hello,
    I'm still getting the datum exception that someone mentioned
    a while back:
    D:\OracleXSU\sample>java samp1
    Exception in thread "main" java.lang.NoClassDefFoundError:
    oracle/sql/datum at
    oracle.xml.sql.query.OracleXMLQuery.<init><OracleXMLQuery.java:13
    3>
    at samp1.main(samp1.java:32)
    I have tried both jdk1.2 and jdk1.1.8; I am using the Oracle
    JDBC drivers that come with oracle 8i. I have looked through
    various .jar files and cannot find the oracle.sql.datum class.
    Does anyone have any ideas?
    Help!
    Jared
    null

    Hi Jared,
    Did u set the CLASSPATH to point correctly to the JDK1.1.8
    executables? The oracle.sql.Datum is not present in the 8.0.x
    versions but is present in the 8.1.x JDBC drivers. I think the
    problem comes if u are trying to use the JDK 2.0.
    Could u please check that? Also which database version are u
    using?
    Thx
    Oracle XML team
    Jared MacDonald (guest) wrote:
    : Hello,
    : I'm still getting the datum exception that someone mentioned
    : a while back:
    : D:\OracleXSU\sample>java samp1
    : Exception in thread "main" java.lang.NoClassDefFoundError:
    : oracle/sql/datum at
    oracle.xml.sql.query.OracleXMLQuery.<init><OracleXMLQuery.java:13
    : 3>
    : at samp1.main(samp1.java:32)
    : I have tried both jdk1.2 and jdk1.1.8; I am using the Oracle
    : JDBC drivers that come with oracle 8i. I have looked through
    : various .jar files and cannot find the oracle.sql.datum class.
    : Does anyone have any ideas?
    : Help!
    : Jared
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Exception again???help

    Hi guyz ,
    I have something till now also not clear.
    What is the benefit of exception ,refer to this 2 codes.
    By looking at the code ,second code is much more shorter and easy to understand but doing the same thing as the first code where using exception.So ,what are the benefits.
    Refer to the first code ,is defining like this can code reuse of the exception class(DivisionByZeroException) or exception grouping for the "code reuse and data abstraction purpose"?
    First Code
    ==========
    class DivisionByZeroException extends Exception {                      // (1)
    public DivisionByZeroException(String msg) { super(msg); }
    public class DivisionByZero6 {
    public void division() throws DivisionByZeroException {            // (2)
    int num1 = 10;
    int num2 = 0;
    if (num2 == 0) throw new DivisionByZeroException("/ by 0"); // (3)
    System.out.println(num1 + " / " + num2 + " = " + (num1 / num2));
    System.out.println("Returning from division.");
    public static void main(String args[]) {
    try {                                                         // (4)
    new DivisionByZero6().division();
    } catch (DivisionByZeroException e) {                         // (5)
    System.out.println("In main, dealt with " + e);
    } finally {                                                   // (6)
    System.out.println("Finally done in main.");
    System.out.println("Returning from main."); // (7)
    Second Code
    ===========
    public class DivisionByZero6 {
    public void division(){            // (2)
    int num1 = 10;
    int num2 = 0;
    if ( num2 != 0)
    System.out.println(num1 + " / " + num2 + " = " + (num1 / num2));
    System.out.println("Returning from division.");
    else
    {System.out.println("Deal with division by / by 0");} // (3)
    public static void main(String args[])
    new DivisionByZero6().division();
    System.out.println("Returning from main."); // (7)

    Hi ,
    I understand the purpose of exception is for the robustness of data valitidy especially critical application .What i do not understand is why handling run time error must use java rules which is exception and run time error able to handle others simpler ways like some comparison syntax ..
    Hope you understand my question....

  • TOPLink serialization exception

    When switching from a single server deployment to a (single) server in a
              cluster.
              I suddenly get the exception as shown in the stacktrace below.
              Is this a known bug? Or am I doing something wrong?
              Thanks Toby
              Fri Dec 03 14:10:48 GMT+02:00 1999:<E> <MulticastSocket>
              java.io.NotSerializableException:
              TOPLink.Public.ThreeTier.ExternalConnecti
              onPool
              at
              java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java,
              Compiled Code)
              at
              java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java, Compiled
              Code)
              at java.util.Hashtable.writeObject(Hashtable.java, Compiled
              Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at
              java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java,
              Compiled Code)
              at
              java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java,
              Compiled Code)
              at
              java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java, Compiled
              Code)
              at
              java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java,
              Compiled Code)
              at
              java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java,
              Compiled Code)
              at
              java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java,
              Compiled Code)
              at
              java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java, Compiled
              Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.cluster.BasicServiceOffer.writeObject(BasicServiceOffer.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeArrayList(WLObjectOutputStreamBase.java,
              Compiled Code)
              at weblogic.cluster.Announcement.writeObject(Announcement.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutputStreamBase.java,
              Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutputStreamBase.java,
              Compiled Code)
              at weblogic.cluster.TMSocket.send(TMSocket.java, Compiled Code)
              at weblogic.cluster.TMSocket.start(TMSocket.java, Compiled Code)
              at weblogic.cluster.ClusterManager.start(ClusterManager.java,
              Compiled Code)
              at weblogic.cluster.ClusterMain.start(ClusterMain.java, Compiled
              Code)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java, Compiled
              Code)
              at weblogic.Server.main(Server.java, Compiled Code)
              

    Hi folks,
              Are there any outstanding problems with this that have not been dealt with
              through TOPLink for WebLogic support? Just looking at the exception
              stack trace it looks like the TOPLink session is trying to be serialized.
              This will occur if it has been put in JNDI, since clusters will replicate
              the JNDI namespace across the cluster. If this isn't what you are seeing
              then please let us know at [email protected]
              Note that the first GA release of TOPLink for WebLogic did put the
              session in JNDI, but this was changed in every release after that one.
              Regards,
              Mike Keith
              TOPLink for Weblogic
              Steve Cramer <[email protected]> wrote in message
              news:[email protected]...
              > Any news on this (from either BEA or TOPLink)? We're seeing this
              identical
              > behavior in the WLS 5.1 GA release, using TOPLink for Java v 2.5.1
              > (pre-release 1). Please respond if you've had any updates.
              >
              > Thanks,
              > cramer
              >
              > Tobias Christen <[email protected]> wrote in message
              > news:[email protected]...
              > > Sorry,
              > >
              > > I mixed up two open issues with TopLink.
              > > The bug this thread is concerned about is not cured with
              > > SP3 and never was intended. TopLink never made a statement
              > > on fixing this bug. Please excuse my misinformation. The bug
              > > was reported to TopLink this morning. If it is resolved
              > > I´ll mail the solution to this thread.
              > >
              > > Toby
              > >
              > > Christopher Lynch wrote:
              > >
              > > > Hi,
              > > > We are experiencing pretty much if not the same exception when we
              try
              > to cluster
              > > > our weblogic servers.
              > > >
              > > > Please let me know if you have any more insight on this problem.
              > > >
              > > > Thank You,
              > > >
              > > > Chris Lynch
              > > > TravelNow.com
              > > >
              > > > Tobias Christen wrote:
              > > >
              > > > > Thanks,
              > > > >
              > > > > I certainly checked with them as well, they said they are working
              > > > > with you on this ;-) and let us know when it is fixed.
              > > > >
              > > > > Happy Day
              > > > >
              > > > > Michael Girdley wrote:
              > > > >
              > > > > > Tobias,
              > > > > >
              > > > > > Have you checked with TOPLink support to know if this is a known
              > problem? I
              > > > > > have not heard of it before. In any case, the Object People are
              > your best
              > > > > > resource for these kind of questions about TOPLink.
              > > > > >
              > > > > > Thanks!
              > > > > >
              > > > > > --
              > > > > > Michael Girdley
              > > > > > BEA Product Manager
              > > > > >
              > > > > > Tobias Christen <[email protected]> wrote in message
              > > > > > news:[email protected]...
              > > > > > > When switching from a single server deployment to a (single)
              > server in a
              > > > > > > cluster.
              > > > > > > I suddenly get the exception as shown in the stacktrace below.
              > > > > > >
              > > > > > > Is this a known bug? Or am I doing something wrong?
              > > > > > >
              > > > > > > Thanks Toby
              > > > > > >
              > > > > > >
              > > > > > > Fri Dec 03 14:10:48 GMT+02:00 1999:<E> <MulticastSocket>
              > > > > > > java.io.NotSerializableException:
              > > > > > > TOPLink.Public.ThreeTier.ExternalConnecti
              > > > > > > onPool
              > > > > > > at
              > > > > > > java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java,
              > Compiled
              > > > > > > Code)
              > > > > > > at java.util.Hashtable.writeObject(Hashtable.java,
              > Compiled
              > > > > > > Code)
              > > > > > > at java.lang.reflect.Method.invoke(Native Method)
              > > > > > > at
              > > > > > >
              > java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > > java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java,
              > Compiled
              > > > > > > Code)
              > > > > > > at
              > > > > > >
              > java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > > java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java,
              > Compiled
              > > > > > > Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutput
              > > > > > StreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(WLObjectOutpu
              > > > > > tStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutput
              > > > > > StreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutp
              > > > > > utStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > weblogic.cluster.BasicServiceOffer.writeObject(BasicServiceOffer.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(WL
              > > > > > ObjectOutputStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(WLObjectOu
              > > > > > tputStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutput
              > > > > > StreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutp
              > > > > > utStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeArrayList(WLObjectOut
              > > > > > putStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > weblogic.cluster.Announcement.writeObject(Announcement.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(WL
              > > > > > ObjectOutputStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(WLObjectOu
              > > > > > tputStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutput
              > > > > > StreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at
              > > > > > >
              > > > > >
              >
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutp
              > > > > > utStreamBase.java,
              > > > > > > Compiled Code)
              > > > > > > at weblogic.cluster.TMSocket.send(TMSocket.java,
              Compiled
              > Code)
              > > > > > > at weblogic.cluster.TMSocket.start(TMSocket.java,
              Compiled
              > Code)
              > > > > > >
              > > > > > > at
              > weblogic.cluster.ClusterManager.start(ClusterManager.java,
              > > > > > > Compiled Code)
              > > > > > > at weblogic.cluster.ClusterMain.start(ClusterMain.java,
              > Compiled
              > > > > > > Code)
              > > > > > > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled
              > Code)
              > > > > > > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled
              > Code)
              > > > > > > at java.lang.reflect.Method.invoke(Native Method)
              > > > > > > at weblogic.Server.startServerDynamically(Server.java,
              > Compiled
              > > > > > > Code)
              > > > > > > at weblogic.Server.main(Server.java, Compiled Code)
              > > > > > >
              > >
              >
              >
              

  • ClassCast Exception Again

    The problem follows:
              I have session bean (all classes are in the example package) MySession.
              From some Java Bean I access my session bean like this:
              Context ic = new InitialContext();
              Object objref = ic.lookup("MySessionJNDI");
              mySessionHome = (example.MySessionHome)
              PortableRemoteObject.narrow(objref, example.MySessionHome.class);
              But, after this line I get the exception:
              java.lang.ClassCastException: example.MySessionEJBHomeImpl_ServiceStub
              Can anyone help me?
              Peter.
              

    I am so sory, but this did not help.
              Do you have some other idea what might be a problem?
              Thanks.
              "Sajan" <[email protected]> wrote in message
              news:[email protected]...
              >
              > hi peter,
              > what I can guess u need to provide few details to as parameter
              > to InitialContext(*****);
              > I am writing few lines here,
              >
              > Properties h = new Properties();
              > h.put(Context.INITIAL_CONTEXT_FACTORY,
              "weblogic.jndi.WLInitialContextFactory");
              > h.put(Context.PROVIDER_URL, "t3://localhost:7001");
              > h.put(Context.SECURITY_PRINCIPAL, "system");
              > h.put(Context.SECURITY_CREDENTIALS , "password");
              >
              > Context ctx = new InitialContext(h);
              > Object obj = (Object)ctx.lookup("MySessionJNDI");
              > MySesHome home = (MySesHome)PortableRemoteObject.narrow(obj,
              MySesHome.class);
              >
              >
              > after this u can get reference to remote interface as
              > MySesRemote remot = home.create()
              >
              > hope this works,
              > bye
              > sajan
              >
              > "Peter" <[email protected]> wrote:
              > >The problem follows:
              > > I have session bean (all classes are in the example package)
              MySession.
              > > From some Java Bean I access my session bean like this:
              > > Context ic = new InitialContext();
              > > Object objref = ic.lookup("MySessionJNDI");
              > > mySessionHome = (example.MySessionHome)
              > >PortableRemoteObject.narrow(objref, example.MySessionHome.class);
              > >But, after this line I get the exception:
              > > java.lang.ClassCastException:
              example.MySessionEJBHomeImpl_ServiceStub
              > > ....
              > >
              > >Can anyone help me?
              > >
              > >Peter.
              > >
              > >
              >
              

Maybe you are looking for

  • Error message in PSE 13

    I have been getting "could not complete your request because of program data error" messages when trying to open images in PSE 13.  I also can't run certain functions at times because it says I do not have enough RAM.  I have a brand new computer and

  • Table PBED - Change in Period indicator

    We have a few materials where the master data was wrongly maintained : the period indicator was set to M instead of P. Due to this setting, the data is stored in PBED using Date type 2 instead of 4. We have corrected the material master but we are no

  • Issue with FM CHANGEDOCUMENT_READ_POSITIONS

    Hello All, We have custom program and  using FM CHANGEDOCUMENT_READ_POSITIONS to read change documents ,partcularly material master changes , this function module takes more than 10 to 15 minutes time for each change document number ( I am using cdhd

  • Variables in BPS planning function

    Hi all; I don’t if this is possible but I’m trying to do the following formula: DATA OV TYPE 0SALESORG. DATA CD TYPE 0DISTR_CHAN. OV = VARV ('ZORGVE'). CD = VARV ('ZCANDI'). FOREACH OV, CD. {ZOV_QTD,CD,OV,L,V_PL_EST,020,ZMERCOVCD,ZPAOV03} = {ZOV_PERC

  • Problems whith ie 5.5 when use cfwindow tag

    I'm a problem to run correctly cfwindow tag within ie5.5 using as client browser. The only problem that's 'drag n drop' feature don't works (in comparaison with ie6 or 7 , ... which have a a right execution) Do you have an idea ? thank's a lot:smile;