Hot deployment in weblogic

Hi
I have some questions related to hot deployment.
1. Is Hot Deployment similar to auto-deploy option in development mode?
2. Using Auto-deploy is it possible to get the application deployed on managed server
( I found that it gets deployed on Admin server and it is not recommended to deploy on Managed.. but is there any way to deploy on managed server)
3. my application (ear) has dependencies... those are deployed as library.. is it possible to deploy library using auto-deploy
Thanks

1. no - hot deployment, deploy, redeploy, or undeploy an application while the server is running without affecting other applications or requiring a server restart
2. no - the admin server has a feature known as auto-deployment that is enabled when you create a domain using development mode. With this feature, the server watches the autodeploy directory for changes and automatically deploys new or changed applications that it finds there.
3. why would you want that - just deploy the libraries and refer to those libraries in your deployment overrides.
Better way to auto-deploy is using the wldeploy Ant task. (http://download.oracle.com/docs/cd/E11035_01/wls100/programming/wldeploy.html)

Similar Messages

  • Hot deploy in weblogic 10.0 not working

    Hi,
    I am trying to do hot deploy in an exploded war deployment. If I deploy the same exploded war in weblogic 9.2, I can update the class files without restarting the sever. However, in weblogic 10.0 system throws “java.lang.ClassCastException: com.xxx.xxx.xxxxx” when it tries to reload the app after the old class file has been updated with a new one. If the server is restarted then the new class file is picked without any errors. Are there different settings in weblogic 10.0 to enable hot deploy? Please let me know.
    Thanks a lot.

    Please don't cross-post.
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "vinayvangala" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Did anybody get hot deploy in an expanded directory format to work
    in weblogic 6.0 sp2. I have tried to follow the documentation but
    couldn't get it to work.
    Thanks
    Vinay

  • Hot deployment problems with weblogic 7.0 sp2

    Hi Guys
    I am trying out hot deplyment of a j2ee application on WebLogic Server 7.0 SP2
    Approach 1
    The application is deployed in exploded ear format from the folder
    d:/work/testbed/ear. The appropriate entry in config.xml looks like this.
    <Application Deployed="true" Name="Testbed"
    Path="D:\tools\bea702\projects\testbed\applications\testbed"
    StagedTargets="" TwoPhase="false">
    <EJBComponent Name="SessionBeans" Targets="myserver" URI="SessionBeans.jar"/>
    </Application>
    Creating or touching the REDEPLOY file in META-INF folder doesnt cause hot
    deployment to occur
    Approach 2
    Copied the ear file to the applications folder. Creating or touching the
    REDEPLOY file in META-INF file caused the application to be redeployed.
    However the weblogic console is constantly spitting out this message.
    Undeploying EJB Component SessionBeans
    <Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
    <Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
    Undeploying EJB Component SessionBeans
    <Sep 29, 2003 9:53:51 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
    <Sep 29, 2003 9:53:52 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
    Undeploying EJB Component SessionBeans
    <Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
    <Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
    It seems that the application is getting undeployed and reactivated every 5
    seconds.
    Questions
    1) Any reasons why approach 1 didnt work
    2) What could be causing this constant undeployment and reactivation
    Thanks for your time
    anand

    I think I figured out what is causing the application to be redployed every 5
    seconds. It seems that if the application is deployed in the weblogic domains
    applications folder you should NOT create a <Application element. Weblogic
    automatically recognizes all applications in this folder and deploys them.
    Removing the application entry (as shown in Approach 1) from the config.xml
    and hot deploying by touching the REDEPLOY file did the trick.
    One question still remains. Is hot deployment only possible when I copy the
    exploded ear to the domain "applications" folder
    Thanks for your time
    anand
    ps : The idea of trying it without the <Application element came from trying
    out hot deployment in Weblogic 8. WLS8 first deploys the application in the
    applications folder, followed by the application configured in the
    <Application element. Since both the applications were essentially the same it
    gave me a JNDIException saying that some entity is already bound with the same
    name. Weblogic 7 however doesnt complain at this point.
    - anand
    In article <[email protected]>, Anand Raman wrote:
    Hi Guys
    I am trying out hot deplyment of a j2ee application on WebLogic Server 7.0 SP2
    Approach 1
    The application is deployed in exploded ear format from the folder
    d:/work/testbed/ear. The appropriate entry in config.xml looks like this.
    <Application Deployed="true" Name="Testbed"
    Path="D:\tools\bea702\projects\testbed\applications\testbed"
    StagedTargets="" TwoPhase="false">
    <EJBComponent Name="SessionBeans" Targets="myserver" URI="SessionBeans.jar"/>
    </Application>
    Creating or touching the REDEPLOY file in META-INF folder doesnt cause hot
    deployment to occur
    Approach 2
    Copied the ear file to the applications folder. Creating or touching the
    REDEPLOY file in META-INF file caused the application to be redeployed.
    However the weblogic console is constantly spitting out this message.
    Undeploying EJB Component SessionBeans
    <Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
    <Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
    Undeploying EJB Component SessionBeans
    <Sep 29, 2003 9:53:51 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
    <Sep 29, 2003 9:53:52 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
    Undeploying EJB Component SessionBeans
    <Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
    <Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
    It seems that the application is getting undeployed and reactivated every 5
    seconds.
    Questions
    1) Any reasons why approach 1 didnt work
    2) What could be causing this constant undeployment and reactivation
    Thanks for your time
    anand

  • Hot deploy, classloading & singletons

    I have the following doubt about hot-deploy, classloading & singletons.
    Let´s assume I have a sessionbean which accesses a singleton. As far as I understand
    hot-deploy in weblogic, during a hot-deployment, a sessionbean instance currently
    engaged in a transaction is not unloaded untill the transaction is completed.
    New transactions however would access the newly deployed & loaded instances of
    the new version of my session bean.
    Am I correct to assume that, if this is the case, several instances of my singleton
    may exist at a certain moment in the same JVM (I am not talking about clusters,
    but about execution threads).

    Hi Seth
    Are you hot redeploying the entire application? Is the singleton class
    packaged with the application?Yes the singleton is packaged with the application. It´s actually the Bussiness
    Delegate.
    >
    Thanks.
    Seth
    "Sven van ´t Veer" wrote:
    I have the following doubt about hot-deploy, classloading & singletons.
    Let´s assume I have a sessionbean which accesses a singleton. As faras I understand
    hot-deploy in weblogic, during a hot-deployment, a sessionbean instancecurrently
    engaged in a transaction is not unloaded untill the transaction iscompleted.
    New transactions however would access the newly deployed & loaded instancesof
    the new version of my session bean.
    Am I correct to assume that, if this is the case, several instancesof my singleton
    may exist at a certain moment in the same JVM (I am not talking aboutclusters,
    but about execution threads).

  • Exploded (hot) deployment  on a Weblogic cluster

    AFAIK, exploded hot deployment on a Weblogic cluster is not supported through OEPE.
    When deploying an application on a cluster, each change, no matter how small, forces you to republish these changes, ultimately causing the application to be redeployed by OEPE. Turnaround time for this (depending on the app) can take some time.
    Is there a workaround available for this ?
    I'm looking for a way to minimize the turnaround time between developing code, and actual seeing the code changes on the screen. The requirement however is that deployments should be possible on a managed instance / cluster (non AdminServer).
    Does Oracle Weblogic support such "hot deployment" capabilities from an IDE like Eclipse ? Does anybody here have such a process in place ? (perhaps using ant / maven2 tooling)

    Hi
    I  want  to  clarify that the  application has to be  deployed  to  a cluster  of  two managed  servers, amandad_Server_1 (On Windows  server hosting  console) and amandad_Server_2 which is running  in  other Windows  server.
    I deployed  the application  following  your  recdommendations and the  resulta is  as  follows:
    Windows  server (running the  console)
    1  EAR  file  was copied to  ...  \user_projects\domains\amanda_domain\servers\amandad_Server_1\stage
    2.  The application files  extractected  from the EAR files  were  copied to   \user_projects\domains\amanda_domain\servers\amandad_Server_1\tmp
    Windows  Server not  runn ing the  console
    No files  were copied to neither
    ... \user_projects\domains\amanda_domain\servers\amandad_Server_2\stage
         \user_projects\domains\amanda_domain\servers\amandad_Server_2\tmp
    Questions
    1  Windows  server  not running the console  the  files  were  not  copied....What  might  cause  this behaviour....? how to  fixi it...?
    2. Do I have  to  manaully copy  the  files  to  folders
    ...\user_projects\domains\amanda_domain\servers\amandad_Server_2\stage  
       ... \user_projects\domains\amanda_domain\servers\amandad_Server_2\tmp

  • Weblogic hot deployment

    Hi all,
    Does any body know how to redeploy a web application in weblogic without restarting the server?
    I have my application in the exploded file format...
    Thanks in anticipation,
    Seshu

    HI,
    Thank u for the prompt reply. I am using weblogic 8.1 and i want to know whether there is any Hot Deployment feature in 8.1.
    I've gone thru the weblogic 7.0 documentation. It says that the server automatically reloads all the files every x secs. which we can specify in the console.
    but doing so doesn;t reflect my changes......
    is there any other way? (i've tried touching the REDEPLOY file too)..
    Thanks,
    Seshu

  • How to hot deploy EJB in Weblogic?

    Hi all,
    We use Weblogic 10.3 and EJB3.
    EJB has been build as ear and deployed in the server. And other deployed modules in server calls that.
    But the modification of EJB need to be rebuilt and restart the server.
    Does Weblogic support hot deploy for EJB? Do we need plugin or something else for this feature?
    Thanks a lot.

    Hi,
    The production redeployment strategy/hot deployment is supported for:
    a. Standalone Web Application (WAR) modules and Enterprise applications (EARs) whose clients access the application via a Web application (HTTP).
    b. Enterprise applications that are accessed by inbound JMS messages from a global JMS destination, or from inbound JCA requests.
    c. All types of Web Services, including conversational and reliable Web Services, but not 8.x Web Services.
    Production redeployment is not supported for:
    a. Standalone EJB or RAR modules. If you attempt to use production redeployment with such modules, WebLogic Server rejects the redeployment request. To redeploy such modules, remove their version identifiers and explicitly redeploy the modules.
    b. Applications that use JTS drivers. For more information on JDBC application module limitations, see JDBC Application Module Limitations in Configuring and Managing JDBC for Oracle WebLogic Server.
    c. Applications that obtain JDBC data sources via the DriverManager API; in order to use production redeployment, an application must instead use JNDI to look up data sources.
    d. Applications that include EJB 1.1 container-managed persistence (CMP) EJBs. To use production redeployment with applications that include CMP EJBs, use EJB 2.x CMP instead of EJB 1.1 CMP.
    Please check the below Doc
    http://docs.oracle.com/cd/E14571_01/web.1111/e13702/redeploy.htm#
    Hope this answers your question!!
    Thanks,
    Vijaya

  • Hot deployment of class files (non-EJB)

     

    Also posting to the servlet newsgroup.
    "Craig Ambrose" <[email protected]> wrote in message
    news:[email protected]..
    >
    I am using WebLogic 6.1 and am interested in using auto-deployment indevelopment
    mode of JSPs and class files that those JSPs rely on. I have a simpleWebLogic
    application that gets deployed using the exploded directory format andwhen I
    modify the JSPs or the class files that they use everything reloadsproperly and
    a newly modified class file will be reloaded the next time the pageutilizing
    the Java class is requested.
    I have a much more complicated application (the one I am really doing workon)
    and I can't get the hot deploy of the class files to take effect. The JSPswill
    reload but I can't seem to cause the class loader to reload any changedclass
    files. If I use the WebLogic Console and un-deploy and then re-deploy theapplication
    then the class files will be reloaded, but I thought that wasn't necessaryfor
    hot deployment. This complex application stores many things in the HTTPsession
    context. I am wondering if that has an effect on the class loader fordependant
    class files.
    I'm pretty sure it is not a configuration issue as I have it working forthe simple
    application. I have the application deployed under the.\config\<domainname>\applications
    directory and am using the exploded directory format with the class filesalso
    exploded in the WEB-INF\classes directory.
    Any insights on dependancies of the hot depployment would be helpful.

  • Hot deployment of servlet

    hi
    i have compiled the servlet in jdeveloper and set the path to oc4j../../web-inf/classes path;after compiling the class Is it neccassary to shutdown the oc4j container;
    after shutdown the container only i am seeing the effect;without shutdown the container can we see the effect;we can do it Tomcat ;Is there any facility in OC4J ;
    bye
    chaitanya

              Hi, suppose you have the servlet called JoeServlet and registered as joeservlet with an argument, say, a file joe.txt. If you want to 'hot' deploy the JoeServlet you should make sure that a) the servlet's name must be unique b) the servlet's class must be in your servlet classpath (see the properties sheet aside) c) the initial argument, say: joeargument=./joe.txt, must match the the name expected by your servlet (eg. getInitParameter("joeargument")). If you have done correctly WLS must work.
              Joe
              "Jayesh Patel" <[email protected]> wrote:
              >
              >I am trying to hot deploy a simple servlet using weblogic console.
              >
              >I am getting error saying that
              >
              >"Property change error for property "RegisterNewServlet".
              >Servlet could not be loaded or instantiated"
              >
              >I am sure that servlet class I am trying to load is in servlet
              >class path.
              >
              >Any idea what is going wrong here.
              >
              >Thanks.
              >
              >
              >
              

  • Hot deployment while running...

    Hi there!
    Does any body have experience HotDeployment while end user are using the application?
    For my self I got a real problem with HttpSession. After hot deployment all
    sessions are invalidate!! I mean "request.getSession(false)" return false. I
    have already carefully read documentation and pointed out that object store in
    session must be serializable. OK it's done. Now what else should I check?
    Thanks!

    redeploying will invalidate a servlet session. this is not a bug, but rather the intended
    behavior.
    if all you want to do is update content (jsp's, html, gif, jpeg, etc) you can use the
    refresh tool.
    it is a light-weight operation, instead of the heavyweight redeploy.
    to use it, please run the command:
    java weblogic.management.tools.WebAppComponentRefreshTool
    (this tool is compatible with 6.0 and 6.1)
    tracey
    "Thierry Giguère" wrote:
    Hi there!
    Does any body have experience HotDeployment while end user are using the application?
    For my self I got a real problem with HttpSession. After hot deployment all
    sessions are invalidate!! I mean "request.getSession(false)" return false. I
    have already carefully read documentation and pointed out that object store in
    session must be serializable. OK it's done. Now what else should I check?
    Thanks!

  • Hot Deplyment in Weblogic-10.3?

    Hi All,
    This is Prem..Can anyone let me know whether the Hot Deployment process is possible in Weblogic-10.3? I have copied the deployment folder directly to the following location (without creating a WAR) C:\bea\user_projects\domains\my_domains\autodeploy folder?
    It is giving the Error...
    Failed to create the instance of web Appl : Jndi (It is the name of my deployment folder)
    Awaiting for your early response
    Thanks in Advance
    Prem Alapati

    Hi Prem,
    Can u please paste the complete StackTrace of the exception which u are getting?
    Are u running your Server in Production Mode or in Development Mode?
    Is your Application working fine when u are deploying your application with some other options like: Console Deployment or WLDeployer Deployment?
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Hot deployment in WL 8.1

    Hi All,
    I am deploying the application from my development dir "c:\development" as
    exploded for WAR file and EJB modules as JAR files. What should I do to make
    the hot deployment work?
    My environment is: Win XP, IDE is JBuilder(also use Eclipse3.0), Weblogic
    8.1
    When I was googling, it brought me the CLASS-LOADER article in bea docs and
    I applied that making different nested class-loaders for EJB, WAR in one and
    the EJB module which is under development in a separate class-loader. It did
    not work. But I think there should be an easy way for hot deployment. If
    there is any link that talks about this please let me know. Your response is
    appreciated.
    Thanks,
    senthil

    Also adding to that, the server is started in development mode.
    "Senthil" <[email protected]> wrote in message
    news:[email protected]...
    I am not sure this a way to go for hot deployment. But what I did was
    changing the application and weblogic-application.xml files.
    My application.xml is like
    ===========application.xml===========
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
    Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
    <display-name>AppName</display-name>
    <module>
    <web>
    <web-uri>Web</web-uri> <!--- No WAR --->
    <context-root>/</context-root>
    </web>
    </module>
    <module>
    <ejb>EJB1</ejb>
    </module>
    <module>
    <ejb>EJB2</ejb>
    </module>
    </application>
    =============END==========
    weblogic-application.xml is given below
    ==============weblogic-application.xml==========
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-application PUBLIC "-//BEA Systems, Inc.//DTD WebLogic
    Application 8.1.0//EN"
    "http://www.bea.com/servers/wls810/dtd/weblogic-application_2_0.dtd">
    <weblogic-application>
    <classloader-structure>
    <module-ref>
    <module-uri>EJB1.jar</module-uri>
    </module-ref>
    <classloader-structure>
    <module-ref>
    <module-uri>EJB2.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </weblogic-application>
    =========End===========
    Thanks,
    senthil
    "Senthil" <[email protected]> wrote in message
    news:[email protected]...
    Hi All,
    I am deploying the application from my development dir
    "c:\development"
    as
    exploded for WAR file and EJB modules as JAR files. What should I do tomake
    the hot deployment work?
    My environment is: Win XP, IDE is JBuilder(also use Eclipse3.0),
    Weblogic
    8.1
    When I was googling, it brought me the CLASS-LOADER article in bea docsand
    I applied that making different nested class-loaders for EJB, WAR in oneand
    the EJB module which is under development in a separate class-loader. Itdid
    not work. But I think there should be an easy way for hot deployment. If
    there is any link that talks about this please let me know. Your
    response
    is
    appreciated.
    Thanks,
    senthil

  • Previous unanswered Hot deploy of non EJB, non JSP classes

              Subject to my last post I've since seen my questions has appeared twice on this
              newsgroup, March 2001, and Nov 2000 and no responses to it those times. Aren't
              there BEA engineers reading this newsgroup who would know the answer to that question?
              http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=3776&utag=
              http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=5171&utag=
              

              Firstly I already did call BEA support before coming here, this is my last resort.
              I can't get a definitive answer from support. They were the ones that actually
              suggested to me that I post here in the first place. I did search the BEA edocs
              and couldn't find anything on it.
              Secondly, I am using WL 6.1 SP1, and in the thread just beneath this one, which
              I referred to directly in my opening post on this thread, I do mention this in
              the opening paragraph, in fact I give considerable detail.
              Thirdly, I never implied there was an onus on any BEA engineer to answer anything
              here. What I did mean was that given that they do read these posts and they do
              answer posts, I was merely a bit concerned that as I'm third person to ask, it
              would be strange to still get no response given that they answer other questions.
              I mean if they don't know, then who does? It's a real simple yes/no answer, it
              would take 5 seconds.
              Paul
              Robert Patrick <[email protected]> wrote:
              >
              >
              >The answer is simple -- move to WLS 6.x and use enterprise applications
              >(or web applications or an EJB jar file)
              >to package everything up into a single deployment unit and hot deploy
              >the whole deployment unit. WLS 5.1 and
              >earlier do not support hot deployment of non-servlet/non-JSP/non-EJB
              >classes.
              >
              >Mike Reiche wrote:
              >
              >> You can always call BEA Support - 1.888.232.7878 to get the help you
              >need. This
              >> newsgroup is not official BEA Support. It is out of the goodness of
              >their hearts
              >> that BEA engineers help people out here.
              >>
              >> I don't really think you wanted everyone that read your email and didn't
              >know
              >> if such a feature was available, to send you an email saying 'No, I
              >don't know
              >> if such a feature is available'. That's why there were zero responses.
              >>
              >> None of the posts you listed mention what version of WL. That makes
              >a difference.
              >> Also read the online documentation at edocs.bea.com, search for 'hot
              >deploy'.
              >>
              >> Mike Reiche
              >>
              >> "Paul H" <[email protected]> wrote:
              >> >
              >> >Subject to my last post I've since seen my questions has appeared
              >twice
              >> >on this
              >> >newsgroup, March 2001, and Nov 2000 and no responses to it those times.
              >> >Aren't
              >> >there BEA engineers reading this newsgroup who would know the answer
              >> >to that question?
              >> >
              >> >http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=3776&utag=
              >> >
              >> >http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=5171&utag=
              >
              >
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >The answer is simple -- move to WLS 6.x and use enterprise applications
              >(or web applications or an EJB jar file) to package everything up into
              >a single deployment unit and hot deploy the whole deployment unit. 
              >WLS 5.1 and earlier do not support hot deployment of non-servlet/non-JSP/non-EJB
              >classes.
              ><p>Mike Reiche wrote:
              ><blockquote TYPE=CITE>You can always call BEA Support - 1.888.232.7878
              >to get the help you need.  This
              ><br>newsgroup is not official BEA Support. It is out of the goodness
              >of
              >their hearts
              ><br>that BEA engineers help people out here.
              ><p>I don't really think you wanted everyone that read your email and
              >didn't
              >know
              ><br>if such a feature was available, to send you an email saying 'No,
              >I
              >don't know
              ><br>if such a feature is available'. That's why there were zero responses.
              ><p>None of the posts you listed mention what version of WL. That makes
              >a difference.
              ><br> Also read the online documentation at edocs.bea.com, search
              >for
              >'hot deploy'.
              ><p>Mike Reiche
              ><p>"Paul H" <[email protected]> wrote:
              ><br>>
              ><br>>Subject to my last post I've since seen my questions has appeared
              >twice
              ><br>>on this
              ><br>>newsgroup, March 2001, and Nov 2000 and no responses to it those
              >times.
              ><br>>Aren't
              ><br>>there BEA engineers reading this newsgroup who would know the answer
              ><br>>to that question?
              ><br>>
              ><br>>http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=3776&utag=
              ><br>>
              ><br>>http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=5171&utag=</blockquote>
              ></html>
              >
              >
              

  • Hot deployment using the REDEPLOY feature

    Hi
    I am rather confused regarding the usage of the HOT DEPLOYMENT in WLS 6.1 sp2
    - Win2000.
    According to the documentation - "deployment.pdf" p. 31 you should be able to
    simply touch the REDEPLOY file and the entire application should then be redeployed
    by WLS. However according to the following link:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.management&item=2095
    the usage of the REDEPLOY feature is only for WebApp's not EJB's.
    So my question in short terms: What am I supposed to belive ? the BEA documentation
    or the BEA support team ?
    I have tried using the REDEPLOY feature as suggested by the documentation however
    the WLS fails to do the redeployment with an execption.
    Kind regards
    Jorgen Fastrup

    From my experience REDEPLOY does work for EJBs as well. You need to meet two conditions: REDEPLOY file should be in META-INF and your application should be deployed under the domain/application. I was not able to get it to work when the application is deployed elsewhere. If somebody knows how to it, please let me know.
    Alexander.

  • WLS6sp2 Hot deployment in cluster does not work

              I have two WLS6sp2 servers in cluster in two different machines. There is an EJB
              deployed in the cluster that works fine. Now I go to the console and I undeploy
              it: the servers show a message of "ejb undeployed". Now I activate the "deploy"
              checkbox again: the following error appears:
              weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB; nested exception
              is:
              javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-aware
              stub to a name that is currently bound to a replica-aware stub; remaining name
              javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-aware
              stub to a name that is currently bound to a replica-aware stub; remaining name
              The object is obviously clusterable (it is a stateless EJB with "home-is-clusterable=true").
              It has been deployed to the cluster target. When is working it is load balanced
              between both servers. It deploys perfectly when starting up both servers, but
              hot deployment does not work.
              This works fine when only one server is up.
              ¿Is not possible to do hot deployment in cluster?
              

    Hm, where are you seeing the javax.naming.NameAlreadyBoundException? In one of your managed
              servers, in all of your managed server, or in your admin server?
              If you see this in your admin server, then this means you got your admin joined in the cluster,
              which is not good. Remove it from the cluster if this is so.
              Gene
              "David Agudo" <[email protected]> wrote in message news:[email protected]...
              >
              > Yes, target="mycluster".
              >
              > "Gene Chuang" <[email protected]> wrote:
              > >Did you target the ejb to the cluster, or to each individual Node in
              > >your cluster? There is a
              > >difference...
              > >
              > >Gene
              > >
              > >"David Agudo" <[email protected]> wrote in message news:[email protected]...
              > >>
              > >> I have two WLS6sp2 servers in cluster in two different machines. There
              > >is an EJB
              > >> deployed in the cluster that works fine. Now I go to the console and
              > >I undeploy
              > >> it: the servers show a message of "ejb undeployed". Now I activate
              > >the "deploy"
              > >> checkbox again: the following error appears:
              > >>
              > >> weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB;
              > >nested exception
              > >> is:
              > >> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
              > >replica-aware
              > >> stub to a name that is currently bound to a replica-aware stub; remaining
              > >name
              > >> ''
              > >> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
              > >replica-aware
              > >> stub to a name that is currently bound to a replica-aware stub; remaining
              > >name
              > >> ''
              > >>
              > >> The object is obviously clusterable (it is a stateless EJB with "home-is-clusterable=true").
              > >> It has been deployed to the cluster target. When is working it is load
              > >balanced
              > >> between both servers. It deploys perfectly when starting up both servers,
              > >but
              > >> hot deployment does not work.
              > >>
              > >> This works fine when only one server is up.
              > >>
              > >> ¿Is not possible to do hot deployment in cluster?
              > >>
              > >
              > >
              >
              

Maybe you are looking for

  • My current version of Firefox (4.0.1) will not update. How can i fix it?

    Hi, My current version of firefox (4.0.1) won't update. When the update-window pops up i klick on "Update firefox" but it just keeps on loading with the blue and white stripes. This has happend before and what I have done then is I have just installe

  • How can i read every"number" value and not only the 1st?

    in the vi only the first "number" value(from the data acquisition)is read in the small loop.how can i make every value to be read?every value must be compared with the "numeric" constant,and,if greater the led must turn on.afterwards,when a value whi

  • Problem in Oracle8i Import

    Hello All, I have a schema which tables and procedures which uses object(type) as parameter or column. I exported the schema which contains tables,procedures and types successfully, but while importing to a new schema in the same database i am gettin

  • MyFaces on OC4J 9.0.4 Error

    I'm trying to deploy the simple.war demo app from the MyFaces project and this is what I get when I attempt to access it. java.lang.IllegalStateException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before!     at org.apache.myfaces.w

  • NTLM Integration with SMTP

    Hi Dear Members, I am getting following exception on NTLM authentication for SMTP ,Can you please send me the integration of NTLM with javamail SMTP. Thank you very much Anil . 535 5.7.3 Authentication unsuccessful javax.mail.AuthenticationFailedExce