How to use dynamic reloading un SUN AS 8.1 ?

Hi
I have enabled dynamic reloading, but it doesn't work for me.
Maybe I am copying class to a wrong directory ?
I have modified a class and copied it to
c:\Sun\AppServer\domains\domain1\applications\j2ee-modules\MyWEBApp\WEB-INF\classes
but server deosn't reload it.
I need to restart the server to have that class reloaded.
Why ?

Hi
When I create .reload or update it's timestamp in
c:\Sun\AppServer\domains\domain1\applications\j2ee-modules\IDEGATransactionGateway\.reload
then AS tries to autodeploy the application and it fails, because I already have an application with such name.
Isn't that strange ? Does this reload thing work for someone ?
[#|2005-06-03T13:34:47.437+0300|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=19;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- Cannot deploy IDEGATransactionGateway. The name is already registered to a different type of Module or App: Web Module. If you want to deploy this Module or App either (a) change the name or (b) undeploy the other Module or App first.
     at com.sun.enterprise.deployment.backend.Deployer.checkRegisteredAnywhereElse(Deployer.java:412)
     at com.sun.enterprise.deployment.backend.ModuleDeployer.setDeployCommand(ModuleDeployer.java:936)
     at com.sun.enterprise.deployment.backend.ModuleDeployer.begin(ModuleDeployer.java:239)
     at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestPrepare(ModuleDeployer.java:105)
     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:112)
     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
     at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
     at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
     at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
     at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
     at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
     at $Proxy1.invoke(Unknown Source)
     at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
     at com.sun.enterprise.deployment.autodeploy.AutoDirReDeployer.invokeDeploymentService(AutoDirReDeployer.java:82)
     at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
     at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:433)
     at com.sun.enterprise.deployment.autodeploy.AutoDirReDeployer.redeploy(AutoDirReDeployer.java:56)
     at com.sun.enterprise.server.StandaloneWebModulesManager.reload(StandaloneWebModulesManager.java:158)
     at com.sun.enterprise.server.ReloadMonitor.run(ReloadMonitor.java:296)
     at java.util.TimerThread.mainLoop(Timer.java:432)
     at java.util.TimerThread.run(Timer.java:382)
