HOW TO CREATE AND DEPLOY EAR FILE WITHOUT HAVING ACCESS TO DATABASE

I created an application using jsp and bc4j. I tested it against a standalone OC4j server on the same pc. This week I installed 9iAS to simulate the installprocess which should be due next week. Everything works fine; deploying seems to be a peace of cake... until I realized that the customer's database,
host etc. are not the same as in my testing environment.I tried to create a connection in JDeveloper with the customer's database hostname and SID. This
does not work; the host is not known in my development enviroment. So how can I create an EAR file with the correct connection (ie, pointing to customer's host
and SID)?

You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

Similar Messages

  • How to create and deploy a simple jstl applicaton in weblogic 10.3.3

    How to create and deploy a simple jstl applicaton in weblogic 10.3.3

    1) Since JSTL libraries are provided as Web application libraries, they must be deployed before the Web application that is using JSTL functionality is deployed. The libraries can be deployed using the Administration Console or with the command-line weblogic.Deployer tool.
    Here’s an example of deploying a JSTL 1.2 library using the weblogic.Deployer command-line:
    java weblogic.Deployer -adminurl t3://localhost:7001
    -user weblogic -password weblogic
    -deploy -library
    d:/beahome/wlserver_10.3/common/deployable-libraries/jstl-1.2.war
    This command deploys the JSTL 1.2 library using the default library-name, specification-version and implementation-version defined by the MANIFEST.MF in the library.
    After a library is deployed, the extension-name, specification-version and implementation-version of the library can be found in Administration console. This information can also be found in the MANIFEST.MF file of the library WAR file.
    For more information on deploying a Web module refer below URL
    http://docs.oracle.com/cd/E15051_01/wls/docs103/deployment/deployunits.html
    2) To reference a JSF or JSTL library, a standard web application can define a <library-ref> descriptor in the application’s weblogic.xml file. Here is an example:
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    <implementation-version>1.2.0</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>
    For more information on referencing a Web application library refer below URL
    http://docs.oracle.com/cd/E15051_01/wls/docs103/programming/libraries.html
    3) Create a sample JSP in your application and JSP should look as shown below
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <html>
    <head>
    <title>TestJSTL</title>
    </head>
    <body>
    <c:set var="topic" value="JSTL" />     
    <c:out value="${topic}" />
    </body>
    </html>
    4) Create WAR and deploy and test.
    Edited by: Murali Veligeti on Jul 26, 2012 9:00 AM

  • Create and deploy sda file in NWDS 7.0

    Hi,
    Could u pls tel me how to import , create and deploy sda file.
    I hav got an .sda file, i need to import ,made changes to that nd deploy it again in NWDS 7.0
    help me by providing some links or turorials...
    thanks
    raji

    Hi,
    As i told you earlier, there is no option to import a .sda file in NWDS 7.0.
    So you have to follow the approach which i mentioned in your earlier thread.
    https://www.sdn.sap.com/irj/scn/profile?userid=3978830
    That is the only way which you can do.
    Regards,
    Saleem

  • How to Create and Deploy Web Services Using Oracle 9i JDeveloper

    Hi,
    My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
    Hopr to Hear From you,
    Regards,
    G Sreekumar

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

  • How to create and sign CAB files info on Supplement Option

    To all Supplement Option subscribers:
    At the supplement option for iDevelopment Accelerators, I uploaded a zip with detailed info on how to create and sign CAB files (necessary when you are running your application on the Native IE Java Virtual Machine).
    Not all functionality provided to you through JInitiator will work (e.g. WebUtil doesn't) but the way how to make and sign a CAB file will become more easy.
    Cheers,
    Marc Vahsen
    Headstart Team

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • How to create and read text file using LabVIEW 7.1 PDA module?

    How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
    I attach my code here.
    Attachments:
    File_IO.vi ‏82 KB

    Well my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.

  • How to create a custom ear file and deploy it onto a freshly created oc4j

    Hi,
    Wanted to know that how should i go about creating a custom EAR file or for that matter any application and deploy it onto a test oc4j instance created within the 10.1.3 Home of Oracle Apps R12.
    I believe in a standalone Application server installation it is quite simple to deploy an application by creating an oc4j instance using the AS console ,but not very sure about how to go about it in Oracle Apps .
    N.B:I have been able to create a test oc4j instance by the name of Test and able to start and stop it using the opmn of 10.1.3 oracle home.
    Any help in this regard will be appreciated.

    Hi,
    can you please post this question to one of the Apps forums if your main concern is to deploy applications in the context of Oracle Apps?
    It seems that you don't have a problem in creating the EAR file in JDev.
    Frank

  • How to create and save a file in flex web application ?

    Hi,
          I want to create and save a file form flex web application. Is it possible ?
    I have done some googling and found that its only possible through file referece, which needs some serverside implementation be called.
    Is it not possible with file reference to create and save file directly ?
    Can any one suggest how to over come this.
    Thanks in advance.

    Alex,
    code written with the Flex Builder 3 libraries will certainly run in Flash Player 10. However, what you need is not so much the capabilities of FP10 but the library functionalities of the Flex 4 package. And I think that Flex 4 code will only run in FP10 and not 9 (but haven't tested this as at work we have not yet been permitted to upgrade, so there is not a lot of point going for Flex 4!).
    Richard

  • How to Download a batch of files without having to click on each file

    I installed download helper and when i watch a video there are alot of files playing how do i download all of them without having to click on every file in the helper drop down box

    anthony siciliano had this to say:
    I use Smugmug for my photo website. To upload photos to that site, I must convert my PSD files to JPGs and limit the file size of each photo to 12 MB.
    Almost all photo sites impose a size limit on each photo. Sometimes the
    size amount varies. 12M is a lot ...
    Since I am now shooting with a 21 megapixel camera, most of the photo files are over 12 MB when converted to JPGs (many are in the 20 MB range).
    Usually, the size is dependent on the dimensions you choose, and the
    resolution. If you limit your photos to approx 1024x768 with a
    resolution of 72 dpi (which is pretty standard for screen-only
    resolution), you'll find that your photo file sizes will be much
    reduced. Are you sure you need the resolution or size that you are
    using? If you're not selling prints (perhaps you are), then using a
    smaller, screen resolution only version will help.
    Is there a way to convert a batch of photos from PSD files to JPGs and limit the file size of each photo to 12 MB?  Thanks!!
    >
    The LR2Mogrify plugin can do that, I believe.

  • How to create and deploy a JSP which calls a BPEL process in JDEVELOPER

    Hi Gurus,
    I don't know how to create a JSP in JDEVELOPER which call a BPEL process. I have gone through the tutorials. Since, I am new to JDEVELOPER I need some help.
    1. How to create a JSP (I know creating application and project, also I know JSP coding)
    2. How to deploy this JSP?
    3. For the Synchronos BPEL project, the build.xml is created automatically, in this forum, I see people talking about ear war .deploy etc. How do we get them automatically created. Or do we need to create them manually. If it has to be manual some sample scripts would be of great help.
    Any help in this regard would be really great.
    Thanks in advance,
    Sankar.

    I found the following tutorial which clearly explains how to deploy J2EE apps.
    http://www.oracle.com/technology/obe/obe1013jdev/deployment/deployment.htm
    I created a simple jsp file in a project, followed the steps in the tutorial and it got deployed onto: http://localhost:9700
    For invoking BPEL process through JSP, I have reused the jsp files available in : 102.InvokingProcesses\jsp and changed the processes and input accordingly.
    Please post me a query in this thread, if any of you want any specific details.

  • Create and deploy executable file

    I'm very new to java. I've finished an application, and it runs fine on my develop machine. However, still I can not figure out how to create an executable application, so I can deploy on my clients' machine. Can anyone show me where to go to look up for the information how to create it and how to deploy it? A quick example is very appreciated.
    Thanks.

    There is a super program out there that does it all for you and you can even set the icon. It is really easy to use - i could do it and is intuitive in the instal for your users. Search for "InstallAnywhere" (the name of the program) and you should find it. Hope it helps.

  • HT2476 How to create and Manage my files

    I wanted to create a secure folder and maintain the files. How can I do that in the macbook Pro.
    Thanks and regards
    Lakshmi

    You cannot encrypt files and folders w/OS X. Create an encrypted disk image, mount it, and store everything in there. Unmount it when finished. BTW, don't forget the password or the data's toast.

  • How to create and deploy portal applications for WebLogic TP10

    Hi Friends:-) Thej here,
    I want to know, how to create weblogic portal applications for tech preview version 10.
    Thanks

    The Tech Preview of 10.0 contains only WebLogic Server. WebLogic Portal 10.0 functionality is not contained in this preview. Therefore, you cannot create portal applications in this Tech Preview.
    Thank you.

  • How to create and deploy a war file on wls using the console

              my question is how to deploy the simpleSession.jsp example in the weblogic/samples/examples/jsp/
              dir examples as a war file on wls cluster what are the steps to do so.. thanks
              in advance
              

    [att1.html]
              

  • How to package and deploy Acrobat Standard without a Serial Number?

    Hello,
    In our environment we package applications without Serial Numbers depending on what it is.  We do this so we can actively manage applications and we don't need to buy a licence for each and every user.  If you never run the app, you don't need a licence, if you leave the firm we know what licenced apps you have and so can redeploy to someone who needs it.
    How can we deploy Acrobat Standard to some of our users without a S/N attached?  I've deployed Acrobat Pro using the trial software, when the user fires up Pro they have to enter a Serial Number before they can move on.  Is there such a feature for Standard?
    We really don't want to have to do a manual install for 60+ machines it would be a massive waste of time.
    Any thoughts on the best way to proceed here?
    Thanks
    Mark

    Those numbers should be on the internet. Apologies if my answers are confusing. I'll try again:
    You can't deploy without a serial number.
    You need a volume license.
    Use the Wizard to customize the installer.
    The Wizard allows you to preserialize the installer.
    Updates don't need to be serialized. Just chain the latest update with the base install as described in the Admin Guide. Alternatively, you can do it later.
    As far as adding seats, I don't know the answer. The Admin Guide links to licensing FAQs, but you can also try the Licensing Web Site, support, or your sale's person. You could also try creating another thread with the "add seat" question in the title.
    hth,
    Ben

Maybe you are looking for