Create and deploy a WAR file

Hello

We use OBIEE 10.1.3.4.1 and Oracle Application Server 10.1.3.1.
We need to recompile the analytical war file and make a new deployment of it after a patch.

But I'm not sure how to do this.
Can someone please guide me to do this in a Linux environment.

Thank you.

Google is your friend. With a Java JDK bin directory installed on your path variable, you can use these commands:

Extract a WAR file:

jar - xf [War file] .war

Create a WAR file:

jar - see... \[War file] .war *.

You can pack the WAR files into Windows and then transfer them to Linux or pack them directly in Windows, it does not make a difference.

Tags: Business Intelligence

Similar Questions

  • create and deploy virtual computer

    Hi all

    I want to create a VM and deploy virtual computer by using ISO image. I need to automate this process using powercli.

    Could you please provide me with an example script to do this.

    Thank you

    Kalai

    You will need to change the boot order in the BIOS of the virtual machines to boot from the CD.

    Take a look at specify bootable for a virtual machine devices

  • Open/create and write to multiple files

    I'm doing data acquisition high speed and save data in the file.  I will acquire a large amount of data, so save in one file would result in my file to jump in size.  This is why I would like to save my data in several files.  I'm trying to figure out how to open several files, then choose which of the file to write to.  My approach is to open/create multiple files and save their refnum into an array.  Then I would choose what file to write from this array.  I enclose my VI, everything I have so far.  It seems to me to get errors, the "Double-track" or "input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @. "How could start with this problem?

    Figured it out...

    Sorry for the inconvenience!

  • Can I dynamically create and disseminate a JAD file?

    I have not tried yet but wanted to know if it is possible:

    I want to create a JAD file on the fly, but do not want to store on my web server, so I was wondering if I could create the JAD on the fly and at the same time send to the client requesting it:

    .. out.println( "RIM-COD-URL-1: MyApp.cod");out.println( "RIM-COD-Size-1: 15000");
    out.close();..
    

    Also, I have a full path as the location of the .cod?

    .. out.println( "RIM-COD-URL-1: /blackberryapplication/cods/MyApp.cod");out.println( "RIM-COD-Size-1: 15000");
    out.close();..
    

    No, you must be able to reach the URL in jad for cod.

    but you can go further and make COD links in the generated jad ALSO go through a servelet that writes binary data.  You need to set the MIME types and all well thought.

  • Create and deploy a custom signature ID

    I know how to write a snort signature, and it is very easy to deploy than the signature. But I don't know if I can do the same thing for cisco ids, I mean easy customization signature and signature fast deployment.

    The simplest scenario is to use the new wizard's Signature custom in the latest versions of 4.1 of the sensor:

    http://www.Cisco.com/univercd/CC/TD/doc/product/iaabu/csids/csids10/idmiev/swchap3.htm#31623

    If you use IDS MC for the configuration, then I recommend using the Signature Wizard to create the signature on a sensor, then using the fields created, you can add this signature in IDS MC for deployment on multiple sensors.

    http://www.Cisco.com/univercd/CC/TD/doc/product/rtrmgmt/cw2000/cw2000_b/vpnman/vms_2_1/idsmc11/UG/CH05.htm#520329

    Step 5 to add signatures

  • How to create and save the Excel file at the dam using java

    I'm trying to create an excel spreadsheet and save it in the dam. I am able to create Excel in the dam, but no data is it than excel. I use the following codes to create.

    String filename = "updatedMetadata.xls";

    FileOutputStream fos = new FileOutputStream (filename);

    Workbook WritableWorkbook is Workbook.createWorkbook (new File (filename));.

    WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);

    Label = null;

    label = new Label (0, 0, "Header1");

    writableSheet.addCell (label);

    label = new Label (0, 1, "tête2");

    writableSheet.addCell (label);

    label = new Label (0, 2, "Header3");

    writableSheet.addCell (label);

    label = new Label (0, 3, "Header4");

    writableSheet.addCell (label);

    label = new Label (0, 4, "Header5");

    writableSheet.addCell (label);

    label = new Label (0, 5, "Header6");

    writableSheet.addCell (label);

    label = new Label (0, 6, "Header7");

    writableSheet.addCell (label);

    label = new Label (0, 7, "Header8");

    writableSheet.addCell (label);

    label = new Label (1, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 4, "Col. val" "");

    writableSheet.addCell (label);

    label = new Label (1, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 7, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 4, ' Col. val "" ");

    writableSheet.addCell (label);

    label = new Label (2, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 7, "col val");

    writableSheet.addCell (label);

    Workbook.Write ();

    Workbook.Close ();

    ResourceResolver resourceResolver = request.getResourceResolver ();

    AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);

    InputStream is = this.getClass () .getResourceAsStream ("/ content/dam/company/fileFolder /" + filename);

    Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);

    File is created in the path "/ content/dam/company/fileFolder / '.

    The file name is "updatedMetadata.xls".

    Thanks in advance

    Mahesh Narayanan

    I found it myself. I share the code so that in the future someone else can use it.

    String filename = "updatedMetadata.xls";

    ExcelFile to the file = new File (filename);

    Workbook WritableWorkbook = Workbook.createWorkbook (excelFile);

    WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);

    Label = null;

    label = new Label (0, 0, "Header1");

    writableSheet.addCell (label);

    label = new Label (0, 1, "tête2");

    writableSheet.addCell (label);

    label = new Label (0, 2, "Header3");

    writableSheet.addCell (label);

    label = new Label (0, 3, "Header4");

    writableSheet.addCell (label);

    label = new Label (0, 4, "Header5");

    writableSheet.addCell (label);

    label = new Label (0, 5, "Header6");

    writableSheet.addCell (label);

    label = new Label (0, 6, "Header7");

    writableSheet.addCell (label);

    label = new Label (0, 7, "Header8");

    writableSheet.addCell (label);

    label = new Label (1, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 4, "Col. val" "");

    writableSheet.addCell (label);

    label = new Label (1, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 7, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 4, ' Col. val "" ");

    writableSheet.addCell (label);

    label = new Label (2, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 7, "col val");

    writableSheet.addCell (label);

    Workbook.Write ();

    Workbook.Close ();

    ResourceResolver resourceResolver = request.getResourceResolver ();

    AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);

    InputStream stream = new FileInputStream (excelFile);

    Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);

  • RT code works since the LabVIEW environment, but not when I create and deploy

    I think there are a lot of reasons why this can happen, but I can't seem to pin one.

    I have a classic controls program that runs on a cRIO. We recently decided to change the communication of a ProfiBus comsoft on Ethernet/IP card. (Industrial Protocol for Allen Renaud automata). For various reasons, we put the fuse in communication in the control loop.

    Now when I run the LabVIEW now, it works fine. I can see data going to and coming from the controller. I can sniff packets and they look good. I get about 30 milliseconds on the loop, which is long, but since I am running in the IDE, I think is not bad. (In other words, I get data in and out every 30 milliseconds).

    When I compile and set the binary on the cRIO, it breaks. I can still sniff packets, but what I'm getting now, is that all traffic to the controller of read requests. My write requests are missing. In addition to reading queries are poorly trained. Rather than ask 43 items in a table, they ask 1.

    A test that I tried was to disable the read request. For the binary file, I don't see any traffic. For the IDE, I see write queries.

    I use LV 2009 SP1. I have the version of NOR-Labs of the Ethernet/IP driver. (We have a request for a quote, but do not have the official driver.) In the meantime, faster I get this done, the happier everyone will be ;-)

    Any suggestions?

    Attention to the nodes of property which is usually my problem when it happens.  Some who say they work in RT do not work in compiled RT

  • deployment of war on weblogic 10.3.4 files

    I have a weblogic 10.3.4 field and a war (smap.war) file. Can I deploy the war file using the weblogic console (10.3.4).
    However, I can't the ant (wldeploy 11.1.1.4) to deploy the war file. It shows error as follows.
    This file area and weblogic of war is in the same machine.

    ------------------error---------------------------

    [wldeploy] Task 27 failed: [Deployer: 149026] deploy the application smap.war on AdminServer.

    [wldeploy] Target State: deployment has failed on the AdminServer Server

    [wldeploy] weblogic.descriptor.DescriptorException: VALIDATION of the PROBLEMS have BEEN FOUND

    [wldeploy] problem: cvc-complex - type. 2.4: expected for element 'servlet-name @http://java.sun.com/xml/ns/javaee' instead of 'description @http://www.w3.org/2001/XMLSchema-instance' here @http://java.sun.com/xml/ns/javaee servlet element: < null >

    [wldeploy] problem: cvc-complex - type. 2.4: expected for element 'servlet-name @http://java.sun.com/xml/ns/javaee' instead of 'display-name @http://www.w3.org/2001/XMLSchema-instance' here @http://java.sun.com/xml/ns/javaee servlet element: < null >
    [wldeploy] to weblogic.descriptor.internal.MarshallerFactory$ 1.evaluateResults(MarshallerFactory.java:245)
    [wldeploy] to weblogic.descriptor.internal.MarshallerFactory$ 1.evaluateResults(MarshallerFactory.java:231)

    ---------------------------build.xml------------------------
    <? XML version = "1.0" encoding = "UTF-8"? >
    <! - ant buildfile generated by Oracle JDeveloper - >
    <!-generated on March 11, 2011 15:52:31 >

    < by default of the = "init" project >
    < target name = "init" >
    < tstamp / >
    < / target >

    < name = "wls.username property" value = "weblogic" / > "
    < name = "wls.password property" value = "welcome1" / > "
    < name = "wls.hostname property" value = "localhost" / > "
    < name = "wls.port property" value = "7001" / > "
    < name = "admin.server.name property" value = "AdminServer" / > "
    < name = "deploy.target property" value = "AdminServer" / > "
    <!-here, you can specify either NOMCLUSTER, IndividualServerName as 'ManagedOne' or list of Managed/AdminServer separated by commas-->
    "< name ="deploy.name property"value =" smap.war "/ >
    < name = "deploy.source property" value = "E:\SVN_Root\smap_Build" / > "


    < taskdef name = "wldeploy" classname = "weblogic.ant.taskdefs.management.WLDeploy" >
    < classpath >
    < pathelement location="D:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar"/ >
    < / classpath >
    < / taskdef >

    < target name = "szmap" depends = "init" >
    ".. destfile="${deploy.source}\smap.war of war.
    webxml="${deploy.source}\smap\WebContent\WEB-INF\web. XML">
    < dir="${deploy.source}\smap\WebContent"/ fileset >
    < dir="${deploy.source}\smap\build\classes"/ classes >
    < / war >
    < / target >

    < target name = "deployX" depends = "init" >
    < echo message = "deploy.source=${deploy.source}"/ 27 > "
    < echo message = "deploy.name=${deploy.name}"/ 28 > "
    < wldeploy action = "deploy".
    Name = "${deploy." Name} '.
    source = "${deploy." Source}-${deploy. Name} '.
    User = "${WLS." UserName} ".
    nostage = 'true '.
    Password = "${WLS." Password}.
    verbose = "true".
    adminurl = "T3: / / ${WLS." "HostName}: ${WLS.port} ' targets =" ${deploy.target} ""

    Debug = 'true '.
    / >
    < / target >

    <! - transfer Applications - >
    < a name = target "redeploy" >
    < wldeploy action = "redeploy".
    Name = "${deploy." Name} '.
    User = "${WLS." UserName} ".
    nostage = 'true '.
    Password = "${WLS." Password}.
    verbose = "true".
    adminurl = "T3: / / ${WLS." "HostName}: ${WLS.port} ' targets =" ${deploy.target} "/ >"
    < / target >

    <! - Uneploying Applications - >
    < target name = "undeployX" >
    < wldeploy action = "cancel the deployment.
    name = "szmap".
    FailOnError = "false".
    User = "${WLS." UserName} ".
    Password = "${WLS." Password}.
    verbose = "true".
    adminurl = "T3: / / ${WLS." "HostName}: ${WLS.port} ' targets =" ${deploy.target} "/ >"
    < / target >

    < target name = "all" depends = "init, deployX" / >

    < / project >

    You can package wsdl4j - 1.6.2.jar in your WAR file and place it in the WEB-INF/lib directory.

    Using the deployment substitute weblogic.xml (that you already have - prefer-web-inf-classes) you can ensure
    the jar in the WEB-INF/lib drectory gets preference over the classes loaded into the classpath system (WebLogic classpath).

    This entry is already in your weblogic.xml file

    
       true
    
    

    When you compress your additional jar files in the WEB-INF/lib directory you can leave out the referees of the library.

    When you want to use shared libraries, you must wrap the pots in a WAR file, for example with the following structure:

    META-INF
        MANIFEST.MF
    WEB-INF
        lib
            wsdl4j-1.6.2.jar
        web.xml
    

    The contents of the MANIFEST. MF might be something like:

    Manifest-Version: 1.0
    Created-By: 1.6.0_05 (BEA Systems, Inc.)
    Extension-Name: wsdl4j
    Specification-Title: WSDL Library
    Specification-Version: 1.6
    Specification-Vendor: Middleware Magic
    Implementation-Title: WSDL Library
    Implementation-Version: 1.6.2
    Implementation-Vendor: Middleware Magic
    

    When you use this shared library, you can use weblogic.xml in your file. WAR to designate it, for example.

    
        wsdl4j
        1.6
        1.6.2
        true
    
    

    You can also create new WAR file that contains another version of wsdl4j and you specify this version in the MANIFEST. MF file
    and refer to it using weblogic.xml.

  • A war file deployment

    Hi all

    I am newbie for weblogic. I tried to deploy a war file and that works very well. But when I change the code in my eclipse, so I can get the change in the logic of the web.

    For example at the start.

    My outs weblogic:

    Hello! The time now is Thu Mar 14 10:05:09 EDT 2013 the get path is C:\Oracle\Middleware\user_projects\domains\weblogic_domain\servers\AdminServer\tmp\_WL_user\one\i29k6\war

    But now, if I change my code in Eclipse and add "Hello" to the output (i.. e this.retPath + 'Hello'),
    I get

    Hello! The time now is Thu Mar 14 10:05:09 EDT 2013 the get path is C:\Oracle\Middleware\user_projects\domains\weblogic_domain\servers\AdminServer\tmp\_WL_user\one\i29k6\warHellooooo

    I couldn't understand how my java class code is being directly linked with the war file weblogic is deployed, when I'm not even a reconstruction of the file. War.
    It's really pissing me off. Anyone have any idea on this?

    Thank you
    Augustine

    Published by: 993930 on March 14, 2013 07:11

    Hello

    This thread, it seems that you use the auto-deploiement feature.
    Whatever it is a war, ear or an application has exploded so deployed from $WL_HOME/autodeploy admin server keeps a watch on the current file. Admin Server regularly checks the last modified date of war and ear for the search app exploded for a "redeployment" file and is it is the modification time has changed, it will be auto-déployer the application.

    For details, see http://middlewaresupport.wordpress.com/2013/02/20/understanding-weblogic-deployment-techniques/

    Thank you
    Ranjan

  • Failed to create the deployment as EAR - redhat jdev 11.1.2.3 profile 5.8

    Hello:

    Previously, whenever I have deployed an ADF to WebLogic application is was like an EAR.

    Now when I try to create a deployment profile, creating the EAR is grayed out.

    When I right click on the ViewController project and select deploy the two options that come up are - deploy to AppServer and deploy to WAR
    but no EAR.

    What I am doing wrong? I thought all ADF apps would be deployed as the ear. Is this correct?

    Setting controls this and how do I define Jdev to deploy the ear?

    Thank you very much.

    Hello.

    You can deploy an application of JDeveloper as an ear. This does not work for different projects. You can create a profile of EAR deployment although the properties of the Application.

    Best regards

    Frédéric.

  • How to deploy oasa.war in Weblogic 10.3

    How to deploy oasa.war in Weblogic 10.3?

    Thank you

    I believe that this should just be good deploy the war file. Try it and let me know.

    Published by: rajsunny on July 17, 2009 12:14

  • Creating and linking to data in a dynamic way

    Hello world

    I have created a form that is available in different languages. That's why I created a radiobutton by language and when you click on one of these buttons, I have dynamiccally bind the XML fragment with a knot existing (javascript code):

    xfa.data.node.loadXML (xml, true, true)

    It works, because I view the XML code in a separate text field to check.

    Later, I want to dynamically bind the elements of my text to the data. Therefore, I have already created links to the XML nodes to be generated later (such as xfa.data.node.tag1.tag2).

    However, I never see the content of the nodes, not even if I create and link the XML file on the initialization of the root element event (so without choosing a language, but certainly before the limit elements are loaded).

    I can see the text when I change a text field calculate event as follows.

    XFA. Data.Node.tag1.tag2.Value

    I am able to access the XML nodes, but for one reason or the other link does not work.

    Someone knows how to fix this? Any help would be greatly appreciated!

    Kind regards

    Tim

    Unfortunately dyna, TR ic data binding not supported in the current version. That is to say that once the form is rendered set binding is not editable. You can read the property, but you cannot change it.

    Paul

  • Can deploy us the fusion ADF in logical server web application war file? EAR works only

    I created a fusion ADF application in Jdeveloper.

    When I deploy it as a WAR in integrated weblogic server file. -works fine.

    When I deployed in the file. WAR in stand-alone weblogic server. -.

    It gives me error 500.

    In the console (startweblogic.cmd) ""java.lang.NoClassDefFoundError: oracle, adf, model, RegionBinding "."

    Then I found on the internet that deploying any application like EAR would solve. Yes. He has indeed solved. My application works well in stand-alone weblogic.

    Now my question is "can deploy us not like war in stand-alone weblogic?

    The war file works quite well under the integrated form but not in stand-alone. Why?

    PS: I have installed the runtime of the ADF, established the deployment profile to deploy a web application.

    Thanks in advance.

    Dear user,

    ADF applications can only be deployed as an EAR file (actually it's what JDeveloper when you run an application.) It creates an EAR on the fly and deploy it on the built-in WLS).

    Please see Deploying a Java EE Application ADF - 11 g Release 1 (11.1.1.6.0) for more info.

    In the future, can you please provide us with some basic information such as your version of JDeveloper.

    Concerning

    Antonis

  • How to create a Web services to an external service and deploy to weblogic

    Hello

    I am trying to create a Web service for the wsdl
    http://ABR.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx?WSDL
    who will help me to validate the number of the NBA.

    And I would like to create a war file and deploy it to a weblogic server,
    But the server is running behind the firewall,
    I could run the webservice of jdeveloper, but when deploy us in weblogic server
    the Web service does not work,

    We need to give the parameter in the Web service itself or the proxy details must exist in the weblogic proxy server?

    Thank you.

    With respect,
    Kali.
    OSSI.

    Kali,

    IMO, it would be preferable to apply the proxy settings on a global scale.

    I can't see a specific proxy settings page on my weblogic instance. Perhaps, you must add the properties of the JAVA virtual machine directly in the weblogic startup script.

    Edit: For a server JVM Arguments can be configured in the WLS console-> choose the server and go to Configuration-> start server.

    Published by: BijeshKrishnadas on October 18, 2010 21:01

  • ColdFusion 8 project via EAR/WAR file deployment

    I was wondering what considerations to make when deploying a ColdFusion 8 project in the form of EAR/WAR file. Is it possible to create the file on a computer (for example: development) and run it on another (e.g.: Server)?

    ecalibur_lk wrote 2010-01-14 23:47:

    With ColdFusion packaged in the EAR, do you have ColdFusion installed on the environment that you deploy it on to make it work?

    N ° you must have a server JBoss J2EE or JRun.

    If so, does make a difference on what version of ColdFusion, it comes with (for example: Developer or Enterprise edition)?

    If you want to we package our EAR files without a license key and

    Let our clients to ensure they have the appropriate licenses

    for their environment. If you put a key in the properties file, we use

    the API of Admin to register the instance. If they don't put a key the

    properties file, the instance is a developer edition.

    Do you know a place that describes how to generate a file EAR via ANT and how to deploy?

    http://www.Adobe.com/devnet/coldfusion/articles/ear.html

Maybe you are looking for