Deploying Applications in different folders

Hi,
Can we deploy the applications of different Managed Servers in different folders
in "applications" directory?
If it is possible how do we do?
This is our current configuration:
WebLogic Server 6.0 Sp1 in Solaris 2.6
Regards
Siva.

[att1.html]

Similar Messages

  • List of deployed applications. Different results for different MBean hierarchies

    Hello there,
    When I list the deployed applications, I am getting different results depending what MBean hierarchy I am querying:
    serverConfig():
    wls:/MY_WEBLOGIC_DOMAIN/serverConfig> listApplications() APPLICATION_1APPLICATION_2
    domainRuntime():
    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> ls()
    -r--   ApplicationIds                               java.lang.String[APPLICATION_1, APPLICATION_2, APPLICATION_3]
    Any idea why is APPLICATION_3 in the list?
    Thanks in advance,
    Luis
    ps: if I ask directly to the managed server:
    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/ServerRuntimes/prodGAD_1> ls('ApplicationRuntimes')
    dr--   bea_wls9_async_response
    dr--   bea_wls_cluster_internal
    dr--   bea_wls_deployment_internal
    dr--   bea_wls_diagnostics
    dr--   bea_wls_internal
    dr--   APPLICATION_1
    dr--   APPLICATION_2

    Hello Vijaya,
    Thanks for your answer, yes you are right, in my config.xml I can see that application:
      <app-deployment>
        <name>APPLICATION_3</name>
        <target>...</target>
        <module-type>ear</module-type>
        <source-path>...ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
      </app-deployment>
    But at the moment that I read your response I had already restarted the AdminServer. This re-start has solved the issue.
    Thanks,
    Luis

  • Viewing the deployed application in different browser

    How to view the deployed content in different browsers rather than the default one ?
    And how to run the Weblogic Server without running the jDeveloper. and how to view the deployed content from WLS in the browser?

    Hi,
    How to view the deployed content in different browsers rather than the default one ?
    You can change the browser to use in the preferences (Tools -- Preferences - Browser and Proxy settings)
    And how to run the Weblogic Server without running the jDeveloper.
    2 Options:
    ==========
    a) download a stand alone Weblogic Server from OTN
    b) Find the JDeveloper System directory in the user directory of your laptop. Search for startWebLogic.cmd and start it from the console
    and how to view the deployed content from WLS in the browser?
    Request it from a URL
    host:port/java_ee_path/faces/view
    Frank

  • Different deploy application nostage in windows vs solaris

    Hi
    When I deploy application in nostage mode, in
    windowsXP
    <Version: WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
    Deploy task create a folder C:\bea\user_projects\domains\treball_domain_cluster\servers\ad05_s1_V_II\tmp\_WL_user\formularis\7b8ir7\war\WEB-INF\lib
    and copy all jar's to this folder.
    and Solaris
    WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
    Deploy task not copy jars to directory war\WEB-INF\lib
    Do you know this different behaviour?
    thans

    Even I am getting the same with windows and macosx. When i run my app on windows, the animations are more abrupt and not as smooth as it was in osx. Wonder why? :(

  • (266758030) Can WebLogic Workshop Web Services be deployed on a different Application Server?

    (266758030) Q(asked by Lalit Sudan): Can WebLogic Workshop Web Services be deployed
    on a different Application Server?
    A(by Adam Fitzgerald): .jws files are not yet an accepted standard so you can expect
    that the WebLogic Workshop Web Services cannot be ported to other Application Servers,
    however, it is a general goal to expand the functionality of the Workshop tool for
    other App Servers.

    Just so you'll know Oracle9iAS also includes apache as the HTTP server.
    As Suncan said, if you want to use Forms on the Web you need the Forms Server engine, and it comes bundled in Oracle9iAS. You'll save yourself a lot of headache if you just install Oracle9iAS and have everything pre-configured for you thus reducing maintanance costs.

  • Facing problem in creating socket in a method from an already deployed application exe while same method is working from another exe from same environment from same location.

    Dll Created In: - MFC VC
    6.0
    Application Exe Developed In:
    - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit
    / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component which
    has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
    code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming on
    client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest: -
    We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
    actually  it is not executing Create () method,
    I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
    Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
    DWORD errorCode = GetLastError();
    CString errorMessage ;
    errorMessage.Format("%lu",errorCode);
    ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
    return  IS_ERR_WINDOWS;
    Note: -
    CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
    ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
    if(!Create())
    ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
     n_Err = GetLastError();
     ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
    return NET_INIT;
    ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
    if(!AsyncSelect(0))
    n_Err = GetLastError();
    return NET_INIT;
    if(!Connect(strIP,n_Port))
    n_Err = GetLastError();
    ErrorLog(n_Err,0,"ConnectTS","");
    return SERVER_NOT_CONNECTED;
    Code description: -
    From
    int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
    ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System 
    0
    Note: - According to logs, problem is coming in Create method().
    Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
    from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

    Pointer variable was already initialized; I have mention in code; kindly assist us.
    Dll Created In: - MFC VC 6.0
    Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component
    which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
    Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming
    on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest:
    - We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
    working, actually it is not executing Create () method, I will give snippet of the code for understanding
    the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
                       DWORD errorCode = GetLastError();
                       CString errorMessage ;
                       errorMessage.Format("%lu",errorCode);
                       ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
                       return  IS_ERR_WINDOWS;
    Note: - CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
              ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
              if(!Create())
                       ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
              n_Err = GetLastError();
              ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
                      return NET_INIT;
              ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
              if(!AsyncSelect(0))
                       n_Err = GetLastError();
                       return NET_INIT;
              if(!Connect(strIP,n_Port))
                       n_Err = GetLastError();
                       ErrorLog(n_Err,0,"ConnectTS","");
                       return SERVER_NOT_CONNECTED;
    Code description: - From int GETImage_MT() method
    we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
    this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System  0
    Note: - According to logs, problem is coming in Create method(). Here
    0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
    While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

  • What is the best way to move files to different folders in a plug-in?

    I am writing a plug-in that needs to move files on the hard drive.  I am using LrFileUtils.move(from, to) and everything is fine except that the catalog is not updated when the file is moved.  After the plug-in runs I can use Library > Synchronize Folder to get the catalog back in sync with the new locations of the photos on the drive, but this manual step is less than ideal. 
    I am unable to find a way to move the files within the plug in that also updates the catalog (like dragging photos to a new location within the LR Navigator pane).  Lacking an API for this, I looked for a way to programmatic execute the Synchronize Folder menu item, but was not able to find this either..
    Can anyone recommend a better way to move photos to different folders within a plug-in that also updates the catalog?

    Hi Andy,
    There are 3 main file formats that you can consider writing your data out to in LabVIEW:
    ASCII
    Binary
    Datalog
    ASCII
    ASCII files are useful because every operating system and almost every application can read/write ASCII format files. Use ASCII files when:
    Other users or applications will need to access the data file.
    You will not need to perform random access file I/O
    File I/O speed is not crucial
    Disk space is not crucial
    Examples within LabVIEW Example Finder: Fundamentals >> File Input and Output >> Write to Text File.vi and Read from Text File.vi
    Binary
    Binary byte stream files are more specific to data storage and retrieval. Use b
    inary files when:
    File I/O will remain in LabVIEW only -- no other applications will be needing to write/read that file. There is no standard formatting for binary files and thus other applications or operating systems may be unable to read the file.
    Files are smaller than ASCII files
    Easier and faster random access to data
    Examples within LabVIEW Example Finder: Fundamentals >> File Input and Output >> Write Binary File.vi and Read Binary File.vi
    Datalog
    When to use datalog:
    If you need to record data with a mixture of types, it can be cumbersome to convert everything to ASCII or to keep track of the binary formatting.
    Datalog format is binary and internal to LabVIEW, so again only use this format if no other applications or operating systems will be needing to perform file I/O on the file.
    Examples within LabVIEW Example Finder: Fundamentals >> File Input and Output >> Write Datalog File
    Example.vi and Read Datalog File Example.vi
    Good luck!
    Kileen C.
    Applications Engineer
    National Instruments

  • AIA 3.0 installer fails in step 10 of 11 at  Deploy Application Deployments

    Hi,
    we are trying to install AIA 3.0 on linux environment.
    we are getting the following error. Kindly provide inputs if anyone has faced similar issues.
    Deployments:
    [echo] ======================================
    [echo] DeploymentPlan file ="/app/oracle/Middleware/AIAFP30/config/FPInstallDP.xml"
    [echo] ======================================
    Deployments:
    [echo]
    [echo]
    [echo]
    [echo] Deployment log -- /app/oracle/Middleware/AIAFP30/aia_instances/AIAFP30/logs/FPInstallDP_Deployments_2010-02-02_17-12-10.log
    [echo]
    [echo]
    [echo] === Executing Deployments ===
    [echo]
    [echo]
    [xslt] Processing /app/oracle/Middleware/AIAFP30/config/FPInstallDP.xml to /app/oracle/Middleware/AIAFP30/aia_instances/AIAFP30/tmp/AIDExecuteDP_temp_41477337.xml
    [xslt] Loading stylesheet /app/oracle/Middleware/AIAFP30/aia_instances/AIAFP30/tmp/AIDExtractxsl_temp_1018895610.xsl
    executeDP:
    [wlst] @@@ Starting the deployment script ...
    [wlst] Connecting to t3://hydhtc70560d.ad.infosys.com:7001 with userid weblogic ...
    [wlst] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'SOADomain'.
    [wlst]
    [wlst] Warning: An insecure protocol was used to connect to the
    [wlst] server. To ensure on-the-wire security, the SSL port or
    [wlst] Admin port should be used instead.
    [wlst]
    [wlst] Location changed to edit tree. This is a writable tree with
    [wlst] DomainMBean as the root. To make changes you will need to start
    [wlst] an edit session via startEdit().
    [wlst]
    [wlst] For more help, use help(edit)
    [wlst] You already have an edit session in progress and hence WLST will
    [wlst] continue with your edit session.
    [wlst]
    [wlst] Starting an edit session ...
    [wlst] Started edit session, please be sure to save and activate your
    [wlst] changes once you are done.
    [wlst] Warning: Unrecognized option stage is being ignored
    [wlst] Deploying application from /app/oracle/Middleware/AIAFP30/Infrastructure/Install/applications/AIAHomeApp.ear to targets soa_server1 (upload=true) ...
    [wlst] <Feb 2, 2010 5:12:17 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, AIAHomeApp [archive: /app/oracle/Middleware/AIAFP30/Infrastructure/Install/applications/AIAHomeApp.ear], to soa_server1 .>
    [wlst] You have an edit session in progress, hence WLST will not
    [wlst] block for your deployment to complete.
    [wlst] Started the Deployment of Application. Please refer to the returned WLSTProgress object or variable LAST to track the status.
    [wlst] Current Status of your Deployment:
    [wlst] Deployment command type: deploy
    [wlst] Deployment State : running
    [wlst] Deployment Message : no message
    [wlst] No stack trace available.
    [wlst] Activating all your changes, this may take a while ...
    [wlst] The edit lock associated with this edit session is released
    [wlst] once the activation is completed.
    BUILD FAILED
    /app/oracle/Middleware/AIAFP30/Infrastructure/Install/AID/AIAInstallDriver.xml:167: The following error occurred while executing this line:
    /app/oracle/Middleware/AIAFP30/Infrastructure/Install/AID/AIAExecuteDriver.xml:106: The following error occurred while executing this line:
    /app/oracle/Middleware/AIAFP30/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
    /app/oracle/Middleware/AIAFP30/aia_instances/AIAFP30/tmp/AIDExecuteDP_temp_41477337.xml:11: The following error occurred while executing this line:
    /app/oracle/Middleware/AIAFP30/Infrastructure/Install/AID/lib/AIDDeploymentLibraryTasks.xml:90: Traceback (innermost last):
    File "/app/oracle/Middleware/AIAFP30/Infrastructure/Install/AID/lib/py/deployApplication.py", line 36, in ?
    File "<iostream>", line 376, in activate
    File "<iostream>", line 1744, in raiseWLSTException
    WLSTException: Error occured while performing activate : Error while Activating changes. :
    Use dumpStack() to view the full stacktrace
    Total time: 27 seconds
    <Feb 2, 2010 5:12:36 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    Step Deploy Application Deployments failed
    Step Deploy Application Deployments failed
    Deploy Application Post-Install

    Hi Kanakavally,
    I saw the logs and I can see you have several failed attempts. Initially it had to do with AIALifecycle user already present and now it has to do with changes not getting activated.
    I suggest you do another attempt at installation after complete cleanup.
    Here is what you can do.
    1. Click finish and exit out of the current Installer window (if you already have it open)
    2. Now launch the deinstaller as per the Installation Guide.
    3. Choose the AIA Home and uninstall (the uninstall bar may not be showing the progress but wait for some time and the uninstall will happen. We are fixing the progress bar issue)
    4. Once this is done, navigate to weblogic console and click deployments in the left nav.
    5. Select all AIA related deployments (if they exist - ideally this will get removed during uninstallation) and click delete
    6. Repeat the process for Datasources, JMS modules and JMS resources (again these dont exist ideally after uninstallation)
    7. Also navigate to security realms, select your realm (myrealm) and then click on the users and groups tab and remove AIA users and AIA groups
    8. Now shutdown the SOA managed server and then shutdown the Admin server as well
    9. Start the admin server
    10. Open the console, see if you have any changes to activate in the Activation. If there is any activate them. If it doesnt get activated undo all changes.
    11. Open the folder Middleware/domains/<your_domain> In this folder remove the file edit.lok.
    12. Also under the folder Middleware/domains/<your_domain>/pending , remove all files.
    14. Once you have done this restart the SOA Server.
    15. Attempt a fresh installation. Ensure that you read all the pre-install steps and instructions in the Install guide carefully before attempting the installation.

  • EJBCompiler Exception when trying to deploy application in a cluster

    Hi,
              I have setup a cluster environment with 2 Managed Servers. While I tried to deploy the application using the Admin console, I got the following exception on both managed servers. I have tried suggestions from different websites:
              1. adding JDK to $PATH in WebLogic startup script and the system PATH.
              http://forum.java.sun.com/thread.jspa?threadID=465456&messageID=2605081
              2. Increasing memory for javac
              http://forum.java.sun.com/thread.jspa?threadID=492907&messageID=2605123
              My application was compiled with JDK 1.4
              But still no luck.
              What am I missing here?
              Thanks.
              Teresa
              [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application opencase on edcCluster.:
              Exception:weblogic.management.ApplicationException: prepare failed for opencase-ejb.jar
              Module: opencase-ejb.jar Error: Exception preparing module: EJBModule(opencase-ejb.jar,status=NEW)
              Unable to deploy EJB: opencase-ejb.jar from opencase-ejb.jar:
              Compiler failed executable.exec
              at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              java.io.IOException: Compiler failed executable.exec
              at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
              at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
              at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
              at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I solved recently a similar problem. The problem arised because the
              developer had compiled the ejb.jar with JDK 5.0, and then he was trying to
              deploy it to WLS 8.1, which supports only JDK 1.4 compiled classes when
              EJBCompiling.
              <T Y> wrote in message news:[email protected]...
              > Hi,
              > I have setup a cluster environment with 2 Managed Servers. While I tried
              > to deploy the application using the Admin console, I got the following
              > exception on both managed servers. I have tried suggestions from different
              > websites:
              > 1. adding JDK to $PATH in WebLogic startup script and the system PATH.
              > http://forum.java.sun.com/thread.jspa?threadID=465456&messageID=2605081
              >
              > 2. Increasing memory for javac
              > http://forum.java.sun.com/thread.jspa?threadID=492907&messageID=2605123
              >
              > My application was compiled with JDK 1.4
              >
              > But still no luck.
              > What am I missing here?
              >
              > Thanks.
              >
              > Teresa
              >
              >
              > [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
              > application opencase on edcCluster.:
              > Exception:weblogic.management.ApplicationException: prepare failed for
              > opencase-ejb.jar
              > Module: opencase-ejb.jar Error: Exception preparing module:
              > EJBModule(opencase-ejb.jar,status=NEW)
              > Unable to deploy EJB: opencase-ejb.jar from opencase-ejb.jar:
              > Compiler failed executable.exec
              > at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              > at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              > at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              > at
              > weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              > at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              > at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              > at
              > weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              > java.io.IOException: Compiler failed executable.exec
              > at
              > weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
              > at
              > weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
              > at
              > weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
              > at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
              > at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
              > at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
              > at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
              > at
              > weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
              > at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
              > at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3142)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1583)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1227)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1070)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2513)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2463)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              > at
              > weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

  • Can multipule users deploy application to OC4J on 9iAS r2?

    Is there a way to deploy applications to OC4J through the Enterprise Manager using different user than IAS_ADMIN?
    Thanks
    Marcel

    Hi Marcel,
    In Oracle9iAS R2 9.0.2, ias_admin is the only predefined admin user you can use to deploy an application (the Enterprise Manager website runs on it's own OC4J instance, config files are located in $ORACLE_HOME/sysman/j2ee/config, the admin user ias_admin is defined in $ORACLE_HOME/sysman/j2ee/config/jazn-data.xml). Futre release of Oracle9iAS will allow you to define additional admin users.
    BTW, what's the purpose to deploy applications using a different user?
    Regards,
    Chen.

  • Presets in different folders MUST have unique name? WHY?

    You cannot have the same name on a preset, even though they reside in separate folders. At the filesystem level they are in different directories.
    OS file systems allow you to have the same file name as long as it is NOT in the same folder.
    To get around this, you must make each preset name different by one char, even though they are in different folders both in LR and on the OS FS.
    Why is this important to me?
    When shooting youth baseball, I would like to have five different folders of presets that represent a certain time of the day, as great preset for noon does not work for a picture take at 5pm in the evening..
    So 5 folders, 9a-12p, 12p-3p, 3p-5p, so on..
    Each folder would have 10-15 presets for quick develop settings based on where on the field I am shooting.
    Open up a game shot in the morning, open the preset folder of 9a-12p, the presets are the same name, but adjusted for the time of the day..
    .*Sigh*.
    Mac Pro 2.66, OS 10.4.10, LR 1.1

    In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or Mountain Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Deploy MDBs in Different WL Instances Subscribed to Same Topic

              Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different Weblogic
              server. All need to subscribe to the same Topic. How is this done? Specifically,
              how is the Topic configured and how are the MBDs deployed?
              Thanks,
              Jim Goodwin
              

    For your reading enjoyment, I'm posting some of my
              internal notes on durable subscriber MDB's. This consolidates
              newsgroup information in one place.
              Jim Goodwin wrote:
              > "Jim Goodwin" <[email protected]> wrote:
              >
              >>Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different
              >>Weblogic
              >>server. All need to subscribe to the same Topic. How is this done? Specifically,
              >>how is the Topic configured and how are the MBDs deployed?
              >>
              >>Thanks,
              >>
              >>Jim Goodwin
              >
              >
              > Bah! Nevermind. I found the information I was looking for in other threads.
              A durable topic subscriber MDB uses its name to generate its client-id.
              Since JMS enforces uniqueness on this client-id, this means that if a durable
              subscriber MDB is deployed to multiple servers only one server will be able
              to connect. Some applications want a different behavior where
              each MDB pool on each server gets its own durable subscription.
              The MDB durable subscription id, which must be unique on its topic, comes from:
              1) <jms-client-id>MyClientID</jms-client-id>
              (the weblogic dtd)
              2) if (1) is not set then the client-id
              comes from the ejb name.
              The durable subscription is uniquely identified within a cluster by a
              combination of "connection-id" and "subscription-id". Only one active
              connection may use a particular "connection-id" within a WebLogic cluster.
              The connection id comes from:
              1) The "ClientId" attribute configured on the WebLogic connection factory.
              This defaults to null. Note that if the ClientId is set on a connection
              factory, only one connection created by the factory
              may be active at a time.
              2) If (1) is not set, then, as with the subscriber-id,
              the connection-id is derived from jms-client-id descriptor attribute:
              <jms-client-id>MyClientID</jms-client-id>
              (the weblogic dtd)
              3) If (1) and (2) are not set, then, as with the subscriber-id,
              the connection-id is derived from the ejb name.
              Work-around:
              A) Create a custom connection-factory for each server:
              1) configure "JNDIName" to the same value across all servers
              ("myMDBCF" in this example)
              2) configure "ClientId" to a unique value per server
              3) enable "UserTransactionsEnabled"
              4) enable "XAConnectionFactoryEnabled"
              5) set "AcknowledgePolicy" to "ACKNOWLEDGE_PREVIOUS"
              6) target the CF at a single WebLogic server
              (Number 5 is required for non-transactional topic MDBs)
              B) In the MDB's weblogic-ejb-jar.xml descriptor, set the MDB's connection
              factory to the JNDI name of the custom connection factories configured in
              (A). Optionally, also specify the subscriber-id via the jms-client-id
              attribute.
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>exampleBean</ejb-name>
              <message-driven-descriptor>
              <connection-factory-jndi-name>myMDBCF</connection-factory-jndi-name>
              <jms-client-id>myClientID</jms-client-id>
              </message-driven-descriptor>
              </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              C) Target the application at the same servers that have the custom connection
              factories targeted at them.
              Notes/Limitations:
              1) If the MDB is moved from one server to another, the MDB's corresponding
              connection-factory must be moved with it.
              2) This work-around will not work if the destination is not in the same
              cluster as the MDB. (The MDB can not use the local connection factory, which
              contains the connection-id, as connection factories do not work unless they
              are in the same cluster as the destination.)
              3) This work-around will not work for non-WebLogic JMS topics.
              

  • Why is my deployed application not executing functions from an external .dll?

    My application executes python scripts via function calls made to the python C/API, python24.dll.  It works fine in the development environment, but my deployed application does not seem to find the .dll since the the application crashes at what seems to be the first attempt to access the python shared library.
    I believe I've included all the necessary support files.  LV automatically included python24.dll into the installer.  And I've tried to make all the paths to script files and other support files point to where the app.exe is located...some debugging windows have shown the paths to be correct in the deployed app.  The call library function nodes are configured to find the python .dll in the win\system32 folder.
    I feel like I'm missing some step in the build process since it works in the development environment, but perhaps there is some other trick using CLFN's that I don't understand.
    I using LV7.
    Thanks.

    Hello CraigerB,
    It seems like you are doing everything the right way. Click on the following link for a related discussion forum post.
    Here is what you can try:
    1. Place the dll in the C:\WINDOWS\system32 on your development machine.
    2. Make sure your Call Library Function Node VI is pointing to C:\WINDOWS\system32\python24.dll
    3. Build your executable
    4. LabVIEW will not make a copy of your python24.dll because it will treat it differently
    5. Manually copy the python24.dll to the target PC's C:\WINDOWS\system32\
    6. Make sure you have all supporting files for your python24.dll to insure the dll itself is working.
    7. If you are using relative paths to call your dll, switch to hard paths, or take a look at this KB for relevent information.
    Hope this helps!
    Kalin T.
    National Instruments

  • Deploying application with several web modules having the same context root

    Hi,
    I would like to be able to deploy an application in Weblogic 12c having one ejb module and several web modules with the same context root. Even though the web modules have the same context root, each of them is deployed to a different virtual host.
    Weblogic allows deploying the modules this way as long as their targets are different (i.e. each having a distinct virtual host). However this works only when I don't select a target for the .ear:
    Component Type Current Targets
    application.ear Enterprise Application (None specified)
    application.jar EJB AdminServer
    web1.war WEBAPP virtualHost1
    web2.war WEBAPP virtualHost2
    However if I select as target for the .ear to be AdminServer, the deployment doesn't work anymore, complaining that the context roots are in conflict.
    If I remove web2.war from the .ear and deploy the .ear and .jar to AdminServer and web1.war to virtualHost1, the deployment works but the strange thing is that the web application can be accessed also through the AdminServer's main network channel, even though I would expect that it should be accessible only through virtualHost1 network channel. I believe this is the reason why there are context root conflicts when specifying a target for the .ear, because both wars are made accessible to the main network channel.
    The reason why I want to keep the wars inside the same .ear is because I want to make them access the application's local EJBs (since as far as I know it's not possible to access a local EJB outside the application even if they belong to the same VM).
    Is there a way to deploy the web modules only to the virtual hosts without being targeted to the main network channel?
    Regards,
    Alexandru

    Murphy's Law: If anything can go wrong it will
    A corollary to Murphy's law: When everything fails, read the manual.
    Web application funda: Every web application must have its own context root. So, if wkfsocos is one
    web application then, wkfsocos1 is another web application -
    and hence must have its own context root.
    Hello Aman,
    If you are in E-Commerce version 4.0, then read this
    [ISA_Buildtool document |https://service.sap.com/~sapdownload/011000358700001920472003E/ISA_BuildTool_10.pdf]
    to create a copy of the application in its own context root.
    From your URL pattern I guess you are in E-Commerce version 4.0.
    If you are in E-Commerce 5.0 or above, then the
    [Extension Guide |http://service.sap.com/~sapdownload/011000358700006120622006E/]gives steps to create a copy with its own context root for use in modification.
    (See the chapter on - Creating a project specific Web Application with own context root )
    Both these links require access to SAP Service Marketplace. You can also find the
    documents through /instguides shortcut in Service Marketplace.
    Easwar Ram
    http://www.parxlns.com

  • Deploy application on Linux

         Hello,
    I'm currently deploying an Air application on a Ubuntu distribution and the behaviour of this application slightly differs from its behaviour on Windows.
    On most of the problems, I could find a solution but it remains two issues I can't fix.
    First one, the load function for MP3. When I load a MP3 in order to get the metadata especially the length of the mp3, my Windows app succeed but in ubuntu, the load is never dne, and even the complete event of the load never launched.
    Second one, the camera. I attach a webcam to a videodisplay and visualize it on my screen. In Windows, i can put my video up to 1600x1200 in resolution but in Ubuntu, the same code doesn't allow me to get a resolution better than 320x240. WHen I force it to a 640x480, the image stills stand in a ugly 320x240 pixels.
    What can I do to avoid these deploying issue.
    I m working witth flash builder with flex 4.0 and AIR 2.0.
    My ubuntu is 9.1 with a linux kernel 2.6.31.
    Thanks in advance for those who have an answer.
    Regards
    Julien

    First thanks for the replies,
    as you said that it works for you, I figure out that my problems came from my implementation, but still can't figure out where it is.
    I simplified my code in order to post it clearly:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
                     xmlns:s="library://ns.adobe.com/flex/spark"
                     xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300">
            <fx:Script>
                    <![CDATA[
                            import mx.controls.Alert;
                            import mx.events.ListEvent;
                            [Bindable]
                            public var mp3Directory:File=new File(File.documentsDirectory.url+"/Briche/MP3");
                            public var mp3:Sound;
                            protected function MP3_changeHandler():void
                                    mp3=new Sound();
                                    mp3.addEventListener(Event.COMPLETE, id3Handler);
                                    Alert.show(MP.selectedPath,"MP3");
                                    mp3.load(new URLRequest(MP.selectedPath));
                                    // TODO Auto-generated method stub
                            //getting the meta data from the mp3
                            private function id3Handler(event:Event):void
                                    var length:Number=mp3.length/1000;
                                    Alert.show(mp3.url,length.toString());
                    ]]>
            </fx:Script>
            <fx:Declarations>
            </fx:Declarations>
            <mx:FileSystemTree id="MP"
                                               width="180" height="400"
                                               directory="{mp3Directory}"
                                               enumerationMode="filesAndDirectories"
                                               extensions="[mp3]"
                                               borderAlpha="0"
                                               dragEnabled="true"
                                               dragMoveEnabled="true"
                                               change="MP3_changeHandler()"/>
    </s:Group>
    So when I try this code on linux, I can do some stuff. If I try to load an mp3 I join with my application
    and which is present in /opt/.../share/, it succeeds. But if I try another mp3 located anywhere else on my computer, it fails.
    Here is where I am in my problem.
    Julien

Maybe you are looking for

  • Issue Output to within VF03

    I need to know how to activate "Issue to Output" within VF03, the menu option is active on the initial screen of VF03.  I need it active while inside VF03, the menu path is "Billing Document/Issue Output To/Issue Output to but it's greyed out not act

  • Videos playing in FF under Leopard

    Ok I have an odd problem with leopard front row, some times when playing videos they play in fast forward but just the video, the audio plays at normal speed. If i stop the video and play it again from the beginning it plays normally, sometimes it ta

  • Update to NW04 SP27: J2EERT file only 17KB?

    Hello, we want to test SP27 for NW04 (now we have sp21) and we download all files down from SAP MP, but J2EERT file is only 17KB. Is that right? Normally file is about 350MB to 400MB. and when we use sapcar for extraction, error is shown (Package dam

  • Database control shows java.lang.Exception: IOException in connect refuse

    Hi All, I need some help on this issue. I followed MOS Doc 259387.1 to reset dbsnmp password because its password is unknown. The error is Error java.lang.Exception: IOException in sending Request :: Connection refused Thanks in advance. leim

  • Man, is there a way to organize VST's better in Audition 3?

    I finally upgraded my Waves Mercury bundle, and apparently they stopped supporting DirectX after version 6 - I now have version 7. I personally liked the DirectX support because it was separated from my VST collection, and also had it's on WAVES tab