SUNOPSIS to ODI migration : AS/400 error in work repository upgrade

Hi,
We're migrating SUNOPSIS v3.2.02.19 to ODI 10.1.3.5.0, with repositories on DB2 AS/400.
We achieve to migrate master repository without any problem, and we try now to migrate the work repository and we have the following error :
+java.sql.SQLException: [SQL0404] La valeur destinée à la colonne ou la variable TABLE_NAME est trop longue.+
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:520)
at com.ibm.as400.access.AS400JDBCStatement.commonExecute(AS400JDBCStatement.java:822)
at com.ibm.as400.access.AS400JDBCPreparedStatement.executeUpdate(AS400JDBCPreparedStatement.java:1179)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.xml.DwgXmlSession.execute(DwgXmlSession.java)
It seems that as column name, table name or variable name in migration process is too long, but i don't have any ideas of which. What can i solve this problem ? Any solution or workaround ?
thanks for help !
Edited by: julienpeltier on 19 oct. 2010 04:12
Edited by: julienpeltier on 19 oct. 2010 04:13

Check out the metalink document for upgrade
Best Practices For Upgrading From Sunopsis To Oracle Data Integrator [ID 437223.1]
Important things to be aware of if you are upgrading from Sunopsis V3:
Sunopsis V3 uses JVM 1.3.1 while ODI 10.1.3 requires a minimum of JVM 1.4.2. This is not an issue if you are upgrading from Sunopsis v4.
Sunopsis V3 allows mixed-case Context Codes, which are automatically converted to upper-case in V4 and ODI versions. To fix the Issue, manual updates of all Context Codes referenced in the Work Repository must be performed. These updates should be made on all Work Repositories related to a same Master Repository.
In Sunopsis V3 DB2UDB Technology definition (\lib\scripts\xml\TECH_IBMDB2UDB.xml), The BLOB is defined with a size of 2G. The Master Repository creation fails at
CREATE TABLE SNP_DATA ( I_DATA NUMERIC(10) NOT NULL, DATA_CONTENTS BLOB(2G)
with error message :
SQLCODE -355 SQLSTATE 42993 SQLERRMC: DATA_CONTENTS
The error means that the column is too large for logging. 2G exceeds DB2 1G limit for Blob datatypes. This is fixed in Sunopsis 4.0.
After upgrading Sunopsis v3 Master to ODI, the user will still run into this issue if he tries to export this upgraded Master and import it into another Master using mimport.bat.
Solution: Modify the upgraded V3 Master Repository TECH_IBMDB2UDB.xml file and change the 2g to 100M. i.e.
<Field name="DdlLongrawMask" type="java.lang.String"><![CDATA[BLOB(100M)]]></Field>
Then try the import again.

Similar Messages

  • I got the error "your work repository is not up to date"

    Hi guys,
    After a failed process of upgrade from 10g to 11g I got the error "your work repository is not up to date", this when I try to access to Designer Navegator.
    I attempt to access using the repositories cloned, and the original repositories
    I recover form th bakcup of the repositories original but also I got the error.
    Any help will be appreciated: Thanks in advance.

    Implement log based change data capture
    ORV,
    Please refrain from posting duplicate posts.

  • Error in Work Repository with Standalone Agent

    Hi There!
    Does anyone know how to identify and resolve the following error?
    2013-08-06 09:04:03.897 NOTIFICATION ODI-1128 Agent agent001 is starting. Application Server: STANDALONE. Agent Version: 11.1.1.3.0 - 23/06/2010. Port: 1028. JMX Port: 2028
    2013-08-06 09:04:37.052 NOTIFICATION ODI-1136 Starting Schedulers on Agent agent001
    2013-08-06 09:04:37.325 NOTIFICATION ODI-1111 Agent agent001 started. Agent version: 11.1.1.3.0 - 23/06/2010. Port: 1028. JMX Port: 2028.
    2013-08-06 09:04:38.963 NOTIFICATION ODI-1137 Scheduler started for work repository WORKREP on Agent agent001
    2013-08-06 09:05:01.216 WARNING Agent HA proxy: Exception thrown on JDBC call, but connection is still OK.  Exception will be rethrown.
    2013-08-06 09:05:01.241 ERROR ODI-1219 Session preparation failure: database error while connecting to work repository WORKREP.
    2013-08-06 09:05:09.594 WARNING Agent HA connection proxy: Retry method 'getConnection': Retry count = 3, retry delay = 15000
    ERROR ODI-1219 Session preparation failure: database error while connecting to work repository WORKREP
    2013-08-06 09:05:18.887 WARNING Agent HA proxy: Exception thrown on JDBC call, but connection is still OK.  Exception will be rethrown.
    2013-08-06 09:05:18.890 ERROR ODI-1219 Session preparation failure: database error while connecting to work repository WORKREP.
    Any help is appreciated..

    Hi!
    I already verified this and the get successful connection.
    The "ping" process between the two points is ok too.
    there are any other idea?

  • ODI work repository error

    Hi all,
    some one installed a new ODI on my machine and made a new master repository on the same user, then when i tried to access ODI this error appeared "your master repository is not up to date" , so i took backup and I upgraded the master repository, now I have this error "connection to repository denied" "Unknown work repository".
    and when i create a new work repository from ODI , it asks me for the work repository password and i tried every single password i know and it didn't work out.
    P.S: ODI version is 10.1.3
    thanks a lot for helping guys.

    Hi,
    could you compare resultset from this query
    select CON_NAME,PASS from snp_connect where CONNECT_TYPE = 'R'
    executed both on backup and "actual" master repository?

  • ODI Migration for 10.1.3.5 to 11.1.1.3 failed with Importing object

    ODI Migration from 10.1.3.5 to 11.1.1.3 failed
    DB Repositories -Oracle 11.1.0.7
    I am trying to upgrade ODI 10.1.3.5 to 11.1.1.3 version
    After running RCC and confirming that there are no issues I have run upgrade assistant utility
    I am getting below error.
    mporting file:/E:/Oracle/Middleware/Oracle_ODI1/oracledi.sdk/lib/scripts/xml/CONN_MEMORY_ENGINE.xml
    [2012-05-02T06:17:27.770-07:00] [ODI] [INCIDENT_ERROR] [UPGCMP-00324] [upgrade.ODI] [tid: 14] [ecid: 0000JSDg06MF^6WFLzmJOA1FcIg5000005,0] Topology and Security Metadata upgrade failed.[[
    oracle.odi.core.exception.OdiRuntimeException: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Importing object SNP_CONNECT : SUNOPSIS_MEMORY_ENGINE failed.
         at oracle.odi.impexp.support.ImportServiceImpl.internalReimportTopologyReferenceData(ImportServiceImpl.java:1372)
         at oracle.odi.impexp.support.ImportServiceImpl$18.doAction(ImportServiceImpl.java:1435)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:193)
         at oracle.odi.core.persistence.dwgobject.TransactionalDwgObjectTemplate.execute(TransactionalDwgObjectTemplate.java:48)
         at oracle.odi.impexp.support.ImportServiceImpl.reimportTopologyReferenceData(ImportServiceImpl.java:1429)
         at oracle.ias.mrua.plugin.odi.ODIPlugin$1.doInTransaction(ODIPlugin.java:774)
         at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:119)
         at oracle.ias.mrua.plugin.odi.ODIPlugin.doUpgrade(ODIPlugin.java:770)
         at oracle.ias.mrua.MRUA.executePlugins(MRUA.java:3703)
         at oracle.ias.mrua.MRUA.internal_driver(MRUA.java:2465)
         at oracle.ias.mrua.MRUA.driver(MRUA.java:1734)
         at oracle.ias.upgrade.gui.UAUpgradeThread.run(UAUpgradeThread.java:390)
    Caused by: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Importing object SNP_CONNECT : SUNOPSIS_MEMORY_ENGINE failed.
         at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:2379)
         at com.sunopsis.dwg.DwgDuplicationTools.synonymImport(DwgDuplicationTools.java:1835)
         at com.sunopsis.dwg.DwgObject.importFromObjectLst(DwgObject.java:6249)
         at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:5705)
         at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:5365)
         at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:5334)
         at com.sunopsis.repository.manager.RepositoryManager.importObjectsUsingImportFromXML(RepositoryManager.java:6578)
         at com.sunopsis.repository.manager.RepositoryManager.treatObjectList(RepositoryManager.java:4630)
         at com.sunopsis.repository.manager.RepositoryManager.reimportTopologyReferenceData(RepositoryManager.java:6820)
         at oracle.odi.impexp.support.ImportServiceImpl.internalReimportTopologyReferenceData(ImportServiceImpl.java:1368)
         ... 11 more
    Caused by: com.sunopsis.dwg.SQLMasterReposException: ORA-00001: unique constraint (ODIM.AK_CONNECT) violated
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1009)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3657)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.generated.GeneratedSnpConnect.insertAction(GeneratedSnpConnect.java:957)
         at com.sunopsis.dwg.dbobj.SnpConnect.insertAction(SnpConnect.java:1188)
         at com.sunopsis.dwg.DwgObject.insertActionForDuplication(DwgObject.java:2996)
         at com.sunopsis.dwg.DwgObject.insertForDuplication(DwgObject.java:3274)
         at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:2332)
         ... 20 more
    [2012-05-02T06:17:29.895-07:00] [ODI] [INCIDENT_ERROR] [] [upgrade.ODI] [tid: 14] [ecid: 0000JSDg06MF^6WFLzmJOA1FcIg5000005,0] [[
    --------- ODIPlugin.doUpgrade called org.springframework.transaction.TransactionSystemException: Could not commit ODI-JPA transaction; nested exception is javax.persistence.RollbackException: Transaction rolled back because transaction was set to RollbackOnly.
    Caused by: javax.persistence.RollbackException: Transaction rolled back because transaction was set to RollbackOnly.
         at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commitInternal(EntityTransactionImpl.java:92)
         at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:63)
         at oracle.odi.core.persistence.jpa.JpaOdiTransactionManager.doCommit(JpaOdiTransactionManager.java:362)
         at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:651)
         at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:622)
         at oracle.odi.core.persistence.transaction.support.TransactionManagerSpringAdapter.commit(TransactionManagerSpringAdapter.java:56)
         at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:132)
         at oracle.ias.mrua.plugin.odi.ODIPlugin.doUpgrade(ODIPlugin.java:770)
         at oracle.ias.mrua.MRUA.executePlugins(MRUA.java:3703)
         at oracle.ias.mrua.MRUA.internal_driver(MRUA.java:2465)
         at oracle.ias.mrua.MRUA.driver(MRUA.java:1734)
         at oracle.ias.upgrade.gui.UAUpgradeThread.run(UAUpgradeThread.java:390)

    I also want to do the ODI Migration for 10.1.3.5 to 11.1.1.3, can you let me know your detail steps, many thanks in advance.

  • Error while trying to upgrade ODI repository using export/ import

    Hi,
    I am getting below error while trying to import an ODI project from dev environment into my QA environment which has an older version of project.
    com.sunopsis.core.SnpsNotConsistentSynonymImport: ODI-10013: This import action has been cancelled because it could damage your repository. This is due to an SNP_COL object that has object identifier 13712007 that is greater than that for the current SNP_COL id sequence. Importing this object would lead to primary key violations in the future.
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:6041)
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:5781)
    at com.sunopsis.repository.manager.RepositoryManager.importObjectsUsingDoImport(RepositoryManager.java:5194)
    at com.sunopsis.repository.manager.RepositoryManager.treatObjectListGeneral(RepositoryManager.java:3587)
    at com.sunopsis.repository.manager.RepositoryManager.workRepositoryImport(RepositoryManager.java:4002)
    at com.sunopsis.repository.manager.RepositoryManager.workRepositoryImport(RepositoryManager.java:4174)
    at com.sunopsis.graphical.dialog.SnpsDialogImportWork$1.run(SnpsDialogImportWork.java:519)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
    at java.lang.Thread.run(Thread.java:619)
    Did anyone face this error? What is causing this error? What should be done to resolve this error?
    Edited by: 854415 on Oct 18, 2011 4:51 AM

    Hi
    Did you follow below approch
    Goto Topology> File Menu>Export>Export Master Repository in ZIP format
    File Menu>Export>Export Logical Topology in ZIP format
    In Designer, go to File menu>Export>Export Work Repository in ZIP format
    Quit from old ODI instance
    Login into New ODi instance
    Goto Topology> Import>Import Master Repository in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    Import>Import Logical Topology in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    In Designer Import>Import Work Repository in ZIP format (please select INSERT and UPDATE Mode option from dropdown list)
    Note: Once it is done please change the Work repository ID on New ODI instance
    Regards,
    Phanikanth

  • Http status 400 error in the emulator

    I successfully have run the servlet (ImageAdapter.java). The servlet is suposed to convert GIF images into PNG images according to the clients display settings by using Sun's Jimi packages. It displays both gif and png type images in IE. Now, I am trying to run the midlet (ImageClient.java) in the J2ME toolkit 2.2. It displays the gif image in the emulator. But, when I try to display a png image it gives me a http 400 error. Why is this ? Can anyone help ?
    servlet code: ImageAdapter.java
    import com.sun.jimi.core.*;
    import com.sun.jimi.core.util.*;
    //import com.sun.jimi.util.*;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.lang.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * A simple example of a servlet that reads the image from
    * a given URL and uses Jimi to convert it to PNG format,
    * scaling it and recoloring it appropriately for the device.
    * Can be called using either GET or POST.  If GET, then the
    * request parameters are used to determine the URL of the
    * image to fetch and the scaling and color attributes.
    * If POST, the data is sent as UTF-encoded string pairs in the
    * request body.
    public class ImageAdapter extends HttpServlet {
        // The PNG MIME type
        static final String PNG_MIME = "image/png";
        // Convenience method
        static boolean getBooleanProperty( Properties p,
                                           String key,
                                           boolean def ){
            String  sval = p.getProperty( key );
            boolean bval = def;
            if( sval != null ){
                bval = ( sval.equalsIgnoreCase( "true" ) ||
                         sval.equals( "1" ) );
            return bval;
        // Convenience method
        static int getIntegerProperty( Properties p,
                                       String key,
                                       int def ){
            String sval = p.getProperty( key );
            int    ival = def;
            if( sval != null ){
                try {
                    ival = Integer.parseInt( sval );
                catch( NumberFormatException e ){
            return ival;
        // Process GET requests.  Sets up some defaults and then
        // overrides them with the request parameters.
        public void doGet( HttpServletRequest request,
                            HttpServletResponse response )
                throws IOException, ServletException {
            // Put in some defaults for testing with a browser
            Properties props = new Properties();
            props.put( "url",
                 "http://localhost:8080/img/Availability.png" );
            props.put( "colors", "256" );
            props.put( "minwidth", "200" );
            props.put( "maxwidth", "200" );
            props.put( "minheight", "200" );
            props.put( "maxheight", "200" );
            // Overwrite the default with any request parameters...
            Enumeration names = request.getParameterNames();
            while( names.hasMoreElements() ){
                String key = (String) names.nextElement();
                props.put( key, request.getParameter( key ) );
            // Now send back the image...
            adaptImage( props, response );
        // Process POST request.  Parameters are extracted from
        // the request body.
        public void doPost( HttpServletRequest request,
                            HttpServletResponse response )
                throws IOException, ServletException {
            // Get the input stream and read the data...
            ServletInputStream in = request.getInputStream();
            DataInputStream    din = new DataInputStream( in );
            Properties         props = new Properties();
            // Read in properties as sent by client.
            while( true ){
                try {
                    String key = din.readUTF();
                    if( key.length() == 0 ) break;
                    props.put( key, din.readUTF() );
                catch( IOException e ){
                    break;
            din.close();
            adaptImage( props, response );
        // Use Jimi to grab the original image and
        // then scale it and reduce its colors
        // based on the requested settings.
        private void adaptImage( Properties props,
                                 HttpServletResponse response )
                    throws IOException, ServletException {
            // Read in the parameters, with appropriate
            // defaults.
            String imageURL = props.getProperty( "url" );
            if( imageURL == null ){
                response.sendError( response.SC_BAD_REQUEST,
                                   "No 'url' specified" );
                return;
            int minWidth = getIntegerProperty( props,
                                               "minwidth",
                                               0 );
            int maxWidth = getIntegerProperty( props,
                                               "maxwidth",
                                               96 );
            int minHeight = getIntegerProperty( props,
                                                "minheight",
                                                0 );
            int maxHeight = getIntegerProperty( props,
                                                "maxheight",
                                                0 );
            int colors = getIntegerProperty( props,
                                             "colors", 2 );
            boolean dither = getBooleanProperty( props,
                                                 "dither",
                                                 true );
            boolean reduce = getBooleanProperty( props,
                                                 "reduce",
                                                 false );
            // Now read in the image using Jimi...
            URL url;
            try {
                url = new URL( imageURL );
            catch( MalformedURLException e ){
                response.sendError( response.SC_BAD_REQUEST,
                                    "Invalid image URL" );
                return;
            Image img = Jimi.getImage( url, Jimi.SYNCHRONOUS |
                                            Jimi.IN_MEMORY );
            if( img == null ){
                response.sendError( response.SC_BAD_REQUEST,
                                    "Bad image format" );
                return;
            // Now adjust the image, first by
            // scaling it if necessary....
            int     width = img.getWidth( null );
            int     height = img.getHeight( null );
            boolean scale = false;
            if( width < minWidth ){
                width = minWidth;
                scale = true;
            } else if( width > maxWidth){
                width = maxWidth;
                scale = true;
            if( height < minHeight ){
                height = minHeight;
                scale = true;
            } else if( height > maxHeight ){
                height = maxHeight;
                scale = true;
            if( scale ){
                img = img.getScaledInstance( width, height,
                           Image.SCALE_SMOOTH );
                GraphicsUtils.waitForImage( img );
            // Now adjust the color depth...
            if( reduce ){
                ColorReducer reducer = new ColorReducer( colors,
                                                         dither );
                try {
                    img = reducer.getColorReducedImage( img );
                catch( Exception e ){
                    response.sendError( response.SC_BAD_REQUEST,
                                        "Error reducing image" );
                    return;
                GraphicsUtils.waitForImage( img );
            // Convert it to PNG format
            ByteArrayOutputStream bout = new ByteArrayOutputStream();
            try {
                Jimi.putImage( PNG_MIME, img, bout );
            catch( Exception e ){
                response.sendError( response.SC_BAD_REQUEST,
                                    "Error converting image" );
                return;
            byte[] data = bout.toByteArray();
            // Send it out!
            response.setContentType( PNG_MIME );
            response.setContentLength( data.length );
            response.setStatus( response.SC_OK );
            OutputStream out = response.getOutputStream();
            out.write( data );
            out.close();
    }MIDlet code: ImageClient.java
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    * A MIDP application that fetches and displays an arbitrary
    * image from the Web using the ImageAdapter servlet.
    * This class depends on HttpConnectionHelper, described
    * in an earlier J2ME Tech Tip.
    public class ImageClient extends MIDlet
                             implements CommandListener {
        // Adjust this URL appropriately for the adapter...
        private static String adapterURL =
         "http://localhost:8080/img/image";
        // A default image to display...
        private static String defaultURL =
         "http://localhost:8080/img/Availability.png";
    //http://www.w3schools.com/images/ie.gif
        private Display display;
        private Command exitCommand = new Command( "Exit",
                                                   Command.EXIT, 1 );
        private Command okCommand   = new Command( "OK", Command.OK, 1 );
        private Command sendCommand = new Command( "Get",
                                                   Command.OK, 1 );
        private TextBox entryForm;
        private int     screenHeight;
        private int     screenWidth;
        private int     numColors;
        public ImageClient(){
        protected void destroyApp( boolean unconditional )
                           throws MIDletStateChangeException {
            exitMIDlet();
        protected void pauseApp(){
        protected void startApp()
                          throws MIDletStateChangeException {
            if( display == null ){ // first time called...
                initMIDlet();
        // First we display the dummy canvas so we can
        // get information about the display
        private void initMIDlet(){
            display = Display.getDisplay( this );
            entryForm = new EntryForm();
            display.setCurrent( new DummyCanvas() );
        public void exitMIDlet(){
            notifyDestroyed();
        public void commandAction( Command c, Displayable d ){
            if( c == sendCommand ){
                StatusForm f =
                    new StatusForm( entryForm.getString() );
                display.setCurrent( f );
                f.start();
            } else if( c == okCommand ){
                display.setCurrent( entryForm );
            } else {
                exitMIDlet();
        // A dummy canvas to get the size of the screen
        class DummyCanvas extends Canvas {
            protected void paint( Graphics g ){
                screenHeight = getHeight();
                screenWidth  = getWidth();
                numColors    = display.numColors();
                // Go directly to the main screen
                display.setCurrent( entryForm );
        // The text entry form...
        class EntryForm extends TextBox {
            EntryForm(){
                super( "Enter a URL", defaultURL, 80, 0 );
                addCommand( exitCommand );
                addCommand( sendCommand );
                setCommandListener( ImageClient.this );
        // Show the image...
        class ShowImage extends Canvas {
            ShowImage( byte[] imageData ){
                image = Image.createImage( imageData, 0,
                                           imageData.length );
                display.setCurrent( this );
                addCommand( okCommand );
                setCommandListener( ImageClient.this );
            protected void paint( Graphics g ){
                g.drawImage( image, 0, 0,
                             g.TOP | g.LEFT );
            private Image image;
        // A status for for displaying messages as the data is sent...
        class StatusForm extends Form
                     implements Runnable,
                                HttpConnectionHelper.Callback {
            StatusForm( String url ){
                super( "Status" );
                try {
                    ByteArrayOutputStream bout =
                                new ByteArrayOutputStream();
                    DataOutputStream      dout =
                                new DataOutputStream( bout );
                    // Write info about the image and the
                    // display settings for this device
                    dout.writeUTF( "url" );
                    dout.writeUTF( url );
                    writeInt( dout, "minwidth", screenWidth );
                    writeInt( dout, "maxwidth", screenWidth );
                    writeInt( dout, "minheight", screenHeight );
                    writeInt( dout, "maxheight", screenHeight );
                    writeInt( dout, "colors", numColors );
                    writeInt( dout, "reduce", 1 );
                    writeInt( dout, "dither", 1 );
                    dout.writeUTF( "" );
                    data = bout.toByteArray();
                    dout.close();
                catch( IOException e ){
                    // should handle this....
            void writeInt( DataOutputStream dout, String key,
                           int value ) throws IOException {
                dout.writeUTF( key );
                dout.writeUTF( Integer.toString( value ) );
            // Updates the display.
            void display( String text ){
                if( message == null ){
                    message = new StringItem( null, text );
                    append( message );
                } else {
                    message.setText( text );
            // We're done.
            void done( String msg ){
                display( msg != null ? msg : "Done." );
                addCommand( okCommand );
                setCommandListener( ImageClient.this );
            // Callback for making the HTTP connection.
            public void prepareRequest( String originalURL,
                           HttpConnection conn ) throws IOException
                conn.setRequestMethod( HttpConnection.POST );
                conn.setRequestProperty( "User-Agent",
                  "Profile/MIDP-2.0 Configuration/CLDC-1.1" );
                conn.setRequestProperty( "Content-Language",
                  "en-US" );
                conn.setRequestProperty( "Accept", "image/png" );
                conn.setRequestProperty( "Connection", "close" );
                conn.setRequestProperty( "Content-Length",
                  Integer.toString( data.length ) );
                OutputStream os = conn.openOutputStream();
                os.write( data );
                os.close();
            // Do the connection on a separate thread to keep the UI
            // responsive...
            public void run(){
                HttpConnection conn = null;
                display( "Obtaining HttpConnection object..." );
                try {
                    conn =
                      HttpConnectionHelper.connect( adapterURL,
                                                    this );
                    display( "Connecting to the server..." );
                    int rc = conn.getResponseCode();
                    if( rc == HttpConnection.HTTP_OK ){
                        try {
                            DataInputStream din = new DataInputStream(
                                                conn.openInputStream() );
                            data = new byte[ (int) conn.getLength() ];
                            din.readFully( data );
                            din.close();
                        catch( IOException e ){
                        done( "Image received" );
                        new ShowImage( data );
                    } else {
                        done( "Unexpected return code: " + rc );
                    conn.close();
                catch( IOException e ){
                    done( "Exception " + e +
                          " trying to connect." );
            // Starts the upload in the background...
            void start(){
                display( "Starting..." );
                Thread t = new Thread( this );
                try {
                    t.start();
                catch( Exception e ){
                    done( "Exception " + e +
                          " trying to start thread." );
            private StringItem message;
            private byte[]     data;
    }Regards,
    Ship.

    I have the same problem and I don`t found info about this. How do you solved this problem.

  • Getting Error Out Of Memory while importing the work repository in ODI 10g

    I exported the work repository from topology of ODI 10g of one DB and tried importing it in the another ODI 10g topology of another DB.While importing i got the error 'Out of Memory' .
    Can somebody suggest me ,how to solve the heap size out of memory issue while importing in ODI 10g.
    Thanks in Advance.

    Hi,
    you have to post your question in ODI forum
    Data Integrator
    Suresh

  • Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED

    Hi experts,
    I have a big issue in production server,
    the Queues are stuking in smq2 " command to tRFC/qRFC: execute LUW again"
    if i am reprocess or press F6 it is going manually.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html><head><title>Application Server Error</title> <style type="text/css"> body { font-family: arial, sans-serif;} </style> </head> <BODY text="#172972" link="#808080" vlink="#808080" alink="#8e236b" bgcolor=white leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <table height="61" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://xidist:8000/sap/public/icman/img/bluebar_tile.gif" height="30"><table> <tr> <td width=5></td> <td width=20% nowrap><font face=arial size="-1" color=white>SAP NetWeaver Application Server </font></td><td width=75% align="right" nowrap><font face=arial size="-1" color="white"><a href="http://help.sap.com/">Help </font></td><td width=5% nowrap></font></td> </tr></table> </td><td rowspan=2 width=122 height=61 valign=top><img src= "http://xidist:8000/sap/public/icman/img/theme.jpg" width=122 height=61 border=0 alt="SAP"></td> </tr><tr><td background="http://xidist:8000/sap/public/icman/img/graybar_tile.jpg" height="31">  </td></tr> </table> <br><br> <table width=800> <tr><td width=50 nowrap> </td><td> <H2><b>404 Resource not found</b></H2><br>Partner not reached<br><br><hr> <table border="0"> <tr><td>Error:</td><td>-20</td></tr> <tr><td>Version:</td><td>7000</td></tr> <tr><td>Component:</td><td>ICM</td></tr> <tr><td>Date/Time:</td><td>Wed May 14 15:50:24 2014 </td></tr> <tr><td>Module:</td><td>icxxconn.c</td></tr> <tr><td>Line:</td><td>2341</td></tr> <tr><td>Server:</td><td>xidist_GXI_00</td></tr> <tr><td>Error Tag:</td><td>{004654a1}</td></tr> <tr><td>Detail:</td><td>Connection request from (110/28816/0) to host: xidist, service: 50000 failed (NIESERV_USED) EX-T110, U28816, 001 PIAFUSER, 10.1.57.50, 15:50:24, M0, W1, , 1/0</td></tr> </table> <p></p> </td></tr></table> <table><tr><td width=50 nowrap></td> <td nowrap><FONT SIZE=-1><a href="http://www.sap.com/">&copy; 2001-2009, SAP AG</a></FONT> </td></tr></table> </body></html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Regards,
    Kiran polani

    Dear Sriram Ramani,
    in ths case some scenarios are working good. proxy to soap, idoc to soap and jdbc to proxy, proxy to jdbc all are working with out error.
    but my problem is in Soap to RFC case..
    for all RFC communication channels are working but some time it is throwing RFC_COMMUNICATION_ERROR and messages are stucks in smq2 with retry.
    when i check with retry error with in sxmb_moni log showing ICM_HTTP_CONNECTION_FAILED with error code 400.
    not for all signals for few signals for some time..
    Why it is happening i can't understand.
    in repository it is saying Repsitory object hmi failed and address already in use.
    is there any problem with loading IR objects.
    Please suggest me good suggestion for this type of issue what can do for this to resolve.
    Regards,
    Kiran Polani

  • Please help me fix a 400 error message that i'm getting for a site I've visited a number of times and is accessible through Safari browser.

    I am a fitbit owner and downloaded their app on my macbook pro several weeks ago. I have accessed that app to review fitbit progress multiple times each day since. Today, i can not do that. I can't even access the Fitbit website. I get a 400 error - your browser has sent an invalid request.
    i am having no trouble accessing any other internet content via firefox.
    I can access the Fitbit website and my account through Safari. i can also access the Fitbit website and my account through my iphone. The problem appears to be something specific between my firefox and Fitbit.
    Thanks for your help.

    Hi,
    You should be able to fix this by clearing Firefox's cookies and cache. Here's how:
    #Click the menu button [[Image:New Fx Menu]] and click History button, and then Clear Recent History... .
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Let me know how it goes,
    Michael

  • Error code: 400, error text: ICM_HTTP_CONNECTION_FAILED

    Every now and then we are getting the following error on a synchronous call from XI 3.0.
    Error when receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED)
    Usually it is from XI to R/3 (that's where most of our synch calls take place) but occasionally it happen on a synchronous call to a JDBC comm channel.
    It is not just one interface that causes this issue and the same interface will be OK if we re-run it with same data.
    I suspect some system parameter is off, or it's just a bug in XI.  Any one else run into this ?  if so, have you found a fix ?  SAP hasn't been much help for us thus far.
    Thanks in advance for any help.

    Hi Tim,
    Can you check this thread-
    ICM_HTTP_CONNECTION_FAILED
    Also check SAP Note 824554,783515,910649,706563.
    Cache Refresh~
    https://websmp201.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Hope this helps,
    Regards,
    Moorthy

  • OWB 10.2 to ODI migration

    Hello All -
    I have been trying to find some resources to migrate my existing OWB10.2 environment into ODI 11 but was unsuccessful. Is there any official document available which talks about migration of OWB10.2 to ODI11? I know there is a third party provider of OWB to ODI migration OWB2ODIConverter.com but I am more interested in official document from Oracle for a migration path. I have attended a session with Oracle around 2 yrs back where we talked about a unified ETL product merging OWB + ODI but I think it is still underway.
    Any help is highly appreciated.
    Thanks,
    Arun

    stesappo wrote:
    Hi there!
    I'd like to know if someone can tell me if there is some problem if I want to "migrate" a mdl file from 10.2 to 11.2.
    I mean: I've got a mdl file built in OWB 10.2, Is it possible to import it in OWB 11.2 without problem or not?
    If the answer is no, what am I supposed to do for my need?
    Thanks in advance
    StevenThere are some patches to OWB that you will want to get if you are doing this...
    http://blogs.oracle.com/warehousebuilder/2010/08/recommended_owb_patch_before_repository_upgrade_or_migration_9802120.html?goback=.gmp_140609.gde_140609_news_183727185
    Your best option is to go to 11.2.0.2 if you can but otherwise get patch 9802120.

  • HT2518 When I try using Migration Assistant an error appears on my pc... "An error occurred while preparing your information for transfer."  My mac just continues searching for the pc and yet both are on the same wifi.  Please help!!!

    When I try using Migration Assistant an error appears on my pc... "An error occurred while preparing your information for transfer."  My mac just continues searching for the pc and yet both are on the same wifi.  I'm not getting anywhere!  Please help!!!

    Simple...
    http://www.apple.com/uk/support/mac/app-store/contact/

  • Where to find the migration reports and errors

    i am using Oracle SQL developer 3.0 for migrating MS SQL 2008 to oracle using migration wizard,after clicking on finish the tool throws the null as error window and asked me to look into migration reports. where should i find the migration reports and errors
    KK
    Edited by: 860986 on May 25, 2011 9:33 PM

    Log into the SQL Developer Migration repository and you get the list of Migration Projects.
    Click on the project you're interested into and on the right side you get a pane with Status, Summary, Analysis...
    The Summary pane shows you how many objects SQL Dev migrated.
    You also have Capture isues showing you the issued during the capture phase as well as Conversation Issues etc.

  • While doing ODI migration what things are needed to be setup in Topology?

    While doing ODI migration what things are needed to be setup in Topology manager ?
    1.Like in Toplogy in file we hive file paths.
    2. In Planning we set Logical schema .
    Not sure about other things.
    Hoping some can can help!!!!!!!!!!!!!!!11

    Lots of things are defined in the topology manager - below is a simplified list
    1) Physiccal Schemas the actual connection information / details related to any technology you plan to use in your ODI integration interfaces
    2) Logical schema, abstracted version of the Physical schema which allows greater flexibility ad reuse across environments
    3) Contexts - how you asssociate logical and physical schemas
    4) Agents - manage the execution of ODI jobs
    When you talk about migration, do you mean moving ODI objects between seperate environments such as Dev and Prod? If so you will need to ensure that all the technologies you use in Dev are present in Prod. The physical layer has been set up with all the correct connection details. Your logical scemas has been set up matching your configuration in the dev environment and you have used the contexts to associate the logical and physical layers as per your dev configuration.

Maybe you are looking for

  • Lost my phone numbers, how do i get them back with a backup?

    how do you work the back up so i can get my notes and phone numbers back?

  • Adobe to Word FAIL

    Hello, i have tried to convert a pdf file into word and i get this text in the created word file: To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.a

  • Work Center: Capacities vs Scheduling tab

    Hi everyone, I am confused on the link between Capacities tab and Scheduling tab when setting up the Work Center. When I run MRP and set it to Lead time scheduling and capacity planning, which figures (for setup, processing, teardown, etc time) are u

  • 24" Case Warping??

    My 24" iMac has a new problem, the white plastic on the front, directly above where the optical drive sits, has began warping. If i push on it up and down the length of the right side of the panel, it will go a few millimeters before it reaches the L

  • Can't find I am the greatest by Kenny Rogers in itunes. anything would help

    Can't find I am the greatest by Kenny Rogers. Any help would be appreciated.