Weblogic no-stage mode deployment from remote machine

Context:
1. Build server is on machine A, where ant script builds the file and package ear
2. WLST deployment.py script is on build server (machine A).
3. weblogic admin server in machine B. The managed servers are on machine B and C.
4. ear file is copied to NFS shared drive mounted on server B and server C.
5. The deployment.py (which is on machine A) connects using WLST to Admin server of machine B to execute no-stage mode deployment
Question:
In above scenario it is observed that deployment fails and observed that though deployment.py is connected using WLST of remote admin server(machine B). the WSLT deployment command tries to validate .ear path on machine A. Is this constraint of the WLST? or Can the WLST deployment command can be invoked form script (in this scenario deployment.py) from build server (machine A) connection to admin server (machine b)?

Hi,
Make sure that you give App path in NFS shared location instead of the Machine A.
You build every thing was successful but when you place the app you need to specify application location. I hope you place app in the shared location.
Regards,
Kal

Similar Messages

  • Error in calling EJB Client from Remote Machine.

    While running the client from local machine, it works perfectly.
    But when I try to run the same client from remote machine it gives me the error.
    I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
    Following is the code snippet from the clint.
    Context initial = new InitialContext();
              Object objref = initial.lookup("192.168.0.20/MyTemperature");
              home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
              Temperature degreeConverter = home.create();Following is the error
    E:\EJBRemoteTest>java TempClient.TemperatureClient
    May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nnectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 more
    Caught an unexpected Exception!
    javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
    ption is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: N
    o]
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:66)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed:
    No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 moreThis is a stateless session bean.
    Can anybody provide me solution for this
    I also tried with java.util.Properties class but result is same.

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • Linked server problem, its works locally but not from remote machine

    Hi,
    i am using the application NAV and have written the query in the application. am using automation variable to link to the SQL Server.
    The problem is that , the query which i have written executes only when i am working on local machine .
    I mean when i want to execute the same query from remote machine through my app Dynamics NAV then its not getting executed.
    Thanks in advance

    Depends on what you are trying to do and what security you are using.
    What error did you get?
    If you are using windows authentication then take a look at delegation
    http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Launch exe from remote machine

    Hi All,
    How can I launch an executable residing in machine A from machine B?
    I'm trying web services but no luck.
    Am I the wrong track?
    Thanks a lot

    What does "I'm trying web services but no luck." mean? As I see it, you have two separate things to accomplish here. One is the launchiing of the executable locally. The other is the triggering of that event remotely. Deal with one, then the other. Much simpler. That is, encapsulate the launching in a single method call, then work on calling it remotely. Then your problem is simply "How do I call a method remotely?", and entirely decoupled from details such as "launch exe from remote machine"

  • Tail command to read httpd log from remote machine

    hi!
    does anyone know how to read the httpd log file using the tail command froma remote machine?
    i have a mac using osx sharing the internect connection to other machines. this machine has the http server running on it and i would like to check the httpd log file (from this server) from my computer in the same LAN.
    can anyone help please??
    G5 2.5ghz dual   Mac OS X (10.4.4)  

    As Ashish rightly said, you need to use ftp/scp.
    You can create a shell script on unix machine. Which shall copy the file from Windows machine to Unix machine on particular directory. Then you may need to change permissions of the file.
    Once that is done, same shell script can call procedure in oracle.
    You can schedule this shell script in Crontab to run at specified time daily, if you the timing of availability of file.
    Regards,
    Arpit

  • Using MS Access as Database from Remote Machine

    Hi All
    I am trying to use MS access as Data base, I have done the following.
    1. I have Added the mdb file on a remote machines DSN.(Control Panel->Admin Tools->ODBC->System Tools)
    2. In xMII data services->Data Servers, Copied the Default IDBC Server, renamed it and updated the ServerURL as  jdbc:inetdae:<IP of Remote machine>:1433?database=<DB Name>&sql7=true.
    With these things done, I am not able to get the Data Server Accesible.
    Please correct what mistake I have made.
    Thanks and Regards
    Rupesh

    Rupesh,
    First Access is not a very good database... I would suggest using MSSQL, MySQL, or some other 'real' database. But I digress...
    The only supported way to get the data you want from Access is by... you guessed it... the <b>xMII OLEDB UDS</b>. Sure you could try the JDBC - ODBC bridge, but this seems to be shaky.
    Martin - seriously... I'm trying to get the UDSs out to all of you!

  • Running ldifmigrator/ldapadd from remote machine

    Hi,
    I installed Infra with OID on machine-1. I am now trying to run ldifmigrator on machine-2 while doing a lookup on the oid on the first machine. Is there some problem with this ?
    The command works fine when I run it locally on machine-1. The command is:
    <--------------------------------------------------------
    ldifmigrator "input_file=d:/config/ldap/system-oid.sbs" "output_file=d:/config/ldap/system-oid.ldif" -lookup "host=machine-1" "port=333" "subscriber=idc" "s_UserCommonNamingAttribute=cn" dn="cn=orcladmin" password=welcome1
    -------------------------------------------------------->
    When I run this command on a remote machine say machine-2 then i get the error:
    <----------------------------------------------------
    Unable to establish connection to directory. Please verify the input parameters:
    host, port, dn & password
    returnInitialLdapContext() times out after 10000 ms - JNDI initialization method
    not returning
    ----------------------------------------------------->
    My http port is 777 and oid port is 333. Another strange thing is that I can only access http://machine-1:777/oiddas from machine-1. This is not possible from machine-2 even though ping works fine.. Hoping for some help !
    Thanks !

    It sounds like your firewall could be preventing external connections. How is that configured?

  • Unable to connect to APEX from remote machine.

    Hi All,
    I have installed APEX 4.2.2 on Oracle 10g XE , the installation was successful and I am able to see the apex home page.
    I have used the port 1234 for the same.
    http://127.0.0.1:1234/apex/f?p=4550:1:14917953436987
    Now I have configured web listener apex_listener2.0.3 for remote machines and used port 8086.
    The listener was started on standalone mode successfully, but when I am trying to access below URL :
    http://localhost:8086/apex/
    I am getting 503 - Service unavailable error.
    I have disabled local listener also , but still it is not woking .
    SQL> exec dbms_xdb.setListenerLocalAccess (l_access => FALSE) ;
    commit;
    Please help .

    Getting below message in console whenever I am trying to access http://localhost:8086/apex/
    SEVERE: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled or Not a Valid Cache Enabled DataSource
    oracle.dbtools.common.jdbc.ConnectionPoolException: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled
    Could you please help me on this.

  • Essbase services from remote machine

    Hi,
    Can anyone suggest if we can start all the essbase services(like foundation services, essbase server, etc) from a remote machine or client machine? Please advice. Can we write a script or is there any other option available?
    Thanks in advance.

    If you want to script it, I can think of three ways (there are probably more):
    1) SC.exe -- http://ryepup.unwashedmeme.com/blog/2007/01/04/restart-a-windows-service-remotely/
    2) psexec.exe -- http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
    3) VBScript (and probably PowerShell but I've never used that) can remotely stop services through WMI -- http://www.computerperformance.co.uk/vbscript/wmi_services.htm
    Regards,
    Cameron Lackpour

  • Listener from remote machine

    Hi,
    I have a unix machine in which database is installed.
    Can I start the listener from other unix machine remotely like using any alias.
    Please let me know!
    Regards,

    Hi,
    If you connect from your remote machine to the Server Machine, then you can do this..!!
    I think it will work.. yes you can try it.. !!
    http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/listener.htm
    - Pavan Kumar N

  • How to retrive data through stored procedure in mysql from remote machine?

    Hello everybody,
    I am having problem in accessing data of mysql through stored procedure. It works fine if I use "jdbc:mysql://localhost:3306/[database name]" instead of "jdbc:mysql://[IP address]:3306/[database name]". The connection is fine for both, but when stored procedure is called the system stops at "stmt.execute();" line in java file while debuging. In case of localhost there is no any problem. The code for connecting procedure is:
    stmt = dbConn.prepareCall("{? = call testing()}"); stmt.registerOutParameter(1, Types.VARCHAR); stmt.execute();
    I have to connect java application running in Windows to the mysql database running in remote machine(RHEL 5).
    I am using "mysql-connector-java-5.1.5-bin.jar", jdk 1.5.0 and remote database Mysql version : 5.0.22.
    There is no exception and application hangs at stmt.execute();
    Can anybody help me with this problem?
    Thank you.

    I got it. its about connection...

  • Accessing tables from remote machine

    I using the following code, to update the record from the emp table. This table is created locally in my machine.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn;
    String db = "jdbc:odbc:NewDsn";
    String username = "test";
    String password = "test";
    String tableName = "emp";
    conn = DriverManager.getConnection(db, username, password);
    Statement stmt1 = conn.createStatement();
    String update = "update " + tableName +
    " set salary=salary+1000 where empid>200";
    stmt1.executeUpdate(update);
    I want my application to run on two different machine and the update should be made on a single table.
    Please help me, how the user from other machine can access this emp table created in my local machine?

    I completely agree with RPriya.
    jschell, If you think that it is not correct, could you please put some focus on your statementYou mean you want me to explain how database connections work in general and how jdbc drivers would use them?
    Do you know how a socket works? Do you know that it requires a client and a server?
    How does a socket work if there is no server?
    How do database connections work in C, C++, Perl, Ruby, Python, VB, etc, when absolutely none of those use a java type 4 driver?
    Do you know how the oracle oci driver work? It is not a type 4 driver.
    Do you know how the jdbc-odbc bridge works with oracle? With MS SQL Server? The jdbc-odbc bridge is not a type 4 driver.

  • Prob in accessing apex from remote machine

    hi,
    i've installed APEX successfully in my server
    and its working fine in the server.
    now i would like to access it from client machines...
    but its not connecting..
    when i tried " ping serverIP " it pings successfully...
    can anyone tel me what the prob is???

    Hi,
    This might help
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABBEFAJ
    Check also that your firewall port is open. If you try connect to Apex port 8080 should be open.
    Br,Jari

  • How to start/stop/restart a java desktop application from remote machine

    Hi,
    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

Maybe you are looking for

  • Schedule a report in BI SE1

    I can schedule a report in BI EE using Delivers, but BI SE1 does not contain Delivers, am I right? How can I schedule a report in BI SE1? Thanks

  • [solved]Gnome 3.12: Facebook, some images missing in browsers

    Turns out my ISP isn't resolving this address correctly Ever since the 3.12 upgrade of Gnome some Facebook images are missing. On 2 machines. 1 Ati Laptop, Gnome 3.12 1 Nvidia (prop) PC, Cinnamon 2.2 In Chromium & Firefox CTRL+SHIFT i shows many Fail

  • Samsung Monitor not receiving signal through HDMI Mini DisplayPort

    I have been having issues using my Macbook Pro on an external monitor lately. Up until a couple of days ago I was using my monitor as the primary display for my laptop and using the Bluetooth keyboard and trackpad, so my laptop has been closed. I tri

  • Oracle EBS R12 on OS Linux 64bit vs Windows 2003 64bit

    Dear All, Oracle EBS R12 with DB 10gR2 64bit on Linux- 64bit vs Windows 2003 64bit Any data/whitepaper/comments, those can help to take decision with respect to performance on OS Linux- 64bit vs Windows 2003 64bit. Management wants basically followin

  • Programs won't run after update to 10.6.7

    Hi I have just inherited an early 2008 iMac following my Dad's death a few months ago. So I have no Mac experience at all. On receiving it, I booted it up and a list of recommended software updates appeared which I ran, and by all accounts successful