Regd interpreter problem

Hi, this might be very simple problem .Yet i couldn't get it.
i 've sample program with me only one output statement Helloworld , when i try to run its giving the following error
C:\java>java HelloWorldApp
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
I added the .class file directory to CLASSPATH Variable also , still its giving error.
Can anyone reply me back.
regards
Sailaja.V

Try: -
java -cp . HelloWorldApp

Similar Messages

  • UTL_FILE, Extra CRFL's, possible OS interpretation problem.

    Greetings,
    DISCLAIMER:
    I am an oracle noob so if I make a mistake in forum etiquette or have not checked all available documentation or have made an assumption that is incorrect ( or noobish ) or am unaware of a tool better suited to the task I am trying to accomplish..
    Please don’t flame me, I am learning. Give me constructive replies and I will learn, I promise.
    My environment: 10G XE DB running on Server 2k3. Developing in SQLDEV 1.54
    I am attempting to dump the contents of a CLOB to a file on the OS disc. Due to formatting restrictions, the contents of the file written to disc must be EXACTLY the contents of the CLOB, character per-per character, verbatim.
    Here is an example anon block that will give you the essentials of the way I am attempting to accomplish this:
    DECLARE
    l_clob CLOB ;
    l_output_file utl_file.file_type;
    BEGIN
    l_clob := 'Hello my name is George!' || chr(13) || chr(10) ;
    l_clob:= l_clob || 'Would you like to play a game?' || chr(13) || chr(10);
    l_clob := l_clob || 'It will be fun, I promise..' || chr(13) || chr(10);
    dbms_output.put_line( dbms_lob.getlength(l_clob));
    l_output_file := utl_file.fopen( TEST_DIR' , 'test.txt' ,'W', max_linesize=> 32767 );
    utl_file.put( l_output_file , l_clob );
    utl_file.fflush( l_output_file);
    utl_file.fclose( l_output_file );
    utl_file.fclose_all;
    END;
    Here you can see where I put a few lines into my clob, I manually append the CRLF using the CHR function, since I cant accurately reproduce a non-printable character in a string value. This is important because the Clob I am attempting to write to disc contains CRLF’s as part of its data, these must be preserved. Also note that I am writing this to the file using utl_file.PUT not PUT_LINE, again, because the disk file must be the clob verbatim, I cant use put_line because it adds a “new line character” at the end of the data it writes.
    Ignore the DMBS_OUTPUT line , I will get back to that in a bit.
    I execute this bit of code and get a file text.txt. What I expected to see was:
    “'Hello my name is George!
    Would you like to play a game?
    'It will be fun, I promise..”
    What I actually got was:
    !http://i594.photobucket.com/albums/tt22/GargleSpam/Temp001.jpg!
    Looking at this in notepad++ we can expose the non-printable chars:
    !http://i594.photobucket.com/albums/tt22/GargleSpam/Temp002.jpg!
    Using notepad ++ we can see that an extra CR ( CHR(13)) has been pre-pended to the CRLF. We can confirm this is not an artifact of viewing this in notepad by looking at the file size of the output file and comparing it to the size of the clob.
    The DBMS_OUTPUT line indicates ( in my test case) clob size of 87 characters. If you take the time to count you will see this is correct. 81 printable characters that we see, and the 6 non-printable chars to accomplish the CRLF’s.
    However if we look at the file size:
    !http://i594.photobucket.com/albums/tt22/GargleSpam/Temp003.jpg!
    So that’s 87 + our 3 “ninja ” CR’s.
    For my purposes this is a deal-breaking problem. The contents of my output file must be exactly the contents of my clob, byte for byte. So this extra CR is a big big problem.
    Where is it coming from? I started thinking about the “new line character” that the PUT_LINE procedure uses and, had a hunch that perhaps since the DB is OS independent, it might be passing one of the non-printable chars to the OS as “new line” and letting the os worry about what that means on disk. With that in mind I did some further testing:
    DECLARE
    l_clob CLOB ;
    l_output_file utl_file.file_type;
    BEGIN
    l_clob := 'Incoming lf->'|| chr(10) ;
    l_clob:= l_clob || 'Incoming cr->' || chr(13);
    clob:= lclob || 'Incoming CRLF->' || chr(13) || chr(10);
    l_output_file := utl_file.fopen( TEST_DIR' , 'test.txt' ,'W', max_linesize=> 32767 );
    utl_file.put( l_output_file , l_clob );
    utl_file.fflush( l_output_file);
    utl_file.fclose( l_output_file );
    utl_file.fclose_all;
    END;
    This code results in:
    !http://i594.photobucket.com/albums/tt22/GargleSpam/Temp004.jpg!
    Looking at this it becomes obvious that the CHR(10) is being written to disc as TWO characters ( CR LF). So my assumption must be correct, that the DB is passing CHR(10) to the OS as “newline” and the OS ( Windows in my case ) is interpreting this as ‘CRLF.’
    This makes sense since it seems to be widely known ( though not to me , I am shaky on this part ) that “newline” in unix is just CHR(10), and in windows its CHR(10)||CHR(13).
    So I seem to have isolated my problem. Now finally my question.. How to I get around this?
    Google searches and searches on this forum yeilded only marginal help, something about passing this file through an FTP server.. ?. The only marginal help was in post # 3298335. Nothing that really answers my question though.
    Is there a setting my DBA can set to change this behavior? Is there a different way ( PLSQL) to write the file that might mitigate this? Don’t say put the DB on unix, that’s not an option.
    Let me know what you think…
    -VAF

    Hi,
    Also you should check that the directory name is enclosed between '. TEST_DIR is an Oracle directory object that maps a real directory path in the filesystem (check privileges).
    Like:
    DECLARE
        l_clob CLOB;
        l_output_file utl_file.file_type;
    BEGIN
        l_clob := 'Hello my name is George!' || CHR(13) || CHR(10);
        l_clob := l_clob || 'Would you like to play a game?' || CHR(13) || CHR(10);
        l_clob := l_clob || 'It will be fun, I promise..' || CHR(13) || CHR(10);
        dbms_output.put_line(dbms_lob.getlength(l_clob));
        l_output_file := utl_file.fopen('TEST_DIR', 'test.txt', ' W', max_linesize => 32767);
        utl_file.put(l_output_file, l_clob);
        utl_file.fflush(l_output_file);
        utl_file.fclose(l_output_file);
    END;Tip: to post formatted code you must enclose it between {noformat}{noformat} tags (start and end tags are the same).
    Regards,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Alpha Channel / gradation interpretation problem

    I have a very peculiar problem, which started happening after upgrading to CC 2014. I was hoping that the latest update would fix it but it didn't.
    The problem is with the incorrect way Premiere interpreters Animation codec QT files with alpha with semi-transparent elements that were exported from AE. I have never seen this kind of behavior in any software before. As long as I had my alpha set to straight (unmatted), RGB + Alpha Millions of Colors+ when exporting from AE, everything has always worked fine. And it did in this project. I dropped the animation on the top of my footage in the sequence and it worked. But then after the upgrade to 2014 some unexpected results started to happen whenever I reposition the imported graphics that have alpha.
    This image is correct before repositioning it:
    And look what happens as soon as I move it:
    The difference is huge and unacceptable!
    The interesting thing is when I reset the position to original it looks fine again.
    I checked several things:
    - footage interpretation is correct: straight alpha
    - sequence settings: composite in linear color is checked off (and if I turn it on it messes up the other elements - so I assume default off is correct)
    - Changing the clip's opacity blending mode to Lighten fixes the problem in a way. But I can't use lighten on these graphics because I have some dark elements as well (which become transparent when in lighten mode)
    The bottom line is - this just should work. Importing animation codec QT files with alpha is pretty straightforward and basic operation. So is there some kind of a bug?
    I don't know what else I could do. This really messes my client revision process because I need to readjust position of the graphic elements. And just the way and why this is happening does not make sense to me.
    Please help! Thanks.
    Jim

    By the way i realized i cannot export bars or other 3d graphics with background either. Same problem.

  • IVR VXML Interpreter problem

    Hi,
    we are developing a VXML application invoked from IVR VMXL interpreter. Our problem occurs when we want to use # key. The poblem is when wue press this key the VXML interpreter ignore this. If we associate the same action to the * key it works fine. The problem is related to # key.
    Is this key reserved from IVR VXML interpreter?
    Has anyboby experienced this issue?
    My CCX/IVR version is 7.01 SR5.
    Could anybody help me?
    Regards

    In the VXML standard, the # key (pound in the US, hash in the rest of the world) is defined as the termination character (termchar) for DTMF entry. If you are asking callers to enter (say) an account number which has between 5 and 8 digits, you need to know when they have finished. The normal thing to do is to allow them to enter # to say that they have finished.
    I strongly suggest you don't use this key for another purpose.
    But if you do need to, you must tell the VXML browser that the key does not have the usual role. The syntax is defined by the VXML standard. You can set the termchar to empty as follows;
    Regards,
    Geoff

  • Characters jre interpretation problem

    hi,
    i've installed the java jdk 7u11 on OS X 10.8.2, and updated some time ago the default java jdk (to the version 6u39).
    both the versions seems to have the same problem:
    in every java-based application wih GUI componenets some of the symbols i type behave in a strange way:
    " | " ( pipe symbol ) is invisible on the GUI (it acquires the input but do not shows it at all)
    " ( " (parentesi sinistra ) is views as a smaller pipe symbol
    there is an example:
    http://s8.postimage..../ANTLR_grab.png
    the correct version should be :
    prog :     (expr SEMIC)*;
    expr : TRUE expr1 | FALSE expr1 | INT expr1;
    expr1 : PLUS expr1  | MINUS expr1 | AND expr1 | OR expr1 | ;
    why?

    Well, first check the current version of JRE(i guess you know how to do this...You should be able to see a image(java symbol) under control panel...click on it ..)
    If it still points to old JRE.....you can manually delete it from the registry

  • PROBLEM: AE Rendered Footage Jittery. Frame Swapping?

    Hey everyone,
    I recently shot some footages of my friend playing some basketball and decided to make a cloning video out of it. I imported the video file (605.mts) to AECS4, divided up, and layered the clips.
    However, for some odd reason, the footage becomes jittery in preview and after export. It's like some frames got moved around. Perhaps the video itself would better explain things for me.
    I shot the footage with a Canon Vixia HF100, which shoots in AVCHD that uses .MTS file format. I'm on a quadcore computer, 4gigs of ram. Using Adobe AE CS4. Any help will be appreciated! Thanks

    Hum, this looks like an interpretation problem of your AVCHD file.
    Short answer: AE struggles to read correctly your file.
    Long answer: AVCHD has ton of flavors and revisions based on the original recorder device (camera), and the recording mode (preset you choose). AE supports most of those flavors, but new ones are released everyday on the market, making it difficult to be a reliable format. If you have not yet updated to 9.0.2, I recommand updating now as your AVCHD flavor support might be included in the update.
    If it dones't change anything, I recommand you converting your file to a lossless codec format (like QT animation) to manipulate it correctly inside AE.
    You can try the free converting tool MPEG Streemclip.
    Hope that helps

  • Interpreting Concurrent Mark Sweep GC-Log

    Hi.
    I am trying to extract some metrics from the garbage collector log of the concurrent mark sweep garbage collector. I have found a nice walkthrough a this site:
    [http://www.sun.com/bigadmin/content/submitted/cms_gc_logs.html |http://www.sun.com/bigadmin/content/submitted/cms_gc_logs.html ]
    I'm using CMS in incremental mode and that's where I am having interpretation problems. The site above states that the incremental mode takes over the job of the "concurrent mark"-phase. If this is correct (is it?) that means that I have two different statistics that state how long the "concurrent mark"-phase took. First the incremental CMS statistics and second the ordinary CMS statistics.
    The first incremental stats look like this:
    2803.125: [GC 2803.125: [ParNew: 408832K->0K(409216K), 0.5371950 secs]
               611130K->206985K(1048192K) icms_dc=4 , 0.5373720 secs]
    2824.209: [GC 2824.209: [ParNew: 408832K->0K(409216K), 0.6755540 secs]
               615806K->211897K(1048192K) icms_dc=4 , 0.6757740 secs] The second ordinary statistics look like this:
    40.683: [CMS-concurrent-mark: 0.521/0.529 secs]I'm wondering wether the second (ordinary) statistics are still valid when using incremental mode.
    Kind regards
    Frank

    40.683: [CMS-concurrent-mark: 0.521/0.529 secs]
    Yes, these logs are still valid. icms_dc indicates the time in percentage that the concurrent work took between two young GCs.
    e.g. for the following logs:
    -->1.289: [GC 1.289: [DefNew: 1984K->191K(1984K), 0.1952985 secs] 5695K->5714K(7648K) icms_dc=55 , 0.1956749 secs] [Times: user=0.19 sys=0.00, real=0.20 secs]
    1.488: [CMS-concurrent-reset-start]
    1.494: [CMS-concurrent-reset: 0.006/0.006 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    1.503: [GC [1 CMS-initial-mark: 5522K(9208K)] 6715K(11192K), 0.0191550 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    1.522: [CMS-concurrent-mark-start]
    -->1.531: [GC 1.531: [DefNew: 1710K->192K(1984K), 0.1260654 secs] 7232K->7220K(11192K) icms_dc=70 , 0.1265609 secs] [Times: user=0.10 sys=0.02, real=0.13 secs]
    2.051: [CMS-concurrent-mark: 0.401/0.528 secs] [Times: user=0.50 sys=0.03, real=0.53 secs]
    Concurrent work took around 70% of the time between the two young GCs at 1.531 and 1.289. Here, some part of CMS-concurrent-mark work was done before the second young GC and rest after that. And overall CMS-concurrent-mark phase ran for 0.401s out of total (2.051-1.522=) 0.529s.

  • Mail Adapter Change File Extension

    We have the receiver mail adapter setup to send the contents of a message to an internal email account. The adapter works and the message arrives as a soap.xml and payload.xml. The problem is that our mail system blocks the xml extension. Is there an easy way to switch the extensions from say xml to txt on the messages.
    It looks like the PayloadSwapBean module can change the content type, but I just want to alter the extensions. I know I could use an XSLT to convert the contents to html and then just send the message as an html email but I was hoping to avoid design changes.
    Regards

    J,
    Check note : 856599
    <i>Q: Can I choose the name of an attachment in the mail?
               A: Yes. Most mail clients use some heuristics based on some MIME headers to derive the name of an attachment. The MIME headers involved in most heuristics are Content-Type, Content-Description, and Content-Disposition. When you create an XI message, the XI payload name is automatically set in the Content-Description. If you want to change or set all of these headers, you can use the MessageTransformBean module (Note 793922) in the adapter framework.
                Related questions: How can I set the file name of a mail attachment?
    Q: How can I set the file name of a mail attachment?
                There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
               Content-Type: application/xml; name="abc.xml"
                RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
                With this Content-Disposition header, you can set the file name as:
               Content-Disposition: attachment; filename="abc.xml"
                Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
               Content-Description: my xml file
                To avoid potential interpretation problems, it is recommended to combine the use of these headers.
    How to use MailPackage in Receiver?
                A: When a mail message is sent out by the receiver adapter, normally the mail header information such as "From", "To", "Subject" are taken from the channel configuration. In order to dynamically set these headers, you can use the MailPackage mode. In this case, the XI payload must be formated in the Mail Package XML format. The format of this mail package XML document is defined in note 748024.</i>
    Use the mail Package and the set the <b>Content-Disposition </b> with the file name and extension.
    For info on how to use this mail package, take a look at this blog too,
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Regards,
    Bhavesh

  • Receiver Email Adapter - Attachment Rename!!!

    Hello All,
    We are using PI 7.11 SP05. We have a scenario where a file has to be written in a folder as well as sent as an email attachment. The Email attachment should be zipped and the name of that attachment should be filename with extension zi. For an example, if the filename is abc.xml, the atatchment name should be abc.xml.zip . I have the file name (in this case abc.xml) in the dynamic configuration parameter. I wrote a custom adapter module to achieve this result. I'm using this custom adapter module after the payloadzip beanbelow given is the code:
    Message msg = (Message)moduleData.getPrincipalData();
    Payload payload = msg.getDocument();
    MessagePropertyKey msgPropertyKey = new MessagePropertyKey("FileName","http://sap.com/xi/XI/System/File");
    String fileName = msg.getMessageProperty(msgPropertyKey);
    payload.setContentType(contentType  + ";attachment;filename=\"" + fileName + "\";");
    payload.setDescription(fileName);
    payload.setName(fileName);
    msg.setDescription(fileName);
    msg.setMainPayload(payload);
    moduleData.setPrincipalData(msg);
    I could see all these values getting assigned ( from the audit log message after each step). But still the attachment is coming as Maindocument.zip . I Kindly request your suggestions on the same.
    PS: I have gone through the blogs of Michal, Stefan Grube and sap wiki code for setting attachment name and implemented the code on the suggestions from these blogs.
    Thanks,
    Sundar

    Hi Sundara Rama,
    I understand you want to set name for mail attachment.
    SAP Note: Mail Adapter sapnote_0000856599
    Q: Can I choose the name of an attachment in the mail?
    A: Yes. Most mail clients use some heuristics based on some *MIME headers to derive the name of an attachment.* The MIME headers involved in most heuristics are Content-Type, Content-Description,and Content-Disposition. When you create an XI message, the XI payload name is automatically set in the Content-Description. If you want to change or set all of these headers, you can use the MessageTransformBean module (Note 793922) [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm]
    in the adapter framework.
    Q: How can I set the file name of a mail attachment?
    There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
    Content-Type: application/xml; name="abc.xml"
    RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
    With this Content-Disposition header, you can set the file name as:
    Content-Disposition: attachment; filename="abc.xml"
    Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
    Content-Description: my xml file
    To avoid potential interpretation problems, it is recommended to combine the use of these headers.
    Regards,
    Raghu_Vamsee

  • Dynamic config for attachment without any message mapping in mail adapter

    Hi,
    In our scenario, we are not using any message mapping as a specification.A fixed length file is sent from source via proxy as an attachment to the mail.
    here the issue is with the file name of the attachment. how do we configure the attachment file name dynamically with out using any message maping.
    Regards,
    Divya

    Hi Divya,
    I understand you want to set name for mail attachment.
    SAP Note: Mail Adapter sapnote_0000856599
    Q: Can I choose the name of an attachment in the mail?
    A: Yes. Most mail clients use some heuristics based on some *MIME headers to derive the name of an attachment.* The MIME headers involved in most heuristics are Content-Type, Content-Description,and Content-Disposition. When you create an XI message, the XI payload name is automatically set in the Content-Description. If you want to change or set all of these headers, you can use the MessageTransformBean module (Note 793922) [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm]
    in the adapter framework.
    Q: How can I set the file name of a mail attachment?
    There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
    Content-Type: application/xml; name="abc.xml"
    RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
    With this Content-Disposition header, you can set the file name as:
    Content-Disposition: attachment; filename="abc.xml"
    Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
    Content-Description: my xml file
    To avoid potential interpretation problems, it is recommended to combine the use of these headers.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Feb 3, 2011 12:23 PM

  • Receiver Mail Adapter content conversion

    Hi
    I have read a lot of forums, etc and changed much on my adapter, but still get a xml file send as an attachment instead of a text file.
    Can anyone please advise on how to change the receiver adapter to covert from xml to text.
    I have added the module processing sequence like follow - please help.
    Processing sequence
    localejbs/AF_Modules/MessageTransformBean  Local Enterprise Bean XML2Plain
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean Mail
    Module configuration
    XML2Plain Details.endSeparator                               'nl'
    XML2Plain Details.fieldName                               ZINDUS,TCODE,TDATE,RDATE
    XML2Plain Details.fieldSeparator                          |
    XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion      xml/txt
    XML2Plain Transform.ContentDisposition                          attachment;filename="TEBA.txt"
    XML2Plain Transform.ContentType                          xml/plain
    XML2Plain xTransform.recordsetStructure                     Details
    Thanks
    Clinton

    Hi,
    From the mail adapter FAQ,
    <i>How can I set the file name of a mail attachment?
               There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
               Content-Type: application/xml; name="abc.xml"
               RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
               With this Content-Disposition header, you can set the file name as:
               Content-Disposition: attachment; filename="abc.xml"
               Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
               Content-Description: my xml file
               To avoid potential interpretation problems, it is recommended to combine the use of these headers.</i>
    Also, the note 779981 describes how to set Content Type in the mapping program. Am not sure, but combining the two, maybe it should be possible! Havent tried something of this sort though!
    Regards
    Bhavesh

  • How can I create a mail attachment without a file suffix?

    Hi,
    I'm trying to create anl attachment without a suffix.
    Here is my code:
                   TextPayload attAnlFile = msg.createTextPayload();
                   attAnlFile.setName("File");
                   attAnlFile.setContentType("");
                   attAnlFile.setText("Test");
                   msg.addAttachment(attAnlFile);
                   inputModuleData.setPrincipalData(msg);
    I get a file named "File.bin", but i need a file, which is only named "File".
    Can anyone help me?
    Thanks a lot
    BR
    Ralf

    Hi Ralf,
    Ref: Receiver Mail Adapter
    The attachements are given a .bin extension by default. To change this , the procedure is available in the Mail Adapter FAQ : 856599
    Q: Can I choose the name of an attachment in the mail?
    A: Yes. Most mail clients use some heuristics based on some MIME headers to derive the name of an attachment. The MIME headers involved in most heuristics are Content-Type, Content-Description, and Content-Disposition. When you create an XI message, the XI payload name is automatically set in the Content-Description. If you want to change or set all of these headers, you can use the MessageTransformBean module (Note 793922) in the adapter framework.
    Related questions: How can I set the file name of a mail attachment?
    Q: How can I set the file name of a mail attachment?
    There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
    Content-Type: application/xml; name="abc.xml"
    RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
    With this Content-Disposition header, you can set the file name as:
    Content-Disposition: attachment; filename="abc.xml"
    Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
    Content-Description: my xml file
    To avoid potential interpretation problems, it is recommended to combine the use of these headers.
    Also, the same note contains all info you wnat on the options of the mail adapter. Take a look at it.
    Regards,
    Jai Shankar

  • File with an Attachment to Mail with an Attachment

    I'm using File adapter and using additional Files option to attach another attachment. I have to send mail out using Mail receiver adapter and should use same attachment name File adapter picked up. I tried several options using MessageTransformBean, PayloadSwapBean etc with no Luck. mail going out to Goole and exchange server as Untitiled.txt . Im using Mail package as Receivers of the mail are dynamic. How can I sent Mail attachment with name dynamically set ?.
    Thanks for any help.
    Krish.
    Edited by: krishvamsi on Oct 15, 2010 1:44 AM

    There are several MIME headers that play a role in how the mail client retrieves the file name of an attachment. This behavior differs among various mail clients.  Some mail clients use the name parameter in the Content-Type header. While some other use the Content-Disposition or Content-Description value as the file name. To avoid potential interpretation problems, it is recommended to combine the use of these headers. Ideally, your mail header should look something like :
    Content-Type: application/text; name="myfile.txt";
    Content-Description: myfile.txt
    Content-Disposition: attachment; filename="myfile.txt";;
    Check whether the mail header generated by PI mail adapter sets all these MIME attributes.
    Regards,
    TK
    Edited by: Sameej T.K. on Oct 21, 2010 1:05 AM

  • Database tuning with Time Model Statistics

    How can we use V$SESS_TIME_MODEL and V$SYS_TIME_MODEL or DB_TIME to daignose/tune the database

    Tnx Jaffar,
    I know the description of each column for dynamic performance views.
    My question is how can we get any meaningful information which can help interpreting problem or possible solution in the DB.
    For instance look at the output from V$SYS_TIME_MODEL from one of the production Database.How can I use that information to good use.
    3649082374 DB time                                                             855657150735
    2748282437 DB CPU                                                              270642990896
    4157170894 background elapsed time                                             511263826646
    2451517896 background cpu time                                                 128007010158
    4127043053 sequence load elapsed time                                             102151062
    1431595225 parse time elapsed                                                  105369068246
    372226525 hard parse elapsed time                                              91457461637
    2821698184 sql execute elapsed time                                            694544980733
    1990024365 connection management call elapsed time                                933285066
    1824284809 failed parse elapsed time                                             3890881196
    4125607023 failed parse (out of shared memory) elapsed time                               0
    3138706091 hard parse (sharing criteria) elapsed time                             113740639
    268357648 hard parse (bind mismatch) elapsed time                                  8999669
    2643905994 PL/SQL execution elapsed time                                        32792584918
    290749718 inbound PL/SQL rpc elapsed time                                        122796155
    1311180441 PL/SQL compilation elapsed time                                        103310315
    751169994 Java execution elapsed time                                                    0
    1159091985 repeated bind elapsed time                                              45211144
    2411117902 RMAN cpu time (backup/restore)                                      100789016188

  • Outlook connector shows some deleted recurring events

    We discovered an oddity that appears to be with the way Outlook shows a recurring event (seems to be an interpretation problem while reading and partially while writing). I'm using the connector from 139162-03 in either Outlook 2003 or 2007 set to sync calendar events every 1 minute and SCS6u2 on the backend with patches from around 2 months ago.
    Simplest way to reproduce:
    - On either a Sun web interface or in Outlook, create an event that recurs daily for 2 instances (or any equivalent way of making it recur twice, such as by setting the end date)
    - If you delete the second instance from the Web, Outlook will display it fine (given ample time to sync up completely).
    - If you delete the second instance from Outlook, the Web will display it fine, but the second instance will reappear in Outlook
    - Considering the previous two lead to a difference while the result on the web looks the same, there is probably a difference in the ICS for those events on the server but I have not checked.
    - Similar things hold true for deleting certain days of the even when recurring more than 2 times.
    - If only the original recurrence is modified, the deleted recurrence re-appears in Outlook with similarities to the original event, not the one that was deleted.
    - I'm not 100% sure on most of the behavior description since I may have been confused by changes that have not completely propagated through yet, but one thing I am sure of is a 2 day recurring event will have the second instance show back up pretty soon if the second instance is deleted in Outlook.
    Initially I'm wondering if anyone else can reproduce this. We will most likely take it up with Sun's support soon but I thought I would try here first. Thanks.

    Fred@egr wrote:
    Initially I'm wondering if anyone else can reproduce this. We will most likely take it up with Sun's support soon but I thought I would try here first. Thanks.Did you end up logging a Sun support request for this issue? If so, has there been any progress?
    I was able to find two recently created bugs which I assume are related to problem behaviour:
    bug #6874243 - "deleted instances of a recurring series are still visible in OC"
    bug #6883111 - "Moving an instance of a recurring event with attendees actually moves the first instance"
    Regards,
    Shane.
    Edited by: shjorth on Oct 15, 2009 9:52 PM

Maybe you are looking for

  • Adding a page name

    I want to add a page name to my pages, but I don't what the page name to change in my Navigator. At the moment my page name is "Home", but I want to change it to "Bon Accord Images: Home". This way, when you are looking at the page, at the top of the

  • JUST DOWNLOADED 9.0., NOW FONT IS SO SMALL I CANNOT READ IT

    I HAVE TRIED CHANGING THE FONT SIZE, BUT IT JUMPS BACK AND MESSES UP THE REST OF THE COMPUTER. IT ONLY SEEMS TO BE A PROBLEM IN GMAIL

  • Where is the jar file contain this package

    Dear Everybody Could you tell me where is the .jar file that contain this package oracle.security.idm Thanks for your help

  • How to change to a yearly subscription from a 3 mo...

    Hi there, I have a 3 month unlimited world subscription but would like to see whether an annual unlimited world subscription works out cheaper.  If it does work out cheaper, I do not see how you can upgrade from a 3 month to a yearly subscription. Wo

  • JSF tag inside another JSF tag

    Hi, Note: It's a bit of a long post but I will try to cut to the point without leaving behind any pertinent details. I've created some simple custom JSF tags in the past. The tags usually consisted of one or two attributes that would be beans. The ta