Dynamic redeploymeny of exploded applications

Hi
I am trying to configure weblogic (6.0sp1) for dynamic deployment of my
application.
For convenience of source management, i got my web-apps + ejbs in different
directory other than "/config/domain_name/applications".
Now weblogic document says, application should be in
"/domain_name/application" folder, for dynamic redeployment.
Is it possible to redeploy dynamically if my EJBs class files are different
directory.
I am using exploded form of deployment.
ps. I hope it's not a issue with 6.0sp1?
Thanks
Ashish Jain

They need to be in the applications directory, or a subdirectory.
Seth
Ashish Jain wrote:
>
Hi
I am trying to configure weblogic (6.0sp1) for dynamic deployment of my
application.
For convenience of source management, i got my web-apps + ejbs in different
directory other than "/config/domain_name/applications".
Now weblogic document says, application should be in
"/domain_name/application" folder, for dynamic redeployment.
Is it possible to redeploy dynamically if my EJBs class files are different
directory.
I am using exploded form of deployment.
ps. I hope it's not a issue with 6.0sp1?
Thanks
Ashish Jain

Similar Messages

  • Dynamic redeployment of exploded application

    Hi
    I am trying to configure weblogic (6.0sp1) for dynamic deployment of my
    application.
    For convenience of source management, i got my web-apps + ejbs in different
    directory other than "/config/domain_name/applications".
    Now weblogic document says, application should be in
    "/domain_name/application" folder, for dynamic redeployment.
    Is it possible to redeploy dynamically if my EJBs class files are different
    directory.
    I am using exploded form of deployment.
    ps. I hope it's not a issue with 6.0sp1?
    Thanks
    Ashish Jain

    Hi,
    Here We have called javascript function('setFlashHeight') from Flex, and pass the param to the javascript function like: index, height
    Flex:
    Index: embed swf name
    height: set value of swf height
    javascript:
    divid: id of the div containing the flash movie.
    Flex Code:
    ExternalInterface.call("setFlashHeight","index",height);
    JavaScript Code:
    function setFlashHeight(divid, newH){
         $(divid).style.height = newH+"px";

  • Dynamic JDBC credentials example application from Steve Muench

    Apologies for this newbie question...but I'm trying to understand the Dynamic JDBC credentials example application from Steve Muench:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#14
    I think I understand most of it but the one bit I dont understand is why it customizes the ADF Page Lifecycle (DynamicJDBCADFPhaseListener, DynamicJDBCPageLifecycle, DynamicJDBCPageLifecycleContext).
    Can anyone explain to an ex-forms developer why this code is there?
    I'm also trying to work out a way for the session to be invalidated when the user logins again
    e.g. a user logins, he doesnt use the logout function but uses the back button to go back to the login page. when he logs in with another set of credentials, would a new session start or as i supsect, it would use the original login credentials?
    Thanks

    You can ignore those three classes in the example. They are not related to the dynamic credential solution, and must have been left over from some other example I evolved into what you see. Sorry to have cluttered up the implementation with stuff that isn't really contributing to the actual solution. DOH!

  • Static File in Exploded Application

    I am trying to read a gif from an exploded application.
    The exploded application is recognized ( I can view it's index.html page. ), but I can not view a gif that is part of the app.
    Any suggestions? Is there some special configuration that is necessary for static files?

    Hattie <[email protected]> wrote:
    I am trying to read a gif from an exploded application.
    The exploded application is recognized ( I can view it's index.html page.
    ), but I can not view a gif that is part of the app.
    Any suggestions? Is there some special configuration that is necessary for
    static files?Where are gif's located and how are referring those gif's in your html page?
    Kumar

  • Dynamic Reloading of Web Applications

    Should I be able to trigger dynamic reloading of web applications by "touching" the related web.xml file? It doesn't appear to work under Win2K server, JWS 6.1 SP4.
    When I "touch" a related servlet class file under the WEB-INF directory, it seems to trigger reloading of all applications under that virtual server. Is that expected behavior?
    Is there any other method of triggering dynamic reloading of web applications?

    I have not really tested in in V6.1 but in V6.0 it was possible to add the line into web-apps.xml file with the following:
    <class-loader reload-interval="XX"/>
    where XX is seconds between reloads. i.e. 3600 to reload every hour.
    In V6.1 that setting is in server.xml
    and is called "dynamicreloadinterval". You can try playing with it. But as I said I have not really tested how that works...
    Regards,
    Sasha aka ttalex

  • Dependency Package in Exploded Application WLS6.1sp2

    I am working with the sample application used in Chapter 24 of Professional
    Java Server Programming J2EE 1.3 Edition. The application is a test for
    displaying ClassLoader information for ejb and web modules and their
    associated dependent packages. I am able to deploy the packaged EAR without
    a problem under WLS 6.1sp2, but when I attempt to deploy the same
    application in exploded format, I am getting a NoClassDefFoundError during
    deployment of the ejb module. The manifest files are unchanged and the
    dependent jar files are located at the root of the exploded application...
    below is a sample of the directory structure.
    My question is, where should I put dependent classes and/or packages in an
    exploded application and how do I setup the manifest to load them?
    Thanks in advance for any help,
    Tim Kuntz
    \ear_root
    Util1.jar
    Util3.jar
    Util6.jar
    Util7.jar
    \ejb
    \depend1
    \META-INF
    MANIFEST.MF
    Manifest-Version: 1.0
    Class-Path: Util1.jar Util3.jar Util6.jar Util7.jar
    http://www.theserverside.com/resources/articles/J2EE-Deployment/chapter.html

    Here is the answer I received from a BEA Developer Relations Engineer
    regarding this...
    "When you deploy the EAR file, it is deployed under one classloader. When
    you deploy the EAR file in the exploded format, then each EJB jar file is
    loaded in a separate classloader. As long as the dependent (helper) classes
    are in the classpath, you can always redeploy the EJB jar file, but if you
    want to make changes to the dependent class then you have to restart the
    WebLogic Server."
    "Tim Kuntz" <[email protected]> wrote in message
    news:3c616a90$[email protected]..
    I am working with the sample application used in Chapter 24 ofProfessional
    Java Server Programming J2EE 1.3 Edition. The application is a test for
    displaying ClassLoader information for ejb and web modules and their
    associated dependent packages. I am able to deploy the packaged EARwithout
    a problem under WLS 6.1sp2, but when I attempt to deploy the same
    application in exploded format, I am getting a NoClassDefFoundError during
    deployment of the ejb module. The manifest files are unchanged and the
    dependent jar files are located at the root of the exploded application...
    below is a sample of the directory structure.
    My question is, where should I put dependent classes and/or packages in an
    exploded application and how do I setup the manifest to load them?
    Thanks in advance for any help,
    Tim Kuntz
    \ear_root
    Util1.jar
    Util3.jar
    Util6.jar
    Util7.jar
    \ejb
    \depend1
    \META-INF
    MANIFEST.MF
    Manifest-Version: 1.0
    Class-Path: Util1.jar Util3.jar Util6.jar Util7.jar
    http://www.theserverside.com/resources/articles/J2EE-Deployment/chapter.html
    >
    >

  • Dynamic configuration for the application

    I'm a newbie and trying to evaluate JSF. I took part in a project with struts framework and i could say i don't like struts cause of some limitation and i suspect that JSF has the same limitation. First of all, there are JSP pages. I can't use JSP pages/templates stored somewhere else except web application. I'd like to store my templates in the database. This will give me ability to add/change/remove jsp page without redeploying war-archive. Yes, i can use exploded war-archive and add JSP pages straight into file system, but i don't like this way. Next problem is the configuration file like struts-config (faces-config, whatever). I have to write down all my navigation logic and beans mapping to this file and it's really annoying me. This kind of project requires dynamic configuration for the all web application and i'd like to add/change/remove pages, beans, actions without restarting/reconfiguring webapp. Today, I looked thru documentation and source code and found that FactoryFinder class could use my own classes but i'm not sure it will be enough for the dynamic configuration for the beans. In any case, it's a huge problem with the templates.
    Right now i'm thinking about 1(one) JSP with XML/XSLT rendered HTML content and JSF for event/action handling. I mean, i'll use XSLT to render dynamic content and JSF for dispatching events. In that case i have to render form tag names in the HTML as JSF engine (i'm not sure if it possible). If it will take a lot of time to do this i'll have to switch a home-grown framework.
    So, i really need advices how to implement this sort of dynamic behavior in the web application.
    regars,
    anton

    A lot of what you're seeing are genuine limitations, but happily, JSF is so pluggable that you can overcome them.
    JSPs are problematic in exactly the way you describe - unless your app server has support for pulling JSPs out of a database, etc., you're SOL. JSF, however, lets you use something other than JSPs by replacing the ViewHandler. That's a fair bit of work, but it is doable.
    For navigation logic, you'd replace the NavigationHandler. As long as you're willing to write the code that can pull navigation rules from an external source, life is good.
    For managed beans, all you need to replace is the VariableResolver - again, if you can pull the rules from an external source, you have full control.
    This is all far from easy - and it's a huge amount of work for one person - but I'd imagine these pieces will become available from various sources. A core goal of JSF 1.0 was making the framework as a whole pluggable so that others can innovate on top of the framework.
    -- Adam Winer (EG member)

  • Error creating dynamic page in an application with a schema other than portal30

    Running 9iAS 1.0.2.2 on Solaris.
    Database 8.1.7.1
    I cannot seem to create a default dynamic page (select 'x' from dual) in an application that has a schema (e.g. test) other
    than portal30. The error seems to be when portal tries to compile the dynamic-page package, it references itself from
    within the package but prefixing the call with the other (test) schema. It never seems to compile? What seems to be the
    problem? Any ideas?

    If you are using any database object other than the applcation owned,then it has to be prefixed with the schema owner.
    For example,
    if the application schema is based on the schema "schema1" (say)
    and your query is based on one of the object on "schema2"
    and if you have necessary privilegves to access that object from schema2, then the compiler wont throw any error.
    Can u explain, what u problem you are experiencing in detail?
    (Also, if u give me the portal version, I can cross-verify that).

  • Dynamically Reading Files From Application Server

    Hi Experts,
    Presently I have to write a program which reads files from the application server dynamically. This program will be scheduled in the background with the frequency of half an hour.
    I am Using the function module
    CALL FUNCTION 'SUBST_GET_FILE_LIST'
    EXPORTING
    DIRNAME = '/usr/sap/xxx/xxx/'
    FILENM = 'DATASET'
    PATTERN = '.txt'
    TABLES
    FILE_LIST = IT_FILELIST
    I am facing problem in specifying the parameter FILENM in the function module,
    As I have to read many files from the apps server. How to assign the parameter of function module so it can take the many files generated in the apps server.
    Thanks in Advance,
    Regards,
    Irfan Hussain

    Hi,
    Instead of the above FM, you can use the following code :
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR po_ifile.
    PERFORM get_current_directory  USING 'PO_IFILE'   po_ifile
                                              rov-home_dir rov-curr_dir.
        PERFORM get_filename-of-server TABLES itab_filename
                                           USING  rov-curr_dir rov-gen_name.
        PERFORM help_values_get_with_table_ext TABLES itab_filename
                                           USING  rov-curr_dir
                                                       po_ifile.
    *&      Form  get_current_directory
          text
         -->P_0023   text
         -->P_PO_IFILE  text
         -->P_ROV_HOME_DIR  text
         -->P_ROV_CURR_DI  text
         -->P_CALL  text
         -->P_FUNCTION  text
         -->P_0029   text
         -->P_IMPORTING  text
         -->P_FILE_NAME  text
         -->P_=  text
         -->P_PO_IFILE  text
      FORM get_current_directory  USING _fieldname
                                        _filename
                                        homedir
                                        currdir.
        IF _fieldname <> space.
          PERFORM dunp_value_read USING _fieldname _filename.
        ENDIF.
        IF _filename = space.
          currdir = homedir.
        ELSE.
          rov-work_dir = _filename.
          rov-fdpos = STRLEN( rov-work_dir ).
          DO.
            IF rov-fdpos = 0.
              EXIT.
            ENDIF.
            rov-fdpos = rov-fdpos - 1.
            ASSIGN rov-work_dir+rov-fdpos(1) TO <rov_p>.
            IF <rov_p> = rov-delchar.
              <rov_p> = space.
              EXIT.
            ELSE.
              <rov_p> = space.
            ENDIF.
          ENDDO.
          currdir = rov-work_dir.
        ENDIF.
      ENDFORM.                    " get_current_directory
    *&      Form  get_filename-of-server
          text
         -->P_ITAB_FILENAME  text
         -->P_ROV_CURR_DIR  text
         -->P_ROV_GEN_NAME  text
      FORM get_filename-of-server TABLES nametab STRUCTURE itabfilename
                                  USING  _dirname _genname.
        CALL 'C_DIR_READ_FINISH'             " just to be sure
                               ID 'ERRNO'  FIELD rov-errno
                               ID 'ERRMSG' FIELD rov-errmsg.
        CALL 'C_DIR_READ_START' ID 'DIR'    FIELD _dirname
                                ID 'FILE'   FIELD _genname
                                ID 'ERRNO'  FIELD rov-errno
                                ID 'ERRMSG' FIELD rov-errmsg.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        REFRESH _nametab.
        DO.
          CLEAR _nametab.
          CALL 'C_DIR_READ_NEXT'  ID 'TYPE'   FIELD _nametab-type
                                  ID 'NAME'   FIELD _nametab-name
                                  ID 'LEN'    FIELD _nametab-len
                                  ID 'OWNER'  FIELD _nametab-owner
                                  ID 'MTIME'  FIELD _nametab-mtime
                                  ID 'MODE'   FIELD _nametab-mode
                                  ID 'ERRNO'  FIELD _nametab-errno
                                  ID 'ERRMSG' FIELD _nametab-errmsg.
          _nametab-dirname = _dirname.
          MOVE sy-subrc TO _nametab-subrc.
          CASE sy-subrc.
            WHEN 0.
              IF _nametab-name+0(1) = '.'.
              ELSE.
                APPEND _nametab.
              ENDIF.
            WHEN 1.
              EXIT.
            WHEN OTHERS.                     " SY-SUBRC >= 2
              EXIT.
          ENDCASE.
        ENDDO.
        CALL 'C_DIR_READ_FINISH'             " just to be sure
                               ID 'ERRNO'  FIELD rov-errno
                               ID 'ERRMSG' FIELD rov-errmsg.
      ENDFORM.                    " get_filename-of-server
    *&      Form  help_values_get_with_table_ext
          text
         -->P_ITAB_FILENAME  text
         -->P_ROV_CURR_DIR  text
         -->P_PO_IFILE  text
      FORM help_values_get_with_table_ext  TABLES _filename
                                                 STRUCTURE itab_filename
                                          USING  _currdir
                                                _selfile.
        TYPES: BEGIN OF f4typ_head_struc,
                 tabname LIKE help_info-tabname,
                 fieldname LIKE help_info-fieldname,
                 head_text LIKE shstruc-keyword,
               END OF f4typ_head_struc.
       DATA itab_fields    LIKE TABLE OF help_value        WITH HEADER LINE.
       DATA itab_selvals   LIKE TABLE OF help_vtab         WITH HEADER LINE.
       DATA itab_values    LIKE TABLE OF rlgrap-filename   WITH HEADER LINE.
       DATA itab_header    TYPE TABLE OF f4typ_head_struc  WITH HEADER LINE.
        REFRESH itab_fields.
        REFRESH itab_selvals.
        REFRESH itab_values.
        REFRESH itab_header.
        itab_fields-tabname    = 'PS0192'.
        itab_fields-fieldname  = 'BAA01'.
        itab_fields-selectflag = ' '.
        APPEND itab_fields.
        itab_fields-tabname    = 'RLGRAP'.
        itab_fields-fieldname  = 'FILENAME'.
        itab_fields-selectflag = 'X'.
        APPEND itab_fields.
        LOOP AT _filename.
          itab_values = itab_filename-type.
          APPEND itab_values.
          itab_values = itab_filename-name.
          APPEND itab_values.
        ENDLOOP.
        CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
           EXPORTING
            CUCOL                         = 0
            CUROW                         = 0
            DISPLAY                       = ' '
            FIELDNAME                     = ' '
            TABNAME                       = ' '
            TITLE_IN_VALUES_LIST          = ' '
            SHOW_ALL_VALUES_AT_FIRST_TIME = ' '
            USE_USER_SHRINKING            = ' '
                titel                         = _currdir
            NO_SCROLL                     = ' '
            NO_CONVERSION                 = ' '
            NO_MARKING_OF_CHECKVALUE      = ' '
           IMPORTING
                index                         = rov-index
                select_value                  = rov-selvalue
             TABLES
                  fields                        = itab_fields
                  select_values                 = itab_selvals
                  valuetab                      = itab_values
            HEADING_TABLE                 =
             EXCEPTIONS
                  field_not_in_ddic             = 1
                  more_then_one_selectfield     = 2
                  no_selectfield                = 3
                  OTHERS                        = 4.
        IF sy-subrc = 0.
          CLEAR itab_filename.
          READ TABLE itab_filename INDEX rov-index.
          IF itab_filename-type+0(3) = 'dir'.
            CONCATENATE _currdir rov-delchar rov-selvalue  rov-delchar
                                                          INTO _selfile.
          ELSE.
            CONCATENATE _currdir rov-delchar rov-selvalue INTO _selfile.
          ENDIF.
        ENDIF.
      ENDFORM.                    " help_values_get_with_table_ext
    Best regards,
    Prashant

  • Using Dynamic Text In iOS Applications

    Hey everyone,
    I'm trying to create a simple iOS app.  I want to add a Dynamic Text box into the stage that will show the score, but every time I do so, the application encounters serious lag trouble.  I'm using _sans font.
    Does anyone have a method for using Dynamic Text that works well in iOS?

    I had lots of lag when I used a TLF textfield... but decent performance when I used a "classic" TextField.

  • Dynamic Reports in java application

    Hi,
    I want to create dynamic reports in an java standalone application, I have downloaded the Jfreereport <http://sourceforge.net/projects/jfreereport>
    I'm not sure, whether it could get data from a JDBC source. (or is there anyother solution to generate dynamic reports in a java application?).
    Thanks in advance,
    Payam

    I generate reports from a webserver ( Tomcat ) in PDF using iText ( www.lowagie.com/iText ). It works great. JFreereport is also using this iText and you shouldn't have any problems using JDBC. Try to read the tutorial first about iText first. This will give you an idea how JFreereport works.
    - Dieter

  • Dynamic Calc in Multicurrency Application

    Hi,
    i have a multicurrency application in my version 11.1.1.1. All dimension members of my Entity are of Store type. But in one case i need the children to be added up and stored into their parent member. Accordingly when i made the parent Dynamic Calc and Store and used it in a data form. But when i give data it does not calculate the children, it gives ar error message-
    The dataform is not valid, pls check log....
    Any help to resolve this?
    Thanks.

    Hi,
    I am not sure of the error you are getting but do you have have the members as dynamic calc and store, could you not set them to "Never Share" and then just aggregate the children using calc members on form or using a business rule to run after the data in the form has been entered?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Cannot load Dynamic templates in RATE Application

    I'm trying to create a new input schedule in RATE application.
    When trying to open a delivered dynamic template there are no templates to display.
    How can I reload or repair this issue? Have I missed something during installation or missed to activate something else
    Regards.
    Alberto

    Thank you for your answer!
    I checked the UJFS and in Rate App in my AppSet folder I do have 2 Templates, 2 images and the correspondent Description file for both templates.
    But still not able to select one of them form the BPC Excel interface.
    Is there something else to do or "reactivate"?
    Thanks

  • Dynamic JNLP and JWS Application Manager

    All,
    I have a Swing application that communicates to the server via Servlets. I have packaged the entire application into a WAR file and I am using JWS to distribute to the users.
    The "main" method of my application accepts two parameters, one of which is dynamic based on information from the web server. To be able to calculate the value of that parameter, I decided to dynamically create and serve my JNLP file through a servlet. The parameter is then passed into the application via the <argument> tag in the served JNLP file.
    That part works great. However, once the application is installed, it doesn't show up in JWS Application Manager. My best guess is because there is not a "physical" JNLP file for reference.
    Can anyone out there confirm or deny my guess? And, more importantly, can anyone give me an idea on how to keep the dynamic JNLP file and get it to install in the JWS Application Manager?
    Thanks!

    Got it fixed. Apparently, the JWS Application Manager "view" setting wasn't correct. Once it was working, the application was showing up fine.

  • DISPLAY DYNAMIC TEXT ON THE APPLICATION TOOLBAR

    Hi Abappers,
    On the application toolbar i want to display dynamic text depending on which button is selected. can this be done...
    regards,
    Mansi.

    write the conditional setting of titlebar in
    at selection-screen output .
    if <condition> eq 'X' .
        set titlebar 'MAIN' with 'Maintain' .
      else .
        set titlebar 'MAIN' with 'Display'  .
      endif .
    now double click on MAIN, the system will ask youto creat the title click yes
    in the title field you can write static text along with & sign
    (& Test & & &)
    now if you say
    set titlebar 'MAIN' with 'Display'  '1' '2' '3' .
    it will display as
    Display Test 1 2 3 .
    Regards
    Raja

Maybe you are looking for