Crop operation not working in JAI 1.1.3?

The "crop" operation seems to be broken in JAI 1.1.3 (at least for Windows):
When cropping an image, the values for x and y are ignored and the new image is always the part from the upper left corner of the original image.
In JAI 1.1.2 this worked correctly.
Code to reproduce the problem (call program with old and new filename as parameters):
The program should cut out an image with half the height and width from the middle of the original image.
public static void main(String[] args) {
// load image
ParameterBlock loadPB = new ParameterBlock();
loadPB.add(args[0]);
RenderedOp image = JAI.create("fileload", loadPB);
// crop image
int width = image.getWidth();
int height = image.getHeight();
int newWidth = width / 2;
int newHeight = height / 2;
ParameterBlock pb = new ParameterBlock();
pb.addSource(image);
pb.add((float)(width - newWidth)/2);
pb.add((float)(height - newHeight)/2);
pb.add((float)newWidth);
pb.add((float)newHeight);
RenderedOp cropped = JAI.create("crop", pb, null);
// save image
ParameterBlock savePB = new ParameterBlock();
savePB.addSource(cropped);
savePB.add(args[1]);
savePB.add("jpeg");
JAI.create("filestore", savePB);
}

I also did that. I checked out if any crop had been done, and if so, save as BufferImage.
     public void save(String destinationFilename) {
          if (workaroundJPEG) {
               //Workaround for JAI JPEG saving bug of no tile support (crop problems)
               final int QUALITY = 75;
               BufferedImage bufferedImage = objImage.getRendering().getAsBufferedImage();
               try {
                    FileOutputStream fos = new FileOutputStream(destinationFilename);
                    BufferedOutputStream bos = new BufferedOutputStream(fos);
                    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(bos);
                    JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bufferedImage);
                    param.setQuality(QUALITY / 100.0f, false);
                    encoder.setJPEGEncodeParam(param);
                    encoder.encode(bufferedImage);
                    bos.close();
                    workaroundJPEG = false;
               } catch (IOException e) {
                    // handle errors
          } else {
               JAI.create("filestore", objImage, destinationFilename, "JPEG", null);
     }Each time I do a crop operation I set the workaroundJPEG to true.

Similar Messages

  • Container Operation not working properly

    Hi,
    In my workflow,  container operation is not working properly sometime.
    I am assigning agents from class attribute to workflow container . sometime the value is not correct.
    scenario: class attribute - WFAGENT - value USABC
    workflow container: WFAGENT_VAR.
    assigning class attribute - WFAGENT to workflow container: WFAGENT_VAR.
    instead of USABC, workflow container WFAGENT_VAR is having value as USWF-BATCH.
    Please suggest.
    Thank you.
    Regards.
    SG

    Hi,
    It is fairly logical to exclude the option that the container operation doesnt not only work but also that it passes on different information all of a sudden.
    In your situation, either the class attribute has the incorrect information at the time of the containeroperation.
    That, or your workflow container gets overwritten with another container operation,or with a binding from method-->container element in some step in your workflow.
    Kind regards, Rob Dielemans

  • JMS-send operation not working in a SessionBean [OC4J10.1.3.1.0-standalone]

    Salut,
    i am envisaged with a nasty problem calling a message-send operation from
    a method (transaction-type="required") inside a session bean (transaction-type="container").
    This problem occured in OC4J 10.1.3.1 and may fail also in 10.1.3.0. The same
    code run under OC4J 10.1.2.x without any problems.
    The adressed JMS type is a OEMS JMS and fails to work regardless if the JMS ressource
    is using a file-persistence or is running in-memory. Anyway the factory is a
    jms/XAQueueConnectionFactory, so the created queue must support XA transactions.
    Another test with an advanced-queue JMS provider succeeded.
    As a consequence of this, i believe that the OEMS provider shall cause the problem.
    The original code is quite unspectaculary:
    * The non-surprising thing is, that the QueueConnectionFactory
    * is a XAQueueConnectionFactory.
    QueueConnectionFactory qcf = (QueueConnectionFactory) (jndiContext.lookup(MY_QFAC));
    Queue q = (Queue) (new InitialContext().lookup(MY_QUE));
    c = qcf.createQueueConnection() ;
    QueueSession s = c.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    [... create a message ]
    QueueSender qs = s.createSender(q)
    qs.send(m);
    qs.close()
    s.close();
    c.close()
    The funny thing is, that the queue-session behaves as it is working outside
    of a transaction context. Inside the JMX-Console you will notice the
    arrival of a message and ... a cancellation of it. This would not surprise
    me, if this code sequence would have been called outside of
    a Session bean, cause the absence of a queue-session.commit does not
    fix the send message in the jms ressource.
    As a matter of fact the code is executed inside a Session bean and
    the connection.createQueueSession will notice this and forget both
    given parameters, and let the covering transaction take over of the
    JMS ressource. But this does not happen (completly).
    The acknowledge-mode has been modified (SESSION_TRANSACTED)
    but the code still does not work!
    After i recognized that the enlist-ment did not work, i
    decided to enfore the use of XA transaction by using the
    XA classes and methods of JMS.
    I startet to cast the jndi-references and:
    XAQueueConnectionFactory qcf = (XAQueueConnectionFactory) (jndiContext.lookup(MY_QFAC));
    Queue q = (Queue) (new InitialContext().lookup(MY_QUE));
    XAQueueConnection c = qcf.createXAQueueConnection() ;
    XAQueueSession s = c.createXAQueueSession();
    [... create a message ]
    QueueSender qs = s.createSender(q)
    qs.send(m);
    qs.close()
    s.close();
    c.close()
    The funny thing is ... the code worked without any problem until
    the send operation, where i received an JMSException, containing
    the text:
    Oc4jJMS.Session.hpcl057.4e9c06e4:1112674930d:-7fff.41,true,SESSION_TRANSACTED]: An attempt was made to perform work in a XA-backed session without being enlisted. Either the session must be enlisted (using the JMS Connector or JMS Adapter) to participate in the global transaction, or a non-XA connection and a non-XA session should be used to not participate in the global transaction.
    How bizarre, i thought the enlistment has been taken place by invoking
    the c.createXAQueueSession or c.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    How bizarre how bizarre
    any clues ????

    OC4J JMS was changed to not auto-enlist in XA transactions.
    In releases prior to 10.1.3 XA usage was not actually supported. (It did not meet all of the XA requirements when used with OC4J.)
    Auto-enlisting by the JMS provider was also a spec violation, which was causing trouble for people who needed to do out-of-transaction work and had no way to do it.
    In 10.1.3 XA usage is fully supported, but only when you use the JMS Connector. You can find the JMS Connector ("Oracle's Generic JMS Resource Adapter") demos here:
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html#JMS
    The JMS Connector is documented in the OC4J Services Guide, OEMS/JMS chapter.
    -Jeff

  • Ftp Adapter Inbound operation not working

    Hi All,
    I'm running on SOA 11g on a Oracle Linux machine.
    FtpAdapter is configured and works well for outbound operations (my test composite can put a file on a ftp location).
    For inbound operation something is not working, my composite, a simple ftp adapter + bpel process, never start (no instances) .
    I'm able to get the file using an ftp client (tested from the soa server machine too).
    I just increased the server log and I can see the ftp communication but an exception is raised in socket operation after *FTP Adapter Project2 FTP Command: LIST, reply:[[*
    *125 Data connection already open; Transfer starting.;*
    This is the log:
    [2011-09-17T12:57:07.780+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 2000 milliseconds oracle.tip.mediator.dispatch.db.DeferredDBLocker
    [2011-09-17T12:57:07.905+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTPManagedConnectionFactory::getPasswordCredential using mcf for credentials
    [2011-09-17T12:57:07.906+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Constructed new Managed Connection
    [2011-09-17T12:57:07.907+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Adding Event Listener
    [2011-09-17T12:57:07.908+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: <anonymous>] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Constructed new CCI Connection
    [2011-09-17T12:57:07.909+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host name is '10.17.29.80'.
    [2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Control socket SO_TIMEOUT is [15000]
    [2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Reading reply from 10.17.29.80
    [2011-09-17T12:57:07.911+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply2()
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[USER]
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[USER], arguments=[ftpadmin]
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[USER ftpadmin]
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: USER ftpadmin
    [2011-09-17T12:57:07.912+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: USER, reply:[[
    331 Password required for ftpadmin.
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[PASS]
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[PASS], arguments will not be displayed
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[PASS]
    [2011-09-17T12:57:07.913+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: PASS
    [2011-09-17T12:57:07.914+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: PASS, reply:[[
    230 User logged in.
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[PASV]
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[PASV], arguments=[null]
    [2011-09-17T12:57:07.915+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[PASV]
    [2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: PASV
    [2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.916+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: PASV, reply:[[
    227 Entering Passive Mode (10,17,29,80,200,109).
    [2011-09-17T12:57:07.917+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Passive: ip = 10.17.29.80, port = 51309
    [2011-09-17T12:57:07.917+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Connecting to 10.17.29.80:51309
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getMappedCommand() with command =[LIST]
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Got tuple =>MappedCommand==> command[LIST], arguments=[input]
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Sending cmd[LIST /input]
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Host 10.17.29.80 FTP command: LIST /input
    [2011-09-17T12:57:07.918+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP::getReply()
    [2011-09-17T12:57:07.919+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 FTP Command: LIST, reply:[[
    125 Data connection already open; Transfer starting.
    [2011-09-17T12:57:07.922+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 UnixFtpListParser::doConfig endpointProperties=[ {SingleThreadModel=true, Recursive=false, PollingFrequency=30, bpel.process.revision.id=Project2, bpel.process.guid=default/Project2!1.0*soa_64b06fdd-9667-4739-8835-5a585f55abb8:getMyFile, UseHeaders=false, IncludeFiles=.*\..*, wsdl.service.name=getMyFile, DeleteFile=true, MinimumAge=0, PhysicalDirectory=/input, wsdl.service.port.jcaAddress.adapterInstanceJndi=eis/Ftp/CustomAdapter, FileType=ascii, instance=0}], [false]
    [2011-09-17T12:57:08.303+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: run] Locker running
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Trying to obtain locks
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] Transaction begins
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:08.304+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] TransactionManager begin
    [2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:08.305+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:08.307+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.error] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.error.ErrorDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Updated rows :0
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Obtained locks
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] Commiting Transaction
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:08.308+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] TransactionManager commit
    [2011-09-17T12:57:08.310+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.error] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.error.ErrorDBLocker] [APP: soa-infra] [SRC_METHOD: getLockedMessages] Error instance list size :0
    [2011-09-17T12:57:08.311+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1b5b1ef] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 5000 milliseconds oracle.tip.mediator.common.error.ErrorDBLocker
    [2011-09-17T12:57:09.829+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: run] Locker running
    [2011-09-17T12:57:09.829+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Trying to obtain locks
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] Transaction begins
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: beginTransaction] TransactionManager begin
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.dispatch.db] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.dispatch.db.DeferredDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Obtaining locks for max rows 200
    [2011-09-17T12:57:09.830+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.dispatch.db] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.dispatch.db.DeferredDBLocker] [APP: soa-infra] [SRC_METHOD: lock] Counter reset as end of cycle
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: lockMessages] Obtained locks
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] Commiting Transaction
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] TransactionManager status
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: getTransactionStatus] Getting Transaction status
    [2011-09-17T12:57:09.831+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.JTAHelper] [APP: soa-infra] [SRC_METHOD: commitTransaction] TransactionManager commit
    [2011-09-17T12:57:09.833+02:00] [soa_server1] [TRACE:32] [] [oracle.soa.mediator.common.listener] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@119f93f] [userId: <anonymous>] [ecid: 0000J9mBB^i6qID5zBo2yW1ESnuZ000001,0] [SRC_CLASS: oracle.tip.mediator.common.listener.DBLocker] [APP: soa-infra] [SRC_METHOD: enqueueLockedMessages] Spining ...........Sleeping for 2000 milliseconds oracle.tip.mediator.dispatch.db.DeferredDBLocker
    [2011-09-17T12:57:09.969+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Timed out in [2046] msecs
    [2011-09-17T12:57:09.970+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 Exception caught while reading control socket
    [2011-09-17T12:57:09.970+02:00] [soa_server1] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@aac370] [userId: weblogic] [ecid: 0000J9r1a3a6qID5zBo2yW1ESnuZ000CS^,1:20913] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [SRC_METHOD: log] FTP Adapter Project2 [[
    java.net.SocketTimeoutException: Read timed out
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
         at java.io.InputStreamReader.read(InputStreamReader.java:167)
         at java.io.BufferedReader.fill(BufferedReader.java:136)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at oracle.tip.adapter.ftp.FTPClient$BufferedTimedReader.readLine(FTPClient.java:2385)
         at oracle.tip.adapter.ftp.FTPClient.populateListResults(FTPClient.java:2562)
         at oracle.tip.adapter.ftp.FTPClient._listFilesUsingKey(FTPClient.java:2513)
         at oracle.tip.adapter.ftp.FTPClient.listFiles(FTPClient.java:753)
         at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:505)
         at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:260)
         at oracle.tip.adapter.file.inbound.PollWork.processFilesInSameThread(PollWork.java:844)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:335)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Someone can point me to the right way to solve this issue?

    I have posted one solution in this forum..Please check whether this can help you...
    Re: FTP adapter not picking files

  • Very simple Char* conversion operator not working

    This should be simple, but it's not working.  The code below gives me a compiler error:
    Error 2 error C2440: 'initializing' : cannot convert from 'Foo' to 'char *' 
    class Foo
     char * _data;
    public:
     operator const char * () { return _data; }
     Foo f;
     char * bar = f;
    char*_data;
    public
    operatorconstchar*(){return_data;}
    Eric Jorgensen http://www.ericjorgensen.com

    On 3/5/2015 12:26 AM, "Eric Jorgensen" wrote:
    This should be simple, but it's not working.  The code below gives me a compiler error:
    Error 2 error C2440: 'initializing' : cannot convert from 'Foo' to 'char *'
    Foo can be converted to const char*, but not to char*
    Igor Tandetnik

  • CS5 Save to Web; multi-artboard crops do not work

    My custom artboards no longer crop graphics properly. Instead of a specific targeted crop area, it just creates a jpg or png of ALL art on displayed layer. What did I turn on or off? Yeah, exporting the graphics works, but I want to control the final image size and preview too. What happened?

    Thx for your response, however it is still not working the way it has previously.
    I have created a 2nd artboard to crop a specific image with bkgd bleed. In the past, I would select 'artboard 2' (the cropped image area) then go to 'SAVE FOR WEB & DEVICES' which would then provide a preview and further options like PNG, JPEG, final image size, etc, before saving. For some reason it is ignoring my designated crops and saving everything visible. Although the "export" option works, it doesn't have the control options as the SAVE FOR WEB & DEVICES.
    I'm pretty sure I inadvertantly turned something on/off since this was an oft used save command.

  • Straightening and Crop tool not working.  What to do?

    I've been working with photos all morning, and now neither my Straightening Tool or Crop Tool are working.  What to do?

    Close and re-launch Aperture.  Let us know if that doesn't take care of it.
    I try to close Aperture once an hour.  It pushes my hardware (and, likely, OS) to several of its limits.  Re-launching the program rinses out any crud that has accumulated (that's not _exactly_ technically correct, but ... ).

  • Switching between horizontal and vertical constrain while cropping does not work?

    Hey all!
    While editing photos, I sometimes need to crop a vertical photo into a horizontal layout and vice versa..
    However neither the option key function nor the scrool down menu with portrait and landscape options works. I can choose the latter if I change the proportions of the constrained area - but how do I keep the photo to its original proportions and still choose to crop in the opposite layout?!?
    The option key function is not working either.
    Hope you are able to help!!!
    Many thanks,
    Sof.

    After selecting the dimensions constraint go to the cropping constraints window a second time and select portrait or landscape (at the bottom of the window)
    LN

  • Crop tool not working properly

    I have CS4 photoshop. The crop tool was working correctly before, but now when I try to crop an image the tool doesn't cover the whole image the way it used to. It doesn't pull down across the whole image. Did one of my preferneces change? Please help me!!
    Thanks,
    Pat

    Thanks, but I got it to work by hitting the clear button.

  • 'IN 'operator not working in BI publisher report

    Hi,
    I am using BI publisher10.1.3.4.1. I am using 'IN' operator in my SQL query embedded in data template. But I am not getting the expected result. When only single value is being passed to the :storeID parameter then the query works but when I pass multipe comma separated values like '1111,0892,6754,0997 ' then it doesn't work.
    The SQl query is as follows:
    select
    REGION ,
    UNIT ,
    STORE,
    REGISTER,
    sum(CASH_TRN) cashTrxn,
    sum(CHCK_TRN) checkTrxn,
    sum(CRDT_TRN) creditTrxn,
    sum(CASH_SALES) cashSales, sum(CHCK_SALES) checkSales, sum(CRDT_SALES) creditSales,
    sum(TOTALNOTRXN) trxnTotals, sum(TOTALAMOUNT) amtTotal
    from
    POSS_SALES_SUMMARY_RPT
    where ID_STR_RT in (:storeID)
    group by REGION,UNIT,STORE,REGISTER
    Hard coding the same query with these values also works fine.
    Example: Can you please tell me s there any issue in passing String value (like 1111,0892,6754,0997) in parameter.
    select
    REGION ,
    UNIT ,
    STORE ,
    REGISTER ,
    sum(CASH_TRN) cashTrxn,
    sum(CHCK_TRN) checkTrxn,
    sum(CRDT_TRN) creditTrxn,
    sum(CASH_SALES) cashSales, sum(CHCK_SALES) checkSales, sum(CRDT_SALES) creditSales,
    sum(TOTALNOTRXN) trxnTotals, sum(TOTALAMOUNT) amtTotal
    from
    POSS_SALES_SUMMARY_RPT
    where ID_STR_RT in(1111,0892,6754,0997)
    group by REGION,UNIT,STORE,REGISTER

    Have you find the solution for this? I think that I have an look like problem. I want that, when the parameter is null, query return all values. Like this:
    where ((:P_Store IS NULL) OR (store in (:P_Store)))
    Can please help me with this?
    Thanks

  • Full Backup Operation not working

    Hi,
         Iu2019m using MAXDB 7.8  and using Dataprotector tool to take full backup. Data Protector toool uses  the below commands to take full backup.. but it is giving ERROR saying that
    Error:  ERR
    -24920,ERR_BACKUPOP: backup operation was unsuccessful
    The backup tool failed with 2 as sum of exit codes. The database request was canceled and ended with error -903.
    qapaux26# dbmcli -d tvs -u dbm,dbm
    dbmcli on tvs>user_logon dbm,dbm
    OK
    dbmcli on tvs>dbm_configset -raw BSI_ENV /var/opt/omni/tmp/TVS.bsi_env
    OK
    dbmcli on tvs>medium_put BACKDP-Data[1]/1 /var/opt/omni/tmp/TVS.BACKDP-Data[1].1  PIPE DATA 0 8 NO NO \"\" BACK
    OK
    dbmcli on tvs>util_connect
    OK
    dbmcli on tvs>backup_start BACKDP-Data[1] DATA
    ERR
    -24920,ERR_BACKUPOP: backup operation was unsuccessful
    The backup tool failed with 2 as sum of exit codes. The database request was canceled and ended with error -903.
    Help is much appreciatedu2026could you please help me out if anybody has idea on this..
    The same command commands works for MAXDB 7.7 but not for MAXDB 7.8
    Regards,
    Ranganath

    Hi Markus Doehr,
      Thanks for your information. is it may be Data Protector Configuration issue?
      dbmcli on tvs>dbm_configget all
    OK
    BSI_ENV             = /var/opt/omni/tmp/TVS.bsi_env
    set_variable_10     = OB2BACKUPAPPNAME=TVS
    set_variable_11     = OB2BACKUPHOSTNAME=qapaux26.ind.hp.com
    set_variable_12     = OB2OPTS=(null)
    I'm new to this work and I'm learning the concepts of maxdb as well as DataProtector and trying to fix this issue.  Asper your replay i came to know that  DP doesn't create the medium appropriately.. can you just let me know more on this?
    if possible just tell me with example how to create medium appropriately?
    I'm resending KnlMsg
                            0xc000016740669928, Node:'qapaux26', PID: 6152)
    Thread       0x1F Task    269  2010-12-07 12:32:03     Savepoint      1:  Savepoint (SaveData) started by T269
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20003:  SVP(1) Start Write Data
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20004:  SVP(1) Stop Data IO, Pages: 6 IO: 6
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20005:  SVP(2) Wait for last synchronizing task: 284
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20006:  SVP(2) Stop Wait for last synchronizing task, Pages: 0 IO: 0
    Thread       0x1B Task    284  2010-12-07 12:32:03     DataCache      4:  Mark data pages for savepoint (prepare phase)
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20007:  SVP(3) Start Write Data
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20008:  SVP(3) Stop Data IO, Pages: 2 IO: 2
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20009:  SVP(3) Start Write Converter
    Thread       0x1B Task    284  2010-12-07 12:32:03     Pager      20011:  SVP(3) Stop Converter IO, Pages: 8 IO: 8
    Thread       0x1B Task    284  2010-12-07 12:32:03     DataCache      3:  Savepoint with ID 10 completed
    Thread       0x1F Task    268  2010-12-07 12:32:03     CONNECT    12633:  Connect req. (TVS, T268, connection obj. 0xc00001674089dd38, Node:'qapaux26', PID: 6152)
    Thread       0x1F Task    269  2010-12-07 12:32:03     Log        20083:  New DBIdentifier set (qapaux26:TVS_20101207_123203)
    Thread       0x1F Task    269  2010-12-07 12:32:03     RTEIO        112:  Open of medium  /sapdb/TATA/data/wrk/TVS/data_000 as number 3 for READ successfull
    Thread       0x1F Task    269  2010-12-07 12:32:03     RTEIO        112:  Open of medium  /sapdb/TATA/data/wrk/TVS/arch_000 as number 4 for READ successfull
    Thread       0x1F Task    268  2010-12-07 12:32:04     CONNECT    12651:  Connection released (TVS, T268, connection obj. c00001674089dd38)
    Thread       0x1B Task    300  2010-12-07 12:33:08 ERR RTEIO        113:  medium /var/opt/omni/tmp/TVS.BACKDP-Data[1].1 cannot be opened for WRITE access,_FILE=RTEIO_St
    reamMedium.cpp,_LINE=1261
                                   2010-12-07 12:33:08 ERR RTEIO         65:  open of medium /var/opt/omni/tmp/TVS.BACKDP-Data[1].1 was canceled,_FILE=RTEIO_StreamMedium.cp
    p,_LINE=4804
    Thread       0x1B Task    299  2010-12-07 12:33:08 WNG SAVE       52108:  canceled by user
    Thread       0x1F Task    269  2010-12-07 12:33:08     RTEIO        114:  medium /sapdb/TATA/data/wrk/TVS/data_000 with number 3 was closed
    Thread       0x1F Task    269  2010-12-07 12:33:08     RTEIO        114:  medium /sapdb/TATA/data/wrk/TVS/arch_000 with number 4 was closed
    Thread       0x1F Task    269  2010-12-07 12:33:08 ERR SAVE       52012:  error occured, basis_err 3700
    Thread       0x1F Task    269  2010-12-07 12:33:08 ERR Backup         3:  Data backup failed,_FILE=Kernel_Administration.cpp,_LINE=1560
                                   2010-12-07 12:33:08     SrvTasks      17:  Servertask Info: because Error in backup task occured
                                   2010-12-07 12:33:08     SrvTasks      10:  Job 1 (Backup / Restore Medium Task) [executing] WaitingT269 Result=3700
                                   2010-12-07 12:33:08     KernelComm     6:  Error in backup task occured, Error code 3700 "hostfile_error"
                                   2010-12-07 12:33:08     Backup         1:  Backupmedium #1 (/var/opt/omni/tmp/TVS.BACKDP-Data[1].1) Could not open stream
                                   2010-12-07 12:33:08     KernelComm     6:  Backup error occured, Error code 3700 "hostfile_error"
    Thread       0x1F Task    269  2010-12-07 12:33:08 ERR Backup         3:  Data backup failed,_FILE=Kernel_Administration.cpp,_LINE=1560
                                   2010-12-07 12:33:08     SrvTasks      17:  Servertask Info: because Error in backup task occured
                                   2010-12-07 12:33:08     SrvTasks      10:  Job 1 (Backup / Restore Medium Task) [executing] WaitingT269 Result=3700
                                   2010-12-07 12:33:08     KernelComm     6:  Error in backup task occured, Error code 3700 "hostfile_error"
                                   2010-12-07 12:33:08     Backup         1:  Backupmedium #1 (/var/opt/omni/tmp/TVS.BACKDP-Data[1].1) Could not open stream
                                   2010-12-07 12:33:08     KernelComm     6:  Backup error occured, Error code 3700 "hostfile_error"
    Thread       0x1F Task    269  2010-12-07 12:33:10     CONNECT    12651:  Connection released (TVS, T269, connection obj. c000016740669928)
    Thread       0x1F Task    269  2010-12-07 12:47:18     CONNECT    12633:  Connect req. (TVS, T269, connection obj. 0xc00001674089dd38, Node:'qapaux26', PID: 5802)
    Thread       0x1F Task    269  2010-12-07 12:47:34     Savepoint      1:  Savepoint (SaveData) started by T269
    Thread       0x1B Task    284  2010-12-07 12:47:34     Pager      20003:  SVP(1) Start Write Data
    Thread       0x1B Task    284  2010-12-07 12:47:34     Pager      20004:  SVP(1) Stop Data IO, Pages: 0 IO: 0
    Thread       0x1B Task    284  2010-12-07 12:47:34     Pager      20005:  SVP(2) Wait for last synchronizing task: 284
    Thread       0x1B Task    284  2010-12-07 12:47:34     Pager      20006:  SVP(2) Stop Wait for last synchronizing task, Pages: 0 IO: 0
    Thread       0x1B Task    284  2010-12-07 12:47:34     DataCache      4:  Mark data pages for savepoint (prepare phase)
    Thread       0x1B Task    284  2010-12-07 12:47:34     Pager      20007:  SVP(3) Start Write Data
    I'm waiting for your replay.....
    Ranganath

  • Cropping tool not working - please help

    i can't figure out what the %$#* is going on with my cropping tool. when i drag it across a picture, then crop, the image is reduced to a spec. the information window defaults to a size only fractions of an inch, even though the actual picture is still at that size, for instance 8x10.
    i've tried booting up several times, and even installed photoshop CS3 software again to no avail. i don't know if this is a simple fix, or if there is an inherent problem with the software. it has worked fine for as long as i've owned CS3, about a year. then suddenly the other day stopped working.
    anyone ever come across this glitch, or know whom i should speak with about this problem? any insight would be appreciated.

    i've scoured this site and have not found any threads that nod to my specific problem. maybe i didn't look hard enough, sorry.
    thanks for your response, but i don't know how to reset crop tool. could you please advise
    thanks

  • New Ipad crop image not working well

    I have my new Ipad and I save some images thru facebook. However, when i crop the image and save, it save as garbage image but no issue when i crop and save the photo which I taken. Anyone have come across such issue ? Thanks !

    I'm using photo app from iPad. It seems like if you save the picture as image from facebook web site (not the facebook app from iPad) it will hit by this issue. However, iPad2 work well for both channel (app and web site facebook). Btw, i have 2 iPad at home each with difference model.
    I have noticed if the photo taken by myself or picture save as photo from facebook for both channel it will work well. Is this a bug on new iPad ?
    Thanks again!

  • Db adaptor update operation not working

    hi,
    The db adaptor update operation does not seem to work for us, i do not get an error and the transaction is successful too but the record does not get updated, what could be the reason ? i am passing two values in the assign before the invoke ( one is the field that i need to update and other is record_id)
    following is  invoke code.
            <invoke name="InvokeDatabaseStatus" bpelx:invokeAsDetail="no"
                    inputVariable="InvokeDatabaseStatus_update_InputVariable"
                    partnerLink="UpdateControlTable"
                    portType="ns14:UpdateControlTable_ptt" operation="update"/>
            <bpelx:dehydrate name="commitRecords"/>

    If I understand correctly you are trying to rewrite the URL?
    If so I think it's possible on Web Dispatcher 7.2 or newer, you can use the RegIRewriteUrl function
    http://scn.sap.com/thread/2127129
    http://help.sap.com/saphelp_nw74/helpdata/en/96/3d78e609984df1a94e66588598840d/content.htm
    http://help.sap.com/saphelp_nw74/helpdata/en/f1/df812303ad4d6c82b2aaba1548c4c1/content.htm?frameset=/en/96/3d78e609984df1a94e66588598840d/frameset.htm&current_toc=/en/f9/b6a344af114f95943d2d3c1c2a5692/plain.htm&node_id=32
    Regards,
    Jason

  • Column widths OK in Firefox & Opera, NOT WORKING in Internet Explorer?

    Hi there,
    I've got a table based website and for some reason Internet Explorer is messing up my layout?  It works fine in Firefox and Opera but IE is extending one particular <td> tag beyond its set width?  What's even more strange is that the problem only happens on 3 of the 5 pages?
    The <td> in question is the first one (width="175" and class="banner_logo")
    Tested with Firefox 3.5, Opera 10.10, Internet Explorer 8
    Here's the code which deals with this part of the page layout:
    <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="175" rowspan="2" bgcolor="#FF0000" class="banner_logo"><!-- #BeginLibraryItem "/Library/logo.lbi" -->
    <a href="index.html"><img src="images/logo.png" alt="Malcolm McReath Consultancy - PrintExpert.net" width="151" height="93" border="0"></a><!-- #EndLibraryItem --></td>
        <td width="280" class="banner_empty"> </td>
        <td width="345" class="banner_contact_details"><!-- #BeginLibraryItem "/Library/banner_upper_contact.lbi" -->
        <p>Tel: 01582 763 117     Mob: 07850 810 030 </p>
        <p>Fax: 01582 768 117    <a href="mailto:[email protected]">Email: [email protected]</a></p>
        <!-- #EndLibraryItem --></td>
      </tr>
      <tr>
        <td colspan="2" class="navbar"><!-- #BeginLibraryItem "/Library/navbar.lbi" -->
    Any help greatly appreciated!  let me know if you require more code or CSS to solve problem....cheers
    PS.  Since my original post I've tested it in Chrome and Safari and it works fine!  Can't everyone just stop using I.E. please?!

    I've attached a visual represenation of what the problem is as the site is not live yet...hopefull this will clarify things a bit more.
    Working Page (this actually works in IE as well)
    <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
    Section 1:
    <td width="175" rowspan="2" bgcolor="#FF0000" class="banner_logo"><!-- #BeginLibraryItem "/Library/logo.lbi" -->
    <a href="index.html"><img src="images/logo.png" alt="Malcolm McReath Consultancy - PrintExpert.net" width="151" height="93" border="0"></a><!-- #EndLibraryItem --></td>
    Section 2:
    <td width="280" class="banner_empty"> </td>
    Section 3:
    <
    td width="345" class="banner_contact_details"><!-- #BeginLibraryItem "/Library/banner_upper_contact.lbi" -->
        <p>Tel: 01582 763 117     Mob: 07850 810 030 </p>
        <p>Fax: 01582 768 117    <a href="mailto:[email protected]">Email: [email protected]</a></p>
        <!-- #EndLibraryItem --></td>
    Ends of Sections 1-3:
    </tr>
    Section 4:
    <tr>
        <td colspan="2" class="navbar"><!-- #BeginLibraryItem "/Library/navbar.lbi" --> ...JS code omitted as there's loads of it!...
      </tr>
    Here's an example of the problem page...notice the red background of the first <tag> extends to the right for some reason.... 

Maybe you are looking for