Export MAM into .war

Hi,
I have imported MAM25.war into NWDS SP13 and made some changes, including to the project name.
I set up the NWDS so that when I export the project into a .war and flag the "Run the mobile application" option, it runs and my modifications work. However, if I unflag the option to generate a .war file, update it into WebConsole, remove all applications from my mobile device and assign this new created application into my mobile device, it downloads and installs the application but it won't work. It seems the classes aren't found. Unzipping the .war file I saw that the .class files aren't on their folders but are in the <application_name>.jar file under WEB-INF/lib.
First I thought it was a problem with the changes I made, so I tried with the standard files: I imported mam_eclipse.war into eclipse and exported the .war file without changing anything, and the problem still happens: the application won't have any .class file when running and the classes won't be found when running it.
So I have two questions:
-Is there any configuration to make NWDS export the .class files into their folder and not into a lib and what impact may it have in my project?
-Is there any configuration that might be missing in my project so that MAM will find the right files or the export of the mam_eclipse.war should work without any additional work?
Thanks,
Daniel

Hello Daniel,
If you are doing the uninstallation and deployment for
the same MCD name, it might not work as the uninstallation
will REMOVE the whole directory of your application.
Are you trying the registration your application for
the same application name (or MSD name)?
If it is, you don't have to re-deploy the application
again for you updates to get into effect. The deployment
only registers the application info (specifically the
Mobile Component Descriptor) into the client and downloads
the package. If you have this information in the client
then you're free to update you applications under the
<webapps> folder.
However, if had made changes into the metadata xml (i.e.
meRepMeta.xml), then you have to uninstall and redeploy
the package containing the metadata xml again...
Hope this help.
Regards
Jo

