MarshalException-Is Enumeration a valid arg type in Session Bean method ??

Hi,
I have a session bean method (EJB1.1) that takes Enumeration as one of the arguments. When I calls this remote method, I am getting MarshalException. Is Enumeration is valid argument type for remote methods in EJB 1.1 ??
The enumeration is returned from the finder method of another Entity Bean. It is pointing to set of Remote Interface objects that are serializable. So it should throw the MarshalException.
Another observation - This code works fine with WebLogic Server 5.1. I get this exception while running this code on Sybase Application Server 3.6.1.
Thanks

hi ,
i am also facing same prob.
if u have solved it out
it would be very kind of u if u mail me the sol. on
[email protected]
deepak

Similar Messages

  • Why do we obtain a java.rmi.MarshalException during a stateless session bean method invocation from a client java program?

    Hello,
    we're using iAS SP3.
    We deployed a stateless session bean that has a business methods with a Vector as argument (put (vector, String)).
    If we call it from a servlet, it works fine. But when we try to call it from a thread, started in a standalone java client program, we obtain a java.rmi.MarshalException.
    We tried to use Vector and HashSet objects as arguments, but we always obtain this kind of exception. It seems strange because a similar
    method that returns a Collection of objects (getAll) works fine. This is the our bean Remote Interface:
    public interface Receive extends EJBObject {
    public void putMessage(Message message, java.lang.String la) throws RemoteException; // it works fine!!!
    public void putMessages(java.util.Vector messages, java.lang.String la) throws RemoteException; // it doesn't work!!!
    Collection getAll (java.lang.String la) throws RemoteException, EJBException; // it works fine!!!!
    This is the java client stack trace:
    java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
    org.omg.CORBA.MARSHAL: minor code: 0 completed: No
    org.omg.CORBA.MARSHAL: minor code: 0 completed: No
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at com.sun.corba.ee.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.java:93)
    at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:82)
    at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:199)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:248)
    at ejb._Receive_Stub.putMessages(_Receive_Stub.java:731)
    at commlayer.Receiver.run(Receiver.java:67)
    Does anyone know how to solve this problem?
    Thank you in advance,
    Maurizio

    This is big bug!
    This seems to occur when you try to return complex objects (e.g. a vector of classes or even the Date class).
    As a workaround you can add this Ejb or module to the iPlanet Classpath (NT via kregedit, Sun via iasenv skript.).
    This helps but i really don't know why.
    It should be fixed in 6.5, maybe. We'll see.
    Regards

  • Error Message during PO GR - Please enter a valid transaction Type

    During the goods receipt movement 1010 of a Purchase Order,  I am getting following error Message:
    "Please enter a valid transaction Type"
    I am not a Purchasing expert. Could please help?
    Thanks and regards.

    Hi,
    Pl do below 2 things:
    1 ) Go to Transaction code = OMBA , Click on Goods receipt Documen type button and check whether MIGO_GR is assigned to DOC Type = WE
    2 ) Go to Transaction code = OMJJ , Tick Movement type and select 101 Movement type .
    Then You need to click on "Allowed Transaction option ( Left pane ) and see whether transaction code MIGO is mentioned for Movement type 101.
    it should solve ur problem.

  • Valid instance type for this instalation optiion are SCS, ER2, j2eedi, J2

    Hello . I want to install a NW7.3 based BI system. I found reccomendation to start with ABAP instance an then start of Java central server installation
    However I have checked option BI Java and additionaly I had EP, AS, EPC, and BASIC.
    however on next screen I am asked about SAP system ID(I entered the ABAP installed one  i.e. BI4)
    However this gets recognized that BI4 is already existing after ABAP.
    SAP system BI4 exists and is not suitable for this installation option. DIAGNOS: Valid instance type for this instalation optiion are SCS, ER2, j2eedi, J2eeci , but instance ASCS01 has different type
    Solution: Choose a different SAP system ID or unistall the existing one
    What to do?
    Thank you in advace for help

    Hello
    Now when I have suceesfully installed both (java @abap systems) I wander how to connect them.
    I red somewhere I should establish a JCO connection but I wander where
    I found new netweawer administrator http://<host>:5<sysnr>00
    JCO can be established via http://<host>:5<sysnr>00->configuration->infrastructure->JCO RFC provider.
    But which programID to use and..
    Is there somewhere some guide how to build BI out of this 2 (java @abap) systems. I only during java instalation entered users to get user communication  between java@abap
    Thank you in advance

  • NWBC:CREATE DATA:Type WDR_APP_PROP_DISP_LOADINGPAGE is no valid data type

    HI Experts,
    We want to access our servers through NWBC. All setting and configuration related is done also services in SICF are activated.But when we are in to NWBC it shows following error. Kindly help to resolve this
    Error when processing your request
    What has happened?
    The URL https://hpi-dev.domainname.local:44301/sap/bc/webdynpro/sap/powl was not called due to an error.
    Note
    The following error text was processed in the system ERD : CREATE DATA: The specified type WDR_APP_PROP_DISP_LOADINGPAGE is no valid data type.
    The error occurred on the application server HPI-DEV_ERD_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONVERT_XML_TO_STRING of program CL_WDR_CONFIGURATION_UTILS====CP
    Method: CONVERT_XML_TO_STRING of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: READ_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: INIT_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: GET_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
    Function: WDR_GET_REPOSITORY of program SAPLWDR_RUNTIME_REPOSITORY
    Method: IF_WDR_RUNTIME~GET_RR_APPLICATION of program CL_WDR_MAIN_TASK==============CP
    Method: CREATE_APPLICATION of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system ERD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server HPI-DEV_ERD_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server HPI-DEV_ERD_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-https -c: 100 -u: SRAUT -l: E -s: ERD -i: HPI-DEV_ERD_01 -w: 0 -d: 20111220 -t: 003857 -v: RABAX_STATE -e: CREATE_DATA_UNKNOWN_TYPE
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    Hi,
    Regarding the issue reported by you kinly refer in detail the solution section of the following SAP Note:
      1432358 - Starting application with Loading Animation
    It seems that the data element WDR_APP_PROP_DISP_LOADINGPAGE is not created in your system.
    This note should help you out.
    Regards,
    Abhishek

  • IFS-12635: SimpleXmlParser: Value(10/10/99) not valid for type (Date)

    I am trying to uplaod an xml document sample which has an attribute of date datatype.
    My sample is :
    <?xml version="1.0" standalone="yes"?>
    <document>
    <name> test</name>
    <createdate>1999/03/12</createdate>
    </document>
    I am getting this error:
    IFS-12635: SimpleXmlParser: Value(10/10/99) not valid for type (Date).
    If I input just the "name attribute" value, there is no problem. What is the date format, I should use?
    Please suggest.
    Thank you
    null

    Is there any way to specify the format in the custom type document itself. ? I do not want to specify the format in every document sample. Is there any way that it is possible. If I give the format in the document samples, as Matt said, there is no problem.
    Now I tried to give the format in the type document itself.
    I created a custom type document as follows:
    <?xml version="1.0" standalone="yes"?>
    <!--myTestType.xml-->
    <ClassObject>
    <Name>myTestType</Name>
    <Description> myTestType Document </Description>
    <Superclass Reftype ="name">Document</Superclass>
    <Attributes>
    <Attribute>
    <Name> Category </Name>
    <DataType> String </DataType>
    <DataLength> 80 </DataLength>
    </Attribute>
    <Attribute>
    <Name> posted_date </Name>
    <DataType format="mm-dd-yyyy"> date </DataType>
    </Attribute>
    </Attributes>
    </ClassObject>
    I could able to upload this to ifs. No problem at this time. But when I try to load the below sample, I am getting the same parse problem.(IFS-12635 SimpleXmlParser: Value(12-25-1992) not valid for type (Date.).
    sample xml document
    <?xml version="1.0" standalone="yes"?>
    <myTestType>
    <name> testing.myTestType</name>
    <Category>Administration_4</Category>
    <posted_date >12-25-1992</posted_date>
    </myTestType>
    Thank you.

  • Validating material types in LSMW

    Hi Experts,
        How do we vaqlidate material types in LSMW.
    what are the kind of problems generally we get doing LSMW.
    Thanks,
    Naren,

    material types are stored in table T134.
    so we will write a SELECT to know,its a valid or not.
    SELECT SINGLE MTART INTO V_MTART
                  FROM T134
                  WHERE MTART = ZSOURCE-MTART.
    IF SY-SUBRC = 0.
    *--ITs a valid Material type
    BMMOO-MTART = ZSOURCE-MTART.
    else.
    *--Invalid material type,its an error.
      SKIP_RECORD. <--this SKPS the current record,as there is no meaning to process this error record.
    ENDIF.
    Regards,
    Srikanth
    Message was edited by: Srikanth Kidambi

  • WebDynpro Action Types : Validating vs Non Validating Action Types

    Hi
    Can someone tell me the difference between Validating and Non Validating Action Types in webdynpro. I read it through, but its not very clear.
    regards
    Saurabh

    HI Maksim,
    Thanx it helped !!
    I need some more help. I have a PAR file which displays an employees CV in an IView. I want to print only the content in the iView (i.e the CV) not the complete page with Roles and worksets, is there some code that can do this.
    I need to place a button on the CV (in the iView) and on the click of the button the CV (iView) gets printed.
    A workaround for this is that I open the CV (from the iView Personalization ) in a new window and then from the File menu of the new window fire the Print option. But I dont want to do it this way.
    I want to Print the CV from the parent window only.
    Plz suggest !!
    Regards
    Saurabh

  • Asking to maintain a valid document type for inter company

    Hi friends
    We have created a purchase order. It is STO inter-Co
    There is no issue for a normal vendor when posting in MIGO; the error is just for inter-company vendors.
    When doing MIGO the document shows OK. When posting or saving the document it is showing an error as Use a valid document type for inter company.
    As per the error we have maintained the document types in OBA7 and the inter company posting are checked for the document types.
    Can anyone help me on this issue how to proceed?

    hI SUKANYA
    PLS EXPLAIN ME WHILE GL A/C CREATION FOR WE ASSIGNED G067 AND READY FOR A/C INPUT IS FOR WHAT
    CAN U PLS EXPLAIN ITS USES . MEE ANSWER KOSAM WAIT CHESTUNTAA
    THANKS
    MALLIKARJUNA

  • Asking to use a valid document type for inter company

    Hi friends
    We have created a purchase order. It is STO inter-Co
    There is no issue for a normal vendor when posting; the error is just for inter-company vendors.
    When doing MIGO the document shows OK. When posting or saving the document it is showing an error as Use a valid document type for inter company.
    Can anyone help me on this issue?

    Hi
    This problem raised If the trading partner assigned in the Vendor master in Control data and that trading partner is different fromt the trading partner assigned to particualr Co code.
    Goto TCODE:OBA7 , selec the document type for which this error is coming - in the document type screen in control postings sections select the inter-company postings check box.
    VVR

  • Enter a valid basic type - BW IDoc type RSSEND is not same as the SS IDOC

    Hi,
    I am connecting the ERP system to BW system, and am getting error:
    CHECK(context menu source system):
    @5C@     BW unknown in source system     RSAR     8     
    @5C@     The BW IDoc type RSSEND is not the same as the source system IDoc type     RSAR     371     
    RESTORE(context menu source system):
    Information: Enter a valid basic type
    Information help:
    Enter a valid basic type
        Message no. E0434
    Diagnosis
        An entry with the key /BD2CLNT100/LS//RSSEND//// is to be inserted in
        table
        EDP13.
        The value 'RSBEND' is not valid for field IDOCTYP.
    Procedure
        Check whether basic type RSBEND exists.
    help required

    Hi,
    Please find the below link may useful.
    http://wiki.ittoolbox.com/index.php/Re-Connect_R/3_and_BW
    Reg,
    Venkat

  • What are valid RMI types?

    I read in the J2EE Tutorial several times that arguments and return types must be valid RMI types.
    What does that mean?

    valid RMI types:
    which are either primitive types, object types implementing (even indirectly) java.rmi.Remote, or object types implementing (even indirectly) java.io.Serializable.
    Here is a list of the types that can be passed as parameters or returned in Java RMI:
    Primitives: byte, boolean, char, short, int, long, double, float
    Java serializable types: any class that implements or any interface that extends java.io.Serializable
    Java RMI remote types: any class that implements or any interface that extends java.rmi.Remote

  • Parts Requirement Create Order Error:Validation Failed for the field - Shipping Method DHL

    Trying to create Parts Requirement.
    Error message on clicking "Create Order" button: "Validation Failed for the field - Shipping Method DHL"
    Please suggest the Setup that needs to be done for this.

    Kinck
    The same script worked for me in vision (R12.1). You may have issues with your defaulting of a number of attributes that you are not passing in the API (like price list, line type and so on). You may want to check them.
    Thanks
    Nagamohan

  • Using a bean method to perform validation via the validator attribute

    The J2EE tutorial demonstrates a method to perform validation by adding a FacesMessage directly into the FacesContext ... INSTEAD OF throwing a ValidatorException within the method:
    http://docs.oracle.com/javaee/6/tutorial/doc/bnavb.html#bnave
    http://docs.oracle.com/javaee/6/tutorial/doc/bnatn.html#bnatr
    What is NOT mentioned in the tutorials is that, if you simply add a FacesMessage into the FacesContext, the JSF lifecycle UPDATE_MODEL and INVOKE_APPLICATION are still executed even if the validation fails, which is probably not what one intends to happen if the validation fails.
    Instead of simply adding a FacesMessage into the FacesContext, the method performing the validation should instead throw a ValidatorException(FacesMessage) or ValidatorException(Collection<FacesMessage>), so that the UPDATE_MODEL and INVOKE_APPLICATION are NOT executed and you go directly to RENDER_RESPONSE if the validation fails.
    Does anyone see any reason why the tutorial would add the FacesMessage into the FacesContext instead of throwing a ValidatorException ?

    gimbal2 wrote:
    The whole intention of that section seems to be to give an alternative to using a validator. Its the type of validation I tend to use to be honest since I find it the least cumbersome. I agree with you on this one.
    gimbal2 wrote:
    I've hardly ever had any trouble with the extra phases happening... but .. isn't the whole point of PROCESS_VALIDATION lifecycle is to prevent updates to the model when the validation fails ... to skip straight to RENDER_RESPONSE ? I just don't see the point of having the validation failing ( by showing an error to the user ), and yet allowing the "illegal" value updated on the model / bean.
    On a different matter ... I am still not sure how the JSR-303 validation fits in to the JSF lifecycle with regards to updating the model / bean. If you were using JSR-303 validations WITHOUT JSF, like so:
    ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
    Validator validator = factory.getValidator();
    Set<ConstraintViolation<Bean>> constraintViolations = validator.validate(bean);.. the bean would have been updated already with the "illegal" values for the JSR-303 validation to work / "detect" that validation fails. Now going back to JSR-303 with JSF, that would suggest that model gets updated before the validation takes place ( to mimic the non-JSF validation above ) ... but that can't be the case as nowhere in the JSF / J2EE documentation ( unless I missed it ) that says that UPDATE_MODEL takes place before PROCESS_VALIDATION only if JSR-303 is used. The JSF lifecycle diagrams always say PROCESS_VALIDATION takes place before UPDATE_MODEL, and only if validation succeeds.
    On the other hand, JBoss' <rich:graphValidator> is clearly documented so that it actually clones the bean and then updates the properties on the clone of the bean, not the bean itself. Hence, the bean must implement the Cloneable interface. ( http://docs.jboss.org/richfaces/4.2.X/4.2.2.Final/Component_Reference/en-US/html/chap-Component_Reference-Validation.html#sect-Component_Reference-Validation-richgraphValidator ). Okay, that link is saying that the use case for <rich:graphValidator> is for cross-field validation, but at least it documents that the model is not updated.

  • Validation error on retry count for session bean

    Hi,
    In our weblogic-ejb-jar.xml we have configured a retry count for a specific method on a local session bean. When I click on 'Browse' to select a specific method, it only shows '*' as a possible value. When we type the method name by hand, it shows a red cross next to the input field with the error 'Cannot find method "exampleMethod()" in the ExampleBean's Local interfaces'.
    We use EJB 3.0 and OEPE 12.1.1.0.1 with Eclipse 3.7.2
    The weblogic-ejb-jar.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-ejb-jar xmlns="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-ejb-jar http://xmlns.oracle.com/weblogic/weblogic-ejb-jar/1.2/weblogic-ejb-jar.xsd">
        <retry-methods-on-rollback>
         <retry-count>3</retry-count>          
            <method>
                <ejb-name>ExampleBean</ejb-name>
                <method-intf>Local</method-intf>
                <method-name>exampleMethod</method-name>
           </method>
        </retry-methods-on-rollback>
    </weblogic-ejb-jar>The bean looks like this:
    @Stateless(mappedName = MappedName.DONNA)
    @TransactionAttribute(value = TransactionAttributeType.REQUIRES_NEW)
    public class ExampleBean implements Example {
    }And the interface:
    @Local
    public interface Example {
    }Does anyone else have this problem?
    Thanks.
    Pieter

    Hi Pieter,
    This is a known issue and I will keep you posted on the development.
    Thanks for your feedback!
    -Ram

Maybe you are looking for

  • Technical Reference question: Relationship between WIP Tables & INV Tables

    Hi Community, Due to my profile is more closer to the Financials Area than the Manufacturing and Work In Process Area, I want to leave the following question in the community, in order to see if anybody can give me an answer. We want to modify a view

  • Assign document (DIR) to organization unit (screen 209)

    Hello, I'm trying to assign a document to organizational unit. Or actually it's document info record (DIR) since using document management system (DMS). I have made configuration in at the DMS side; i.e. my document type has object NORG with screen 2

  • Songs getting cut off

    okaay so my problem is whenever I import a cd into all seems okay until I sync the songs into my ipod. It seems that the first song is always cut off and then it skips to the next song. Does anybody else seem to have this problem? How do I solve this

  • Error while connecting to Database after Database upgradation

    Hi All, I installed and worked with BAM and used Oracle Database 9i previously. After the Database was upgraded to 10g (10.2.0.4.0 which is compatible for BAM), I am trying to ReInstall BAM which is throwing me an error. It accepts the Database Login

  • Why does my mac keep crashing? HELP

    Hello Community, I have a mid 2010 Macbook Pro Intel i7 (OSX 10.10.2). When I first purchased the computer there was a problem with the logic board (when switching from intel graphics to NVIDIA...so when something graphic intensive was being used). A