How to connect to weblogic?

I have an ADF web applicaton that contains 2 projects, model-ViewController.
I create another project named Build and it has an xml file, ojdeploy - build.xml.
However, how to connect to the domain of weblogic in ojdeploy - build.xml?

-ojdeploy - build.xml.
<? XML version = "1.0" encoding = "US-ASCII"? >

<!-sets the default settings for any deployment tasks.
Also defines some variables strictly for use in this file
in macros
->
< ojdeploy-construction >
< deployment >
< parameter name = "workspace" value="E:\SOAworkspace\otnapp\otnapp.jws"/ >
< name of the parameter = value "profile" = "*" / >
< name of the parameter = "nocompile" value = "true" / >
< name of the parameter = "nodatasources" value = "true" / >
< name of the parameter = "forcerewrite" value = "true" / >
< parameter name = "outputfile" value="E:\SOAworkspace\otnapp\deploy\otntest.ear"/ >
"< property name ="wl_server"location="D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server "/ >

< / deploy >
< / ojdeploy-construction >

This blog gives you a start http://blogs.oracle.com/smuenchadf/2009/11/online_help_for_ojdeploy_utili.html
But I can say that ojdeploy creates just the EAR file. It does not deploy it to a WLS. For this, you can use WSLT.

Timo

Tags: Java

