Output PO to Supplier

Hi,
We are on SRM 5.0, configured extended classic scenario. I would like to send the PO directly from SRM to the third party supplier network. How can we achieve this functionality.
Do we need XI as integration medium to talk between this supplier network. There is output tab in Process purchase order , in that we even have xml as one option. By selecting this option can we get the xml message , without using XI .
Has anybody worked on this before. Please share some input and points on this.
Regards,
Chary

that option os 'xml' in the purchase order header level --> specifies --> that the purchase order should go out in the xml form -->
for the purchase order --> to go the supplier --> xi should be installed and working --> and also the flag for output --> at the vendor data master level should be set to --> XI/XML.
so finally --> even if you set the flag --> to xml at the purchase order --> purchase order will not go out to supplier --> unless and untill xi is available.
hope this answers your question..

Similar Messages

  • How to Send Custom Purchase Order Report in PDF format to Supplier through email

    Hi,
    Currently whenever a PO is approved in PO form if Email Option is enabled it is sending the standard report output to the supplier, we need to replace the custom designed report instead of the standard report. How to achieve this, is there any need to modify the stuff in Workflow, if so what activity need to modify.
    Thanks in Advance.

    Attach your custom PDF report XML template related to the POXPOPDF program.

  • Bursting Program PDF Fonts different from Report Program PDF

    We have designed a new XML Publisher report which uses bursting mecahnism to send out the output pdf to supplier. The report rdf completes successfully and generates the pdf with right fonts (Font Mapping configured in XML Publisher Administrator). AfterReport trigger of this report triggers the bursting program. This program sends out the pdf to the right recepients. But this pdf that comes through mail has different fonts then what it was in the output of first program. Can some one guide on how to get the same pdf fonts through bursting email file that is similar to the one that was generated through Report Program. Any help will be highly appreciated.
    Thanks,
    Mohammadi

    Anyone who can throw light on this?
    Thx

  • Ask the Expert: Cisco Unified Computing System Director

                With Andrew Nam
    Welcome to the Cisco Support Community Ask the Expert conversation. This is an opportunity to learn and ask questions about Cisco Unified Computing System (UCS) Director with Cisco expert Andrew Nam.
    Cisco UCS Director was designed to operationally integrate bare-metal and virtual data center infrastructure resources to address complex, time-consuming, manual, and compartmentalized management processes. These processes burden IT organizations, preventing them from achieving business agility and efficiency.  Cisco expert Andrew Nam will provide an update on installation, configuration, and troubleshooting VM provisioning process using Cisco UCS Director.
    Andrew Nam is a data center solution engineer in the DC Solution team in Sydney, Australia, responsible for orchestrating the end-to-end solution support of Cisco Data Centre solutions, including Cisco UCS, Cisco Nexus architecture, VBlock/FlexPod, VDI/VXI, and cloud solutions. His areas of expertise include routing and switching, load balancer, WAN optimization, VPN, and firewalls. Andrew has worked for Cisco for more than 13 years and has 15 years of experience in the networking industry. He graduated from New South Wales University in Australia with a mechanical/manufacturing engineering degree and holds R&S CCIE 9586, VMware VPC5, and Citrix CCA - Xendesktop5 certifications. 
    Remember to use the rating system to let Andrew know if you have received an adequate response. 
    Andrew might not be able to answer each question due to the volume expected during this event. Remember that you can continue the conversation in Data Center community,  sub-community, Unified Computing discussion forum shortly after the event. This event lasts through January 17, 2014. Visit this forum often to view responses to your questions and the questions of other community members.

    Hi James
    This Ask the Expert session may not be the right place to show you all the essential steps for how the workflow can be related to task library to achieve your initial setup flow chart, and onboarding a new client.
    However, I can briefly walktthrough "Client blade Provisioning" task so it might give some idea and how you can go about.
    Assumption :  the infrastructure used in the following examples consists of:
    -  Vmware VCenter
    -  Cisco UCS
    -  NetApp ONTAP controlled storage
    To be able to provision Cisco UCS blade server in automated fashion, you need to create and define the below UCS entities beforehand.
    - Create UCS Organisation
    - Create UUID Pool
    - Create MAC Address Pool
    - Create WWNN Pool
    - Create WWPN Pool
    - Create vHBA Templates
    - Create vNIC Templates
    - Create UCS Policy vHBAs
    - Create UCS Policy vNICs
    - Create Storage Policy
    - Create Network Policy
    - Create SAN Boot Policy
    - Create LAN Boot Policy
    Once you create all the policy above, you are good to set up a workflow container for the client blade provisoining.
    1. Create UCS Service Profile
    - Add a ‘Create UCS Service Profile’ workflow task and select ‘Map to User Input’ for ‘Service Profile Name’. Select the ‘Service Profile Name’ dropdown as created when the workflow container was created.
    - ‘Create UCS Service Profile’ inputs. Ensure that Storage_Policy, Network_Policy, Boot_Policy_LAN and Boot_Policy_SAN entries are correct.
    - Once this is done , you can move to SAN zoning.
    2. Configure SAN Zoning
    - In this step, a new workflow task will be created in order to configure SAN zoning. Rather than use a specific user input for this task, output variables from the previous ‘Create UCS Service Profile’ workflow task will be used as input items for this task.
    - Open the workflow and search for the workflow task ‘configure san zoning’. Drag the storage workflow task into the work area and map the following user inputs.
    Create Flexible Volume
    - Create a ‘Create Flexible Volume’ workflow task in order to build a NetApp flexible volume and provision it for the required size.
    - Once again, reconfigure the workflow such that the success criteria from the ‘Configure SAN Zoning’ workflow task proceeds to ‘Create Flexible Volume’.
    Create LUN
    - Using the NetApp ONTAP ‘Create LUN’ workflow task, create a LUN located within the volume created during the previous step. In order to do this, map the Volume Name user input to the output from the previous ‘Create Flexible Volume’ workflow task.
    - Next, enter the LUN details, ensuring that the configured size is less than that of the volume created in the previous step.
    - As before, re-map the workflow designer flow so that the successful output of the Create Flexible Volume workflow task flows into this task.
    3. Create Initiator Group
    - Create a ‘Create Initiator Group’ workflow task in order to build a NetApp ONTAP Initiator Group. Map the ‘Filer Identity Name’ attribute to the OUTPUT_FILER_IDENTITY output variable as supplied by the ‘Create NetApp Flexible Volume’ workflow task as created earlier in this workflow.
    - Once again, modify the the workflow designer flow so that the successful output from ‘Create LUN’ flows into ‘Create Initiator Group’
    4. Add Initiator to Initiator Group
    - Create an ‘Add Initiator to Initiator Group’ workflow task and map the ‘Initiator Group Name’ entry to the OUTPUT_IGROUP_IDENTITY output variable from the ‘Create NetApp Initiator Group’ workflow task and map the ‘Initiator Name’ entry to the SP_VHBA1 output variable from the ‘Create UCS Service Profile’ workflow task created earlier in this flow.
    - Repeat this task for in order to add initiator name entry for SP_VHBA2. Once done, re-map the successful output from the two Create Initiator Group workflow tasks so that they flow into each other as follows:
    - Move onto the next step in order to map the created LUN to the initiator group.
    And the rest of steps are fairly similar to above. Create a Workflow and map the User Input Mappings".
    5. Map LUN to Initiator Group
    6. Modify UCS Boot Policy LUN ID
    7. Select UCS Server
    8. Associate UCS Service Profile
    9. Power On UCS Server
    10. Modify UCS Service Profile Boot Policy
    11. Add VLAN to Service Policy
    12. Disassociate UCS Service Profile
    13. Wait for Specified Duration
    14. Associate UCS Service Profile
    15. Power On UCS Server
    16. Register Host with VCenter
    regards
    Andrew

  • New nano

    Finally i bought 4GB black nano last week. I am glad to say that its one of the best gadget I am owning. It worked absolutely fine from the moment I started to play with it.I am windows XP user and the nano was easily recognised and installed.
    Do **** with people who say it scratches by t-shirt or micro fiber cleaning cloth. Mine never did, but its highly glossy surface and black colour showcases the finger prints and smudges ultra easily like scratches and they dont go away easily by one wipe, but need a little blow from mouth and then wipe off like we do on glass.
    It practically it eliminates the space factor,while I carry it in my pocket. I never felt its there. As a protection measure I applied a film protector on all the surfaces of my nano except sides, which I got luckily as a freebie from the apple store, where I bought my nano. And I keep it in a soft pouch to keep away the dust/dirt.
    I liked the sound output through the supplied ear buds. Its good enough to enjoy with excellent bass,although the output is not detailed enough to listen all audible frequencies.
    File transfer is fast as expected with USB 2.0
    I am very satisfied as far as now with my 4 GB black nano,
    IBM Think Pad   Windows XP Pro  
    IBM Think Pad   Windows XP Pro  

    Glad to hear good news around here every once in a while! Thank You!
    Ignore the other two posts...
    btabz

  • Can I use a 85w adaptor with my (60w) MacBook Air?

    I have an old MBP and a new MBA.  Can I use the old 85w adaptor with the MBA?

    crh24 wrote:
    The question to be answered is pretty simple:
    "Does the increased output cause a high enough rise in temperature to shorten the life of even one of the components in the charger?" 
    If the answer is "yes" then do so at your own risk.  If the answer is "no", then it is safe to do so and all you face is a longer charge time.
    As users with no insight into the design specifications of the charger we have no appreciable method to determine the answer to that question.  Therefore I hold the position that I will use a lower powered charger only if forced by circumstances to do so.  I will not do so as a 'routine' method of charging my devices.
    Ohms Law has not been repealed!
    An 85w supply connected to a 60w load will output 60w, somewhat less than it is capable of and no more than the load (your Mac) needs.
    The reverse case is that a 60w supply connected to an 85w load will output 60w, less than the load needs (but more than enough to operate) and 60w is the design output so the supply will be just fine.

  • Reset color management options in LR5

    I have an Epson 9800 that I regularly print from. Today I sourced a new type of media and got very posterized, ugly output using the supplied ICC profile for that media. Now that ugly profile seems "stuck" for my printer in Lightroom. No matter what I print, on whatever media, including media/profile/image combinations I've used successfully before, everything is posterized. I also have an Epson 2200 that is still printing beautifully from the same images, so it's specific to this printer. I was using the soft proofing features for the first time with this new media so perhaps that has something to do with it.
    Would really appreciate any help.

    TXGB Packer a écrit:
    Sorry, I meant color handling.  However this is the screen that I was talking about.  The only option that mine shows is image space.  I want to know how to get the rest of this information to show up.  I believe once I get this fixed I should be able to make prints with the correct color balance.
    Do you mean 'color editing or correction' rather than 'color management' ? Correcting the color balance may be done in either of the quick, guided or full mode. If so, which mode do you use ?

  • FI-AP  Add  field of master data vendor for reporting of vendor

    Hi,
    I have to add the field LFA1-BRSCH (industry) into layout output reports for suppliers:
    S_ALR_87012082
    S_ALR_87012093
    S_ALR_87012103
    I have already read the note 984305 - Line Item: Definition of special fields (T021S), but does not help me because it does not allow to enter fields of master data vendor
    But  I 've found the extension RFKRRANZ, but I do not know what to enter as a code.
    Has anyone ever used or even if it is used on your systems could send me the code?
    Any assistance would be greatly appreciated.
    Eric

    Hi,
    if someone can affect, the answer SAP  such enhancement is not possible for teh reports:
    S_ALR_87012082
    S_ALR_87012093
    S_ALR_87012103
    But only transactions: FBL1N/FBL3N/FBL5N or, as of ERP2004, FAGLL03.
    Best Regards.
    Eric

  • Send backend PO as pdf attachment in an eMail to creator of SC

    Hello,
    I'm working on an SRM 5.5 Add-On on ERP6.0 system (one-client SRM system). Now i want to send the PO which is created in the backend vie eMail as PDF attachment to the creator/initiator of a SC.
    I already pass the SC number in field EKPO-BEDNR into the PO which works fine.
    A new output type for external sending is created as well. The standard functionality which creates the normal output to the supplier. But I want to send it to the creator of the SC.
    Where is the right place to change the receipient list of this eMail? Are there any BADIs I can use?
    Any hint would be appretiated.
    Kind regards,
    Thomas

    Hello,
    I'm working on an SRM 5.5 Add-On on ERP6.0 system (one-client SRM system). Now i want to send the PO which is created in the backend vie eMail as PDF attachment to the creator/initiator of a SC.
    I already pass the SC number in field EKPO-BEDNR into the PO which works fine.
    A new output type for external sending is created as well. The standard functionality which creates the normal output to the supplier. But I want to send it to the creator of the SC.
    Where is the right place to change the receipient list of this eMail? Are there any BADIs I can use?
    Any hint would be appretiated.
    Kind regards,
    Thomas

  • Changed Pressure transducers with 0-5Vdc from the old 0-10. PVis way off!

    Im a newby with labiew as of last week. I was tasked to change the range of new pressure transducers that were recently installed in our lab application. I am currently running 6.1 with Fp-PS-4 , FP-1601 , FP-AI-112 , and FP-RTD-124 Hardware. We are changing over from Omegadyne model PX02C1-015AV to swagelok's S-model, output 0-5, Supply V dc= 10-30 V. The pinout on the connector has already been changed and tested. I also changed the range on the points of change to 0-5 and the pv is reading way off. Im sure there is a scale in a block diagram chart somewhere, but I cannot locate it. Can anyone point to any areas where I may make these changes to correct this problem?

    Hi Dano,
    You might check the Channel Configuration settings in Measurement and Automation Explorer (MAX). Under Remote Systems, expand the I/O modules underneath your 1601. Once you click on the I/O module that you are reading your transducer on, you'll see in the window to the right a Channel Configuration tab. Here, you can check the Data Configuration setting for the input Range. Make sure this is set to the expected signal range from your sensor.
    Cheers,
    Emilie K. | Applications Engineer | National Instruments
    Attachments:
    max fp channel config.jpg ‏38 KB

  • Qosmio G20 : D-video pinout ?

    Hi Qosmio users, I've been trying to output D1, D2, D3, D4 resolutions on a HD-ready LCD TV with no success. I can output standard PAL through the D-out plug at the back of the Qosmio, using the provided D-to-Scart cable, but when I output 480p, 720p, 1080i,... the LCD TV is out of sync.
    I know the TV is able to receive 1080i signals, I have tested it with a HD camera video recorder (using component outputs).
    So, I have checked the D-to-Scart cable and found that it only carries a composite video signal (plus the left and right audio signals).
    Some people have suggested to buy a D-to-component cable in Japan, but I can't understand how it could work because it seems the D-out plug on the Qosmio is not the standard D4 connector as described on http://en.wikipedia.org/wiki/D4_video_connector
    (there's no audio signals on these D4 connectors).
    So, I'm looking for the pinout of the Qosmio D-connector...
    Also, I am wondering if the Japanese D1, D2, D3, D4 analog HD standards are supported by european HD-ready TVs ?
    Thanks for any answer,
    Fabrice

    Hey Fab,
    > I've been trying to output D1, D2, D3, D4 resolutions
    > on a HD-ready LCD TV with no success. I can output
    > standard PAL through the D-out plug at the back of the
    > Qosmio, using the provided D-to-Scart cable, but when
    > I output 480p, 720p, 1080i,... the LCD TV is out of
    > sync
    First of all, what cable did you use for this test?
    The D-video to scart cable provided with euro Qosmios is absolutely unable to do this, so it's no big surprise it didn't work. the Component signal is just not transmitted via Scart input on european TVs.
    But that's not all..
    > So, I have checked the D-to-Scart cable and found that
    > it only carries a composite video signal (plus the
    > left and right audio signals)
    Yeah that's right, unfortunately, read below...
    > Some people have suggested to buy a D-to-component
    > cable in Japan, but I can't understand how it could
    > work because it seems the D-out plug on the Qosmio is
    > not the standard D4 connector as described on
    > http://en.wikipedia.org/wiki/D4_video_connector
    > (there's no audio signals on these D4 connectors).
    You're absolutely right. It seems Toshiba Europe decided that we, european users, would have no use for the Component output so they made the D-Connector just a plug to output rotten composite through the "D-video to scart cable".
    If you bought your Qosmio G20 in the US or in Japan, it would be able to output Component. (cables supplied with US&JP qosmios are the "D-connector to component" type.)
    Even if the nVidia driver gives us the option for D1 -D4, the plug on our european units apparently just won't allow it.
    Talk about misleading advertising, or worse, the marketing guys have strictly no idea what they're talking about.
    I do have a Euro Qosmio, the E10, with D-connector plug and I have bought the "D-connector to Component" cable in Japan. I have no TV or HD screen to test it yet, but I strongly assume it will not work for the reason stated above.
    It seems the D-connector plug output has been "adapted" for european needs (read: its original purpose has been totally destroyed).
    What IS THE POINT of using this output plug for conveying a composite signal is beyond me. Especially since we already have S-VHS output which is fantastic compared to composite. No, i think Toshiba did this so that mr n00b-i-don't-care-about-quality makes it work easily on his TV by just having to plug the scart for both video + audio.
    Very, extremely sad.
    Our only hope would be that the 4 signals (1 ground and 1 composite for video + audio left, audio right and ground for audio (prolly shared with ground for video)) leave some of the pins free for the component signal output.
    I have yet to test on HDTV but i would be extremely surprised if it worked.
    I would *love* anyone to prove me wrong on that one.
    Later,
    Alcahest
    Edit: check this out.
    From : http://uk.computers.toshiba-europe.com/Contents/Toshiba_teg/EU/WORKSHOP/files/EXP-2005-04-Qosmio-Screen-EN-EMEA.pdf
    ---> http://videoff7.free.fr/qos.gif :(
    Message was edited by: Alcahest

  • Linking two table views

    Dear all,
    I am creating an iView within VC which runs two BI queries from one variant input form.
    From the outputs i can create two output tables which supply all the information i require.
    My question is, can I combine the results of the two outputs and select from both outputs the information i want to display and deliver it in one output table. I will have one common key within both sets of data.
    Unfortunately the BI reports can not be changed due to their setup
    Regards
    PS.

    Hello,
    It may be related with the configuration of the model (how input and output ports are connected).
    Please have a look at below thread. It is quite in detail:
    [How to use the Union operator;
    -arda.

  • Hello, can i use the new magsafe connector on a mac pro from 2008?

    Hello, I have a mac pro 15' from 2008, and the connector just stop working, in fact I have 2 connectors, because I broke a mac pro brand new, and then I had to buy this one, so both connectors stop working all of a sudden, and now when I went to Apple Store, the anwwer I got was "is not possible to repair" and we don't have to deliver before 4 months. I am atonished! 4 months?? How is that possible, and they show to me in Apple online the answer and it say 4 months indeed. Now I am looking to the new magsafe connector, that was made to the new mac pro and the deliver is the next day. My question is
    can I use this one on my mac pro from 2008? Because i reada few things that there were complains that the new did not work. Can i get some help one this please?

    4cpukid wrote:
    Guys we have a legit question here about a power cord and you guys are going back and forth here. If you guys want to ccontinue can you please just give each other your emails.
    ANYWAY - What I know of the magsafe cord is s different sized port.
    All magsafe plugs fit in all magsafe sockets, no exception. Your only concern is that the power output of the supply be equal to or greater than the computer into which it is plugged.

  • Error parsing stylesheet

    I'm writing a function that will take a query and a stylesheet as parameters (varchar2), generate xml from the query, format the output using the supplied stylesheet and return it to the calling program.
    I've based the function on code examples I've found on the web, so apologies if this isn't actually xml db.
    The stylesheet is well-formed, according to xmlspy.
    I've reduced the call down to this - xmldoc := dbms_xmlparser.parse(xsl);
    This is the error:
    Error at line 1
    ORA-31001: Invalid resource handle or path name "<?XML VERSION="1.0"?>
    <xsl:stylesheet VERSION="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:TEMPLATE match="ROWSET">
              <SupportingData xmlns="http://www.moneo.co.uk/eXii">
                   <xsl:APPLY-templates SELECT="ROW"/>
              </SupportingData>
         </xsl:TEMPLATE>
         <xsl:TEMPLATE match="ROW">
              <Clients>
                   <xsl:APPLY-templates SELECT="CLIENT/CLIENT_ROW"/>
                   <xsl:APPLY-templates SELECT="SPOUSE/SPOUSE_ROW"/>
              </Clients>
              <ProductStartDate>
                   <xsl:VALUE-OF SELECT="PRODUCTSTARTDATE"/>
              </ProductStartDate>
    ORA-06512: at "SYS.XDBURITYPE", line 11
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    ORA-06512: at "XDB.DBMS_XMLPARSER", line 41
    ORA-06512: at line 402
    I haven't posted the whole stylesheet, as I reckon the error is probabaly pretty basic, but I can't find out what it is.
    I've got rather confused with the different ways I've found to manipulate xml in Oracle!
    Thanks,
    Graham
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production

    Thanks for that.
    When you say 'If you really want to keep on using DBMS_XMLPARSER', does that mean it's been deprecated?
    I've been thrown in the deep end here and pointed to a Toad knowledge base article which had a helper function I was advised to use as a start point.
    There was no mention of any Oracle version, so I assumed it worked for all; I guess that is not the case.
    Anyway, your simpler version looks just that. What documentation can I look at to understand what's going on ?
    All I've found so far refers to the parser or xmltype, which is further than we need to go at the moment.
    I've implemented your simpler version, but still get the same error; I'm guessing that my xml is still wrong.
    Which raises another question.
    I was wrong when I said the stylesheets were working in our production system; they are in our live 8i system, but we haven't run that part in our new 11g system yet, apart from what I'm trying to do now.
    Do I assume things have changed in that area and our stylesheets will no longer work?
    Here's the new output.
    DECLARE
    result clob;
    qry varchar2(32767) := 'select tp.product_id
    , cursor(
    SELECT party_id
    , dateofbirth
    , Sex
    , MaritalStatus
    FROM
    select party_id
    , dateofbirth
    , sex
    , MaritalStatus
    , int_code
    from
    SELECT ti.Party_id
    , TO_CHAR(ti.birth_date, ''yyyy-mm-dd'') AS DateOfBirth
    , DECODE(ti.sex_code_id,24,''M'',25,''F'') AS Sex
    , nvl(ti.marital_status_code_id,100177) as MaritalStatus
    , tppi.interest_type_code_id as int_code
    FROM T_INDIVIDUAL ti
    , T_PARTY_PRODUCT_INTEREST tppi
    WHERE tppi.product_id = 620460
    AND tppi.interest_type_code_id = 106005
    AND ti.party_id = tppi.party_id
    AND tppi.start_date < sysdate
    AND (tppi.end_date > sysdate or tppi.end_date is null)
    UNION
    SELECT ti.Party_id
    , TO_CHAR(ti.birth_date, ''yyyy-mm-dd'') AS DateOfBirth
    , DECODE(ti.sex_code_id,24,''M'',25,''F'') AS Sex
    , nvl(ti.marital_status_code_id,100177) as MaritalStatus
    , tppi.interest_type_code_id as int_code
    FROM T_INDIVIDUAL ti
    , T_PARTY_PRODUCT_INTEREST tppi
    WHERE tppi.product_id = 620460
    AND tppi.interest_type_code_id = 4701
    AND ti.party_id = tppi.party_id
    AND tppi.start_date < sysdate
    AND (tppi.end_date > sysdate or tppi.end_date is null)
    ORDER BY INT_CODE DESC
    WHERE ROWNUM = 1
    ) as Client
    , cursor(
    SELECT ti2.party_id
    , to_char(ti2.birth_date, ''yyyy-mm-dd'') as DateOfBirth
    , decode(ti2.sex_code_id,24,''M'',25,''F'') as Sex
    , nvl(ti2.marital_status_code_id,100177) as MaritalStatus
    FROM t_party_product_interest tppi
    , t_individual ti2
    WHERE tppi.product_id = tp.product_id
    AND tppi.interest_type_code_id = 81000300
    AND tppi.party_id = ti2.party_id
    AND tppi.start_date < sysdate
    AND (tppi.end_date > sysdate or tppi.end_date is null)
    ) as Spouse
    ,to_char(tp.product_start_date, ''yyyy-mm-dd'') as ProductStartDate
    ,cursor(
    SELECT tdfn.retirement_age
    , tdfn.charging_structure_code_id
    FROM T_DDD_FSAVC_NEW_BUSINESS tdfn
    WHERE tdfn.parent_entity_id = (SELECT tui.illustration_id
    FROM T_UCI_ILLUSTRATION tui
    WHERE tui.acceptance_date = (SELECT MAX(accept_date) FROM
    (SELECT MAX(tui.acceptance_date) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_NEW_BUSINESS tdfn
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfn.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    and tit.behaviour_code_id <> 5653
    UNION
    (SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_fsavc_AMENDMENTS tdfa
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfa.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    and tit.behaviour_code_id <> 5653
    UNION
    (SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_MIGRATED tdfm
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfm.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    and tit.behaviour_code_id <> 5653
    AND tui.product_id = tp.product_id
    UNION
    SELECT nvl(TDFA.NEW_RETIREMENT_AGE, tdfa.retirement_age) retirement_age
    , tdfa.charging_structure_code_id
    FROM T_DDD_FSAVC_AMENDMENTS tdfa
    WHERE tdfa.parent_entity_id = (SELECT tui.illustration_id
    FROM T_UCI_ILLUSTRATION tui
    WHERE tui.acceptance_date = (SELECT MAX(accept_date) FROM
    (SELECT MAX(tui.acceptance_date) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_NEW_BUSINESS tdfn
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfn.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    AND tit.behaviour_code_id <> 5653
    UNION
    (SELECT MAX(tui.acceptance_date) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_AMENDMENTS tdfa
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfa.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    AND tit.behaviour_code_id <> 5653
    UNION
    (SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_MIGRATED tdfm
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfm.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    and tit.behaviour_code_id <> 5653
    AND tui.product_id = tp.product_id
    UNION
    SELECT tdfm.retirement_age
    , tdfm.charging_structure_code_id
    FROM T_DDD_FSAVC_MIGRATED tdfm
    WHERE tdfm.parent_entity_id = (SELECT tui.illustration_id
    FROM T_UCI_ILLUSTRATION tui
    WHERE tui.acceptance_date = (SELECT MAX(accept_date) FROM
    (SELECT MAX(tui.acceptance_date) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_NEW_BUSINESS tdfn
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfn.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    AND tit.behaviour_code_id <> 5653
    UNION
    (SELECT MAX(tui.acceptance_date) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_AMENDMENTS tdfa
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfa.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    AND tit.behaviour_code_id <> 5653
    UNION
    (SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
    FROM T_UCI_ILLUSTRATION tui
    , T_DDD_FSAVC_MIGRATED tdfm
    , T_ILLUSTRATION_TYPE tit
    WHERE tui.illustration_id = tdfm.parent_entity_id
    AND tui.product_id = 620460
    and tui.illustration_type_id = tit.illustration_type_id
    and tit.behaviour_code_id <> 5653
    AND tui.product_id = tp.product_id
    ) as ProjectionBasis
    ,cursor(
    SELECT tdps.contingent_proportion_percent as contingentproportion
    , tdps.guaranteed_period_code_id as guaranteedperiod
    FROM t_ddd_projection_settings tdps
    WHERE tdps.parent_entity_type_code_id = 1022
    AND tdps.parent_entity_id = tp.product_id
    ) as AnnuityInformation
    ,cursor(
    select (fund.fund_name || '' - '' || ut.unit_type_name) as fund_name,
    ut.unit_type_id,
    round(holding.units * valuation.bid_price/100, 2) as holding_value
    from t_uci_benefit benefit,
    t_unit_type ut,
    t_fund fund,
    (select ben.benefit_id,
    vp.bid_price
    from t_uci_benefit ben,
    v_vp_estimate_date vp
    where ben.product_id = 620460 and
    vp.unit_type_id = ben.unit_type_id and
    vp.start_date < to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))) || '' 23:59:59'', ''dd/mm/yyyy hh24:mi:ss'') - 1 and
    (vp.end_date is null or to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))) || '' 23:59:59'', ''dd/mm/yyyy hh24:mi:ss'') - 1 <= vp.end_date)) valuation,
    (select ben.benefit_id,
    ben.held_units + nvl(sum(transactions.credamt), 0) + nvl(sum(transactions.debamt), 0) units
    from t_uci_benefit ben,
    (select cred.holding_benefit_id,
    -1 * cred.deal_units as credamt,
    0 as debamt
    from t_uci_deal_transaction cred
    where cred.product_id = 620460 and
    cred.exclude_from_statement_flag = ''N'' and
    trunc(nvl(cred.committed_date, cred.effective_date)) > to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))), ''dd/mm/yyyy'') - 1 and
    cred.status_code_id in (4302, 4305, 4306, 4307) and
    cred.credit_flag = ''Y''
    union all
    select deb.holding_benefit_id,
    0 as credamt,
    deb.deal_units as debamt
    from t_uci_deal_transaction deb
    where deb.product_id = 620460 and
    deb.exclude_from_statement_flag = ''N'' and
    trunc(nvl(deb.committed_date, deb.effective_date)) > to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))), ''dd/mm/yyyy'') - 1 and
    deb.status_code_id in (4302, 4305, 4306, 4307) and
    deb.credit_flag = ''N'') transactions
    where ben.benefit_id = transactions.holding_benefit_id (+)
    and ben.product_id = 620460
    group by ben.benefit_id,
    ben.held_units
    ) holding
    where benefit.product_id = 620460 and
    benefit.benefit_id = holding.benefit_id and
    benefit.benefit_id = valuation.benefit_id and
    benefit.unit_type_id = ut.unit_type_id and
    ut.fund_id = fund.fund_id
    order by fund_name asc
    ) as fund
    ,cursor(
    SELECT t_s.product_id as Product
    , t_u.product_transaction_type_id as Reference
    , t_u.customer_amt as Customer_amt
    , to_char(t_s.schedule_start_date, ''yyyy-mm-dd'') as StartDate
    , to_char(t_s.schedule_end_date, ''yyyy-mm-dd'') as EndDate
    , t_s.frequency as Frequency
    , t_s.frequency_units_code_id as FrequencyUnits
    , to_char(t_s.next_transaction_date, ''yyyy-mm-dd'') as NextTransactionDate
    FROM t_scheduled_transaction t_s,
    t_uci_template_transaction t_u
    WHERE t_s.scheduled_transaction_id = t_u.scheduled_transaction_id
    and t_s.product_id = tp.product_id
    and (t_s.schedule_end_date is null
    or t_s.schedule_end_date > TO_DATE(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))), ''dd/mm/yyyy hh24:mi:ss''))
    ) as Transactions
    ,cursor(
    SELECT tub.unit_type_id
    , tub.default_investment_percent as Percentage
    , tub.benefit_id
    FROM t_uci_benefit tub
    WHERE tub.product_id = tp.product_id and
    tub.default_investment_percent Is not Null
    ) as FundSplit
    from t_uci_product tp
    where tp.product_id = 620460';
    xsl varchar2(32767):= '<?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="ROWSET">
              <SupportingData xmlns="http://www.moneo.co.uk/eXii">
                   <xsl:apply-templates SELECT="ROW"/>
              </SupportingData>
         </xsl:template>
         <xsl:template match="ROW">
              <Clients>
                   <xsl:apply-templates select="CLIENT/CLIENT_ROW"/>
                   <xsl:apply-templates select="SPOUSE/SPOUSE_ROW"/>
              </Clients>
              <ProductStartDate>
                   <xsl:value-of select="PRODUCTSTARTDATE"/>
              </ProductStartDate>
              <ProjectionBasis>
                   <xsl:apply-templates select="PROJECTIONBASIS/PROJECTIONBASIS_ROW"/>
              </ProjectionBasis>
              <AnnuityInformation>
                   <xsl:apply-templates select="ANNUITYINFORMATION/ANNUITYINFORMATION_ROW"/>
              </AnnuityInformation>
              <Funds>
                   <xsl:apply-templates select="FUND/FUND_ROW"/>
              </Funds>
              <Transactions>
                   <xsl:apply-templates select="TRANSACTIONS/TRANSACTIONS_ROW"/>
              </Transactions>
              <DefaultFundSplits>
                   <xsl:apply-templates select="FUNDSPLIT/FUNDSPLIT_ROW"/>
              </DefaultFundSplits>
         </xsl:template>
         <xsl:template match="CLIENT_ROW">
              <Client>
                   <xsl:IF test="STRING-LENGTH(DATEOFBIRTH)!=0">
                        <DateOfBirth>
                             <xsl:value-of select="DATEOFBIRTH"/>
                        </DateOfBirth>
                   </xsl:IF>
                   <Sex>
                        <xsl:value-of select="SEX"/>
                   </Sex>
                   <MaritalStatus CodeId="{MARITALSTATUS}"/>
              </Client>
         </xsl:template>
         <xsl:template match="SPOUSE_ROW">
              <Spouse>
                   <xsl:IF test="STRING-LENGTH(DATEOFBIRTH)!=0">
                        <DateOfBirth>
                             <xsl:value-of select="DATEOFBIRTH"/>
                        </DateOfBirth>
                   </xsl:IF>
                   <Sex>
                        <xsl:value-of select="SEX"/>
                   </Sex>
                   <MaritalStatus CodeId="{MARITALSTATUS}"/>
              </Spouse>
         </xsl:template>
         <xsl:template match="PROJECTIONBASIS_ROW">
              <xsl:IF test="RETIREMENT_AGE">
                   <RetirementAge>
                        <xsl:value-of select="RETIREMENT_AGE"/>
                   </RetirementAge>
              </xsl:IF>
              <ChargingStructure CodeId="{CHARGING_STRUCTURE_CODE_ID}"/>
         </xsl:template>
         <xsl:template match="ANNUITYINFORMATION_ROW">
              <xsl:IF test="STRING-LENGTH(GUARANTEEDPERIOD)!=0">
                   <GuaranteePeriod>
                        <xsl:value-of select="GUARANTEEDPERIOD"/>
                   </GuaranteePeriod>
              </xsl:IF>
              <xsl:IF test="STRING-LENGTH(CONTINGENTPROPORTION)!=0">
                   <ContingentProportion>
                        <xsl:value-of select="CONTINGENTPROPORTION"/>
                   </ContingentProportion>
              </xsl:IF>
         </xsl:template>
         <xsl:template match="FUND_ROW">
              <Fund>
                   <REFERENCE>
                        <xsl:value-of select="UNIT_TYPE_ID"/>
                   </REFERENCE>
                   <VALUE>
                        <xsl:value-of select="HOLDING_VALUE"/>
                   </VALUE>
              </Fund>
         </xsl:template>
         <xsl:template match="TRANSACTIONS_ROW">
              <TRANSACTION>
                   <REFERENCE>
                        <xsl:value-of select="REFERENCE"/>
                   </REFERENCE>
                   <Amount>
                        <xsl:value-of select="CUSTOMER_AMT"/>
                   </Amount>
                   <StartDate>
                        <xsl:value-of select="STARTDATE"/>
                   </StartDate>
                   <xsl:IF test="STRING-LENGTH(ENDDATE)!=0">
                        <EndDate>
                             <xsl:value-of select="ENDDATE"/>
                        </EndDate>
                   </xsl:IF>
                   <Frequency>
                        <xsl:value-of select="FREQUENCY"/>
                   </Frequency>
                   <FrequencyUnits>
                        <xsl:value-of select="FREQUENCYUNITS"/>
                   </FrequencyUnits>
                   <NextPaymentDate>
                        <xsl:value-of select="NEXTTRANSACTIONDATE"/>
                   </NextPaymentDate>
              </TRANSACTION>
         </xsl:template>
         <xsl:template match="FUNDSPLIT_ROW">
              <Fund>
                   <REFERENCE>
                        <xsl:value-of select="UNIT_TYPE_ID"/>
                   </REFERENCE>
                   <Percentage>
                        <xsl:value-of select="PERCENTAGE"/>
                   </Percentage>
              </Fund>
         </xsl:template>
    </xsl:stylesheet>';
    ctx dbms_xmlgen.ctxHandle;
    BEGIN
    ctx := dbms_xmlgen.newContext(qry);
    dbms_xmlgen.setNullHandling(ctx, dbms_xmlgen.EMPTY_TAG);
    dbms_xmlgen.setXSLT(ctx, xsl);
    result := dbms_xmlgen.getXML(ctx);
    dbms_xmlgen.closeContext(ctx);
    END;
    Error at line 1
    ORA-31001: Invalid resource handle or path name "<?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="ROWSET">
              <SupportingData xmlns="http://www.moneo.co.uk/eXii">
                   <xsl:apply-templates SELECT="ROW"/>
              </SupportingData>
         </xsl:template>
         <xsl:template match="ROW">
              <Clients>
                   <xsl:apply-templates select="CLIENT/CLIENT_ROW"/>
                   <xsl:apply-templates select="SPOUSE/SPOUSE_ROW"/>
              </Clients>
              <ProductStartDate>
                   <xsl:value-of select="PRODUCTSTARTDATE"/>
              </ProductStartDate>
    ORA-06512: at "SYS.XDBURITYPE", line 30
    ORA-06512: at "SYS.DBMS_XMLGEN", line 116
    ORA-06512: at line 401
    Script Terminated on line 1 of \\Hqtgnas21p\users\operations\systems\is\development\gball\My_Documents\Useful SQL Reports etc\sqltoxml_sample.sql.

  • SJSAS EE 8.1_02 / Bug in jss4.jar breaks our new release

    +[Full environment description below]+
    Problem description: our application server contains several applications including one J2EE application made of several WARs and EJBs. One of these EJBs starts some internal services that use an open source library called jsch [1] to make SFTP transfers (we use jsch 0.1.31). This jsch library relies on javax.crypto and negotiates encryption with the remote SFTP server. Doing so, it selects a cryptographic cipher. This works well from our development and build environments but fails on our test server which uses Sun App Server 8.1_02. This server doesn't deploy a JavaCAPS application internally (we have a separate App. Server for it).
    For some reasons (that I do not yet completely understand), our test (and production) Sun AS contains in the classpath a library (jss4.jar) and this library contains a cipher that is used for the transfer. The library may be related to Sun Application Manager or for some security setup but I am not yet sure. It may be standard with Sun AS EE.
    As shown in the appendices below, this library seems to contain a bug causing the SFTP connection to fail. If the code is indeed the one that is used in jss4.jar, then the library is obviously broken. But the only Sun patch I've seen that upgrades the library was http://sunsolve.sun.com/search/document.do?assetkey=1-21-119211-14-1&searchclause=jss4.jar . Tt doesn't seem to address our problem (at least in the patch documentation).
    I think that we now need some help/feedback from Sun. We have to either
    * find out if we can remove this library from the classpath
    * find a way to bypass the use of the cryptographic component
    * or get a fix for the library itself.
    Is it possible for someone at Sun to help us fix this issue ? We've to release again the application with a fix ASAP.
    Cheers,
    Jerome
    Appendix 1 ** Environment:
    SJSAS EE 8.1_02
    java -versionjava version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
    Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)
    uname -aSunOS ast-b2bdev 5.10 Generic_118822-27 sun4u sparc SUNW,Sun-Fire-V210
    ls -la /usr/share/lib/mps/secv1/jss4.jarlrwxrwxrwx   1 root     root          11 Dec 12  2005 /usr/share/lib/mps/secv1/jss4.jar -> ../jss4.jar
    ls -la /usr/share/lib/mps/jss4.jar -rw-r--r--   1 root     bin       657089 Jul 29  2005 /usr/share/lib/mps/jss4.jar
    md5 /usr/share/lib/mps/jss4.jar 1c9f9b09a1d632f31458caef5cfe4812        /usr/share/lib/mps/jss4.jarAppendix 2 ** stack trace that we see while running our program
    I've finally managed to get a full stack trace:
    [#|2007-11-05T18:23:00.980+0100|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=230 ;|
    javax.crypto.ShortBufferException: 32 needed, 20480 supplied
            at org.mozilla.jss.provider.javax.crypto.JSSCipherSpi.engineUpdate(JSSCipherSpi.java:338)
            at javax.crypto.Cipher.update(DashoA12275)
            at com.jcraft.jsch.jce.TripleDESCBC.update(TripleDESCBC.java:81)
            at com.jcraft.jsch.Session.encode(Session.java:800)
            at com.jcraft.jsch.Session._write(Session.java:1135)
            at com.jcraft.jsch.Session.write (Session.java:1132)
            at com.jcraft.jsch.UserAuth.start(UserAuth.java:52)
            at com.jcraft.jsch.UserAuthNone.start(UserAuthNone.java:36)
            at com.jcraft.jsch.Session.connect(Session.java:350)
            at com.jcraft.jsch.Session.connect(Session.java:145)
            at org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:210)
            at org.apache.commons.vfs.provider.sftp.SftpFileProvider.doCreateFileSystem (SftpFileProvider.java:90)
            at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:81)
            at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile (AbstractOriginatingFileProvider.java:62)
            at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:641)
            at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile (DefaultFileSystemManager.java:582)Appendix 3 ** potential matching bug in JSSCipherSpi as identified by jsch author
    ---------- Forwarded message ----------
    From: Atsuhiko Yamanaka <[email protected]>
    Date: Nov 6, 2007 2:12 AM
    Subject: Re: [JSch-users] javax.crypto.ShortBufferException in Session with 0.1.31 ?
    To: [email protected]
    Cc: [email protected]
    - Hide quoted text -
      +-From: "Jerome Lacoste" <[email protected]> --
      |_Date: Mon, 5 Nov 2007 18:39:50 +0100 _______________
      |
      |I've finally managed to get a full stack trace:
      |[#|2007-11-05T18:23:
      |00.980+0100|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=230
      |;|
      |javax.crypto.ShortBufferException: 32 needed, 20480 supplied
      |        at org.mozilla.jss.provider.javax.crypto.JSSCipherSpi.engineUpdate(
      |JSSCipherSpi.java:338)
      |        at javax.crypto.Cipher.update (DashoA12275)
    Sign, I knew.
    Before writing my last message, I had found the following buggy code[1],
       public int engineUpdate(byte[] input, int inputOffset, int inputLen,
           byte[] output, int outputOffset) throws ShortBufferException
           byte[] bytes = engineUpdate(input, inputOffset, inputLen);
           if( bytes.length < output.length-outputOffset ) {
               throw new ShortBufferException(bytes.length +  " needed, " +
                   (output.length-outputOffset) + " supplied");
           System.arraycopy(bytes, 0, output, outputOffset, bytes.length);
           return bytes.length;
    and I had strongly believed that the problem had come from it,
    but it is contradict to your success with your own compiled jar.
    [1] http://www.koders.com/java/fidF0D62D7385480B906B3CC88210B02AF4A84FF467.aspx

    +[Full environment description below]+
    Problem description: our application server contains several applications including one J2EE application made of several WARs and EJBs. One of these EJBs starts some internal services that use an open source library called jsch [1] to make SFTP transfers (we use jsch 0.1.31). This jsch library relies on javax.crypto and negotiates encryption with the remote SFTP server. Doing so, it selects a cryptographic cipher. This works well from our development and build environments but fails on our test server which uses Sun App Server 8.1_02. This server doesn't deploy a JavaCAPS application internally (we have a separate App. Server for it).
    For some reasons (that I do not yet completely understand), our test (and production) Sun AS contains in the classpath a library (jss4.jar) and this library contains a cipher that is used for the transfer. The library may be related to Sun Application Manager or for some security setup but I am not yet sure. It may be standard with Sun AS EE.
    As shown in the appendices below, this library seems to contain a bug causing the SFTP connection to fail. If the code is indeed the one that is used in jss4.jar, then the library is obviously broken. But the only Sun patch I've seen that upgrades the library was http://sunsolve.sun.com/search/document.do?assetkey=1-21-119211-14-1&searchclause=jss4.jar . Tt doesn't seem to address our problem (at least in the patch documentation).
    I think that we now need some help/feedback from Sun. We have to either
    * find out if we can remove this library from the classpath
    * find a way to bypass the use of the cryptographic component
    * or get a fix for the library itself.
    Is it possible for someone at Sun to help us fix this issue ? We've to release again the application with a fix ASAP.
    Cheers,
    Jerome
    Appendix 1 ** Environment:
    SJSAS EE 8.1_02
    java -versionjava version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
    Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)
    uname -aSunOS ast-b2bdev 5.10 Generic_118822-27 sun4u sparc SUNW,Sun-Fire-V210
    ls -la /usr/share/lib/mps/secv1/jss4.jarlrwxrwxrwx   1 root     root          11 Dec 12  2005 /usr/share/lib/mps/secv1/jss4.jar -> ../jss4.jar
    ls -la /usr/share/lib/mps/jss4.jar -rw-r--r--   1 root     bin       657089 Jul 29  2005 /usr/share/lib/mps/jss4.jar
    md5 /usr/share/lib/mps/jss4.jar 1c9f9b09a1d632f31458caef5cfe4812        /usr/share/lib/mps/jss4.jarAppendix 2 ** stack trace that we see while running our program
    I've finally managed to get a full stack trace:
    [#|2007-11-05T18:23:00.980+0100|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=230 ;|
    javax.crypto.ShortBufferException: 32 needed, 20480 supplied
            at org.mozilla.jss.provider.javax.crypto.JSSCipherSpi.engineUpdate(JSSCipherSpi.java:338)
            at javax.crypto.Cipher.update(DashoA12275)
            at com.jcraft.jsch.jce.TripleDESCBC.update(TripleDESCBC.java:81)
            at com.jcraft.jsch.Session.encode(Session.java:800)
            at com.jcraft.jsch.Session._write(Session.java:1135)
            at com.jcraft.jsch.Session.write (Session.java:1132)
            at com.jcraft.jsch.UserAuth.start(UserAuth.java:52)
            at com.jcraft.jsch.UserAuthNone.start(UserAuthNone.java:36)
            at com.jcraft.jsch.Session.connect(Session.java:350)
            at com.jcraft.jsch.Session.connect(Session.java:145)
            at org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:210)
            at org.apache.commons.vfs.provider.sftp.SftpFileProvider.doCreateFileSystem (SftpFileProvider.java:90)
            at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:81)
            at org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile (AbstractOriginatingFileProvider.java:62)
            at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:641)
            at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile (DefaultFileSystemManager.java:582)Appendix 3 ** potential matching bug in JSSCipherSpi as identified by jsch author
    ---------- Forwarded message ----------
    From: Atsuhiko Yamanaka <[email protected]>
    Date: Nov 6, 2007 2:12 AM
    Subject: Re: [JSch-users] javax.crypto.ShortBufferException in Session with 0.1.31 ?
    To: [email protected]
    Cc: [email protected]
    - Hide quoted text -
      +-From: "Jerome Lacoste" <[email protected]> --
      |_Date: Mon, 5 Nov 2007 18:39:50 +0100 _______________
      |
      |I've finally managed to get a full stack trace:
      |[#|2007-11-05T18:23:
      |00.980+0100|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=230
      |;|
      |javax.crypto.ShortBufferException: 32 needed, 20480 supplied
      |        at org.mozilla.jss.provider.javax.crypto.JSSCipherSpi.engineUpdate(
      |JSSCipherSpi.java:338)
      |        at javax.crypto.Cipher.update (DashoA12275)
    Sign, I knew.
    Before writing my last message, I had found the following buggy code[1],
       public int engineUpdate(byte[] input, int inputOffset, int inputLen,
           byte[] output, int outputOffset) throws ShortBufferException
           byte[] bytes = engineUpdate(input, inputOffset, inputLen);
           if( bytes.length < output.length-outputOffset ) {
               throw new ShortBufferException(bytes.length +  " needed, " +
                   (output.length-outputOffset) + " supplied");
           System.arraycopy(bytes, 0, output, outputOffset, bytes.length);
           return bytes.length;
    and I had strongly believed that the problem had come from it,
    but it is contradict to your success with your own compiled jar.
    [1] http://www.koders.com/java/fidF0D62D7385480B906B3CC88210B02AF4A84FF467.aspx

Maybe you are looking for

  • 110v to 220v imac

    Can I use an imac bought in America in Australia without a transformer?

  • Can you set specific viewing options for a pdf linked from the HTMLResouces folder?

    Can you change the default view to 2-up facing pages, or open it to a specific page in the pdf?

  • Flex 3 and SEO HELP

    Can anyone help me if Flex 3 can be seen by search engines. I have a pure Flex 3, database generated web site and have tested many options with no search engine results found. I tried hidden text and found search engine results very quickly before I

  • Computer freezes while using itunes

    I have a eMac running 10.4.8 and the latest version of itunes [ I also use a wireless card with airport express ]. When I try to do antthing else with itunes running my computer frezzes up and the only way to fix it is to restart. Spent yesterday on

  • Document Summary, wrong values displayed for not persistent prompt

    Some prompt values displayed on the document summary portion of the document properties area are displaying incorrect values. It looks like non persistent prompts are showing the  value of the prompt listed just before the non_persistent prompt, inst