|#]
[#|2005-06-03T13:34:47.437+0300|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=19;|"DPL8011: autodeployment failure while deploying the application : Deployment Error -- Cannot deploy IDEGATransactionGateway.  The name is already registered to a different type of Module or App: Web Module.  If you want to deploy this Module or App either (a) change the name or (b) undeploy the other Module or App first.
"|#]
[#|2005-06-03T13:34:47.437+0300|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=19;|CORE5003: [IDEGATransactionGateway] failed to reload!|#]

Similar Messages

  • How to Use Dynamic SQL

    Can anybody please send me a small program on How to Use Dynamic SQL.
    How to execute and run give details.
    Thanks
    null

    You can certainly use the INTO (and USING) clauses of EXECUTE IMMEDIATE to pass in and return data, i.e.
    EXECUTE IMMEDIATE sqlStmt
      USING variable1, variable2
       INTO output1, output2The more complex the statement, however, the more appropriate DBMS_SQL is. DBMS_SQL also has the potential to allow you to use bind variables rather than reparsing the statement many times.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to use dynamic select query which queries from 3 different table.

    Hi All,
    I am new to Toplink, i would like to use a named query to select some of the columns from 3 different tables with dynamic where clause.
    I have used the following lines. Please tell me how to get code for the dynamic where clause.
    First try :
    Vector objPersons = (Vector)session.executeQuery("findPersonByGlobalID",Person.class,vQueryArguments);
    The above method is not returning the vector or collection.
    Second Try:
    ReadAllQuery query = new ReadAllQuery(Person.class);
    query.useCollectionClass(LinkedList.class);
    LinkedList person = (LinkedList) session.executeQuery(query);
    The second try is returning the collection but, this fetches all the record from the table.
    1. How to query for range of records?
    2. How to query from multiple tables for some range. How to use dynamic range values ?
    Please reply with your answers or some pointers would help.
    Thanks and Regards,
    Vijay.B

    Hi,
    Did you try using a SQLCall ? It might be able to satisfy you requirements .. :-
    Employee employee = (Employee) session.executeSelectingCall(
        new SQLCall("SELECT * FROM EMPLOYEE WHERE EMP_ID = 44")
    );You can get more information here :-
    http://www.oracle.com/technology/products/ias/toplink/doc/1013/MAIN/_html/qrybas004.htm
    Regards,
    Sandeep

  • How to use dynamic list box in survey builder?

    Hello,
    Could someone give me a little bit of thread? How to use dynamic list box in survey builder?

    Hi Liu,
    Dynamic combo boxes::A combo box is dynamic if it references a document property for which a value set is defined in the configuration (System Administration ® System Configuration ® Content Management ® Global Services ® Property Metadata ® Properties ® Parameter Allowed Values).
    At runtime (when you open the creation form) the system reads these values from the configuration and displays them in the dropdown list.
    If you link a combo box for which list entries already exist to a document property with a value set, the system asks whether you want to delete the list entries. it is recommend that you accept this suggestion and delete the list entries from the XML Forms Builder. Otherwise inconsistencies could arise between the entries in the XML Forms Builder and the value set in the configuration. This can cause errors when saving.
    Also you may Refer the Link for Further help:
    http://help.sap.com/saphelp_crm50/helpdata/en/29/c40d3d2a83752de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/00/9e7f41969e1809e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/a7/5a874174a8050de10000000a1550b0/frameset.htm
    Hope it Answers your Queries..
    Thanks and Regards,
    RK.

  • How to use dynamically column_name and column_name value in plsql procedure

    hi,
    how to use dynamically column_name and column_name value in plsql procedure.
    for example, i have one table with column col1.i want write plsql code with dynamically execute the insert one schema to another schema.
    by
    siva

    DECLARE
    CURSOR C
    IS
    SELECT cc_cd
    FROM TEMP1 WHERE s_flg ='A' AND b_num IN('826114');--,'709537','715484');
    CURSOR D
    IS
    SELECT * FROM cONSTRAINTS_test ORDER BY SRL_NUM;
    STMT VARCHAR2(4000);
    p_target_schema VARCHAR2(30):='schema1';
    p_source_schema VARCHAR2(30):='schema2';
    BEGIN
    FOR REC IN C
    LOOP
    FOR REC1 IN D
    LOOP
    STMT := 'INSERT INTO '||p_target_schema||''||'.'||''||REC1.CHILD_TABLE||' SELECT * FROM '||p_source_schema||''||'.'||''||REC1.CHILD_TABLE||' where '||REC1.COLUMN_NAME||'='||REC.cntrct_cd||'';
    Dbms_Output.Put_Line('THE VALUE STMT:'||STMT);
    END LOOP;
    END LOOP;
    END;
    cc_cd='434se22442ss3433';
    cc_t_ms is parent table-----------------------pk_cc_cd is primary key
    cc_cd is column name
    CONSTRAINTS_test table
    CHILD_TABLE NOT NULL VARCHAR2(30)
    CONSTRAINT_NAME NOT NULL VARCHAR2(30)
    COLUMN_NAME NOT NULL VARCHAR2(400)
    R_CONSTRAINT_NAME VARCHAR2(30)
    CONSTRAINT_TYPE VARCHAR2(1)
    PARENT_TABLE NOT NULL VARCHAR2(30)
    SRL_NUM NUMBER(4)
    CHILD_TABLE     CONSTRAINT_NAME     COLUMN_NAME     R_CONSTRAINT_NAME     CONSTRAINT_TYPE     PARENT_TABLE     SRL_NUM
    a aaa cc_CD     pk_cc_CD     R     cc_t_MS     1
    bb     bbb      Cc_CD     PK_CC_CD     R     cc_t_MS     2
    bb_v     bb_vsr     S_NUM     PK_S_NUM      R     bb_v      3
    cC_HS_MS     cc_hs_CD     cc_CD     PK_CC_CD     R     cc_t_MS     4
    cC_HS_LNK cc_HIS_LNK_CD     H_CD     PK_HS_HCD     R     cC_hs_ms 5
    cC_D_EMP     cc_d_EMP     Cc_CD     PK_CC_CD      R     cc_t_MS     6
    i want insert schema1 to schema2 with run time of column_name and column value.the column_name and values should dynamically generated
    with refential integrity.is it possible?
    can any please quick solution.its urgent
    by
    siva

  • How to use dynamic parameter when a report is created using Stored Procedures

    Hi all,
    any one have the idea of how to use dynamic parameter in crystal report XI R2
    when report is created using Stored Procedure.
    Regards
    shashi kant chauhan

    Hi
    You can create an SQL command in Database Expert > Expand your datasource > Add command
    Then enter the SQL query that will create the list of values to supply to the user
    eg select field1,field2 from table
    Then edit the parameter of the report.  These will be the SP parameters adn can be seen in field explorer.
    Change the parameter type to Dynamic
    Under the word Value click on Click here to add item
    Scroll down to your Command and select one of the values that you want to appear in the list
    e.g field1
    Then click on the Parameters field - this is essential to create the param
    You can edit other options as required
    That should do it for you.
    I must say that i use CR 2008 connected to Oracle 10g SP, but i reckon this will work for SQL DB and CR XI as well
    Best of luck

  • How to config dynamic reload in websphere

    I would like to update the web.xml without the server stops or only restart the application, how to achieve that? In addition, how can I configure the dynamic reload in Websphere? I only select the Reload Enable checkbox in the console, but it seems it doesn't take effect..

    I've not used Websphere but I think the 'Reload Enable' would probably refer to the reloading of servlets on change ( which is normally disabled meaning you have to restart in order to load a new, modified instance of a servlet )
    When you change your DD ( web.xml ) you have to redeploy your app. But most production level servers allow you to do a 'hot' deploy meaning you can manage your apps ( deploy/ start/ stop ) without affecting others or restarting the server. You'll have to look up how this is done for Websphere.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • How to use dynamic selection screen inputs in main program

    hi all,
      its a report where in it calls one dynamic selection screen( user need to enter the parameters here) after that i need to use those inputs for some check, can any buddy help how to use/ get that input parameters into main program.
    regards,
    vara..

    Hi,
    i think u have created that dynamic selection screen in seperate program and calling to ur main program.instead of that u just create that synamic selection screen program as include program and include it in ur main program.
    or u need to use set/get parameter id concept.
    rgds,
    bharat.

  • How to use dynamic link in creative cloud?

    I'm new with using the Creative Cloud and I'm wondering how I use the dynamic link tool between After Effects and Premiere Pro? When I right click on a piece of footage the dynamic link section is faded and won't let me click it. I also can't drag clips from premiere into after effects. Do I have to download something extra for dynamic link?

    Nobody can tell you anything without proper system info or other technical details like sequence settings, footage used and so on.
    Mylenium

  • How to use dynamic query for Result table

    Hello Experts,
    I want to use dynamic query and then display the result in the assignment block.
    Using dynamic query BTQAct and BTQRAct and base on some search criteria i want tofilter and then append the result in the result table of that custom context node, and then it should display the result in the view in UI.
    SO can you please provide me the samplle code on how to use the dynamic query and append in the result table.
    Regards.

    Hi,
    Please find below sample code:
    data:  query         TYPE REF TO cl_crm_bol_dquery_service,
               result        TYPE REF TO if_bol_bo_col.
    DATA: lt_params       TYPE crmt_name_value_pair_tab,        
               lwa_params      TYPE crmt_name_value_pair.             
    query = cl_crm_bol_dquery_service=>get_instance( 'BTQAct' ). " Get instance of dynamic query
    Set general query parameter for maximum number of hits
          lwa_params-name = 'MAX_HITS' .
          lwa_params-value = '50'.
          APPEND lwa_params TO lt_params.
          query->set_query_parameters( it_parameters = lt_params ).
          query->add_selection_param( iv_attr_name = 'OBJECT_ID'
                                                    iv_sign      = 'I'
                                                    iv_option    = 'EQ'
                                                    iv_low       = <lv_objectid>
                                                    iv_high      = '' ). " Set your search criteria. Repeat this code if you have multiple parameters
    "You can find possible search options for a query object in  GENIL_BOL_BROWSER
    result ?= query->get_query_result(  ).   " Get result from your search query
    me->typed_context-> <your result context node>->set_collection( result ). 
    Here you will have to create a context node in your view which would refer to query result object like for BTQAct its BTQRAct                      
    Hope this helps.
    e Regards,
    Bhushan

  • How To Use Dynamic Menus To Place Manually Created Jspx Pages On Sub-Level

    JHeadstarters,
    Back on the JHS trail and could use some help.
    I started using dynamic menus (see section 9.2 JHS Dev Guide) to setup a custom menu structure and found it could not be easier however I need to solve 2 issues;
    1. How to get more than 2 levels deep on the menus (parent, child, grand-child, etc.)? In the menu structure setup I have created a menu that is 3-levels deep however when it runs you only get 2 levels. Perhaps a template needs to be changed.
    2. How can I assign manually created jspx pages to sub-level menus?
    Scenerio;
    I have JHS generated pages *** AND *** manually created pages. Using dynamic menus to place the JHS genned pages works fine, the problem is how to do it with manually created pages.
    Using Dynamic Menu's I created a top-level menu tab named "warp-core", below it on the next level I have two sub-menus, one named "search" and one named "form" for displaying the results of the search and modifying the rows (don't ask me why they are seperate).
    The problem is how to assign the manually created jspx pages to those sub-menus? Or am I going abouth this the wrong way? Perhaps I could use JHS to generate seperate search and display pages.
    Thanks!
    BG...

    Bill,
    1. Yes, you need to decide yourself how and where you want to render this third level menu. You then create a region file similar to dynamicMenu2Tabs.jspx, just replace the references to level2MenuItems with level3MenuItems. Then create a custom template to call this menu 3 region file.
    For example, you could create a bulleted vertical list for level 3 as illustrated in section 9.1.3 of the Developers Guide (that example is with static menu, but you can use similar technique for dynamic menu)
    2. Instead of a group name, you can specify a JSF Navigation action in the menu administration application. So, you create a global navigation case to your custom page, and you enter this navigation case id in the menu admin app.
    Note that if you want to generate separate search pages, you can do so by setting the advanced search property to "separatePage".
    Steven Davelaar,
    JHeadstart Team.

  • How to use dynamic column fields in formulas

    Hi,
    we changed from CR 8.5 to CR XI R2.
    Many of our reports use dynamic queries with different count of columns.
    These reports are designed for the maximum count of columns.
    This works fine with CR 8.5 but with CR XI R2 it seems to be that if one of these columns is missing i get an error in all formulas using this missing columns.
    How can i use or check this columns in formulas?
    regards
    Michael

    Could it be because of null values?  Try File -> Report Options and then check the box next to convert null values to default values and see it that helps or you can go into the formulae and choose Default Values for Nulls.  Either of these options should plug a zero if the values happen to be nulls.

  • How to use java script in  sun stdio crator  jsf

    in sun stdio creator
    Checkbox cb;
    cb=new checkbox();
    ch. markforDeletion.setOnChange("submit()");
    it is giving identifier excepted .
    how to use setOnChange and other functio
    with regards
    shannu sarma

    in sun stdio creator
    Checkbox cb;
    cb=new checkbox();
    ch. markforDeletion.setOnChange("submit()");
    it is giving identifier excepted .
    how to use setOnChange and other functio
    with regards
    shannu sarma

  • HR-How to use dynamic selection fields in prog ..?

    Hii
         I have written a prog to select data pertaining to details of all employees who belong to a particular country . For this i have provided a dynamic selection field for selecting country (through Selection View).But when i am getting all the records for all countries.
                    How to use the dynamic selection fields in program or they behave in the same way as the standard selection given by the LDB .As if we enter a value in the std screen then the GET event acts accordingly .
    Ajitabh Pradhan

    Hi Ajitabh,
    First off, is the Dynamic Selection working? If so, try the following code.. I am assuming, you only want to look at Permanent Address.
    tables: pernr.
    infotypes: 0001,0006.
    start-of-selection.
    get pernr.
      rp-provide-from-last p0001 space pn-begda pn-endda.
      check pnp-sw-found eq 1.
      rp-provide-from-last p0006 1 pn-begda pn-endda.
      check pnp-sw-found eq 1.
      write:/ pernr-pernr,p0001-ename,p0006-land1.
    end-of-selection.
    Regards,
    Suresh Datti

  • How to use dynamic types: []

    Hello!
    I don't know to use dynamic types: []
    for example:
              double[] tmp = new double[2];
              ArrayList<double[]> tmp2= new ArrayList<double[]>();
              for(int i = 0; i<5; i++){
                   tmp[0] = i;
                   tmp[1] = i+1;
              tmp2.add(tmp);
    *Why all tmp2 members are similar to the last value of tmp?
    *How can I keep all the values from
              tmp[0] = 0;
              tmp[1] = 1;
    to
              tmp[0] = 4;
              tmp[1] = 5;
    in tmp2?
    Thanks!

    800512 wrote:
    I don't know to use dynamic types: []I'm going to take a punt here, and assume that you are talking about using a List as a dynamically extending array, in which case you need to learn about defining element types:ArrayList<double[]> tmp2= new ArrayList<double[]>();is wrong. You cannot put primitive types in angled brackets; only class or interface names. Therefore the proper definition is:ArrayList<Double[]> tmp2= ...
    *Why all tmp2 members are similar to the last value of tmp?Because you've only added one element to tmp2.
    *How can I keep all the values from...in tmp2?Look at your loop and write out on a piece of paper what you think it's doing. Hopefully that'll give you the answer.
    If you do indeed want each element in the List to contain a pair of values, you're going to have to work out some way of adding to your List once for every two values you're inputting. I suggest you think about that too.
    Winston

Maybe you are looking for

  • Approval on updation of a document

    Dear experts I have a query. Can we create a workflow for the updation of already approved document? Scenario: Person1  : Publish a doc. D1 (goes for approval) Admin     : Approves it Person1  : Make changes to doc. D1 at this point of time is it pos

  • Creating large scale secure document repository for remote access and a few other Azure questions

    Hello Microsoft Community, Is there a way to put a bunch of documents in Azure storage and present them to an end user via an interface that is either web based or local that will provide security (log in control) to the folders and logging along wit

  • Printing of Vendor Credit Memo - Urgent

    Hi Experts, I want to issue a print output of Vendor Credit Memo to vendor.  Could I get the configuration steps please. regards, Mallik

  • Wall mounting Omni 100 all in one PC

    I am looking for an adaptor to mount my Omni 100-5050 all in one PC to the wall.  Having trouble finding an adaptor.  Any suggestions would be great!  Thank for you help.

  • Running the Outdoor Camera on Batteries

    The power adapter for the camera is 12V/1A, 100~240 VAC. Has anyone every run one of these off of a battery? My reason for asking is that I want to mount the camera in a work shed on the back of my property. There is no power in the shed and I had th