Similar Questions

  • How to connect using weblogic java

    I need to use JAVA to connect to WebLogic and collect information from data source. Could someone - paste example code?

    Hello

    The exception is due to jndi.properties not in classpath when you run stand-alone classes, you must make sure that it is in the class path when running outside the container.

    Here's the code to provide credentials and get all data sources:

    Hashtable ht = new Hashtable(); 
    
    //Sets login credentials
    ht.put(javax.naming.Context.SECURITY_PRINCIPAL, "weblogic");
    ht.put(javax.naming.Context.SECURITY_CREDENTIALS, "weblogic1");
    
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    
    try {
        InitialContext initialContext = new InitialContext();
    
        //List all data sources
        NamingEnumeration ne = initialContext.list("jdbc/");
        while (ne.hasMore()){
         NameClassPair nameClassPair = (NameClassPair)ne.nextElement();
         System.out.println("Data Source Name   " + nameClassPair.getName());
        }
    }catch (NamingException ne) {
        ne.printStackTrace();
    }    
    

    Jean Lou

  • How to connect weblogic 9.2 with LDAP Port 636 (SSL Enabled)

    Hello

    We are currently connecting the weblogic administration console to LDAP using the port 989. Can someone tell us the details on how to connect Weblogic to Port 636 (SSL enabled).
    Requires you to install certificates of security for the same thing?

    Thank you

    Yes, the certificate will be provided by the LDAP Service provider.

    Check the SSL Configuration of the Weblogic Server.

    If using demo identity and demo trust, import the following

    keytool - v-import - alias ldapcert - keystore DemoTrust.jks - cert.cer - storepass DemoTrustKeyStorePassPhrase of the file

    If its custom identity and trust personalized, use the command below

    keytool - v-import - alias ldapcert - keystore cert.cer .jks-file - storepass

    Hope this helps,
    Faisal

  • How to create the WebLogic JCA connection factory?

    Hello

    My DB adapter throw error when running.

    The reason is most likely that either 1) the resource adapter RAR file has not been deployed successfully to the WebLogic application server or

    (2) the "< jndi name >" element in weblogic - ra.xml has not been defined in eis/DB/Connection1. In the latter case, you need to add a new factory of connections from WebLogic JCA (deploy a RAR).

    Please fix this and then relaunch the Application Server please make sure that the JCA connection factory and dependent connection factories have been set up with a sufficient limit for max connections.
    Please also make sure that the physical connection to the EIS server is available and the backend itself accepts connections. ".

    The called JCA adapter threw an exception of resource. Please review the error message above carefully to determine a resolution.


    Please give me a link tat will explain all stages of creation of JCA connection factory, very clearly.

    Kindly help me!

    Thank you
    Sabarisri. N

    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/jcatransport/transport.html

  • the connection of WebLogic connection pool timeout issue too soon

    We are having a problem with the connection to weblogic pool. Our web application is based on the Spring Framework, deploy to Weblogic using the data source to connect to Oracle. We use a duration of 1 min and max setting of connection pool 15 on weblogic. But the problem that we face is that the pool does not manage any connection as a pool. Each request makes a new connection to the Oracle server and right closed within a few seconds of connection. The number of new connections could be easily up to more than 100 within 10 minutes.

    Is there a timeout parameter to check the living connection? Could someone please share your thoughts how to solve the problem? Your help is really appreciated.

    Framework Spring (2.5.3), Weblogic (10.3), Oracle (11 g 2)

    This is the setting on our data source:

    -----------------------
    Driver class: oracle.jdbc.OracleDriver

    Initial capacity: 30
    Maximum capacity: 30
    Ability to increment: 1
    Type of instruction Cache: LRU
    Statement Cache Size: 10

    Test the connections on the reserve: checked
    Test frequency: 120
    Name of the test Table: SQL SELECT 1 FROM DUAL
    Seconds to trust an idle connection pool: 10
    Reduce the frequency: 900
    The login retry frequency: 0
    Connect time: 0
    Timeout:0 connection inactive
    Maximum pending connection: 2147483647
    Timeout:10 store login
    Reporting deadline:-1
    Ignore the connections in use: checked
    Pins-wire: unchecked
    Remove Infected connections Enabled: checked
    ---------------------
    Of the tracking tool, we have seen the following statistics:

    Average number of active connections: 0
    Current number of active connections: 0
    High number of active connections: 1
    Total number of connections: 1523
    Current capacity: 1
    Doesn't have a number of requests for reserve: 46
    More high Num available: 30
    Number of connections leak: 0
    Wait for the high number of seconds: 0
    Number of requests for reserve: 1531

    Other parameters are all 0.

    --------------------------
    For the adjustment of the spring:

    < bean id = "ourdatasource" class = "org.springframework.jndi.JndiObjectFactoryBean" >
    < property name = "jndiName" > < value > weblogic.datasource < / value > < / property >

    <!-adds the following to the question if debugging caused by cluster or not->
    < property name = "cache" value = "false" / >
    < property name = "lookupOnStartup" value = "false" / >
    < property name = "proxyInterface" value="javax.sql.DataSource"/ >
    < / bean >

    Try to uncheck ' delete infected enabled connections "and let me know...

  • How to connect my i phone 6 to 10 on my computer windows

    How to connect my I Phone 6-10 Windows on my computer

    An iPhone will pair not via Bluetooth to a computer (Mac or Windows) with the exception of hotspot and then only if your cell phone plan he supports. See below for more information. https://discussions.Apple.com/docs/doc-7722

  • How to connect to itunes for ipad airplay without using computer?

    HOW to CONNECT IPAD AIRPLAY to ITUNES WITHOUT the HELP of a FULL ❓l

    There is no need to shout. What you're trying to use AirPlay to stream content from your iPad to?

    Using AirPlay: How to use AirPlay on your iPhone, iPad or iPod touch - Apple Support.

    (I asked for your message to be moved to use iPad forum, where you have posted is for questions about the iTunes U app.)

  • How to connect new IMac to old IMac to transfer files?

    I need to plug my June 2010 IMac in a new IMac 2016 to transfer data.  What cable do I and what ports should I use to connect?

    Thank you.

    Gina

    You can do it with an Ethernet cable (and on two Macs Ethernet ports) and use file sharing.  You can also connect via WiFi, but the transfer speed will be slower.  If both Mac connected to the Internet via a common router, you already have a link between two Macs.  Here is information on file sharing

    How to connect with the file sharing on your Mac - Apple Support

    There is also an automated tool called Migration Wizard, if duties are not suitable for your task

    Move your content to a new Mac - Apple Support

  • How to connect a new MacBook in my time for the initial file transfer capsule

    How to connect a new MacBook to my existing time capsule to transfer files as part of the first implementation of my MacBook?

    You say that you have a new MacBook and that you have posted to the forum for the retina MacBook 12 "section, but your tag indicates that you have a MacBook Pro. Please specify.

  • How to connect a drive to a 2015 iMac firewire external

    How to connect an external drive firewire to an iMac of 2015 for use with time machine?

    See love at first sight to FireWire adapter

    Apple Thunderbolt cables and adapters - Apple Support

  • Want to 750-209: how to connect an old sound system to a new computer

    I wanted a new 750-209 and a former speaker of Cambridge Soundworks PCWorks 19th Point Surround 4 + under low voltage. There are 2 connector; Left and right who are article 3 (each take manages 3 drivers). The envy has 1 output. It seems that I need a derivation ending in female connectors.

    My question? How to connect the two? Is it still possible? I'd hate to have a decent sound system of junk. My needs are basic - just to be able to listen on AOL or YouTube.

    Any ideas on how to accomplsh my goal.

    Just to close this debate; unfortunaely the quick response has not responded to the problem. BestBuy has suggested that I try a composed of derivation of a shot and 2 containers. Finally, I got the system works 'after' discovery that the enormous power brick disliked the new arrangement of power when I replaced the old computer with the desire. I had to replace an adapter 3 - wat and consolidate the brick. A lot of noise to get her old system to work but now I have the choice of speakers or headphones driven by a hold on a HDMI monitor. All's well that ends well. Thanks for the interest.

  • How to connect two computers and LAN

    I can't get my toshiba to interface with my desktop computer or to connect to the internet via a CAT5.
    I tried everything I know.

    I'm not too sure about the LAN MAC? He just will not connect even if the device is functioning properly.

    Any ideas?

    Here are the instructions how can connect the two computers.

    -First of all, you will need to disable the firewall.
    -Then you need to set the same workgroup on both computers
    -in the Lan Card Properties-> Protocol TCP/IP settings, you must assign the IP address manually. That is, a computer must use the 192.186.50.1 ip address and the other computer must be set to 192.186.50.2.
    -MAC address is fixed and cannot be changed. Each LAN card uses unique mac address

    After these settings, you must restart the portable computers (computers)

    PS: I recommend Google for details and further instructions.

  • Satellite A200 - how to connect to the TV?

    Hi you.

    How to connect my laptop to the tv with a S - video Cable Media or VGA - RGB cable? I tried to connect by Fn + F5, but no signal goes out. If I use the VGA - RGB cable + something is comeing out on TV but its streaming.

    Kindly help me...

    Hello

    You can use two cables to connect your laptop to the TV. It s according to the interfaces on the laptop and the TV, but in both cases, it of the same:
    Connect the cable to the laptop and TV, turn on your TV and select the right channel, then turn on your laptop. After the clean boot procedure, you can switch between monitors with FN + F5.

    If you use S-Video cable make sure you are using the coding system good TV, e.g. PAL or NTSC.

    > If I use the VGA - RGB cable something's come out to TV but its streaming.
    What settings did you use (screen resolution, screen refresh rate, etc.).

  • How to connect a TOSHIBA 28W23 to the other PC?

    I posted this on a number of sites different forum but no one really knows the answer.
    Thus, its what

    If I have an old TOSHIBA 28W23 - how it connectable to an other PC gx270s?

    If someone has any advice id love it.

    It depends on the ports/plugs available.

    Don t know both devices but maybe your laptop supports a SCART.
    In this case you must use a cable SCART.
    Is the computer supports s-video port? If Yes, then you can use a cable SCART-s-video to connect the two devices.

  • How to connect a Toshiba TL838 with facebook profile?

    How to connect a Toshiba TL838 with facebook profile?
    When I try to connect toshiba generate email with info and links for connect facebook with toshiba accounts places but when I click on the links I see only errors.

    _ * EDIT * _

    * Ok I flashed the QR code with my phone and now is connect :) *.

    Moderators please close thead

    Post edited by: junioreks

    > Ok I have flashed the QR code with my phone and connect now :)

    Thanks for sharing!

Maybe you are looking for

  • Satellite U400 - it can not turn on

    Hello I have a Toshiba Satellite U400 (PSU40E) and last night, while I was watching a movie on my laptop, it suddenly turned off. I tried to turn on my laptop, but I wasn't able to do that. When I press the 'Power', the light button, the fan starts t

  • Re: Map Satellite M60-104 PCI Slot or Express Card Slot?

    HelloI'm confused about what type of adapter should I buy for my expansion slot, on the button, it says that my laptop have card PCI II type: type: express card slot. So far what I've read, it's the type of card PCI II differ from Express card. I jus

  • Get an error trying to update.

    to fffffffe of error when you try to install an update of window security.

  • Windows 7, hp printer will not work. should which driver I?

    New computer has windows 7 My downloaded disk, hp psc 1300 series, series photosmart psc2400, hp officejet 5500 series. Windows 98, me, 200.xp LeRoy

  • a W7 invalid or a W8 valid to upgrate to 10

    I have Windows 7 on this pc and Windows 8.  My brother, who was in College, got free W7 of instructors.  He gave me the computer, but I don't like W8. On the W7 license has expired and I can't afford to update. I want to upgrade to 10, but it doesn't