Using Response Oneway bean in PI7.1 throwing error

Hi Folks
Has any body used Response One way bean  in  PI 7.1 ? . I have a scenariofor File-RFC -File  in which  I am trying to Implement it    I have gone through the blogs for File-RFC -File without BPM .
i have also gone through the documentation for adding the request response bean and one way response bean  for PI 7.1 on help.sap.com . But unfortunately  that blog is not working and  also   i tried all permutations and combinations for  adding parameters  as per help.sap.com  for Pi7.1
I followed these links
http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/20cc5dc2180733e10000000a155369/content.htm
http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/20c210c20a0732e10000000a155369/content.htm
File-RFC-File Synchronous scenario error
I am getting a null pointer exception error  in sender communication channel monitoring
Error: java.lang.NullPointerException
Please help in this regard
Thanks
Ninad

Has anybody used  Response Oneway bean for File-RFC-File scenario in PI 7.1
My Response  file is getting created but I ma unbale to delete my request input file  even though my  Sender communication channel  is in delete mode and In communication channel monitoring  its giving null pointer exception error
Can anyone check whats the issue in this  ,
I am running this scenario on service pack 8  Pi 7.1
Regards
Ninad

Similar Messages

  • Acrobat Standard 9 : app.viewerVersion is throwing error.

    I'm using Acrobat 9 standard in Windows platform.
    I have a vb 6.0 application and I have to find the version of
    Acrobat installed on the user machine. I'm using the below code but it is throwing error :
    Error Message:
    Run-time error '-2147417851 (80010105)':
    Automation error
    The server threw an exception "
    How can I find the version of Acrobat available in a
    machine? The below code works with Acrobat 8.0
    installed machine but fails with Acrobat 9.0 standard
    Dim oAVDoc As Acrobat.CAcroAVDoc
    Dim oPDDoc As Acrobat.CAcroPDDoc
    Dim oJSO As Object
    Dim iOK As Boolean
    Private Sub Form_Load()
    Set oAVDoc = CreateObject("AcroExch.AVDoc")
    iOK = oAVDoc.Open ("<< required parameters>>")
    Set oPDDoc = oAVDoc.GetPDDoc
    Set oJSO = oPDDoc.GetJSObject
    MsgBox (oJSO.App.viewerVersion)

    I get much the same problem with VB6, Acrobat 9 Pro and WinXP SP3. When I single step the line:
    oJSO.Collab.showAnnotToolsWhenNoCollab = True
    in debug I go to the error handler for my Sub. Inspecting the VB Err object has Number = -2147417851 and Description = "Automation error
    The server threw an exception." I get a Microsoft crash notice about Acrobat a short while later.
    I've experimented with the JavaScript debugger in Acrobat and you can execute Collab.showAnnotToolsWhenNoCollab = True and reference the value of Collab.showAnnotToolsWhenNoCollab in the console. The problem appears only when accessing Acrobat Javascript through the Interapplication Communication API.
    If anyone can help it would be appreciated. I tried Adobe's Acrobat support and they were no help at all.

  • Connecting to a database in JSP but using connection in bean

    I have a bean which connects to a database which is as follows:
    package MyPackage;
    import java.sql.*;
    public class DataSourceBean{
            public DataSourceBean(){
         public void setDriver(String driver) throws ClassNotFoundException {
              Class.forName(driver);
         public void setUrl(String aUrl){
              url=aUrl;
         public void setUsername(String aUsername){
              username=aUsername;
         public void setPassword(String aPassword){
              password=aPassword;
         public static Connection getConnection() throws SQLException{
              return DriverManager.getConnection(url, username, password);
         private static String url;
         private static String username;
         private static String password;
    }I then connect to a database through my JSP page:
    <jsp:useBean id="db" class="MyPackage.DataSourceBean" scope="application">
       <jsp:setProperty name="db" property="driver" value="sun.jdbc.odbc.JdbcOdbcDriver" />
       <jsp:setProperty name="db" property="url" value="jdbc:odbc:MyDB" />
    </jsp:useBean>This opens the database for the session, but I then want to allow people to login using a seperate bean.
    My question is how do I use the connection created in the JSP page above in my login bean?
    I have also tried connecting to a database in my LoginBean by using:
    DataSourceBean dsb=new DataSourceBean();
    yet it doesn't recognise DataSourceBean for some reason.
    BTW my book suggests opening up the database using scope="application" but to me it seems that keeping the database open is risky, is it OK to keep the database open for the whole session? do you have any other suggestions for accessing the database through my DataSourceBean?
    Thanks for any help.

    hi shock,
    there are a number of considerations when it comes to the database connections.
    first of all is the database server yours or are you buying a hosting scheme?
    if the database server is yours then you may consider building a database connection pool and keeping it in a session parameter. there's no harm in that because connections are opened as needed and closed when not needed. you can specify the minimum and maximum number of connections and connectio keep-alive times.
    if you purchase your database from a host they possibly would object to having a db connection pool as connections are valuable for them. but in this case there is no harm to create a connection to the database per request because creating database connections are costly only for the database server. your application will not slow down that much.
    for performance check sites: www.crystaltours.com or www.seckinkonaklar.com
    in both sites all connections are created per request and the complete content (including menus and application properties) comes from the database.
    my suggestion is that if you are writing a commercial application that will be hosted in a server that is not yours then create a connection per request (no pooling here).
    i also would suggest to put your database access code in a single class -not in a bean- for easy maintenance, you can use that class in your beans.
    i hope this was your answer.
    cem.

  • Throwing error from backing bean on button click?

    Hi Everyone,
    i have two lovs out of 2 lovs user has to select atleast one lov value and click on find button.
    On clicking on find button im getting lov values if atleast one is not selected i need to throw one error message.
    How can i throw error message?
    Thanks.

    Hi,
    i used this code:
    public String showMessage() {
    System.out.println("inside error msg");
    String messageText="Please select emp or ename";
    FacesMessage fm = new FacesMessage(messageText);
    * set the type of the message.
    * Valid types: error, fatal,info,warning
    //fm.setSeverity(FacesMessage.SEVERITY_INFO);
    fm.setSeverity(FacesMessage.SEVERITY_ERROR);
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(null, fm);
    System.out.println("end of error msg");
    return null;
    And called this method on clicking on find button in the method binding of the find button but it didnt show any error dialog bax rather it moved to the next page as usual.
    Code in the find backing bean:
    public String Find(){
    if(Emp.equalsIgnoreCase("ALL") && EmpNo.equalsIgnoreCase("ALL")) {
    String k=this.showMessage();
    return "Find"; // to navigate to next page
    what to do now?

  • How to delete a database record by using EJB entity beans

    Hi, All,
    Does anyone know how to use entity bean to delete a database record? I have all the EJB entity beans created, including access beans to each. I can successfully create records, find and update records, however, I haven't find a way to delete records yet.
    Your response is appreciated.
    Cathy

    Please see EJB Forums for continue discussion on this subject.
    Reference titile: "how to delete database record by using CMP entity beans "

  • Cannot save beans in a session OR use the same beans in multiple pages

    Hi all I use these code to my jsp file to create a session and store a bean.
    Unfortunately, the session cannot store the beans so that I can use them in the next page.What did I omit? Regardless the session scope, can I use request scope beans and with jsp:forward use them in multiple page? (I have tried it but it doesn't work).
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page session="true"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%
    String nextPage = request.getParameter("np");
    if(nextPage.equalsIgnoreCase("checkDate")){
    %>
      <jsp:useBean id="checkDate" scope="request" class="essex.kkarad.beans.checkDateBean" />
      <jsp:setProperty name="checkDate" property="*"/>
    <%
        checkDate.validate();
    %>
    <jsp:forward page="Availability.jsp"></jsp:forward>
    <%
    } else if(nextPage.equalsIgnoreCase("checkRooms")) {
    %>
    <jsp:useBean id="checkRooms" scope="request" class="essex.kkarad.beans.checkRoomsBean" />
    <jsp:setProperty name="checkRooms" property="*"/>
    <%
       if(!checkRooms.validate()){
    %>
    <jsp:forward page="Availability.jsp"></jsp:forward>
    <%
    %>
    <%
    %>

    You should also be encoding the URL so that you don't have to worry about loosing the session if the user has cookies turned off:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page session="true"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%
      String nextPage = request.getParameter("np");
      String availabilityPage = response.encodeURL("Availability.jsp");
      if(nextPage.equalsIgnoreCase("checkDate")){
    %>
      <jsp:useBean id="checkDate" scope="session" class="essex.kkarad.beans.checkDateBean" />
      <jsp:setProperty name="checkDate" property="*"/>
    <%
        checkDate.validate();
    %>
    <jsp:forward page="<%=availabilityPage%>"></jsp:forward>
    <%
      } else if(nextPage.equalsIgnoreCase("checkRooms")) {
    %>
    <jsp:useBean id="checkRooms" scope="session" class="essex.kkarad.beans.checkRoomsBean" />
    <jsp:setProperty name="checkRooms" property="*"/>
    <%
       if(!checkRooms.validate()){
    %>
    <jsp:forward page="<%=availabilityPage%>"></jsp:forward>
    <%
    %>
    <%
    %>

  • [jwsc] error: Response wrapper bean names must be unique ?

    I am trying to use wsdlc and jwsc on my existing WSDL file, with "type=JAXWS", I am getting this error
    "[jwsc] error: Response wrapper bean names must be unique and must not clash with other generated classes"
    What does it mean? And how can I resolve this?
    Here is the full stack trace:
    build-service:
    [jwsc] JWS: processing module /com/covergence/ws/callouts/CallOutsServiceImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /com/covergence/ws/callouts/CallOutsServiceImpl
    [jwsc] JWS: C:\source_tree\b3.3\ss\java\ws\sdk\build\weblogic\src\com\covergence\ws\callouts\CallOutsServiceImpl.java Validated.
    [jwsc] Processing 1 JAX-WS web services...
    [jwsc] error: Response wrapper bean names must be unique and must not clash with other generated classes. Class: com.covergence.ws.callouts.CallOutsPortType method getConfig(javax.xml.ws.Holder<java.util.List<com.covergence.ws.callouts.ConfigClassesType>>)
    [jwsc] Problem encountered during annotation processing;
    [jwsc] see stacktrace below for more information.
    [jwsc] [failed to localize] modeler.nestedGeneratorError(java.lang.IllegalArgumentException: trying to create the same field twice: config)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:302)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.processMethod(WebServiceWrapperGenerator.java:154)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitMethodDeclaration(WebServiceVisitor.java:449)
    [jwsc] at com.sun.tools.apt.mirror.declaration.MethodDeclarationImpl.accept(MethodDeclarationImpl.java:41)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.processMethods(WebServiceVisitor.java:374)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.postProcessWebService(WebServiceVisitor.java:338)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.postProcessWebService(WebServiceWrapperGenerator.java:125)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitInterfaceDeclaration(WebServiceVisitor.java:120)
    [jwsc] at com.sun.tools.apt.mirror.declaration.InterfaceDeclarationImpl.accept(InterfaceDeclarationImpl.java:32)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.inspectEndpointInterface(WebServiceVisitor.java:420)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:141)
    [jwsc] at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:300)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:224)
    [jwsc] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
    [jwsc] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
    [jwsc] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
    [jwsc] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
    [jwsc] at com.sun.tools.apt.main.Main.compile(Main.java:938)
    [jwsc] at com.sun.tools.apt.Main.processing(Main.java:95)
    [jwsc] at com.sun.tools.apt.Main.process(Main.java:43)
    [jwsc] at com.sun.tools.apt.Main.main(Main.java:34)
    [jwsc] Caused by: java.lang.IllegalArgumentException: trying to create thesame field twice: config
    [jwsc] at com.sun.codemodel.JDefinedClass.field(JDefinedClass.java:392)
    [jwsc] at com.sun.codemodel.JDefinedClass.field(JDefinedClass.java:363)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.writeMembers(WebServiceWrapperGenerator.java:419)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:299)

    I am starting from WSDL and below are the corresponding elements from WSDL
        <message name="getConfig">
            <part name="parameters" element="tns:getConfig"/>
        </message>
        <message name="getConfigResponse">
            <part name="result" element="tns:getConfigResponse"/>
        </message>
        <portType name="CallOutsPortType">
            <operation name="getConfig">
                <input message="tns:getConfig">
                </input>
                <output message="tns:getConfigResponse">
                </output>
                <fault name="callOutFault" message="tns:callOutFault"/>
            </operation>
        <binding name="CallOutsBinding" type="tns:CallOutsPortType">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
            <operation name="getConfig">
                <soap:operation soapAction="getConfig"/>
                <input>
                    <soap:body use="literal"/>
                </input>
                <output>
                    <soap:body use="literal"/>
                </output>
                <fault name="callOutFault">
                    <soap:fault name="callOutFault" use="literal"/>
                </fault>
            </operation>

  • SOS problem using one Entity bean for editing records. please help me

    Hello
    I have one great problem using one entity bean 2.1 and i am working with this problem several days and i dont solve it.
    i am using this jb 2.1 for add new records to one oracle database and for editing records.
    I have one great problem for editing records
    I have one objets that is as one of my database table. (PersonaObj.java)
         //personaObj.java
         public class PersonaObj implements Serializable{
              private Integer id_persona; //this ishte database table autonumeric
              private java.lang.String nombre;
              now the set/get methods.
         One field of this objets (bean) is the primary key of the table, and this field is one part of the pk from the entity bean.
         From one session bean i call the entity bena passing the objet
         into the entity bean (interface) i have one methods:
              public getPersona getT56aaat04();
         public void setPersona(PersonaObj obj);
         into the entitybean bean i have:
         public PersonaEntityPK ejbCreate(PersonaObj obj) throws CreateException {
              this.setT56aaat04(obj);
              public abstract Integer getId_persona();
         public abstract void setId_persona(Integer Id_persona);
         public abstract java.lang.String getNombre();
         public abstract void setNombre(java.lang.String Nombre);
         public PersonaObj getPersona() {
              PersonaObj obj = new PersonaObj();
              obj.setId_persona(getId_persona());
              obj.setNombre(getNombre());
              return obj;
         public void setPersona(PersonaObj obj) {
              setId_persona(obj.getId_persona());
              setNombre(obj.getNombre());
    But i have one graet problem.
    adding new record to the database i runs well but if i want to edit one recor appears this error:
    => Error <=
    java.rmi.RemoteException: EJB Exception: ; nested exception is: javax.ejb.EJBException: EJB Exception: : java.lang.IllegalStateException:[EJB:010144]The setXXX method for a primary key field may only be called during ejbCreate.
    at PersonasEJB_a43o8n__WebLogic_CMP_RDBMS.setId_persona(PersonasEntityEJB_a43o8n__WebLogic_CMP_RDBMS.java:328)
    at PersonasEntityBean.setPersona(PersonasEntityBean.java:114)
    at PersonasEntityEJB_a43o8n_ELOImpl.setPersona(PersonasEntityEJB_a43o8n_ELOImpl.java:45)
    at PersonasSessionBean.editarPersona(PersonasSessionBean.java:849)
    at PersonasSessionBean_bszo9t_EOImpl.editarPersona(PersonasSessionBean_bszo9t_EOImpl.java:208)
    at PersonasSessionBean_bszo9t_EOImpl_WLSkel.invoke(Unknown Source)
    into the session bean i make this (the session recibes one PersonaObj obj):
    T56aContactosEntityLocal personaLocal ;
                   try {
                        personaLocal = personaHome.findByPrimaryKey(new T56aContactosEntityPK(obj.getId_a04()));
                        T56aaat04Obj objTmp = new T56aaat04Obj();
                        objTmp.setAp1_a04(obj.getAp1_a04());
                        objTmp.setEstado_a04("false");
                        personaLocal.setT56aaat04(obj);
    Please can you help me to solve this problem?

    Hello Werner,
    The mappings seem to be alright at a first glance.
    Have you tried out un- and redeploying your application? Sometimes values appear to be cached in the server. So if you have deployed the application before you entered DB_BANK as alias this might solve the problem...
    BR
    Daniel

  • Can't use an entity bean

    Hi
    I'm new at this, please excuse me if this problem's solution is too obvious. I have no compilation errors, but i'm still receiving errors in the console when i try to access anything from an entity bean.
    The story:
    I'm using Jdeveloper 10.1.3.0.4. I'm using Oc4J, starting it with a .bat file:
    "cd c:\jdeveloper\j2ee\home"
    "java -jar oc4j.jar"
    Database is MySQL 5.0.7. I had to configure Jdeveloper to use mysql-connector-java-3.1.13-bin.jar.
    I created an entity called Tarjeta_Entity, using the "create CMP from tables" wizard. All fields created match the ones in the mysql table. Some error told me to manually "map" some fields. In the toplink-ejb.jar structure view, i used the "automap" function, and now Tarjeta_EntityBean points to MYSCHEMA.tarjeta.
    I added a "New Sample Java Client" for the entity bean. When i run it, i get the following:
    C:\jdeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\jdeveloper\jdev\mywork\SDP\SDP\classes;C:\jdeveloper\j2ee\home\oc4j.jar;C:\jdeveloper\j2ee\home\lib\oc4j-internal.jar;C:\jdeveloper\opmn\lib\optic.jar;C:\jdeveloper\j2ee\home\lib\activation.jar;C:\jdeveloper\j2ee\home\lib\ejb.jar;C:\jdeveloper\j2ee\home\lib\jms.jar;C:\jdeveloper\j2ee\home\lib\jta.jar;C:\jdeveloper\j2ee\home\lib\mail.jar;C:\jdeveloper\j2ee\home\lib\servlet.jar;C:\jdeveloper\lib\xmlparserv2.jar;C:\jdeveloper\lib\xml.jar;C:\jdeveloper\j2ee\home\oc4jclient.jar;C:\jdeveloper\j2ee\home\lib\persistence.jar;C:\jdeveloper\j2ee\home\lib\ejb30.jar;C:\jdeveloper\j2ee\home\lib\asm.jar;C:\jdeveloper\j2ee\home\lib\asm-attrs.jar;C:\jdeveloper\toplink\jlib\toplink.jar;C:\jdeveloper\toplink\jlib\toplink-oc4j.jar;C:\jdeveloper\toplink\jlib\antlr.jar;C:\jdeveloper\j2ee\home\lib\ojsp.jar;C:\jdeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\jdeveloper\jdev\lib\ojc.jar;C:\jdeveloper\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\.client sdp.Tarjeta_EntityClient
    oracle.oc4j.rmi.OracleRemoteException: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:333)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.DBEntityEJBHome.OC4J_invokeMethod(DBEntityEJBHome.java:320)
         at Tarjeta_EntityHome_RemoteEntityHomeWrapper10.findAll(Tarjeta_EntityHome_RemoteEntityHomeWrapper10.java:44)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Unknown Source)
    at connection to localhost/127.0.0.1
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:333)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.DBEntityEJBHome.OC4J_invokeMethod(DBEntityEJBHome.java:320)
         at Tarjeta_EntityHome_RemoteEntityHomeWrapper10.findAll(Tarjeta_EntityHome_RemoteEntityHomeWrapper10.java:44)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Unknown Source)
         Nested exception is:
    java.lang.NullPointerException
         at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.findMultiValuedBean(Oc4jPersistenceManager.java:237)
         at com.evermind.server.ejb.interceptor.joinpoint.ToplinkCollectionFinderJoinPointImpl.invoke(ToplinkCollectionFinderJoinPointImpl.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:28)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.DBEntityEJBHome.OC4J_invokeMethod(DBEntityEJBHome.java:320)
         at Tarjeta_EntityHome_RemoteEntityHomeWrapper10.findAll(Tarjeta_EntityHome_RemoteEntityHomeWrapper10.java:44)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Unknown Source)
    at connection to localhost/127.0.0.1
         at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.findMultiValuedBean(Oc4jPersistenceManager.java:237)
         at com.evermind.server.ejb.interceptor.joinpoint.ToplinkCollectionFinderJoinPointImpl.invoke(ToplinkCollectionFinderJoinPointImpl.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:28)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.DBEntityEJBHome.OC4J_invokeMethod(DBEntityEJBHome.java:320)
         at Tarjeta_EntityHome_RemoteEntityHomeWrapper10.findAll(Tarjeta_EntityHome_RemoteEntityHomeWrapper10.java:44)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Unknown Source)
    Process exited with exit code 0.
    I also tried using a session bean to do something similar. getter and setter methods for fields inside the same session bean work fine, but the method that invokes the entity bean, throws me the same load of errors.
    Any suggestions will be appreciated,
    saludos,
    Francisco

    I solved it.
    I don't know what the exact problem was, but it was somehow related to foreign keys from a nub (tarjeta_x_tarjeta, yes, a nub to itself). I probably defined them wrong in toplink.
    I deleted those FKs from the database, created the entity beans and test classes again, and they worked. Hopefully i won't need referential integrity in this project.
    Thanks anyway,
    saludos,
    Francisco.

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Problem in using custom java beans

    Hi,
    We are using oracle JDeveloper 3.2.2 version for developing our Graphical User interface which
    involves Applets and custom beans.
    We faced the following problems when we tried to add the custom beans to JApplet.
    Problem 1. When I drag and drop the custom beans to JApplet, the gif image used by the bean is
    not displayed even when the gif image has been added in the archive file representing
    JavaBean
    Problem 2. When I modify the source code generated by Jdeveloper and come back to the design tab,
    the custom beans looses its look and feel and gets the look and feel of the standard
    bean from which it has been extended.
         For instance, I have a dropdownlist which has been extended from JCombobox.
         I drag and drop to the JApplet. The look and feel of the dropdownlist is
    maintained.
    Now I modify the source code for the dropdownlist in order to add items to it.
         After doing so, I come back to the design tab where i can see my dropdownlist
    appears with the look and feel of JCombobox.     

    HI,
    IF YOU create custom object the profile should be the same as standard.Also see whether the authorization object is added to the data target or not.
    Hope this helps
    Assign points if useful
    Regards,
    venkat

  • How to use the same bean from Jsp and Servlet

    I want to use the same bean instance from both the servlet and jsp.
    for eg. if a create a bean using the jsp:useBean in servlet and if a modify some values, that values should be reflected while i access the same bean from the servlet. But instead of that the servlet is creating a new instance of the bean.
    is it possible?
    Thanks in advance

    Hi,
    When you call jsp:useBean you inform a scope (session, request, page...)
    This means the bean instance will be stored in that scope.
    So, if the informed scope is session, then, in the servlet you could get the bean instance back from the session, this way:
    HttpSession session = request.getSession();
    Bean b = (Bean) session.getAttribute("bean_id");
    Regards,
    Filipe Fedalto

  • SOAP To File (Attachment swapping with Payload using Payload Swap Bean)

    Hi,
    I am working on the subject line. The scenario works well and good when I use the bean in Receiver File Communication Channel.
    The same bean configuration if I use on the sender SOAP the swapping of payload and attachment is not happening.
    Any Ideas.............
    Thanks,
    - Gujjeti.
    Edited by: Praveen Gujjeti on Feb 27, 2009 1:53 PM
    Edited by: Praveen Gujjeti on Feb 27, 2009 1:53 PM

    Hi Praveen,
    Clearly written in SAP help document :
    "SOAP sender Adapter does not support Moduls"
    so using Payload swipe bean is all van.
    Thanks
    Sunil Singh

  • Can i use Response method in livecycle designer to render or open pdf doc?

    Hello,
    Can anybody please tell me is it possible to use response method available in the adobe livecycle designer which takes the input value to open the pdf doc.
    Case 1: if we send adobe form throgh mail as pdf doc,then at the receiver side if the user open the pdf doc a popup should come asking for the input value.This popup will be from the response method.
    Case 2:if we save the adobe form as pdf doc on to our desktop and then if we try to open the pdf doc a popup should come asking for input value.
    Is it possible to do ?
    If yes then in which event of livecycle designer we should write that response method and in what way?
    If no,is there any other way to do this?
    Thanks in advance,
    Menaka

    Yes i have tried in other events of livecycle designer.
    In Formready event -> if i do preview pdf,first it will display form and then it ll ask for password.But with this event only if i save the pdf to my local desktop and try to open it ll not ask for password anywhere.
    In Layoutready event ->Pdf preview in designer is working fine,but when i save it my local desktop and try to open it ll not ask for passward.
    Could anybody tell me how to do it.
    Menaka.

  • Error using Message Transform Bean in SimplePlain2XML in file sender

    Hi guys.
    Im using  Message Transform Bean to convert from file to xml in file sender.
    My structure look like this:
    ROW (1..n)
    >TRANSPORTES (1)
    >ENTREGAS (1..n)
    And I have configured the module like this:
    AF_Modules/MessageTransformBean - transform
    transform - Transform.Class - com.sap.aii.messaging.adapter.Conversion
    transform - xml.ENTREGAS.endSeparator - 'nl'
    transform - xml.ENTREGAS.fieldFixedLengths - 1,30
    transform - xml.ENTREGAS.fieldNames - TIPO,NUM_ENTREGA
    transform - xml.ENTREGAS.keyFieldValue - E
    transform - xml.TRANSPORTES.endSeparator - 'nl'
    transform - xml.TRANSPORTES.fieldFixedLengths - 1,30
    transform - xml.TRANSPORTES.fieldNames - TIPO,NUM_TRANSPORTE
    transform - xml.TRANSPORTES.keyFieldValue - T
    transform - xml.conversionType - SimplePlain2XML
    transform - xml.documentName - MPrueba_Zip
    transform - xml.documentNamespace - http:/XXXXXX.es/XXXX/sap/prueba
    transform - xml.keyFieldName - TIPO
    transform - xml.processFieldNames - fromConfiguration
    transform - xml.recordsetName - row
    transform - xml.recordsetStructure - TRANSPORTES,1,ENTREGAS,*
    Im getting this error and I don´t know why:
    Error: com.sap.aii.messaging.adapter.trans.TransformException: Transformer Conversion3.0.5227 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403)
    Why am i doing wrong?????
    Thanks a lot!!!

    Hi
    For Complex conversion you have to use xml.conversionType as "StructPlain2XML"
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    Regards
    Ramg

Maybe you are looking for

  • Extracting Material Movements at Material Level

    Hello,            Does anybody know how can we do a set up at material level and not material document level in Inventory management?  Here we have 2 options for capturing Material movements - material doc number and document posting date but not at

  • Missing radio buttons on web pages, solution: remove Silverlight plug-in

    Missing radio buttons. When trying to use a page with radio buttons..they were not appearing. Cause: Microsoft Silverlight plug-in that was installed along with free Flip4Mac software. Solution: Remove file 'Silverlight.plugin' from /Library/Internet

  • No Progress Screen Indicator Volume * Brightness

    While pressing Volume Button or  Light Button, Sound and Brighness increase but there is no screen display of  both, I loaded all drives properly. Please help me. Model No. 2530-A56  Z60

  • How do I add accent light to my background?

    I'm trying to add a little accent light to my background to improve the separation between the background and the model. I tried using the render spotlight tool which added the light where I wanted it but it turned the rest of the background black. I

  • Macro activation

    How to invoke macros.   Macro may be written in a macro workbench or VBA or ABAP.s