Similar Messages

  • How to retain connection pool resource while exporting the application war

    hello,
    lately i have figured out how to use connection pooling. now i have another issue.
    i have to export the application war file to a remote server for deployment. i cant configure the server.xml file there due to restrictions. Now is there any way that i can retain the connection pooling with all JNDI resources while exporting the war file. what all things would i have to do. i am using tomcat 4.1 and the remote server too have the same appliaction server running.
    is this possible?
    thanks in advance

    Hi,
    you might have the problem in creating WAR files.
    lease check that first.
    thanks,
    nvseenuNo, the problem is that you shouldn't be modifying the server.xml
    The proper, portable way to do it is to create a context.xml file and put it in the META-INF directory of your WAR file. This contains your Resource definition and JDBC connection parameters. Everything's portable that way.
    I know this works on Tomcat 5.x.
    It can also work with Tomcat 4.1.x, but the way I've done it is to put the context.xml into a file whose name matches my WAR file (e.g, foo.war and foo.xml), placing both in the /webapps directory. Tomcat 4.1.x picks it up that way.
    It would be worth an experiment to see if Tomcat 4.1.x picks up the context from /META-INF, because that way your WAR file is 100% portable.
    This is precisely the reason why I advise people not to edit the server.xml. You don't always have the option to do so.
    %

  • Export data into Excel from PL/SQL Block

    Hi,
    Please tell me how to export data into excel comming out from PL/SQL code in APEX.
    We can simply export data into excel if we have Report region, but my query is dynamic for which i had to use PL/SQL block. Now i want to export that data into excel.
    Thanks & Regards,
    Smith

    Hi,
    Take a look here http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    Regards
    Paul

  • How export report into excel sheet automatically using SSRS 2010?

    Hi,
    I have created many reports using SQL Server Data Tool 2010 and at my work, we are using active batch to ran reports every month.
    Now question is, my boss want me to set up reports such a way that when active batch is ran, reports should be exported into excel sheet automatically with the default values given for parameters at some specific folder location. How can I export report
    into excel sheet automatically when active batch is executed?
    Please help me on this. Thanks for the help in advance.
    Vicky

    Check this:
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'C:/test.xls'
          filetype                = 'ASC'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_output
    Regards.

  • Acrobat/Indesign does not export correct into the selected output intention (eci_iso_coated_v2_300)

    I use the CS6 suite with Acrobat XI at windows platform.
    When I want to save a file from InDesign as .pdf with output intention eci_iso_coated_v2_300 the result is a .pdf with more than 300% ink coverage.
    I tried to transform the result in Acrobat XI into this standard output intention, but also the result has more than 300 % ink coverage.
    What is the reason of this bug?
    Before with Acrobat X this worked without problems

    Hi Rob,
    I was told the new way to work would be to draw files via Bridge direct into the InDesign file
    and I thought automatically the color would not be changed.
    my colourmanagement setting in bridge for the whole CS6 was  ECI isocoated_V2_300
    The Illustrator file was saved without color profile.
    In this test file I used 3 kinds of black: background of pirate in cmyk 79,34 / 72,78 / 59,38 / 79,88 = ink coverage 291 %
    DÜSSELPIRATEN in “black” (if you would convert this in the file with the cmyk button it would be the same ink-percentage as before
    “e.V.” was set to 100 % k
    I set the preferences for Acrobat from InDesign CS6 as pdf X4 with profile eci isocoatedV2_300 in three ways:
    no color conversion
    convert to profile
    convert to profile keeping existing values
    in all tree files the pirates background has 322 % ink coverage instead of 291 %
    Why does Acrobat convert “black” in the wrong way?  If I click in Illustrator on the 4c button to convert the “black” into 4c it is 291% ink
    Acrobat should come to the same result with all profiles: iso coated V2 and iso coated V2_300
    The same happens also by saving as .pdf X3 or .X1
    The minimum what I expect is, that Acrobat reduces ink coverage for black to 300 %
    I also made test with the new ECI profiles for laminated prints from 2012.
    And with newspaper profiles
    In this case the ink coverage comes below 300 %, but only when I choose convert to profile.
    And then the 100 % k converts to cmyk, what I don’t want to have with text.
    Is there no way to reduce ink coverage below a special percentage without changing Text 100% k
    And is there a bug in Acrobat XI with the ECI IsoCoated_V2_300 Profile? For there is no color reduction below 300 % in all conversion settings.
    I can’t test this with Acrobat X or IX, for my computers with this software don’t run with CS6 64 bit.
    enclosed you find my files
    Kind regards
    Lutz Hanbueckers
    Hanbueckers Werbung GmbH
    Brandsackerstr. 5
    40764 Langenfeld
    P.O. Box 40 02 01
    40242 Düsseldorf
    Tel. +49 02173 1 09 44 - 0
    Fax +49 02173 1 09 44 - 10
    [email protected] <mailto:[email protected]>
    www.hanbueckers.de
    Visit our site
    Steady attractive offers!!!
    HR Düsseldorf B 26 480
    owner Manager: Lutz Hanbueckers
    Von: Rob Day [email protected]
    Gesendet: Samstag, 2. März 2013 04:26
    An: Hanbueckers Werbung
    Betreff: acrobat/Indesign does not export correct into the selected output intention (eci_iso_coated_v2_300)
    Re: acrobat/Indesign does not export correct into the selected output intention (eci_iso_coated_v2_300)
    created by Rob Day <http://forums.adobe.com/people/rob+day> in InDesign - View the full discussion <http://forums.adobe.com/message/5115613#5115613

  • SSIS - Exporting Data into flat files from Oracle Table as batchwise process

    Hi All,
    Thanks in advance.
    I have a Large Table in Oracle Database with some 3 Lakhs record. I need to fetch the 10,000 records for every iteration and export it into the flat file. This process should occur recursively until the table becomes empty.
    Hence, For every iteration on flat file to be generated with 10,000 records.
    Please help how to proceed further in SSIS.
    Thanks
    Pyarajan.S

    Yes, it always helps if your question doesn't specify the actual requirements...
    Use the FOR loop container to control the iterations of the data flow. For each run you read 10,000 rows from the table and dump them in a flat file. Either move the flat file, or use an expression on the flat file connection manager to give them dynamic
    file names.
    30 million rows is also not a problem by the way, it just takes a bit longer.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • EXPORT Data into Clusters B2

    How I can export data into Cluster B2

    Hi ,
        Its a very simple statement.
        Pass these values
        B2-KEY-PERNR = PERNR.
        B2-KEY-PABRJ = PABRJ.
        B2-KEY-PABRP = PABRP.
        B2-KEY-CLTYP = CLTYP.
        call this macro.
        rp-exp-c2-b2.
        but U need to fill the following structures.
        ZL, PT, AT, WST, CWST, ZES,
        FEHLER, PSP, WPBP, AB, VERT, ALP, C1,
        SKO, MEHR, ANWES, RUFB, VS, CVS
    Regards,
    GSR.

  • How to export images into folders and subfolders

    I've been using Aperture as an orgianizer basically. Now I want to export everything into a sane folder structure, but I haven't been able to figure out a way. Currently I have a setup something like this:
    [Folder 1]
    --Project 1
    --Project 2
    --Project 3
    [Folder 2]
    --Project 4
    --[Folder 3]
    ----Project 5
    ----Project 6
    --Project 7
    And I want export everything exactly like that. For example Project 4 and Folder 3 should both be subfolders of Folder 2.  Does anyone know how to accomplish this?

    You can define an export preset for the subfolder names, but I do not think you can get so deeply nested as your structure is. You may have to do several exports, separately for the different parts of your library.
    An example for an export preset, that names subfolders is here:
    This will name the subfolders based on containing folder and project name.
    Regards
    Léonie

  • Can you edit a pdf document without exporting it into a word document?

    Can you edit a pdf document without exporting it into a word document?

    Hi sylvias99766822,
    You can if you have Acrobat. If you don't, feel free to give it a try. You can download a 30-day trial from http://www.adobe.com/products/acrobat.html.
    Keep in mind, though, that Acrobat isn't intended to be a word processor. So, while you can make adjustments to text and graphics, if you need to do a major overhaul of the text in the document, it's best to go back to the source document and edit the content there.
    Best,
    Sara

  • Exporting smartform into word document

    how to export smartform into word document . i tried converting into pdf and then download but it showing run time error that conversion is not possible and also it tells that otf command // missing. is it not possible to export directly to word document instead of pdf.plz give clear description of what to be done exactly with sample codes.
    marks will be rewarded.

    Hi Lavanya,
    Converting the output from Spool to Word is possible.
    Here is the sample code.
    I cut pasted a code from a link i got in the website, see if it helps.
    ZSPOOL2WORD
    Genera un fichero Word a partir de una orden de spool
    MÓDULO : FI *
    TIPO : Listado *
    TITULO : Generación fichero Word
    DESCRIPCION : Genera un fichero Word a partir de una orden de spool
    AUTOR: Andres Picazo FECHA: 24/03/2003 *
    MODIFICACIONES *
    FECHA NOMBRE DESCRIPCION *
    REPORT ZSPOOL2WORD
    NO STANDARD PAGE HEADING
    LINE-COUNT 065
    LINE-SIZE 080.
    INCLUDE OLE2INCL.
    *----TABLAS/ESTRUCTURAS--
    *----TABLAS INTERNAS--
    DATA I_BUFFER(132) OCCURS 1000000 WITH HEADER LINE.
    *----VARIABLES--
    *----PARAMETER/SELECT-OPTIONS EN PANTALLA--
    SELECTION-SCREEN BEGIN OF BLOCK BLK_PAR WITH FRAME TITLE TEXT-SEL. "Pará
    PARAMETERS: P_SPOOL LIKE TSP01-RQIDENT OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK BLK_PAR.
    SELECTION-SCREEN BEGIN OF BLOCK BLK_WOR WITH FRAME TITLE TEXT-WOR.
    PARAMETERS: P_WORD AS CHECKBOX DEFAULT 'X'.
    PARAMETERS: P_FWOR LIKE RLGRAP-FILENAME DEFAULT 'C:MAYOR.DOC'.
    PARAMETERS: P_PLAN LIKE RLGRAP-FILENAME
    DEFAULT 'D:DATOSAPISMAYORPLANTILLA LIBRO MAYOR.DOC'.
    SELECTION-SCREEN END OF BLOCK BLK_WOR.
    SELECTION-SCREEN BEGIN OF BLOCK BLK_FIC WITH FRAME TITLE TEXT-FIC.
    PARAMETERS: P_CTXT AS CHECKBOX DEFAULT ''.
    PARAMETERS: P_FTXT LIKE RLGRAP-FILENAME DEFAULT 'C:MAYOR.TXT'.
    SELECTION-SCREEN END OF BLOCK BLK_FIC.
    LOGICA DEL PROGRAMA
    INITIALIZATION
    INITIALIZATION.
    START-OF-SELECTION.
    START-OF-SELECTION.
    PERFORM LEER_SPOOL.
    IF NOT P_CTXT IS INITIAL.
    PERFORM GRABA_FICHERO.
    ENDIF.
    IF NOT P_WORD IS INITIAL.
    PERFORM LANZA_WORD.
    ENDIF.
    FORMS ADICIONALES
    *& Form LEER_SPOOL
    Lee la orden de spool en el buffer
    FORM LEER_SPOOL.
    CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
    EXPORTING
    RQIDENT = P_SPOOL
    FIRST_LINE = 1
    LAST_LINE = 9999999
    TABLES
    BUFFER = I_BUFFER
    EXCEPTIONS
    NO_SUCH_JOB = 1
    NOT_ABAP_LIST = 2
    JOB_CONTAINS_NO_DATA = 3
    SELECTION_EMPTY = 4
    NO_PERMISSION = 5
    CAN_NOT_ACCESS = 6
    READ_ERROR = 7
    OTHERS = 8.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error' SY-SUBRC
    'al leer la orden de spool' P_SPOOL.
    ENDIF.
    ENDFORM. " LEER_SPOOL
    *& Form GRABA_FICHERO
    Graba el contenido del spool a fichero de texto.
    FORM GRABA_FICHERO.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = ' '
    CODEPAGE = ' '
    FILENAME = P_FTXT
    FILETYPE = 'ASC'
    MODE = ' '
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    COL_SELECT = ' '
    COL_SELECTMASK = ' '
    NO_AUTH_CHECK = ' '
    IMPORTING
    FILELENGTH =
    TABLES
    DATA_TAB = I_BUFFER
    FIELDNAMES =
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    GUI_REFUSE_FILETRANSFER = 8
    OTHERS = 9.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error' SY-SUBRC
    'al grabar el fichero' P_FTXT.
    ENDIF.
    ENDFORM. " GRABA_FICHERO
    *& Form LANZA_WORD
    Abre la plantilla de Word y pega el contenido del portapapeles.
    FORM LANZA_WORD.
    DATA: WORDAPP TYPE OLE2_OBJECT,
    DOCUMENT TYPE OLE2_OBJECT,
    SELECTION TYPE OLE2_OBJECT.
    Copia el contenido del buffer en el portapeles
    CALL FUNCTION 'CLPB_EXPORT'
    TABLES
    DATA_TAB = I_BUFFER
    EXCEPTIONS
    CLPB_ERROR = 1
    OTHERS = 2.
    Abre Word
    CREATE OBJECT WORDAPP 'word.application'.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'No se ha podido abrir el Word'.
    ENDIF.
    Lo pone en visible
    SET PROPERTY OF WORDAPP 'Visible' = 1.
    Cogemes el objeto documento
    CALL METHOD OF WORDAPP 'Documents' = DOCUMENT.
    Abrimos el fichero plantilla
    IF P_PLAN IS INITIAL.
    CALL METHOD OF DOCUMENT 'Add'.
    ELSE.
    CALL METHOD OF DOCUMENT 'Open' EXPORTING #1 = P_PLAN.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al leer el fichero plantilla'.
    ENDIF.
    ENDIF.
    Coge el objeto selección
    CALL METHOD OF WORDAPP 'Selection' = SELECTION.
    Pega el contenido del portapapeles
    CALL METHOD OF SELECTION 'Paste'.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al pegar contenido del portapapeles'.
    ENDIF.
    Graba el fichero
    CALL METHOD OF WORDAPP 'ActiveDocument' = DOCUMENT.
    CALL METHOD OF DOCUMENT 'SaveAs' EXPORTING #1 = P_FWOR.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al grabar el nuevo documento'.
    ENDIF.
    Cierra Word
    CALL METHOD OF WORDAPP 'Quit'.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al cerrar Word'.
    ENDIF.
    ENDFORM. " LANZA_WORD
    check this also.................
    By using FM RSPO_RETURN_ABAP_SPOOLJOB you will be able to get the ASCII text of your Spool, which you can download to your local HD and open with M$ Word.
    Check the function module
    CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB'
         EXPORTING
              id    = p_spool
              fname = p_file.
    Give the file extn as .DOC. it will downlaod it as a
    Word doc.But I fear you wont get the table formats and
    all.
    ~~Guduri

  • Exporting text into Pages

    Is it possible to scan text from a typed page and then open it in Preview and somehow export it into Pages and be able to work with it in Pages? If so, how would you do that? Thanks.

    Is it possible to scan text from a typed page and then open it in Preview
    You need to scan it with OCR software to create editable text. Or send the image to an online OCR service like
    http://www.onlineocr.net/

  • Export versions into project

    For a set of photos I want to be able to change the color profile from Adobe RGB to sRGB, then upload them into MobileMe, email them to friends, etc.
    I'm trying to find the most efficient way to do this. Ideally I would select the photos, then export them to a new or existing album, and change the color profile during export. After export to the album, I could do some sharpening and upload to MobileMe or web, email, etc.
    I am having trouble doing this, as I cannot find out how to export versions into an album. I believe AP only allows me to export into a project / folder. With this approach, I believe I will have multiple files of the same photo, which is not my preference.
    Can I export versions into an album? If not, how can I have multiple versions of the same file - one with AdobeRGB, the other with sRGB?
    Thank you.

    bix106 wrote:
    ... how can I have multiple versions of the same file - one with AdobeRGB, the other with sRGB?
    You can't. You can only change the color space on export or by round tripping to another application and changing it there. Either method involves creating a new master of the image. AFAIK there is no way to assign a different color space within Aperture.
    It's really a moot point though: images are automatically converted to sRGB when uploaded to MobilMe, and you can set the export settings (in Preferences) to anything you like when using Aperture's email function. So you don't need multiple versions (in this case masters) in your library in order to accomplish your goal.
    DLS

  • ADS: com.adobe.ProcessingException: Error exporting Data into PDF

    Hi Experts,
    when trying to upload a PDF file to my WD4A application and extract the data I am getting this ADS Error:
    ADS: com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.(200201).
    The error only appears when I`m trying to upload a PDF file that has been created after an Java Script Update of the Adobe Form Builder. My actual version is 710.20070621204053.403203.403203 - ContainerFoundation_JS.
    All PDF files created before this update can be uploaded without problems. Am I missing something to be updated?!
    Thanx & best regards,
    Oliver

    Dear Oliver,
    I am facing this problem, can you recall how did you resolve this, please ? Thank you.
    Regards
    Kir chern

  • Export DataGrid into Excel

    Hi All,
       Can anybody share the code to export datagrid into an excel ?
    Thanks,
    Ravisha

    you can send the datagrid rows/values to server side and use some serverside script to create excel.

  • Error while Exporting project into MS Project

    Hi,
    Need your suggestion for one issue. While i am trying to export project into MS Project getting following error:
    Internal activeX error:[ 0x80020005] (null)
    Please suggest to fix the issue.
    Regards,
    Ranjan

    Hi Biplap,
    Please goto note 983597.
    Import and Export functionality from SAP cProjects 4.0 to Microsoft Project Server .
    Prerequisite is
           -  Only to Microsoft Project Server 2003.
    958210-- microsoft project client integration
    983597--ms project server 2003 with c project
    thnaks
    sunil

Maybe you are looking for

  • Final Cut Express wont make make a self contained movie

    Until recently I have always been able to export my movies from final cut express HD without any problems. They save as final cut express movie files. Now when I come to export a movie, I click on " make self contained movie" and what I get is a quic

  • Sessions In Oracle

    Hi, Can I get good documentation links regarding Oracle Sessions. I searched in Internet and found some, but cant able to understand them quite well. Thanks Edited by: user10679113 on Jan 5, 2009 2:37 PM

  • 5 or more accounts

    my itunes account has been authorized too many times. it is all due to me reformatting. i cant take off the authorization on the old pcs cos i cant get to them no more as i formatted so many times. is there anyway i can reset my authorizations. so i

  • How to creat Mail Rule with a script

    i can writ a script and runing is ok, but can't applied to mail rule !?

  • Application directory is empty

    I have some applications and databases that are empty. They appear in the Applications combo and Databases box of the server window. But when I click on them a message like 'Application Directory is empty' turns up.I have tried to make the appropiate