Metadata upload issue in PI 7.4 Java stack

Hello All,
I need your help.
We are using PI 7.4 single stack and for one Idoc scenario, we wanted to upload idoc metadata from ECC system with Version 4.6.
we are facing Error : IDOC_ERROR_METADATA_UNAVAILABLE. We have successfull connection in place because we can successfully upload other standard Idoc metadata from same ECC, but issue is only with custom Idoc
Kindly suggest how to proceed further.
Thanks,
Shiv

Hello All,
Small update here, here now we have uploaded metadata successfully but when idocs are sent from ECC(its unicode system ), they are failing in tRFC queue of ECC system  with error " IDOC_ERROR_METADATA_UNAVAILABLE.". and i have implemented below notes as well but seem no luck .
sap notes 1767710 ,1473183 ,1529038 & 1405466.
I have gone through
SAP ECC-SM58 Error-IDOC Metadata unavailable
Thanks,
Shiv

Similar Messages

  • Flex file upload issue with large image files

         Hello, I have created a sample flex application to upload an image and also created java servlet to upload and save image and deployed in local tomcat server. I am testing the application in LAN. I am able to upload small as well as large image file(1Mb) from some PCs but in some other PCs I am getting IOError while uploading large image files however it is working fine for small images. Image uploading is hanging after 10%-20% and throwing IOError. *Surprizgly it is working Ok with XP systems and causeing issues with Windows7 systems*.
    Plz give me any idea to get a solution.
    In Tomcat server side it is giving following error:
    request: org.apache.catalina.connector.RequestFacade@c19694
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
            at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.ja va:126)
            at flex.servlets.UploadImage.doPost(UploadImage.java:47)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:594)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStre am.java:982)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:8 86)
            at java.io.InputStream.read(InputStream.java:101)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)
    UploadImage.java:
    package flex.servlets;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.util.regex.*;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    import sun.reflect.ReflectionFactory.GetReflectionFactoryAction;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UploadImage extends HttpServlet{
             * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
             *      response)
            protected void doGet(HttpServletRequest request,
                            HttpServletResponse response) throws ServletException, IOException {
                    // TODO Auto-generated method stub
                    doPost(request, response);
            public void doPost(HttpServletRequest request,
                            HttpServletResponse response)
            throws ServletException, IOException {
                    PrintWriter out = response.getWriter();
                    boolean isMultipart = ServletFileUpload.isMultipartContent(
                                    request);
                    System.out.println("request: "+request);
                    if (!isMultipart) {
                            System.out.println("File Not Uploaded");
                    } else {
                            FileItemFactory factory = new DiskFileItemFactory();
                            ServletFileUpload upload = new ServletFileUpload(factory);
                            List items = null;
                            try {
                                    items = upload.parseRequest(request);
                                    System.out.println("items: "+items);
                            } catch (FileUploadException e) {
                                    e.printStackTrace();
                            Iterator itr = items.iterator();
                            while (itr.hasNext()) {
                                    FileItem item = (FileItem) itr.next();
                                    if (item.isFormField()){
                                            String name = item.getFieldName();
                                            System.out.println("name: "+name);
                                            String value = item.getString();
                                            System.out.println("value: "+value);
                                    } else {
                                            try {
                                                    String itemName = item.getName();
                                                    Random generator = new Random();
                                                    int r = Math.abs(generator.nextInt());
                                                    String reg = "[.*]";
                                                    String replacingtext = "";
                                                    System.out.println("Text before replacing is:-" +
                                                                    itemName);
                                                    Pattern pattern = Pattern.compile(reg);
                                                    Matcher matcher = pattern.matcher(itemName);
                                                    StringBuffer buffer = new StringBuffer();
                                                    while (matcher.find()) {
                                                            matcher.appendReplacement(buffer, replacingtext);
                                                    int IndexOf = itemName.indexOf(".");
                                                    String domainName = itemName.substring(IndexOf);
                                                    System.out.println("domainName: "+domainName);
                                                    String finalimage = buffer.toString()+"_"+r+domainName;
                                                    System.out.println("Final Image==="+finalimage);
                                                    File savedFile = new File(getServletContext().getRealPath("assets/images/")+"/LowesFloorPlan.png");
                                                    //File savedFile = new File("D:/apache-tomcat-6.0.35/webapps/ROOT/example/"+"\\test.jpeg");
                                                    item.write(savedFile);
                                                    out.println("<html>");
                                                    out.println("<body>");
                                                    out.println("<table><tr><td>");
                                                    out.println("");
                                                    out.println("</td></tr></table>");
                                                    try {
                                                            out.println("image inserted successfully");
                                                            out.println("</body>");
                                                            out.println("</html>");  
                                                    } catch (Exception e) {
                                                            System.out.println(e.getMessage());
                                                    } finally {
                                            } catch (Exception e) {
                                                    e.printStackTrace();

    It is only coming in Windows 7 systems and the root of this problem is SSL certificate.
    Workaround for this:
    Open application in IE and click on certificate error link at address bar . Click install certificate and you are done..
    happy programming.
    Thanks
    DevSachin

  • RFC connection to source system is damaged , no Metadata uploaded

    Hello Friends,
    I need your help to understand and rectify why my transport is failing again and again.
    RFC connection to source system BT1CLNT200 is damaged ==> no Metadata upload
    Environment - Production Support (Dev - Quality - Testing - Production)
    Alive scenario - Need to create two InfoObject and incorporate the fields in to data targets and reports.
    What we have did?
    1st request - We have created new request and captured two Infoobjects in to the request.
    2nd Request - We have captured the replicated Datasource along with that the below sequence displayed by default in the same package.
    Communication structure
    DataSource Replica
    Transfer Rules
    InfoSource transaction data
    Transfer structure
    3rd Request - we have captured DSO and Cube only in this request.
    4th Request - Captured 2 update rules (ODS) Update Rule (Cube)
    The above 3rd request failed in the testing system (successful in Quality System) and ODS is inactive in the Testing system.
    Testing system Error Message:
    The creation of the export DataSource failed
    RFC connection to source system BT1CLNT200 is damaged ==> no Metadata uploa
    RFC connection to source system BT1CLNT200 is damaged ==> no Metadata uploa
    Error when creating the export DataSource and dependent Objects
    Error when activating ODS Object ZEOINV09
    Error/warning in dict. activator, detailed log    > Detail
    Structure change at field level (convert table /BIC/AZEOINV0900)
    Table /BIC/AZEOINV0900 could not be activated
    Return code..............: 8
    Following tables must be converted
    DDIC Object TABL /BIC/AZEOINV0900 has not been activated
    Error when resetting ODS Object ZEOINV09 to the active version
    So we have captured the data mart Datasource and created a new( 5th ) request (transported only 5th request )and transported in the below sequence
    Communication structure
    Datasource Replica
    Transfer Rules
    Infosource transaction data
    Transfer structure
    development to Quality - Successfully
    Failed in testing system again.
    How to rectify this error, please help us
    Thanks,
    Nithi.

    Hello All,
    *Question -1*
    I have checked the connections and typed the steps below - what i have seen in the screen.
    Steps :
    R/3 Connection - I have double clicked on the BT1CLNTXXX and tested the connections.
    Connection Type :
    Logon - 0KB , 10 KB , 20KB, 30 KB
    R/3 connection:
    5 msec, 0msec, 1msec,1msec,1msec
    Please let me know whether RFC connection is OK or not.
    Question - 2
    I want to know is there is any option to check before transporting the TR from Developement to Quality - "Preview Check " the sequence , so that we can avoid the Transport failure because of TR sequence.
    Regards,
    Nithi.

  • Issue while doing Java Stack Installation on NW 7.0 on oracle 10g

    Hi All,
    I am facing issue during Installation of JAVA Stack on NW7.0 on Oracle 10g
    SecureStoreCreate.log
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: java.lang.ExceptionInInitializerError
            at java.lang.J9VMInternals.initialize(J9VMInternals.java:218)
            at javax.crypto.Cipher.a(Unknown Source)
            at javax.crypto.Cipher.getInstance(Unknown Source)
            at iaik.security.provider.IAIK.a(Unknown Source)
            at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)
            at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)
            at com.sap.security.core.server.secstorefs.Crypt.<clinit>(Crypt.java:82)
            at java.lang.J9VMInternals.initializeImpl(Native Method)
            at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
            at com.sap.security.core.server.secstorefs.SecStoreFS.setSID(SecStoreFS.java:158)
            at com.sap.security.core.server.secstorefs.SecStoreFS.handleCreate(SecStoreFS.java:804)
            at com.sap.security.core.server.secstorefs.SecStoreFS.main(SecStoreFS.java:1274)
            ... 6 more
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
            at javax.crypto.b.<clinit>(Unknown Source)
            at java.lang.J9VMInternals.initializeImpl(Native Method)
            at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
            ... 17 more
    Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
            at javax.crypto.b.a(Unknown Source)
            at javax.crypto.b.a(Unknown Source)
            at javax.crypto.b.access$600(Unknown Source)
            at javax.crypto.b$0.run(Unknown Source)
            at java.security.AccessController.doPrivileged(AccessController.java:246)
    Regards
    Punit

    Hi Punit,
    What version of JDK have you installed, check the JCE policy file you have provided during the installation.
    Cheers,
    Phanindra M

  • Issue in conversion ABAP to java mapping during PI upgrade

    Hi All,
    We are upgrading one interface from ABAP mapping to Graphical/Java mapping in PI upgrade.(7.1 dual stack to 7.4 version)
    In ABAP mapping there is character conversion like below.
      encoding    = '1164'
          replacement = '?'
    We want to implement the same functionality either through Java or graphical mapping . But we are not sure what are the range  of characters that need to be converted to '?' and also what is the most optimized way to achieve this functionality.
    Below are few sample of characters coming in the file:
    б,л,к,У,М,л,и,о,ф..etc

    hi all,
    the issue got resolved with a JAVA replace function
    String r = str.replaceAll("\\P{InBasic_Latin}", "?");
    Thanks all for your inputs.
    Regards,
    Anamika

  • ABAP+JAVA STACK STARTING ISSUE a  Work Around

    Dear Users,
    I recently got an issue in duel stack where in Java stack was not coming up. According to the  Trace file i was about to follow the SAP Note: 940893. But everything was fine for me. Then i tried a work around. I started Java first and then after sometime ABAP. It worked for me. Might be useful for others as a work around. If useful make know. If i am wrong again let me know.

    Hi Manjesh,
    Then i tried a work around. I started Java first and then after sometime ABAP. It worked for me.
    It looks like Server has insufficient memory to hold ABAP+ JAVA stack.
    You can think of the following
    1) Reduce the no of WPs in ABAP stack
    2) Reduce the JAVA memory settings to half using configtool
    3) Restart both ABAP and JAVA
    4) Check the results.
    Hope this helps.
    Regards,
    Deepak Kori

  • Connectivity issue between ABAP and JAVA stack

    Hi All
    we are facing the following issue while running interface. message got failed while processing Graphical mapping in Java stack. Can any one please help us what could be the issue here? Is there anything we missed from Config / XI development.
    This message was failed with not more than 200 MB file.
    XIServer
    JCO_SYSTEM_FAILURE
    connection to partner 'localhost:0' broken / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 t
    "SYSTEM FAILURE" during JCo call. connection to partner 'localhost:0' broken / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 t
    A
    Appreciate your quick response.

    Hi Yadagiri,
    Please check the reply from Carlos in the below thread
    Re: increasing heapsize of java on WINDOWS 2003
    Also check your sm59 RFC destination, i guess there is some problem.
    Delete AI_RUNTIME_JCOSERVER(RFC connection between the Java engine and the ABAP engine) and create it again.
    Hope tht will resolve ur issue...
    Regds,
    Pinangshuk.

  • Problem in Uploading excel file using WebDynpro for Java

    Hi  All
    I have followed for Uploading excel file using WebDynpro for Java added by  Tulasi Palnati
    I done all, but I'm getting 500 Exception please contact u r system admin meag  at run time also  Jxl/Workbook class not found msag  but i downloaded Jxl.jar file and  there is no error signals  in coding part. How can I solve the Problem.
    Thanks
    Polaka

    Please ask the people in the Web Dynpro Java forum for a solution.

  • Agent issue:Oracle keeps proposing enlarging the memory of the java stack

    Hi,
    Our PROD agent suddenly started not responding . The package showing execution in monitor without showing what code it is executing. This continuously exeecuting package then we had to set to error and then we went with execution with Local(no agent) which got executed successfuly in prod but still having issues with PROD agent.
    Oracle proposed the sol- "Oracle keeps proposing enlarging the memory of the java stack " The sol worked for few days and again facing the same issue. One of the
    query raised by oracle is
    "Ask the developers if they are using standard transaction processing knowledge modules and if they have considered using BULK loading type knowledge modules ? Please
    ask them for the precise name of the Knowledge Modules used and if they have been customized or not"
    How to identify this in detail? Any clue . We are using the standard KM and havent customized any KM
    With Thanks,
    Shilpa Dhote

    The question is what Knowledge modules are you using? Some use Bulk type processing, others transaction based. You can list knowledge modules by interface using a SQL query like this one :
    http://odiexperts.com/kms-in-each-interface

  • Issue when execute query in JAVA portal

    Hi all,
    I aways used the Query Designer 3.x and now im using the Query Design and i know that run with JAVA portal. So I have new issues and it not expected.
    When I run RSRT and select a query I have no problems running by ABAP but when I select JAVA Web i had issue.
    I know that JAVA give the addres:
    http://MACHINE:PORT/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.....
    but in my case only give me:
    /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.....
    Anyone have some idea?
    Thanks in advice
    Ralph

    Hello,
    Let me understand the issue.
    When you click on Java Web (RSRT), the browser opens the following URL "/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom....." ?
    Download the note 937697 and follow the instructions. Maybe the BI Master data is not configured on your portal.
    This note will detects the inconsiste and suggest a solution.
    Also, there is a table which you have to maintain the Portal server name.
    TABLE: RSPOR_T_PORTAL
    Check if exist a default portal on this table.
    Thanks...
    Edward John

  • Uploading issues to other providers than .mac

    has anyone had uploading issues to other providers than .mac??

    can the names of the pages have spaces in them, or do
    i have to change both the file name and the name of
    the page?
    As the note says, some servers will let you upload files with spaces in their names, and some will not. Names without spaces will always work.
    In iWeb, the name you give to a site or page is the same as the name of the folder or file associated with it. So to avoid spaces in folder or file names, you need to omit them in the site and page names, or replace by hyphen or underscore.

  • Issue with XSL transformation in Java Stored Procedure

    Hi,
    Am having issue applying XSL transformation in Java Stored procedure. I have loaded the java class as well as .XSL files through loadjava uility and their status in DB is VALID.
    Below is the code in the java stored procedure:
    public static String tranform(String strInputXML ){
    URL url = ClassLoader.getSystemClassLoader().getResource(first.xsl);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(new ByteArrayInputStream (strInputXML.getBytes("UTF-8")));
    TransformerFactory tFactory = TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(url.openStream());
    Transformer transformer = tFactory.newTransformer(stylesource);
    When I run this procedure, am getting following errors:
    {color:#ff0000}*ERROR: 'No such file or directory'*
    FATAL ERROR: 'Could not compile stylesheet'{color}
    My first.xsl file has reference to other excel file (Ex: &lt;xsl:include href="second.xsl"/&gt;) which seems to be causing this error. When I remove the reference, procedure is working fine.
    Pls let me know how to resolve this and read the .XSL file with references.
    Thanks,

    Hello,
    Thanks for the reply. Actually I have seen that post before creating this thread. I thought that I could make use of java mail to work around this problem. I created a java class that succesfully sends mail to SSL host. I tried to call this java class from pl-sql through java stored procedure. That did not work
    So, is this not supported in Oracle ? Please note that I have tested this in both 9i and 11g , in both the versions I got the error. You can refer to the code in the above post.
    Thanks
    Srikanth
    Edited by: user12050615 on Jan 16, 2012 12:17 AM

  • Preventing the Java stack crashing due to memory issues

    Hi all,
    We have a SAP PI 7.0 installation and we have encountered issues with Java mappings utilizing all available memory on the Java stack and causing the server to slow and eventually crash. The original issue was caused by a poorly coded map, but as this is a large installation we want to protect ourselves against any other poor coding that may be on the system or introduced later.
    Are there any configuration options within the WEB AS whereby we can either limit the amount of memory available to the execution of any one mapping, or that will enable the server to stop processing once a set limit is reached?
    Any help will be much appreciated.
    Many thanks
    Ian

    HI,
    Pls find the below links about javastack
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    pls find the below links for java stack trouble shooting.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/(Kernel)OOM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/commonissues__vmsettings
    Reward points if needful.
    Thanks,
    RamuV

  • Which "IPTC metadata compatibility issues" are addressed in 10.6.4?

    The Knowledge Base article at http://support.apple.com/kb/HT4150 states that 10.6.4:
    * addresses IPTC metadata compatibility issues
    in Aperture 3. Does anybody know specifically which problems were resolved? (ie, are there discussions hereabouts detailing the issue?)
    -Steve

    I found this topic doing a web search for a solution, but I'd like to point out that this is much more than a "gaming" issue.
    Those of us who need OpenGL for 3D apps are running into problems as well.
    http://forums.adobe.com/message/2932237

  • Login issue with respect to ABAP and JAVA Stack

    Dear All,
    we are trying to make an external facing portal which has
       Content Area
       Left Navigation(custom par)
       Login
    we are having two servers one is running on ABAP stack and other one on JAVA stack, at different locations.we need to deploy the same portal applications on both the servers.Both the servers are EP7 and SP10
    I had downloaded the com.sap.portal.runtime.logon.par.bak file and renamed it and modified it in terms of taking out the TopArea.txt and BotArea.txt from the umlogon.jsp page and uploaded the par in portal and created the ivew for the same.
    our requirement is similiar to the funtionality as of SDN External Facing portal.
    The iview(logon iview) is added to the anonymous framework page.The iviews on both the servers have the same par.
    In case of  ABAP stack server,after logon,the respective roles of the user are rendered in the Left Navigation.
    However in case of JAVA Stack sever ,after logon, one enters into the portal itself.
    We are not able to ascertain what might be the reason for such a behaviour, as the par is same in both the server. Is there any different mechanism, in case of Java Stack and ABAP stack? If so what points need to be kept in mind?
    Also would like to know, is the approach correct? or is there any other approach?
    Thanks
    Gunjan

    Hi Michael,
    Firstly, I'll explain the complete scenario.
    The configuration of the two servers are as below.
    1)  The server is running on ABAP+JAVA Stack and the data source  of UME Collaboration data source is on ABAP System
    2)The Second server is running on Java Stack and the UME collaboration data source is Database only.
    our portal has the same desktop on both the server. there are no TLN. We have only Masthead, Left Navigation, Content Area and Login. Everything is the same except the above mentioned points.
    On the 1st System, when we log on we are able to see our custom Desktop developed by us.
    On the 2nd server, when we log on, we are not able to see the custom Desktop developed by us, infact we get the default SAP Netweaver Portal with TLN specific to the Logged in User.
    Why are we facing this scenario in the 2nd server, We felt it might be because of the difference in the Stack and Data Source. Are we targeting in the right direction?
    Or is it that we are missing some thing or doing something wrong in the UME configurations on the 2nd System.
    Thanks

Maybe you are looking for