New to EAR/WAR - where do files go?

 

posting to servlet newsgroup.
          "Frank Rachel" <[email protected]> wrote in message
          news:[email protected]..
          > We've been successfully running under WebSphere 3.5 and Weblogic 5.1 for a
          > while. However, in this mode we are not using EAR/WAR files. Our login.jsp
          > page gets information from a properties file (in our case,
          > general.properties). Under the older versions, there was a "working
          > directory" concept, so thats where the property file needed to be. Where
          > does this go when I package everything up as a WAR?
          >
          > I have the WAR made, and it deploys. But when I go to the login.jsp (it
          > compiles) I get a filenotfound exception on my general.properties. Exactly
          > where is it looking for the file?
          >
          > Since our code it littered in a directory structure that doesn't match the
          > WAR structure, I manually create the war, so if I know where this goes
          > relative to the root of the WAR i can easily add it.
          >
          > Thanks.
          >
          >
          

Similar Messages

  • Are JDev autogenerated paths needed to create ear, war and jar files ?

    Hi
    We want to create ear, war and jar files from Ant build script generated from JDeveloper 11.1.1.7.
    We also like to use ojdeploy with it.
    In the process of creating build.xml files from projects, we see these paths.
    We also have standalone Weblogic installed with ADF runtime 11.1.1.7
    Questions:
    1- Do we need these path ids to generate ear, jar, war files properly and then deploy the ear to our standalone Weblogic so that our webapp can run ok ?
    2- Why are they generated, if they are not needed
    From research, it appears that we don't need these paths except to keep ant targets of init, compile, exec etc with ojdeploy.
    3- Is that true ?
    We are afraid that because no paths are listed in the build.xml, then when we deploy the ear app, it cant use the ADF runtime on the standalone WLS.
    Thanks in advance for answering.
    Sincerely
    eg of paths generated below:
      <path id="library.SOA.Designtime"/>
      <path id="library.SOA.Runtime"/>
      <path id="library.BPEL.Runtime"/>
      <path id="library.Mediator.Runtime"/>
      <path id="library.MDS.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
      </path>
      <path id="library.BC4J.Service.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc-share.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/commonj.sdo_2.1.0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.webservices_11.1.1/wsclient.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.web-common_11.1.1.jar"/>
      </path>
      <path id="library.TopLink">
        <pathelement location="{oracle.middleware}/modules/com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/modules/com.bea.core.antlr.runtime_2.7.7.jar"/>
        <pathelement location="{oracle.middleware}/modules/javax.persistence_1.0.0.0_2-0-0.jar"/>
      </path>
      <path id="library.Oracle.Rules"/>
      <path id="classpath">
        <path refid="library.SOA.Designtime"/>
        <path refid="library.SOA.Runtime"/>
        <path refid="library.BPEL.Runtime"/>
        <path refid="library.Mediator.Runtime"/>
        <path refid="library.MDS.Runtime"/>
        <path refid="library.BC4J.Service.Runtime"/>
        <path refid="library.TopLink"/>
        <path refid="library.Oracle.Rules"/>
      </path>

    There are two different things here. Using ant to build the class files and then building an ear from the class files and other resources.
    The building part needs the libraries if you use javac as compiler. Building an ear file only needs the path to the jar files which are packed into the ear.
    In this sense you need the pages you see in the build.xml.
    Then Jdev offers another way: ojdeploy. This tool is a Jdev without a gui.
    You can use this tool and build the classes for each project of a workspace and to build build war and ear file. This is just like you click the rebuild button for each project and then the deploy the projects and application. If you use this approach you don't need the generated path ids as the whole build process is done inside Jdev as it's done on your developer pc.
    Timo

  • EAR/WAR File Deployment Query on WEBLOGIC SERVER

    Hi,
    We are running weblogic server version 10.3.4.0 where EAR/ WAR files deployed on single server and that has been configured in the current WebLogic Server domain. These applications are up and running fine. We need to deploy a new WAR file on the same domain. My questions are:
    @ Whether I can deploy new WAR file without STARTing and STOPing weblogic server instance?
    @ When deploying new WAR file, whether it will affect existing deployed files or will it affect any other running services for a fraction of second?
    Note: This new WAR file is independent application and will not affect any other services in the future.
    Please assist.
    Thanks,
    Dheeraj

    Thank you for your help but the result is still the same.
    I deployed the library on weblogic server suggested by you.
    File Deployed as library = oracle.adf.desktopintegration.model.ear
    From the folder = C:\Oracle\Middleware\oracle_common\modules\oracle.adf.desktopintegration.model_11.1.1
    It is active.
    After this I loaded jdeveloper and deploy the same sample application and found that the result is same.
    Pls let me know where I am going wrong.
    Regards,
    Masood
    [11:53:09 AM] ---- Deployment started. ----
    [11:53:09 AM] Target platform is (Weblogic 10.3).
    [11:53:09 AM] Retrieving existing application information
    [11:53:09 AM] Running dependency analysis...
    [11:53:09 AM] Building...
    [11:53:09 AM] Deploying 2 profiles...
    [11:53:09 AM] Wrote Web Application Module to C:\JDeveloper\mywork\10MinDemo\ViewController\deploy\10MinDemo_ViewController_webapp.war
    [11:53:10 AM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\10MinDemo\deploy\10MinDemo_Project1_10MinDemo.ear
    [11:53:10 AM] Deploying Application...
    [11:53:10 AM] [Deployer:149191]Operation 'deploy' on application '10MinDemo_Project1_10MinDemo' is initializing on 'ADFServer'
    [11:53:11 AM] [Deployer:149193]Operation 'deploy' on application '10MinDemo_Project1_10MinDemo' has failed on 'ADFServer'
    [11:53:11 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application 10MinDemo_Project1_10MinDemo on ADFServer.: .
    [11:53:11 AM] Weblogic Server Exception: weblogic.management.DeploymentException:
    [11:53:11 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    [11:53:11 AM] See server logs or server console for more details.
    [11:53:11 AM] weblogic.management.DeploymentException:
    [11:53:11 AM] Deployment cancelled.
    [11:53:11 AM] ---- Deployment incomplete ----.
    [11:53:11 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  • Extracted ear/war/jar file location in JBoss

    How can I find out in runtime where JBoss extracted my ear/war/jar file?
    I have a file inside my ear/war/jar file and I need to know the location of the file. I know that it is in the tmp/deploy directory but I need the exact application temporary name.

    You can take out the common classes and bundle them in a jar library that can be bundled directly in APP-INF/lib (or library directory defined by <library-directory> in applicaton.xml if you are using JEE5 / WLS 10). Is it possible to do this re-arragement?

  • Putting unix utility visible version info into ear, war, jar files?

    I would like to be able to use some unix utility (or java itself without a separate program) to display my version information for jar-like artifacts: ear, war, jar.
    In other words, when I build one of these things, I'd like to put my SVN version, date, user name, and maybe some other stuff into it in a way that can be read without a custom program. This needs to be done as part of the ant build (without requiring a custom java program).
    For example, one approach would be "strings | grep <special-string>" if I could put something, somewhere in the file that had this as 8-bit character encoding.
    For jars, making the jar executable and having the main print it out works, but I don't think that's do-able for ears and wars, and it would be desirable to have a consistent approach.
    Anyone already doing this?
    Ideas?

    For example, I don't think you can specify a mainline in the manifest of an ear or war.
    They have pretty strictly defined formats, and I don't want to risk violating a standard by tinkering outside the standard.Possible, but you can always run it as java -cp myWar.war my.utility.Version.
    There may be another possibility, but I'm unable to find any reference though:
    In my early Java days, I used to work on a system where there was a Unix utility (called something like +"ident"+) that was able to extract version and description info stuffed in a .so file (under which "standard" or proprietary format was the info stored, I don't know).
    I used to see it work on individual Java .class files too (from memory we had to put a String constant name "VERSION" in the class) and maybe jar files (I'm unsure).
    One of my co-workers at that time had described that as a standard tool, but "ident" turns up nothing of that kind on Google... And I've never since encountered any description of the "VERSION" constant naming convention...
    I was young and naive, I hope I were not bluffed by some alias in a custom setup... :o(
    Edited by: jduprez on Feb 18, 2010 11:30 AM
    OK a bit more reserah turned up [that man page|http://man-wiki.net/index.php/1:ident]. Apparently ident is part of RCS (installed along with CVS), and works by grepping the target file for patterns such as "$keyword: text $" (which is RCS/CVS keyword substitution pattern). Now that it mentions it, I remeber that that's what we put into our VERSION constant's value ("$version : ...$", or something of that kind).
    So:
    1) it's not so standard after all, you have to install the rcs package on the target host (regardless of whether you use RCS for configuration management, which would probably be a bad idea nowadays)
    2) you have to put such formatted strings somewhere in your code or configuration files (easy with Ant, if not genuinely through Subversion)
    3) To have it work on jar, war, ear, files, you have to make sure that the file is not compressed (otherwise the pattern might not appear in clear). I don't know whether that's easy to configure using Ant's jar, war, ear tasks.
    A bit of a hassle compared to stuffing your own utility class and using java -cp...

  • Error when deploying a new forms .ear file

    Hi all
    I get the following eror when trying to start forms:
    Starting OPMN managed FORMS OC4J instance ...
    Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Tue Nov 16 11:16:23 2010
    *** Log File = /u01/apps/inst/apps/DEV_ikhsmappdev1/logs/appl/rgf/TXK/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010.log
    File "/u01/apps/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...
    =================================================
    *** Latest formsapp.ear has NOT been deployed ***
    Deploying the latest EAR file...
    =================================================
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Tue Nov 16 11:16:30 2010
    * W A R N I N G *
    Error while executing the perl script txkChkFormsDeployment.pl
    We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl).
    But could not do it automatically for you, due to some issues.
    For details refer the log files.
    Follow Note: 397174.1 to redeploy Forms manually.
    I then try and deploy a new Forms EAR file as per doc 397174.1 and run into errors as follows:
    Errors encountered running /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/u01/apps/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Tue Nov 16 16:33:03 2010
    FUNCTION: (eval) [ Level 1 ]
    ERRORMSG: Invalid 10.1.3 Oracle Home: /u01/apps/apps/tech_st/10.1.3
    How do I fix this?

    Still the same issue, yes.
    I have already logged an SR for this, but all is very quiet on that front.
    One funny, is that this HOME was never attached to the orainst.loc, so I did it manually.
    When I try and run opatch with lsinventory parm, it does not list any patches, although there are patches installed, if you look at $OH/.patch_storage.
    Any idea of how I should attach this home correctly?

  • I am setting up a new iMac and need help syncing files to Dropbox.  On my old computer I had it set where when I saved a document, it was saved on my hard drive, as well as to a folder in Dropbox.  I can't remember how I set this up.  Any help?

    I am setting up a new iMac and need help syncing files to Dropbox.  On my old computer I had it set where when I saved a document, it was saved on my hard drive, as well as to a folder in Dropbox.  I can't remember how I set this up.  Any help?

    The way that Dropbox works is that it keeps a copy of all your files in your local Dropbox folder on your hard drive (which is, by default, directly under your home folder). Adding files to that folder will sync them to the Dropbox server.
    You do of course have to download the Dropbox application to enable this (download link at the top right of http://dropbox.com ).
    Matt

  • Deploying a New Forms .ear File in Oracle Applications Release 12-FATAL ERR

    Hello everyone, I am applying a scurity patch 7605070 to our R12 applications. As part of the post-install step, I need to follow Metalink Note 397174.1 to deploy a new forms .ear file.
    However, I am getting following FATAL ERROR:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 11:54:43 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    Errors encountered running /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Fri May 29 11:55:09 2009
    FUNCTION: TXK::Process::run [ Level 3 ]
    MESSAGES:
    Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl start
    STACK TRACE
    TXK::Error::abort('TXK::Error','HASH(0x99e2a24)') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 299
    TXK::Common::doError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...','undef') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 314
    TXK::Common::setError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Process.pm line 449
    TXK::Process::run('TXK::Process=HASH(0xa662688)','HASH(0xa295488)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 1469
    TXK::RunScript::execOPMNControl('HASH(0xa4f977c)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 532
    require /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/RunScript.pm line 105
    TXK::RunScript::require('TXK::RunScript','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    eval {...} called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    TXK::Script::run('TXK::Script=HASH(0x9d974d4)','/apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl line 150
    (lnxcde21-ecrmapps9) /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin
    :->
    What should I do? Please advice...

    Issue appears to be resolved :)
    Here are the steps:
    vi /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl and updated following variable to the correct path. (I am not sure why these path's were still pointing to production environment. I cross checked another cloned instance and it is also pointing to production path)
    ORACLE_HOME=/apps/ecrmR12apps9/apps/tech_st/10.1.3; export ORACLE_HOME
    TNS_ADMIN=${TNS_ADMIN="/apps/ecrmR12apps9/apps/tech_st/10.1.3/network/admin"}; export TNS_ADMIN
    Then, the issue got resolved:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 14:53:22 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    OPMN started.
    Deplolying Application : "forms" onto OC4J instance: "forms"
    Application deployed successfully.
    Stopping and starting OC4J instances.
    Started OC4J instances.
    Binding webApp : "forms" with webmodule : "formsweb" for OC4J instance: "forms"
    Web application bound successfully.
    Stopping OPMN.
    OPMN stopped.
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl completed @ Fri May 29 14:54:13 2009
    End of /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl : No Errors encountered
    Now I am not sure if the changes I made to opmnctl file is correct or not. I mean can I vi this file and update the value in this file as I wish, or should I be following some procedure to update the correct path.

  • 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>
    ...

  • Encrypt ear/war files

    hi
    my team is using oracle 10g Application srever[9.0.4] and jdeveloper..
    ear/war files are prepared for deployment.
    can i encrypt them while deploying them at custmers site for testing..
    regards
    avinash

    As far as I know this is not possible.

  • List the contents of jar, ear, war files

    Hi All,
    It has been several years since I have worked in java and now I am trying to get caught back up :-).
    My question is: Is there a standard utility that can dump/list the contents of the packaging files: jar, ear, war?
    Thanks in advance!

    You can use winzip. OR you can use the jar command provided in JDK.
    jar -tvf <<your archive (jar, war, ear)>>

  • Hello, I uploaded a new website but all the svg files don't display on the browsers. when I open it in Muse with the "preview in browser", its fine! can someone tell me please where my problem is? (sorry for my english!)

    hello, I uploaded a new website but all the svg files don't display on the browsers. when I open it in Muse with the "preview in browser", its fine! can someone tell me please where my problem is? (sorry for my english!)

    Hi
    Could you please check this thread, it might be helpful
    Muse not exporting svg, can only see in preview

  • Deploying ColdFusion 8 project via EAR/WAR file

    I was wondering what considerations to take when deploying a ColdFusion 8 project as an EAR/WAR file. Is it possible to create the file on one computer (eg: development) and run it on another (eg: server)?

    ecalibur_lk wrote on 1/14/2010 11:47 PM:
    With ColdFusion packaged into the EAR, do you need ColdFusion installed on the environment you are deploying it on for it to work?
    No. You need to have a J2EE server like JBoss or JRun.
    If so, does it make a difference on what version of ColdFusion it is packaged with (eg: Developer vs. Enterprise edition)?
    If you want to We package our EAR files without a license key and
    leave it up to our clients to make sure they have the proper licenses
    for their environment. If they put a key in the properties file, we use
    the Admin API to register the instance. If they don't put a key in the
    properties file, the instance is a developer edition.
    Do you know of somewhere that describes how to build an EAR file via ANT and how to deploy it?
    http://www.adobe.com/devnet/coldfusion/articles/ear.html

  • Had hard drive renewed due to product recall (iMac) backed up complete system on time machine . Had the drive done got mac back tried to reinstall from time machine .The new drive tells me that the space has been taken up but can't find where the file hav

    Had hard drive renewed due to product recall (iMac) backed up complete system on time machine . Had the drive done got mac back tried to reinstall from time machine .The new drive tells me that the space has been taken up but can't find where the file have gone. Need to free up the space that the ghost file take up so I can drag drop from ex drive onto harddrive

    Here's the scoop, new friend.....
    When you boot into Time Machine you'll get the same OS X Utilities screen as you would if you booted into the Recovery HD. So, from there go into Disk Utilities to erase/format your internal drive. After that's done, back out to the OS X Utilities screen and select the restore option. Just follow the prompts to select the TM back up date you want to restore from and where to restore it to. Pretty straight forward.

  • Why does Apple not want me to know where my files are?

    There is one aspect that I find absolutely ridiculous and frustrating on Mac-OS. When I'm in Apple applications, it is impossible to find out where the file I'm working on is. For example, I have multiple files in my system, in different directories, lets say direcotories AA and BB and the file is called FooBar.txt. I open one of them in TextEdit. Great. Now I want to know which file I'm editing, AA/FooBar.txt or BB/FooBar.txt.
    Traditionally, I would go to File and do a "Save As" and devine where the file is by where TextEdit thinks I need to save a new version of the file. Unfortunately, this is no longer available in Lion.
    Okay, I understand that Mac is now doing verisions and the "Save As" was a user hack ... but it worked. I have tried to go to the Files->Properties, no luck this is just metadata about the contents of the file entered by the user, not system metadata about where the file is located, its size, owner, etc. I do not want to have to make a Dupicate of the file just to find out where when I do the save its going to put the file. I don't want a duplicate, all I want to know is where is the file I'm currently looking at.
    I know this is all part of the mis-guided Apple idea that I shouldn't care about where my files are stored ala iPad and Apple iCloud and that I can find my files using Finder, but the reality of the situation is ... I do care where my files are stored. The files afterall belong to me not to Apple and Apple does allow me to have a directory tree structure which I choose to use to organize myself.
    Yes, I know that Finder is wonderful and to unsophisticated users, this is all they need. But for those of us who are more sophisticated, we want-to and need-to know where our files are. And, yes, we will have many files with duplicate names.
    As for Finder, I would like to be able to have a column dispolayed that lets me see where the files it found actual are. Then I want to sort on this. As far as I know, the only way to do this is to go to finder, type in the name of the file, then choose the Show all in Finder and then click on each file which then shows me a directory breadcrumbs on the botom of the screen. Again, this might be acceptable to the unsophisticated user, this is very awkward to the sophisticated user. Example, I find a file called xml.config. Great. I now want to not only edit the file but to open up a Terminal in the directoy where I found the file xml.config. Again, I know that a Terminal is not a thing an unsophisticated user wants-to or needs-to do. However, this is a feater of Mac-OS and I want to use it. yes, I can co through the Unix CD command and ultimately get there, but what a pain!!
    So, hopefully, all you very sophisticated users will just point me to the right settings, swtiches and commands to make my life easier or that your designers will try to look at the sophisticated use cases and provide us with new tools, commands and options to make our lives easier. At the present, these frustrations remind me of the Microsoft ... we know beter .. attitude. So please, proove me wrong ;-)

    While most likely not of interest to you, Spotlight can also tell you where the files it finds are located
    Hover the mouse pointer over the name, and press Command-Option and the path to the file will be displayed.
    As for opening a terminal session in the directory where a file is located, there is Applescripts that do just that as well as specific features in Lion/Mountain Lion terminal:
    <http://stackoverflow.com/questions/420456/open-terminal-here-in-mac-os-finder>
    <http://hints.macworld.com/article.php?story=20110729034827358>
    <http://www.macworld.com/article/1047793/folderinterm.html>
    <http://www.macworld.com/article/1161876/open_finder_folder_in_terminal.html>
    <http://www.macobserver.com/tmo/article/os_x_lion_open_a_folders_location_in_term inal>

Maybe you are looking for

  • How to add photo to BACK cover of photo book in PSE 12

    I am trying to add a photo to a back cover in PSE12 photobook but cannot access the back cover page.  There are only templates for title page and regular pages.

  • Lightroom 5 version 5.0 starts out fast, but then slows my computer to a crawl.  What to do?

    I upgraded from Lightroom 4 to Lightroom 5 after the release version 5.0 came out.  But it doesn't work well.  It starts out fast, but performance rapidly deteriourates.  And it affects every application running on my Windows 7 PC.  I assume this is

  • To get list of suspended responses from database

    Hi All, we have O2A PIP installed with below versions: Oracle AIA     11.1.1.5 Oracle WebLogic    10.3.5 SOA Suite    11.1.1.5 O2C PIP        11.1.1.1 In Production some of the orders are failing because of Siebel internal error and hence those respo

  • Mac os X tiger in french?

    hello I ve installed mac os X in english a year ago, I d like to know if it s now possible to get it in french without having to reinstall the whole thing with the discs. If yes, could you tell me how.. I m a bit lost.. thanks Gallinette

  • Enabling scroll down on a View

    Hi, i have a View which is composed of a sample image(*.png) as well as a Table view (with 3 sections). Table view is below the image. When i load this screen,since i have more data on the table view,some part of the table view goes done and not visi