Requirement for Exploded WAR File

Hi, All:
We have a requirement to deploy an exploded WAR file, not just for development purposes but also it could turn out to be helpful in our production environment.
As far as I know, all we have to do is unzip the war file and explode it in to the <domain>/applications directory.
Are there any potential problems that could come up with this setup? What should we look out for?
Our current clients are advanced users and we want them to have the ability to customize jsp files, etc.
Thanks in advance for your help.
John Curley

Hi Ray,
applications on Web AS are deployed in the database, and the corresponding binaries are synchronized to the file system from the DB. Hence, you cannot point the deployment to a custom directory.
Anyway, why do you need that? Usually, exploded deployment is needed for development environment for the sake of quick update of the changed files? Is that your requirement also? If so, you could try using the Single File Update function of the Web AS Deploy service to update single files in your application. For details, see Deploying exploded EAR in WAS 6.40 thread.
Hope that helps a bit.

Similar Messages

  • How to deploy exploded war file(from JBoss-Eclipse IDE) to Sun Server 9

    anyone plz tell how to deploy exploded war file (from JBoss-Eclipse IDE) to sun application server 9.i deployed noramllay at tht time404 hrown.plzz tell urgent
    regards,
    S Sunder

    Hi!
    How did You deploy WAR file? Did You try to do this with Application Server Admin Console?
    Thanks,
    Roman.

  • Deploy exploded WAR file

    Hello!
    I need to deploy a war file extracted into a custom folder. Is it possible in WEB AS to point the deployment to a particular folder of our choice instead of deploying the WAR/EAR file?
    Thanks
    /Ray

    Hi Ray,
    applications on Web AS are deployed in the database, and the corresponding binaries are synchronized to the file system from the DB. Hence, you cannot point the deployment to a custom directory.
    Anyway, why do you need that? Usually, exploded deployment is needed for development environment for the sake of quick update of the changed files? Is that your requirement also? If so, you could try using the Single File Update function of the Web AS Deploy service to update single files in your application. For details, see Deploying exploded EAR in WAS 6.40 thread.
    Hope that helps a bit.

  • JDeveloper 10g, ADF, ANT:How to define ant task for EAR & WAR file creation

    I am trying to automate the deployment process of our ADF Faces & BC application. I have reviewed this doc:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28951/anttasks.htm
    and followed the procedure for integrating ant onto the server. I can build the project and also successfully deploy the ear file. Howerver, I did not find any instruction on how to generate the EAR file. Can anyone point me to the right place for this task definition?
    Here is my current build.xml file.
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Jul 16, 2007 12:20:13 PM-->
    <project name="CRDBApps" default="build-all" basedir="." xmlns:oracle="antlib:oracle">
    <property file="build.properties"/>
    <property file="ant-oracle.properties"/>
    <target name="clean-all" depends="">
    <ant antfile="build.xml" dir="CRDBView" target="clean"/>
    <ant antfile="build.xml" dir="CRDBLib" target="clean"/>
    <ant antfile="build.xml" dir="CRDBModel" target="clean"/>
    </target>
    <target name="build-all" depends="clean-all">
    <ant antfile="build.xml" dir="CRDBView" target="compile"/>
    <ant antfile="build.xml" dir="CRDBLib" target="compile"/>
    <ant antfile="build.xml" dir="CRDBModel" target="compile"/>
    </target>
    <target name="deployear" depends="">
    <echo message="-----> Deploying the application module deployment (ear) file"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBView/deploy/CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    </target>
    </project>
    thanks!
    Wes

    Thanks all for the tips. After reading up a bit today on ear/war files and ant. I ended up just creating a task to mimic the ear/war file structure. My script isnt pretty but I'll work on refining that later. Here is what I have if anyone ever is interested:
    <target name="war" depends="">
    <echo message="Executing target war..."/>
    <mkdir dir="war"/>
    <copydir src="CRDBView\public_html" dest="war\"/>
    <copydir src="CRDBView\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBModel\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBLib\classes" dest="war\WEB-INF\classes"/>
    <echo message="Creating war file..."/>
    <jar basedir ="war" destfile="CRDBApps.war"/>
    <echo message="Done executing target war..."/>
    </target>
    <target name="ear" depends="war">
    <echo message="Executing target ear..."/>
    <mkdir dir="ear\META-INF"/>
    <copydir src="CRDBView\deploy\META-INF" dest="ear\META-INF"/>
    <copy file="CRDBApps.war" todir="ear\"/>
    <jar basedir ="ear" destfile="CRDBApps.ear"/>
    <echo message="Done executing target ear..."/>
    </target>
    <target name="cleanAndDeployCRDBApps" depends="build-all,deployear">
    <echo message="Executing target cleanAndDeployCRDBApps..."/>
    <delete dir="war"/>
    <delete dir="ear"/>
    <echo message="Done executing target cleanAndDeployCRDBApps..."/>
    </target>
    <target name="deployear" depends="ear">
    <echo message="Executing target deployear"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver:6003/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    <delete file="CRDBApps.ear"/>
    <delete file="CRDBApps.war"/>
    <echo message="Done executing target deployear"/>
    </target>
    ...

  • Help Required for  MultiMapping between File to BAPI

    Hi,
    Any body have idea about following scenario problem:
    This is about file structure to BAPI structure.. auctully file would call BAPI for 1: N(file having various headers and line items, each header and associated line items(called one record) would able to call BAPI in target side).
    Sourcefilestructure: TargetBAPIStucture
    Messages (1:1)  Message(1:1)
    Message1(1:1)    Message1(1:1)
    MT_Request(1:1)
    Recordset(1:U) --> BAPI_INCOMINGINVOICE(0:U)
    Structure(1:u)   
                       HeaderData(1:1)
    Filed1(0:1)     --> filed1(0:1)
    Field2(0:1)     --> field2(0:2)
             Constant(null) ---> GLACCOUNTDATA(0:1)
             Structure(1:u) --->  item(0:U)
    field3(0:1)               ---> field1(0:1)
    field4(0:1)               ---> field2(0:1)
    filed32(0:1)              ---> filed44(0:1)
    My structure sending every time :
    Receive>Transfromation->Block(Send)
    ReceiveStep == File_ABS(request message)
    Transformation==IM_FileRequest_BAPI ;Source Interface= File_ABS; Target Interface= BAPI_ABS
    Block = parForEach, MultilineElement = BAPI_ABS(process);  CurrentLine= BAPI_ABS(block)
    SendStep = BAPI_ABS
    Note: There is no relation between Header and Line items in my scenario. It is coming like single structure as 32 fields .(which can be commonly mapped in HeaderData and GLAccountdata)
    While i am sending the values to BAPI, it is taking top row as header data remaining all rows as line items(it is not going to read next header line, but it is taking remaining line items which are exist in other header lines )..!
    Note: Even through key field i am trying to call header line items, but it wont call!still calling all line items with top header line.
    Hope you undersand my problem..
    Its like i am taking flat file whcih contains various headers and line items(One header with line items called->One record). So each header I need to call BAPI simultanousely.
    If you want see sample input payload and out put payload..please let me know.
    Thanks,
    Regards
    Sankar

    Hi Bahvesh/Prakash
    Pleasse see my payload..!
    Sourcefilestructure:
    Messages (1:1)
      Message1(1:1)
       MT_Request(1:1)
        Recordset(1:U) 
         Structure(1:u)
          Filed1(0:1)
          Field2(0:1)    
          field3(0:1) 
          field4(0:1)
    TargetStructure:
    Message(1:1)
    Message1(1:1)
      BAPI_INCOMINGINVOICE(0:U)
       HeaderData(1:1)
        filed1(0:1)
         field2(0:1)
          GLACCOUNTDATA(0:1)
            item(0:U)
             field1(0:1)
              field2(0:1)
    Request payload:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_PESFILEINVOICESTR xmlns:ns="urn:com.pesfileinvoice:xi:1.0">
    - <Recordset>
    - <Structure>
      <L_BUKRS>001150</L_BUKRS>
      <L_GJAHR />
      <L_BLART>KR</L_BLART>
      <L_BLDAT>08252006</L_BLDAT>
      <L_BUDAT>08262006</L_BUDAT>
      <L_MONAT />
      <L_XBLNR>*INV4444</L_XBLNR>
      <L_WAERS>USD</L_WAERS>
      <L_BUZEI>001</L_BUZEI>
      <L_BUKRS1>001150</L_BUKRS1>
      <L_BSCHL />
      <L_KOART>K</L_KOART>
      <L_SHKGZ>H</L_SHKGZ>
      <L_SRBTR>1000.98</L_SRBTR>
      <L_ZUONR>INV1234</L_ZUONR>
      <L_SGTXT>*777-8030-861</L_SGTXT>
      <L_ACCNT>0000035345</L_ACCNT>
      <L_KOSTL />
      <L_AUFNR />
      <L_ZFBDT>08272006</L_ZFBDT>
      <L_ZLSCH>C</L_ZLSCH>
      <L_EMPFB>0009800331</L_EMPFB>
      <L_ZTERM>015N</L_ZTERM>
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS />
      <L_GJAHR />
      <L_BLART />
      <L_BLDAT />
      <L_BUDAT />
      <L_MONAT />
      <L_XBLNR />
      <L_WAERS />
      <L_BUZEI>002</L_BUZEI>
      <L_BUKRS1>001150</L_BUKRS1>
      <L_BSCHL>40</L_BSCHL>
      <L_KOART>S</L_KOART>
      <L_SHKGZ>S</L_SHKGZ>
      <L_SRBTR>600.55</L_SRBTR>
      <L_ZUONR />
      <L_SGTXT>*777-8030-861</L_SGTXT>
      <L_ACCNT>0000738100</L_ACCNT>
      <L_KOSTL>0000007320</L_KOSTL>
      <L_AUFNR />
      <L_ZFBDT />
      <L_ZLSCH />
      <L_EMPFB />
      <L_ZTERM />
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS />
      <L_GJAHR />
      <L_BLART />
      <L_BLDAT />
      <L_BUDAT />
      <L_MONAT />
      <L_XBLNR />
      <L_WAERS />
      <L_BUZEI>003</L_BUZEI>
      <L_BUKRS1>001151</L_BUKRS1>
      <L_BSCHL>40</L_BSCHL>
      <L_KOART>S</L_KOART>
      <L_SHKGZ>S</L_SHKGZ>
      <L_SRBTR>400.43</L_SRBTR>
      <L_ZUONR />
      <L_SGTXT>*777-8030-861</L_SGTXT>
      <L_ACCNT>0000738100</L_ACCNT>
      <L_KOSTL>0000006010</L_KOSTL>
      <L_AUFNR />
      <L_ZFBDT />
      <L_ZLSCH />
      <L_EMPFB />
      <L_ZTERM />
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS>001150</L_BUKRS>
      <L_GJAHR />
      <L_BLART>KR</L_BLART>
      <L_BLDAT>08252006</L_BLDAT>
      <L_BUDAT>08262006</L_BUDAT>
      <L_MONAT />
      <L_XBLNR>*INV4444</L_XBLNR>
      <L_WAERS>USD</L_WAERS>
      <L_BUZEI>001</L_BUZEI>
      <L_BUKRS1>001150</L_BUKRS1>
      <L_BSCHL />
      <L_KOART>K</L_KOART>
      <L_SHKGZ>H</L_SHKGZ>
      <L_SRBTR>1300.98</L_SRBTR>
      <L_ZUONR>INV1234</L_ZUONR>
      <L_SGTXT>*777-8030-861</L_SGTXT>
      <L_ACCNT>0000035345</L_ACCNT>
      <L_KOSTL />
      <L_AUFNR />
      <L_ZFBDT>08272006</L_ZFBDT>
      <L_ZLSCH>C</L_ZLSCH>
      <L_EMPFB>0009800331</L_EMPFB>
      <L_ZTERM>015N</L_ZTERM>
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS />
      <L_GJAHR />
      <L_BLART />
      <L_BLDAT />
      <L_BUDAT />
      <L_MONAT />
      <L_XBLNR />
      <L_WAERS />
      <L_BUZEI>002</L_BUZEI>
      <L_BUKRS1>001150</L_BUKRS1>
      <L_BSCHL>40</L_BSCHL>
      <L_KOART>S</L_KOART>
      <L_SHKGZ>S</L_SHKGZ>
      <L_SRBTR>800.55</L_SRBTR>
      <L_ZUONR />
      <L_SGTXT>*888-8030-861</L_SGTXT>
      <L_ACCNT>0000738100</L_ACCNT>
      <L_KOSTL>0000007320</L_KOSTL>
      <L_AUFNR />
      <L_ZFBDT />
      <L_ZLSCH />
      <L_EMPFB />
      <L_ZTERM />
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS />
      <L_GJAHR />
      <L_BLART />
      <L_BLDAT />
      <L_BUDAT />
      <L_MONAT />
      <L_XBLNR />
      <L_WAERS />
      <L_BUZEI>003</L_BUZEI>
      <L_BUKRS1>001151</L_BUKRS1>
      <L_BSCHL>40</L_BSCHL>
      <L_KOART>S</L_KOART>
      <L_SHKGZ>S</L_SHKGZ>
      <L_SRBTR>500.43</L_SRBTR>
      <L_ZUONR />
      <L_SGTXT>*999-8030-861</L_SGTXT>
      <L_ACCNT>0000738100</L_ACCNT>
      <L_KOSTL>0000006010</L_KOSTL>
      <L_AUFNR />
      <L_ZFBDT />
      <L_ZLSCH />
      <L_EMPFB />
      <L_ZTERM />
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS>001150</L_BUKRS>
      <L_GJAHR />
      <L_BLART>KR</L_BLART>
      <L_BLDAT>08252006</L_BLDAT>
      <L_BUDAT>08262006</L_BUDAT>
      <L_MONAT />
      <L_XBLNR>*INV4444</L_XBLNR>
      <L_WAERS>USD</L_WAERS>
      <L_BUZEI>001</L_BUZEI>
      <L_BUKRS1>001150</L_BUKRS1>
      <L_BSCHL />
      <L_KOART>K</L_KOART>
      <L_SHKGZ>H</L_SHKGZ>
      <L_SRBTR>700.98</L_SRBTR>
      <L_ZUONR>INV1234</L_ZUONR>
      <L_SGTXT>*777-8030-861</L_SGTXT>
      <L_ACCNT>0000035345</L_ACCNT>
      <L_KOSTL />
      <L_AUFNR />
      <L_ZFBDT>08272006</L_ZFBDT>
      <L_ZLSCH>C</L_ZLSCH>
      <L_EMPFB>0009800331</L_EMPFB>
      <L_ZTERM>015N</L_ZTERM>
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS />
      <L_GJAHR />
      <L_BLART />
      <L_BLDAT />
      <L_BUDAT />
      <L_MONAT />
      <L_XBLNR />
      <L_WAERS />
      <L_BUZEI>002</L_BUZEI>
      <L_BUKRS1>001150</L_BUKRS1>
      <L_BSCHL>40</L_BSCHL>
      <L_KOART>S</L_KOART>
      <L_SHKGZ>S</L_SHKGZ>
      <L_SRBTR>200.55</L_SRBTR>
      <L_ZUONR />
      <L_SGTXT>*333-8030-861</L_SGTXT>
      <L_ACCNT>0000738100</L_ACCNT>
      <L_KOSTL>0000007320</L_KOSTL>
      <L_AUFNR />
      <L_ZFBDT />
      <L_ZLSCH />
      <L_EMPFB />
      <L_ZTERM />
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
    - <Structure>
      <L_BUKRS />
      <L_GJAHR />
      <L_BLART />
      <L_BLDAT />
      <L_BUDAT />
      <L_MONAT />
      <L_XBLNR />
      <L_WAERS />
      <L_BUZEI>003</L_BUZEI>
      <L_BUKRS1>001151</L_BUKRS1>
      <L_BSCHL>40</L_BSCHL>
      <L_KOART>S</L_KOART>
      <L_SHKGZ>S</L_SHKGZ>
      <L_SRBTR>500.43</L_SRBTR>
      <L_ZUONR />
      <L_SGTXT>*222-8030-861</L_SGTXT>
      <L_ACCNT>0000738100</L_ACCNT>
      <L_KOSTL>0000006010</L_KOSTL>
      <L_AUFNR />
      <L_ZFBDT />
      <L_ZLSCH />
      <L_EMPFB />
      <L_ZTERM />
      <L_NAME1 />
      <L_NAME2 />
      <L_PSTLZ />
      <L_ORT01 />
      <L_LAND1 />
      <L_STRAS />
      <L_PFACH />
      <L_REGIO />
      </Structure>
      </Recordset>
      </ns:MT_PESFILEINVOICESTR>
    ResponsePayload:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns2:BAPI_INCOMINGINVOICE_CREATE xmlns:ns2="urn:sap-com:document:sap:rfc:functions">
    - <HEADERDATA>
      <INVOICE_IND>X</INVOICE_IND>
      <DOC_TYPE>KR</DOC_TYPE>
      <DOC_DATE>20060825</DOC_DATE>
      <PSTNG_DATE>20060826</PSTNG_DATE>
      <REF_DOC_NO>*INV4444</REF_DOC_NO>
      <COMP_CODE>1150</COMP_CODE>
      <DIFF_INV>0000035345</DIFF_INV>
      <CURRENCY>USD</CURRENCY>
      <GROSS_AMOUNT>1000.98</GROSS_AMOUNT>
      <PMNTTRMS>015N</PMNTTRMS>
      <BLINE_DATE>20060827</BLINE_DATE>
      <PYMT_METH>C</PYMT_METH>
      <PAYEE_PAYER>0009800331</PAYEE_PAYER>
      <ITEM_TEXT>*777-8030-861</ITEM_TEXT>
      </HEADERDATA>
    - <GLACCOUNTDATA>
    - <item>
      <INVOICE_DOC_ITEM>002</INVOICE_DOC_ITEM>
      <GL_ACCOUNT>0000738100</GL_ACCOUNT>
      <ITEM_AMOUNT>600.55</ITEM_AMOUNT>
      <DB_CR_IND>S</DB_CR_IND>
      <COMP_CODE>1150</COMP_CODE>
      <ITEM_TEXT>*777-8030-861</ITEM_TEXT>
      <COSTCENTER>0000007320</COSTCENTER>
      <ORDERID />
      <PROFIT_CTR>0000007320</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
    - <item>
      <INVOICE_DOC_ITEM>003</INVOICE_DOC_ITEM>
      <GL_ACCOUNT>0000738100</GL_ACCOUNT>
      <ITEM_AMOUNT>400.43</ITEM_AMOUNT>
      <DB_CR_IND>S</DB_CR_IND>
      <COMP_CODE>1151</COMP_CODE>
      <ITEM_TEXT>*777-8030-861</ITEM_TEXT>
      <COSTCENTER>0000006010</COSTCENTER>
      <ORDERID />
      <PROFIT_CTR>0000006010</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
    - <item>
      <INVOICE_DOC_ITEM>002</INVOICE_DOC_ITEM>
      <GL_ACCOUNT>0000738100</GL_ACCOUNT>
      <ITEM_AMOUNT>800.55</ITEM_AMOUNT>
      <DB_CR_IND>S</DB_CR_IND>
      <COMP_CODE>1150</COMP_CODE>
      <ITEM_TEXT>*888-8030-861</ITEM_TEXT>
      <COSTCENTER>0000007320</COSTCENTER>
      <ORDERID />
      <PROFIT_CTR>0000007320</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
    - <item>
      <INVOICE_DOC_ITEM>003</INVOICE_DOC_ITEM>
      <GL_ACCOUNT>0000738100</GL_ACCOUNT>
      <ITEM_AMOUNT>500.43</ITEM_AMOUNT>
      <DB_CR_IND>S</DB_CR_IND>
      <COMP_CODE>1151</COMP_CODE>
      <ITEM_TEXT>*999-8030-861</ITEM_TEXT>
      <COSTCENTER>0000006010</COSTCENTER>
      <ORDERID />
      <PROFIT_CTR>0000006010</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
    - <item>
      <INVOICE_DOC_ITEM>002</INVOICE_DOC_ITEM>
      <GL_ACCOUNT>0000738100</GL_ACCOUNT>
      <ITEM_AMOUNT>200.55</ITEM_AMOUNT>
      <DB_CR_IND>S</DB_CR_IND>
      <COMP_CODE>1150</COMP_CODE>
      <ITEM_TEXT>*333-8030-861</ITEM_TEXT>
      <COSTCENTER>0000007320</COSTCENTER>
      <ORDERID />
      <PROFIT_CTR>0000007320</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
    - <item>
      <INVOICE_DOC_ITEM>003</INVOICE_DOC_ITEM>
      <GL_ACCOUNT>0000738100</GL_ACCOUNT>
      <ITEM_AMOUNT>500.43</ITEM_AMOUNT>
      <DB_CR_IND>S</DB_CR_IND>
      <COMP_CODE>1151</COMP_CODE>
      <ITEM_TEXT>*222-8030-861</ITEM_TEXT>
      <COSTCENTER>0000006010</COSTCENTER>
      <ORDERID />
      <PROFIT_CTR>0000006010</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
      </GLACCOUNTDATA>
      <ITEMDATA />
      <RETURN />
      </ns2:BAPI_INCOMINGINVOICE_CREATE>

  • Configurations required for IDOC to File

    Can any body suggest me the configuration required for integrating remote R/3 system with the XI Server.
    I want to know the following.
    1) How and where to configure R/3 with the XI server.
    2) What are the configurations required for Outbound and Inbound IDocs in R/3 and XI Servers.

    Hi Rajeshwar,
    take a look over here:
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/weblogs/topic/16
    you'll find at least 5 weblogs that show the idoc configuration
    Regards,
    michal
    XI FAQ - http://www.bcc.com.pl/netweaver/sapxifaq

  • Alternative to ServletContext.getRealPath() for unexploded WAR files in BEA

    Hi,
    at some point of my app I have this:
    HttpSession sessao = request.getSession();
    ServletContext context = sessao.getServletContext();
    String path = context.getRealPath("/resources/xml/Menu_Items.xml");
    SAXBuilder builder = new SAXBuilder();
    doc = builder.build(new File(path));which works fine in development mode but when I deploy it i get a null pointer exception.
    How can I overcome this?
    thanks in advance,
    Manuel Leiria

    Hi Manolo
    The right way to do this, ussually is:
    1) Dinamically obtain realPath of application (ej.
    c:/appserver/websapps/mywebapp)
    2) Add to realPath of app relative sub folder (ej.
    resources/xml/Menu_Items.xml)
    String appRealPath=
    super.getServletContext().getRealPath("/"); // in
    your servlet
    String filePath= appRealPath +
    "/resources/xml/Menu_Items.xml";;)Hi,
    getServletContext().getRealPath doesn't work if the war file is unexploded. Anyway, I've found a workaround using
    URL path = this.getClass().getResource("Menu_Items.xml");
    and putting the xml file in the same dir of the class file.
    Manuel Leiria

  • User defined Function Required for EDI 850 file fields.

    Hi Guys,
    I have an requirement where i need to check two fields in incoming EDI 850 file, based on those fields data should be populated to target side fields IDOC(ORDERS05).
    here is the requirement
    If Field.01 = "001" and field.02 exist then
       Set TDID = "31"
    If  Field.01 = "001" and  field.02 exist then
       Set TSSPRAS = "A"
    If  field.01  = "001" and  field.02 exist then
       Set TDLINE = Concat("XXXXXXX" +  field.02 (mm/dd/yy))
    If  field.01 = "002" and  field.02 exist then
       Set TDLINE = Concat("XXXXXXX: " +   field.02 (mm/dd/yy))
    If  field.01  = "010" and  field.02 exist then
       Set TDLINE = Concat("XXXXXXX: " +   field.02 (mm/dd/yy))
    If  field.01 = "015" and  field.02 exist then
       Set TDLINE = Concat("XXXXXXX: " +   field.02 (mm/dd/yy))
    If  field.01 = "037" and  field.02 exist then
       Set TDLINE = Concat("XXXXXXX: " +   field.02 (mm/dd/yy))
    If  field.01 = "038" and  field.02 exist then
       Set TDLINE = Concat("XXXXXXX: " +  field.02 (mm/dd/yy))
    If  field.01 = "063" and field.02 exist then
       Set TDLINE = Concat("XXXXXXX: " +   field.02 (mm/dd/yy))
    If  field.01 = "064" and  field.02 exist then
       Set TDLINE = Concat("XXXXXXX: " +   field.02 (mm/dd/yy))
    Here Field01 and Field 02 are sender side fields.we need to check this two fields . I Know this can be created with graphical mapping but as per requirement i need to write UDF bcoz with graphical mapping this would be more complex.
    so can any one please provide me UDF for this.
    Regards,
    Sandeep.

    Hi,
    you can do it with standard functions.
    If_1 source -> length -> greater -> constant 2
    then_1 if_2 substring source 0, 2 -> equals TN
    then_2 -> constant ""
    else_2 -> source
    else_1 source
    Regards
    Patrick

  • Server/browser requirements for WebHelp output files

    What are the UNIX server and browser requirements in order to
    display a WebHelp project output file correctly?
    When I generate the primary layout, I am not selecting 508
    format, and I select Java Applet as the preferred method for the
    Navigation Pane (checking the radio button for DHTML > Java
    Applet > Pure HTML as the order of preference.
    When viewing the help project on the UNIX server through
    Mozilla, the page appears to load and reload, load and reload.
    Sometims pressing Esc. stops it and you can view the TOC and
    content pane. The way around this is to generate Pure HTML only,
    but then the index and the glossary become very difficult to use.
    Robohelp Webhelp descriptions claim to work on all platforms
    and in all browser types. What requirement are we missing on our
    UNIX server so the project can display correctly?
    Thanks in advance for your time and trouble. :-)

    Hi GEWB,
    Here are some more details--
    Generate Webhelp output setup:
    Use lowercase filenames (recomm. for UNIX)
    Toolbar buttons: Content, Index, Search
    Navigation: Add breadcrumbs links
    Additional options: Enable Highlight Search results, Synchronize TOC automatically
    Navigation Pane preferred format: DHTML > Java Applet > Pure HTML
    Optimize speed for: Web site
    Q: how are you setting up your Linux to open the default project page?
    A: I use Linux only to launch the webehelp output.
    Q: Are you opening the GENERATED project default page or trying to open the project source files?
    A: I am trying to open the generated project default page. I copy the Webhelp folder to a Linux machine and launch the index.html page to see the output.
    Q: Why are you replacing the foreward-backward slash?
    A: In Linux '\' is not supported for hyperlinks/filepaths. Therefore I changed the backward slashes to forward slashes.
    The scenario:
    When the project files have filepath such as ../../doc/xyz/,
    when I view in Windows (IE)- I can access the link
    when I view in Linux (FF)- I see broken link with error message somewhat like "cannot find ..\..\doc\xyz\". (Note the changed usage of slash)
    This indicates that the generated files changes the forward slash to backward.

  • Hardware requirements for 400+ MB files

    I am very pleased with Aperture 2.x, specifically the image quality. But I am having a problem with full rez scans of my 6 x 9 cm negs which tend to be around 400 MB AFTER I scale them back to 8 bits (at 16 bits per channel, 675 MB, they will not even display). I can import them and work them up, but I can't export them.
    I have just ordered 4 more GB of RAM for my Mac Pro which will take it up to 7GB. I am still using the default video card (NVidia 7300 GT). Should I consider a second graphics card? Or replace this one? I do use two monitors. Is anyone working with files this size?

    brackenberry wrote:
    But at least as far as now (2.1), it clearly was not designed for the editing of big scans, joiners, or panos. You can still store them, and cross-reference them etc., in Aperture., and display thumbnails and previews of huge files pretty effectively, though that little navigation box paradoxically gets smaller and hard to use, especially with big long thin shots. The red box becomes a microbe, more indication that this was not part of the brief.
    Well either the program was intended to handle files that big and this is a bug... or Apple should admit their pro app wasn't actually designed for all pros and put that restriction in the spec. You seem to imply I can still use it as an asset manager with files that big and I have not found that to be the case, at least if I don't want to keep killing and relaunching it all the time. I don't want to do much to these files: organize, rotate, and crop them. I'm OK with using PhotoShop (which I do own) for any more heavy lifting. PhotoShop handles the files without batting an eye, of course. But Aperture can't even give me previews of the photos after the second or third one I work on.
    I never owned Aperture 1.x. I was waiting for them to fix all the stupid stuff before I bought it. Looks like I should have waited a tiny bit longer!
    In the meantime, I'm a 100% happy camper with Aperture on my 35mm slide scans. It just makes it all the more frustrating that I can't also use it on the bigger ones.
    Duncan
    Duncan

  • Jar file name Required for IApplicationPropertiesService class file

    Hi
       I am using EP6 SP15, Please let me know the jar file name for IApplicationPropertiesService.class
    Regards
    Ganesan S

    Hi,
    you should have it in your NWDS plugins directory. I have it here:
    <i>\Program Files\SAP\JDT\eclipse\plugins\com.sap.km.rfwizard\lib\bc.rf.global.service.appproperties_api.jar</i>
    Romano
    PS: you can try to find it yourself - not so hard: just search in the filesystem for XXXXXX.class including searching archives...

  • How to set classpath for classes in war files

    Hi All,
    After deploying the WAR file I could access the JSP files but gives classnotfound exception when the information is expected from the java servlet.DO I need to set the classpath if yes how to do for the war file.
    thanks

    The web.xml,file structure and error is below let me know if more information is required.
    As you said weblogic is looking for the classes in lib directory inspite of having the classes in web-inf/classes directory.
    web-app>
    <servlet>
    <servlet-name>ControllerServlet</servlet-name>
    <servlet-class>com.test.site.pds.Controller</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ControllerServlet</servlet-name>
    <url-pattern>/controller</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    File Structure:
    C:\test\PDSWebApp\WEB-INF\classes\com\test\site\pds\*.class
    PDSWebApp
         css
         html
         images
         javascript
         jsp
         WEB-INF
         classes
         com/test/site/pds/*.java
         lib
         servlets
    The error:
    javax.servlet.ServletException: [HTTP:101249][ServletContext(id=18129862,name=PdsApp,context-path=/PdsApp)]: Servlet class com.test.site.pds.Controller for servlet ControllerServlet could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\PdsApp.war;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\WEB-INF\lib\classes12.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\WEB-INF\lib\commons-beanutils.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\WEB-INF\lib\commons-collections-2.1.1.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\WEB-INF\lib\commons-lang-2.0.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\WEB-INF\lib\displaytag-1.0.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\WEB-INF\lib\jstl.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\WEB-INF\lib\standard.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp\jarfiles\_wl_cls_gen.jar;C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_PDSAPP_PdsApp.
    java.lang.ClassNotFoundException: com.test.site.pds.Controller.

  • Configuration required for attached for a file in a PO in ECC 6.0

    Hi All,
    1) Is any configuration/setting required for attaching  a file in a PO/PR ECC 6.0.
    2) How we can mail /send that file, is any enhancement required
    Kunwar

    Hi,
    In One ID for any PO ,when go sytem in toolbar --> sevices for object,I am getting the services for object and showing the attachment ,but in another ID with same server ,computer ,it is showing "No services avaiable"
    please guide any configuration/ setting missing?
    Kunwar

  • Does a war file explode in Weblogic ?

    I deployed a war file in weblogic, and I am not able to find one that is exploded, I worked with Tomcat previously and when I deploy a war file, I can see the exploded war file in the same directory..please give links, reference...if you can...I will read up.
    thanks
    Pradeep

    Why do you need to see the exploded war file? If you wanted to deploy an exploded war file, then deploy an exploded war file (by copying the dirtree to the "applications" directory).

  • Error in J2ee .war file deployment using ASC

    Hi,
    When I deploy a .war file using Application Server Control web interface, after
    30 min or so, it gave me an error: "Processing has already completed". But when
    I checked, no application was deployed. Sometimes the same war file deployment
    finished successfully if I repeat the deployment process several times. The whole application is in a single .war, the war file size is about 52 MB. Looks like this is a
    deployment timeout issue when server is very busy. Any ideas?
    Thanks,
    Richard

    I have seen this before when the file names in the archive aren't case sensitive. I
    suspect you're using NT, so the direct access to the file system is case insensitive by
    default.
    Make sure that the META-INF directory in the archive is in upper case, and check the case
    requirements for the other files in the archive.
    Regards,
    Peter.
    rashmi wrote:
    Hello,
    I have created a chat application containing jsps and beans, and deployed it first
    in the exploded directory format. It works fine and I was able to run and test
    it. Since all the tests are done and the module is over,now i want to package
    it in war file and deploy it.Here comes the problem :- I have packaged the application
    in a war file using jar command and copied it under applications directory but
    when i restarted the server(wls 6.0 sp1) ,i found in console the application is
    deployed under applications node and not under web applications node-why? Agian
    unpacked the war file and deployed it in exploded directory format now the console
    shows it under web app node then why does not it deploy it as web application
    when deployed in war format. Any body faced the same situation,Plz help.
    rds rashmi

Maybe you are looking for

  • How to have one provider with multiple portlets in JDev 11g

    Hi, I am trying to create Oracle PDK Portlets using JDeveloper 11g but for each portlet JDeveloper is creating a provider. As In JDeveloper 10.1.3.4 we can have one provider with multiple portlets in it. But JDev 11g creates provider for each portlet

  • Cant seem to delete all the stuff from....

    the app "CandyBar". I've used AppleCleaner, App Zapper, EasyFind, Onyz (cache). After using all of these utilities all the reminisences of the app is gone except for my menu bar being inverse (black) in color, dock style, and few other small things t

  • Pleas help me i lost money

    I bought naruto shippuden ultimate ninja storm revolution but it isnt in my game list or in my downloads list but it took money from my account. When i bought the game all it said was "there was an error"

  • Watching video files

    There a lot of applications by wich it's possible to store video and picture files. But if you are able to watch them on the i-pod I've failed to see them on a monitor, even using the Apple cable set. Does it depend on the app or is it an Apple restr

  • Error Code 106

    After I had a computer crash awhile back I had to reformat my hard drive and reinstall all my software.  Photoshop 7.0 is the only software I couldn't get to re-install.  I keep keeping the following message after about 1% of my install it stops, and