Upload a Greeting File to a System Handler on CUC8?

Hi,
There must be a way to do this, but I don't see how or where to do this.
We want to create a custom greeting in wav format (or any other format supported) that will be used for a system handler
on Cisco Unity Connection 8.
How can I upload a custom greeting to CUC8 for a specifc System Handler configured on the system other than
using the Greeting Administrator option?
Thank you!
-rya

Use the Play/Record button in the UI to open the Media Master Java applet. Click the Options menu when it loads and then choose Open File.

Similar Messages

  • How to upload an XML file into another system

    Hi friends,
    I have a requirement where I need to upload an  XML file into one system
    which has been downloaded  using  another  system.
    I have tried using the method ' cl_gui_frontend_services=>gui_upload'
    to upload the file but it is going for dump.
    I have used the  method ' w_xml->import_from_file' also,
    but it is also going for dump ,because  both methods are using the same FM
    ' GUI_UPLOAD'.
    Can any one suggest on this.
    Regards,
    Bhargavi.D

    "Here is the  Explaination for uploading the XML   Format file to sap   " through ABAP Program ....
    1. Basically you simply have to convert the XML file into the proper IDoc format. There are many ways to achieve this. One solution would be to convert it externally to SAP, e.g. via VB Script or with an XSLT transformation. Or you use the built in SAP functions for importing an IDoc from an XML stream.
    2. Uploading a file is either done via GUI_UPLOAD or via the usual way of reading a file from the application server (Open dataset. Read dataset) But what do you mean by "send to external system"? Do you want to convert an IDoc into XML? Then you simply define an XML port with WE21 to send the IDoc out.
    Here is an example of code that loads an XML from file and posts it as an IDoc. Please keep in mind that the XML has to be in its canonical format as described in the interface repository: ifr.sap.com (choose the template of the desired IDoc from there as an example).
    data: data_tab type table of char1024.
    data: XML_STREAM type string.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'D:test.xml'
    *   FILETYPE                      = 'ASC'
    *   HAS_FIELD_SEPARATOR           = ' '
    *   HEADER_LENGTH                 = 0
    *   READ_BY_LINE                  = 'X'
    *   DAT_MODE                      = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   CHECK_BOM                     = ' '
    * IMPORTING
    *   FILELENGTH                    =
    *   HEADER                        =
      TABLES
        DATA_TAB                      = DATA_TAB
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CONVERT_TABLE_TO_STRING'
      EXPORTING
        I_TABLINE_LENGTH       = '1024'
      IMPORTING
        E_STRING               = XML_STREAM
      TABLES
        IT_TABLE               = DATA_TAB[].
    write: / xml_stream color col_total.
    data: CONTENT_LENGTH type string.
    data: CONTENT_TYPE type string.
    data: REMOTE_ADDR type string.
    CALL FUNCTION 'IDOC_INBOUND_XML_VIA_HTTP'
      EXPORTING
        XML_STREAM                      = XML_STREAM
        CONTENT_LENGTH                  = content_type
        CONTENT_TYPE                    = content_type
        REMOTE_ADDR                     = remote_addr
    EXCEPTIONS
       NO_IDOCS_SAVED                  = 1
       TAG_ERROR                       = 2
       NO_DATA_RECEIVED                = 3
       NO_IDOCS_RECEIVED               = 4
       SEGMENT_ERROR                   = 5
       IDOC_WAS_SEND_SECOND_TIME       = 6
       OTHERS                          = 7
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    write: / sy-subrc color COL_NEGATIVE.
    ENDIF.
    reward  points if it is usefull.......
    Girish

  • To upload a PDF file in BLOB column using Oracle Forms 9i

    Can anyone tell me how to upload a PDF file from client system using File dialog window and store its content in BLOB column in a table. The file to be uploaded will be in client side.

    Take a look at the following :
    Re: Storing a PDF in a BLOB
    Re: Retrive Image from DB into Image_item
    although the threads above are reffered to images and word doc... the procedure/steps are the same....
    Greetings...
    Sim

  • How to Upload a PDF file into BLOB column in a table using Forms 9i

    Can anyone tell me how to upload a PDF file from client system using File dialog window and store its content in BLOB column in a table. The file to be uploaded will be in client side.

    Hi,
    please, search a bit on the forum before do a question:
    Just searching by "upload blob pdf" ...
    How to batch upload PDF files into database BLOB
    Regards,
    Jose.

  • Issue while uploading the PAR file thru system admin- AdministrationConsole

    Hi All,
    I have downloaded the PAR file "com.sap.portal.navigation.lightdetailednavigationtree.par.bak" from system admin->support->Portal Runtime ->browse deployment->Web-Inf->deployment->PCD.
    after downloaded to the desktop for manual change in one of the JSP file rather than importing into NWDS. I have removed the bak from the file and added the .Zip to the file and i extracted the file.
    here inside i got the three folders i.e WEB-INF,PORTAL-INF and file_list. now i went to jsp file called "LightDetailedNavigationTree.JSP" , changed one small property value  in the code from false to true. after that i again zip the folders strcuture make the file name as original in the form of .PAR file. now i am trying to upload it in the portal thru system admin->portal runtime->administration console, but i am getting the deployment error as mentioned in the below.
    even though with error, the wrong version of the par file with extension .err was saved in the PCD folder strcture, and original file also still exists. now i wanted to remove the wrong version of the file from PCD, what is the procedure to delete the wrong version, here in administration console i found one button clean , but i could not able to locate the wrong file version , only original right version showing up in the clean dropdown??
    Can u tell me what is the procedure to edit the PAR file manually after downloaded to the desktop, rather than going edit thru NWDS??
    if we need to upload the PAR file after changes, do we need to delete the original PAR file before we upload the new version of the same PAR or it will be automatically overwrite the original file with the same name??
    Still i am getting confusion, please let me know how to edit the PAR file manally and how to upload the PAR file with out any isse while uploading it in the portal thru system admin->administration console??
    Any pointers in this regard would be the great help to me??
    Error as i got while uploading the par file after the changes manually. (com.sap.portal.navigation.lightdetailednavigationtree.par)
    2011-01-24_07-40-18
    Application upload failed: com.sap.portal.navigation.lightdetailednavigationtree.par
    java.util.zip.ZipException: Error opening zip file /usr/sap/BIS/DVEBMGS13/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/pcd/com.sap.portal.navigation.lightdetailednavigationtree.par
    *     at java.util.zip.ZipFile.open(Native Method)*
    *     at java.util.zip.ZipFile.<init>(ZipFile.java:140)*
    *     at java.util.zip.ZipFile.<init>(ZipFile.java:155)*
    *     at com.sapportals.portal.prt.deployment.ArchiveIterator.iterate(ArchiveIterator.java:39)*
    *     at com.sapportals.portal.prt.deployment.UploadProcess.upload(UploadProcess.java:60)*
    *     at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:835)*
    *     at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)*
    *     at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)*
    *     at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)*
    *     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)*
    *     at java.lang.reflect.Method.invoke(Method.java:391)*
    *     at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:706)*
    *     at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)*
    *     at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:249)*
    *     at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)*
    *     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)*
    *     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)*
    *     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)*
    *     at java.security.AccessController.doPrivileged(AccessController.java:246)*
    *     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)*
    *     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)*
    *     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*
    *     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)*
    *     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)*
    *     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)*
    *     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)*
    *     at java.security.AccessController.doPrivileged(AccessController.java:219)*
    *     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)*
    *     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)*
    Can you please what are the steps if any specific while editing the PAR file manually and uploading it with out any issues??
    Thanks in advance.
    Regards,
    PortalUser
    Edited by: PortalUser100 on Jan 24, 2011 6:01 PM
    Edited by: PortalUser100 on Jan 24, 2011 6:04 PM
    Edited by: PortalUser100 on Jan 24, 2011 6:05 PM

    Hi Shusil,
    Thanks for your reply.
    I have one more dought here.
    the PAR file of lightdetailnavigation has been modified thru NWDS and deployed the PAR file by adding the required JARS.
    Now my question is, the application server which i am used as local portal server installed in my desktop.
    now this depoyed latest par file i have picked it from the workspace in the local desktop, and i am planning to upload the same PAR file in of the sandbox portal system of client , will it update successfully in the new portal apart from the deployed portal??
    i am here used the path system admin->support->portal runtime -> administrate console  ( this in the sand box system to upload the par file which was deployed in the local portal server in my desktop.
    Thanks,
    Portal user

  • Cannot Upload a file from local system

    Hi,
    I am trying to send an email with an attachment from an JSP form using javamail in a STRUTS action class.
    I uploaded the JSP form and action class to my web server (Unix with JBOSS) and now the email is not sent and I receive the following error
    javax.mail.MessagingException: IOException while sending message;
    nested exception is:
    java.io.FileNotFoundException: testFile.txt (No such file or directory)
    I am assuming that there is something different about the way my web server handles file attachments but I can't find any information about how to fix the problem. When i sent a blank msg without any attachment it is working fine.
    Any help is greatly appreciated.
    Following is the code that i wrote in Action class to upload an attachment
    Multipart multipart = new MimeMultipart();
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(dataFile.toString());
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(dataFile.getFileName());
    multipart.addBodyPart(messageBodyPart);
    msg.setContent(multipart);
    Transport transport = session.getTransport("smtp");
    transport.connect("host", port,"null","null");
    if(transport.isConnected())
    transport.sendMessage(msg, new Address[] {new InternetAddress(from));
    }Thanks
    Dinesh.

    DrClap is right about using the correct pathname to the file, but...
    At any
    rate, rather than leaving this to chance, just give
    the complete path name of the file to the data
    handler:messageBodyPart.setFileName(dataFile.getAbsolutePath());
    Don't do this. The absolute path to the file on your system will mean nothing
    on the system that receives this message.
    What you need to do is give the correct, perhaps full, pathname to FileDataSource
    that names the file on your server.

  • How to upload and Download the file in a system through java programing

    I am trying to upload a file as well as want to download the uploaded file in my system....I don't have any server an all.
    I want to implement this in my system only .
    I got this code but i don't know ,where i have to make the change and what are the parameters i have to pass.
    can any one help me on this code ....please
    here some piece of code
    File Upload and Download Code Example
    package com.resource.util;
    public class FileUpload
    public void upload( String ftpServer, String user, String password,
    String fileName, File source ) throws MalformedURLException,
    IOException
    if (ftpServer != null && fileName != null && source != null)
    StringBuffer sb = new StringBuffer( "ftp://" );
    // check for authentication else assume its anonymous access.
    if (user != null && password != null)
    sb.append( user );
    sb.append( ':' );
    sb.append( password );
    sb.append( '@' );
    sb.append( ftpServer );
    sb.append( '/' );
    sb.append( fileName );
    * type ==> a=ASCII mode, i=image (binary) mode, d= file directory
    * listing
    sb.append( ";type=i" );
    BufferedInputStream bis = null;
    BufferedOutputStream bos = null;
    try
    URL url = new URL( sb.toString() );
    URLConnection urlc = url.openConnection();
    bos = new BufferedOutputStream( urlc.getOutputStream() );
    bis = new BufferedInputStream( new FileInputStream( source ) );
    int i;
    // read byte by byte until end of stream
    while ((i = bis.read()) != -1)
    bos.write( i );
    finally
    if (bis != null)
    try
    bis.close();
    catch (IOException ioe)
    ioe.printStackTrace();
    if (bos != null)
    try
    bos.close();
    catch (IOException ioe)
    ioe.printStackTrace();
    else
    System.out.println( "Input not available." );
    }

    At least that is what the code you posted suggests to me.It looks like that to me too.
    I believe that
    URLConnection urlc = url.openConnection(url);Will return you an FTP URLConnection implementation if you pass it a ftp:// url
    So for simple FTP ops, you don't need any external libs.
    Actually, looking at your code, this is already what you are doing, so I really don't get this:
    am not using FTP server..... i want to implement in my system only ....So How i will do.
    Can you give me any idea based on this code Can you explain a bit more what you need?
    patumaire

  • How to upload CSV file(Flat File) in SAP system.

    Hi All,
    Please guide me how to upload flat file into SAP system.
    Regards
    Avinav

    Use following syntax -
    DATA L_P_FILE TYPE STRING.
         L_P_FILE = P_FILE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = L_P_FILE   <-------Your PC file name
        FILETYPE                      = u2018ASCu2019
        HAS_FIELD_SEPARATOR           = u2018Xu2019
      TABLES
        DATA_TAB                      = P_I_DATA[]   <-----Your internal table
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    Endif

  • Regarding uploading .wri files in sap system

    Hi Experts,
    I want to know which all file types can be uploaded in sap system. Can we upload .wri file in sap system ?
    Waiting for quick replies.
    Thanks in advance,
    Akash

    Hi Experts,
    I want to know which all file types can be uploaded in sap system. Can we upload .wri file in sap system ?
    Waiting for quick replies.
    Thanks in advance,
    Akash

  • How to Upload License Key File of MiniSap to SAP System ?

    Hi,
    I have received the license key for MiniSap. I have downloaded the license key file to my local system. Please tell me how to upload this file to the SAP system. I am using Windows XP (SP2) and the MiniSap edition is 6.10 WA1.
    I have to tried to directly enter the license key through transaction code Slicense but got the error "Incorrect Parameter Specified". I also tried to install through OS level but even could not do so. I have ordered key 5 times, none works on either SAP level or the OS level.
    Somebody told me to upload the file, Please Guide me how to upload license key file to the SAP System.
    Thank You
    Best Regards,
    Ryan

    Very late into the reply. But I am sure someone will run into this issue again -
    In windows cmd prompt, navigate to c:\mbs.
    Then type saplicense.exe -install then follow the prompt.
    NOTE: If you get the following error -
    C:\MBS>saplicense.exe -install
    *** SAPLICENSE (Release 46D) ERROR ***
        ERROR:   Can not set DbSl trace function
        DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
        RC-INFO: error loading dynamic db-library - check environment for:
                 dbms_type = <db-type>  (e.g. ora)
                 DIR_LIBRARY = <path to db-dll>  (e.g. /usr/sap/SID/SYS/exe/run)
    Type"C:\MBS>dbenv.cmd", once it is done. simply retype
    saplicense.exe -install then follow the prompt.
    Good Luck.
    T.H.

  • Want to UPLOAD recorded voicemail greeting file from my computer.

    Hi. First post here.  I've been a Uverse customer (TV, internet, and voice) for a few weeks now. I started a thread on dslreports.com on this topic. Thought I would raise it here for potentially broader Uverse audience. There is a pretty cool feature on the Uversecentral web pages for managing your voicemail in which you can hear your current voicemail greeting as a WAV file played on your computer's speakers. I want the inverse. I want to ability to UPLOAD an audio file of my custom greetings (WAV, mp3, whatever they will accept)  from my computer and have it become my greeting.  In other words,  I do NOT want to use the telephone as the recording device.  And I do not want to re-record my custom greeting files. This idea came about while listening to a favorite weekend radio show. Some lucky caller to the radio show who wins the little contest gets to have the famous announcer on the show studio-record (and presumably delivered electronically) the winners home answering machine greeting.  There are also professional recording services available for recording greetings of which I might wish to take advantage. It makes sense to me that AT&T would have the ability to allow customers to upload to their own voicemailbox greeting that has been recorded and edited using the superior tools available for computer audio editing.  If they can give me a WAV file, they should be able to take one in return. I could keep a library of my desired greetings on my computer and upload the one I want from my hotel room, wherever I am in the world.  That would be particularly useful when I am  out of the country.  Adding whatever sounds I want (some of my own music compositions, for example) to my greeting would be a snap with the ability to manage my greetings on my own computer. If there is already a way to do this, someone let me know. Otherwise,  anybody else interested in this capability? 

    I just started researching the ability to upload a mobile voicmail message via computer and found this thread.  It looks like there hasn't been any activity in years.  If the thread is monitored I was wondering if there was any update?  This should be straight-forward functionality to implement, though I understand the investment may be based on the actual demand for the service.  Any update from other users or AT&T personnel monitoring the forum would be great.  Probably like many who have requested this service, I have different outgoing messages I would like to use depending on circumstances and do not want to re-record, or hold the phone up to a speaker to make the recording each time.  Being able to upload a file would be a perfect solution.  In fact, allowing me to upload a number of them and then select which one I want to use via my phone would be idea.

  • Error while uploading a PAR file

    Hi All,
    I'm having an error when i try to upload a PAR file from Portal>Java Development>Development
    The strange is that i am having the error in QA environment, in development environment i can upload it without any problem, and also it is not the first time that I upload a PAR to QA.
    I hope someone can help me, i really don't know what to do...
    Regards,
    Nicolás.-
    Here is the error:
    May 8, 2009 11:46:34 AM # Client_Thread_17     Fatal           Application upload failed: InvoiceTool.par
    com.sapportals.portal.prt.runtime.PortalException: archive: InvoiceTool.par
    at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:309)
    at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:700)
    at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:396)
    at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:285)
    at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:115)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
    at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
    at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:351)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:628)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.(ZipFile.java:121)
    at com.sapportals.portal.prt.deployment.ArchiveIntrospector.getDeploymentDescriptor(ArchiveIntrospector.java:54)
    at com.sapportals.portal.prt.deployment.DeploymentManager.getDeploymentDescriptor(DeploymentManager.java:942)
    at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:273)
    at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:700)
    at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:396)
    at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:285)
    at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:115)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
    at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
    at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:351)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:628)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

    Hi Nicolas,
    In you development server,
    1. Create a new iview  (With new from PAR file option). The iView wizard gives you the option to choose the PAR file available on your development portal.
    2. Now create a Transport Package. Navigate to System Administration - Transport - Export.
    Navigate to your Transport Folder in PCD.
    Now Create a new Transport Package and add the iView to the package (iView created earlier from PAR file).
    3. Now go to Transport Package properties and Make sure, you are changing the property id prefix to * .
    This will include every object associated with the iView while manually exporting.
    4. Now click on the EXPORT button. This will export the required PAR file with. This in turn create an EPA file. save it to your desktop.
    5. Now in Quality server,
    Do the manual Import.
    Navigate to System Administration - Transport - Import.
    Browse the EPA file on your desktop and say IMPORT.
    This way, you will be able to get your PAR file as well as your required portal object (here the iView) in quality server.
    Hope this helps,
    Cheers!!!!!
    Biroj...
    Points for useful answer will be appreciated.
    Edited by: Biroj Patro on May 12, 2009 8:40 PM

  • How to save a file in client system?

    I have a requiremnet like this:
    "When the user selects a file from his local drive (say c:\), I have to upload the file to a LAN connected to his machine."
    I have written the TestUpload class like below. It will work if my server is on the same machine. But, how can i do this if it is Unix Server?
    I was trying to do this for 2-3 days. Please help.
    protected void doGet(
    HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    HttpSession session = null;
    UploadListener listener = null;
    long contentLength = 0;
    System.out.println("I am inside doGet");
    if (
    ((session = request.getSession()) == null) ||
    listener =
    (UploadListener) session.getAttribute("LISTENER")
    ) == null
    ) || ((contentLength = listener.getContentLength()) < 1)) {
    out.write("");
    out.close();
    return;
    response.setContentType("text/html");
    long percentComplite =
    ((100 * listener.getBytesRead()) / contentLength);
    out.print(percentComplite);
    out.close();
    protected void doPost(
    HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    // create file upload factory and upload servlet
    FileItemFactory factory = new DiskFileItemFactory();
    ServletFileUpload upload = new ServletFileUpload(factory);
    // set file upload progress listener
    UploadListener listener = new UploadListener();
    HttpSession session = request.getSession();
    session.setAttribute("LISTENER", listener);
    // upload servlet allows to set upload listener
    upload.setProgressListener(listener);
    List items = null;
    FileItem fileItem = null;
    String filename = null;
    String fileName = null;
    String directory = null;
    String version = null;
    String fullPath = null;
    String extension = null;
    String folderName = null;
    try {
    // iterate over all uploaded files
    items = upload.parseRequest(request);
    for (Iterator i = items.iterator(); i.hasNext();) {
    fileItem = (FileItem) i.next();
    System.out.println("New file Item::: " + fileItem.getName());
    if (
    (fileItem.getName() != null) &&
    !fileItem.getName()
    .trim()
    .equals("")) {
    fullPath = fileItem.getName();
    extension = fullPath.substring(fullPath.lastIndexOf("."));
    directory = "\\\\MyLAN\\";
    fileName =
    fullPath.substring(
    fullPath.lastIndexOf("\\") + 1,
    fullPath.lastIndexOf("."));
    folderName = getFolderName(directory, fileName, extension);
    version =
    getVersionNumber(
    directory + folderName, fileName, extension);
    String strFilePath =
    directory + folderName + fileName + version +
    extension;
    System.out.println("path:: " + strFilePath);
              //Creating the destination File object.
    File file = new File(strFilePath);
    if (!fileItem.isFormField()) {
    if (fileItem.getSize() > 0) {
    // code that handle uploaded fileItem
    // don't forget to delete uploaded files after you done with them! Use fileItem.delete();
    fileItem.write(file);
    fileItem.delete();
                                       System.out.println("upload successful");
    // indicate that the upload was successfull
    writeLog(
    directory + folderName + "log.txt",
    now() + " ::: " + "Uploaded the version number:: " + version);
    response.getWriter()
    .write("upload successful");
    } catch (FileUploadException e) {
    response.getWriter()
    .write(e.getMessage());
    e.printStackTrace();
    } catch (Exception e) {
    response.getWriter()
    .write(e.getMessage());
    e.printStackTrace();
    } finally {
    session.removeAttribute("LISTENER");
    public String getFolderName(
    String directory, String fileName, String extension) {
    File dir = new File(directory);
    boolean folderFound = false;
    String foldername = null;
    String logFileName = "";
    File getFolderNames[] = dir.listFiles();
    for (int i = 0; i < getFolderNames.length; i++) {
    foldername = getFolderNames.getName();
    if (foldername.equalsIgnoreCase(fileName)) {
    folderFound = true;
    break;
    if (!folderFound) {
    File f = new File(directory + fileName);
    f.mkdir();
    f = new File(directory + fileName + "/log.txt");
    try {
    f.createNewFile();
    } catch (IOException e) {
    e.printStackTrace();
    logFileName = directory + fileName + "/log.txt";
    writeLog(logFileName, "***********************************");
    writeLog(logFileName, "Log for the file " + fileName);
    writeLog(logFileName, "***********************************\n\n");
    writeLog(logFileName, now() + " ::: " + "Created");
    return fileName + "\\";
    public String getVersionNumber(
    String directory, String fileName, String extension) {
    File dir = new File(directory);
    boolean fileFound = false;
    int version = 0;
    File getFolderNames[] = dir.listFiles();
    version = getFolderNames.length;
    return "_" + version;
    public void writeLog(String fileName, String text) {
    try {
    Writer output = null;
    File file = new File(fileName);
    output = new BufferedWriter(new FileWriter(fileName, true));
    output.write(text + "\n");
    output.close();
    System.out.println("Log file has been written");
    } catch (IOException e1) {
    e1.printStackTrace();
    Edited by: AnishThomas on Mar 12, 2008 10:52 PM

    Thanks for your reply!!!
    jwenting wrote:
    no, your code is NOT correct.
    It doesn't "upload" anything, as I stated before.It is working perfectly fine if the destination folder is connected to the server machine (which is not the case now).
    >
    Look into multipart MIME requests, Jakarta Commons File Upload, and things like that to actually upload files to a server instead of insisting on reading them directly from the client's filesystem in your servlet and wondering why that doesn't work if the servlet container is running on a different computer from the client.I AM using Jakarta Commons File Upload. The problem is when I try to access the destination folder(which is in client machine), it can't find as it is searching for the corresponding folder in the server.
    >
    Unless and until you do that, you're wasting our time and your own.I thought someone could help me i giving me some pointers which I missed. Thanks again!!
    Edited by: AnishThomas on Mar 14, 2008 8:13 AM

  • Error while uploading the PAR file of Production to UAT-

    Hi Experts,
    Could you please help me out in resolving the error which i'm facing while uploading the PAR file.
    1. I have downloaded the par file from the production, imported to my NWDS.
    2. Made changes to my  HeadiView.jsp
    3. I want to test my implementation in UAT.So i have uploaded the PAR to UAT system.
    4. Below is the error i'm getting from the Log trace.
    #1.#D27E2000F002008200000020000BD0FE0004436CD4EBF6C2#1200034614604#com.sap.porta
    l.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#BVISHALA#17971##adcapsap18.
    uk_QP0_16441150#BVISHALA#5d8f9460c01111dcafa2d27e2000f002#Thread[PRT-Async 2,5,P
    RT-Async]##0#0#Error##Java###06:56_11/01/08_16441150
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in in
    it method
    Component : com.tw.navigation.Masthead.HeaderiView
            at com.sapportals.portal.prt.component.PortalComponentContext.init(Porta
    lComponentContext.java:251)
            at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
    esh(PortalComponentContextItem.java:271)
            at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
    ontext(PortalComponentContextItem.java:316)
            at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
    ntContext(PortalComponentRequest.java:387)
            at com.sapportals.portal.pb.PageBuilder.createIviewProfile(PageBuilder.j
    ava:443)
            at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:391
            at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.j
    ava:233)
            at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:6
    36)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEve
    nt(AbstractPortalComponent.java:388)
            at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:816
            at com.sapportals.portal.prt.component.CachablePortalComponent.handleEve
    nt(CachablePortalComponent.java:703)
            at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode
    .java:252)
            at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.j
    ava:368)
            at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.
    java:340)
            at com.sapportals.portal.navigation.PortalLauncher.doOnNodeReady(PortalL
    auncher.java:318)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEve
    nt(AbstractPortalComponent.java:388)
            at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode
    .java:252)
            at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.j
    ava:368)
            at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.
    java:340)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
    ortalRequestManager.java:642)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
    ServletConnection.java:240)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
    her.java:524)
            at java.security.AccessController.doPrivileged(AccessController.java:242
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
    va:407)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.se
    rvice(InvokerServlet.java:156)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcher
    Impl.doWork(RequestDispatcherImpl.java:321)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcher
    Impl.forward(RequestDispatcherImpl.java:377)
            at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServle
    t(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleReq
    uest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
    t(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
    t(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebCo
    ntainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(Requ
    estAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:9
    5)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor
    .java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSes
    sionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRu
    nner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:3
    7)
            at java.security.AccessController.doPrivileged(AccessController.java:215
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.ja
    va:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:1
    70)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationExc
    eption: Could not instantiate implementation class com.btexx.pct.easyWCM.navigat
    ion.masthead.HeaderiView of Portal Component com.tw.navigation.Masthead.HeaderiV
    iew because: Could not find implementation class
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getIn
    stanceInternal(PortalComponentItemFacade.java:242)
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getCo
    mponentInstance(PortalComponentItemFacade.java:160)
            at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponen
    tInstance(PortalComponentItem.java:732)
            at com.sapportals.portal.prt.component.PortalComponentContext.getCompone
    nt(PortalComponentContext.java:103)
            at com.sapportals.portal.prt.component.PortalComponentContext.init(Porta
    lComponentContext.java:242)
            ... 44 more
    Caused by: java.lang.ClassNotFoundException: com.btexx.pct.easyWCM.navigation.ma
    sthead.HeaderiView
            at java.lang.Class.forNameImpl(Native Method)
            at java.lang.Class.forName(Class.java:152)
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getIn
    stanceInternal(PortalComponentItemFacade.java:228)
            ... 48 more
    Kindly help me to resolve this issue.
    Many Thanks,
    B.Vishali.

    Hi,
    The problem might be caused by the version inconsistency of your J2EE and Portal Platform. 
    Please check the version of your J2EE and Portal.
    Best Regards,
    Assaf

  • Upload and Copy files using PLSQL.

    Hi All,
    Can UTL package can be used to upload any local data file to server?
    Or is there any in-built package which can be used to upload files to servers and copy files to another directory?
    Thanks in advance.

    Avishek wrote:
    Thanks.
    But i've a requirement to upload and copy files from one directory to another.
    How can i approach?Realize we only know what you post & so far you have posted NOTHING useful.
    How exactly does end user interact with the DB?
    3-tier application?
    EndUser<=>browser<=>WebServer<=>ApplicationServer<=>DatabaseServer
    What OS name & version for client system?
    Handle:      Avishek
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Jun 3, 2008
    Total Posts:      68
    Total Questions:      27 (16 unresolved)

Maybe you are looking for

  • How to tell if RAID is working

    I'm trying to set up a mirror set on our server. I used Disk Utility to create the array (selected the primary disk, chose the RAID tab, dragged the new disk in). It created a RAID slice and says it's online. HOwever, the "RAID set size" says ZeroKB

  • Adobe reader 11 printing black text as green

    I have checked accessability and the replace document colors is not checked.  For a time after I downloaded reader 11 black text printed black but today it has reverted to green. I have also tried two other actions.  First, copied PDF document to cli

  • How often we need to run gather schema statistics etc.. ??

    HI, Am on 11.5.10.2 RDBMS 9.2.0.6 How often we need to run the following requests in Production... 1.Gather schema statistics 2.Gather Column statistics 3.Gather Table statistics 4.Gather All Column statisitics Thanks

  • JSTL c:import tag question

    HI I have a question about how the <c:param> tag interacts with <c:import> tag. <c:import> tag can be used to import from relative URL's like <c:import url="target.jsp" /> , from absolute urls like <c:import url="http://www.espn.com" /> or from anoth

  • Slow framerates and weird shaders in game

    Inside the game "Sauerbraten" which is a 3D shooter, I get very low framerates and some surfaces with shaders have strange glitches on them. I have Mac OS X Leopard 10.5.2, and I have the game and OS up to date. To make sure this wasn't just with the