Resource Mangement

Hi Gurus,
How can i set priority between two user. My goal is if one user is trying to commit transaction he should get most of the resources and the other user who is just generating reports should be last in resources list.
version: oracle11gR2
Thanks!!!!!!!!

ji li wrote:
But, this seems to only "allow" these users to switch to these groups, rather than assign them to these groups.In your case DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING will assign user session to the right group based on the service name used by the client to establish a connection because you have used :
dbms_resource_manager.service_name
Also, how do I see (or adjust) what allocation of resources are given to these groups respectively by default.You need either to create a simple plan using CREATE_SIMPLE_PLAN http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbrm004.htm
or a complex plan using differents steps described in http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbrm005.htm.
You can query following dictionary views for resource manager allocated resources:
DBA_RSRC_CONSUMER_GROUPS
DBA_RSRC_IO_CALIBRATE
DBA_RSRC_PLAN_DIRECTIVES
Edited by: P. Forstmann on 15 févr. 2013 21:20

Similar Messages

  • Resource manger

    Hi All,
    I want to use resource manger in my database.
    The requirement is as below:
    Database version : 10.2.0.4
    No. of CPU's : 30
    The batch user runs the batch during the daytime window, and we want to restrict only the batch user to user say 30% CPU during the day time.
    In the night time, when the batch runs the batch user should be able to use as much CPU % as he wants, in other words all the CPU if no one else is using it
    Is it possible to achieve this using resource manager?
    Any idea how a multilevel plan can be used to have different percentage of CPU allocation for the same group during day and night?

    When I try to create a simple example with resource manager, it fails with following error
    SQL> exec DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP => 'BATCH_GROUP', COMMENT => 'Resource consumer group/method for BATCH jobs');
    PL/SQL procedure successfully completed.
    SQL> exec dbms_resource_manager.set_consumer_group_mapping( attribute => dbms_resource_manager.oracle_user, value => 'TEST', consumer_group => 'BATCH_GROUP');
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'BATCH_PLAN', COMMENT => 'Resource plan/method for Database');
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'BATCH_PLAN', GROUP_OR_SUBPLAN => 'BATCH_GROUP', COMMENT => 'Batch sessions', CPU_P1 => 30);
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
    BEGIN DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA(); END;
    ERROR at line 1:
    ORA-29382: validation of pending area failed
    ORA-29377: consumer group OTHER_GROUPS is not part of top-plan BATCH_PLAN
    ORA-06512: at "SYS.DBMS_RMIN", line 402
    ORA-06512: at "SYS.DBMS_RESOURCE_MANAGER", line 437
    ORA-06512: at line 1
    What am i missing here?

  • Resource Mangement question(s)

    Hello,
    I'm running Oracle 11.2.0.2 (on Solaris 10).
    I'm reading an Oracle whitepaper on Resource Management and hoping someone has experience with this subject.
    Re: http://www.oracle.com/technetwork/database/performance/resource-manager-twp-133705.pdf
    I have gone through the steps in this paper in attempt to set two different users (actually these are main user accounts that are shared) to two separate consumer groups, but I'm a little lost how to assign them to those groups.
    So, here are the steps I've done:
    =======================
    SQL> alter system set resource_limit=true scope=both;
    System altered.
    SQL> alter system set resource_manager_plan = 'DEFAULT_PLAN' sid='*';
    System altered.
    SQL> exec dbms_resource_manager.create_pending_area();
    PL/SQL procedure successfully completed.
    SQL> BEGIN dbms_resource_manager.set_consumer_group_mapping(attribute => dbms_resource_manager.service_name,value => 'REMEDYT',consumer_group =>'INTERACTIVE_GROUP'); END;
    PL/SQL procedure successfully completed.
    SQL> exec dbms_resource_manager_privs.grant_switch_consumer_group(grantee_name => 'ARADMIN',consumer_group => 'INTERACTIVE_GROUP',grant_option => FALSE);
    PL/SQL procedure successfully completed.
    SQL> exec dbms_resource_manager_privs.grant_switch_consumer_group(grantee_name => 'ARRDONLY',consumer_group => 'DSS_GROUP',grant_option => FALSE);
    PL/SQL procedure successfully completed.
    SQL> exec dbms_resource_manager_privs.grant_switch_consumer_group(grantee_name => 'public',consumer_group => 'DSS_GROUP',grant_option => FALSE);
    PL/SQL procedure successfully completed.So basically I'm allowing the main application which uses schema ARADMIN to use the "INTERACTIVE_GROUP", and the schema ARRDONLY (or any other user) to use the "DSS_GROUP".
    But, this seems to only "allow" these users to switch to these groups, rather than assign them to these groups.
    Also, how do I see (or adjust) what allocation of resources are given to these groups respectively by default.
    These are all Oracle default groups.
    I'm a little lost on this one whereas in the past I've just considered to use profiles for managing resources, but this is different, (and perhaps better for what I'm wanting to accomplish). What I'm wanting to accomplish, is exactly as noted in this whitepaper:
    You can also use Resource Manager to explicitly allocate CPU resources to the multiple
    workloads or applications that are sharing the database. For example, you can prioritize
    “sys” over regular users and OLTP transactions over reports and batch jobs

    ji li wrote:
    But, this seems to only "allow" these users to switch to these groups, rather than assign them to these groups.In your case DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING will assign user session to the right group based on the service name used by the client to establish a connection because you have used :
    dbms_resource_manager.service_name
    Also, how do I see (or adjust) what allocation of resources are given to these groups respectively by default.You need either to create a simple plan using CREATE_SIMPLE_PLAN http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbrm004.htm
    or a complex plan using differents steps described in http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbrm005.htm.
    You can query following dictionary views for resource manager allocated resources:
    DBA_RSRC_CONSUMER_GROUPS
    DBA_RSRC_IO_CALIBRATE
    DBA_RSRC_PLAN_DIRECTIVES
    Edited by: P. Forstmann on 15 févr. 2013 21:20

  • Resource manager and images being rewritten in the project root

    Hi everybody,
    I began using the Resource Manager, and I created two folders, one with HTML files (topics), and another one with pictures present in those topics.
    As I transferred the topics to the HTML shared folder the pictures references remained the old ones, i.e. the ones inside the project folder, right?
    Therefore I began reassigning the pictures to the ones copied in the pictures shared folder, and here begins to be a little bit illogical and difficult.
    I deleted the pictures from the original project folder as I want to save the space and have, of course, the pictures only in the shared folder, however after I reassign the pictures to one of the topics, and I sync it, the pictures I deleted appear in the root folder of the project.
    I wanted to have the "common" pictures (they appear in 2 different projects) only in the shared folder (declared as pictures folder in Resource Manager) because if I do a modification of one picture, I would like to have this modification propagated in the second project, right?
    And also save some space, as it does not make any sense to me to have the same pictures in 2 places (double space consumed) when I can have them in only one folder.
    I would like to know how I can avoid this recopying of the picture files in my project folder, if possible.
    The procedure I used was:
    1. Found out which are the common topics for the 2 projects and copied them in the Resource Manager shared folder for HTML files.
    2. Found out which pictures were on those topics and copied them in the Resource Manger shared folder for pictures
    3. I included the shared topics into the project, and reassigned the pictures to the ones that are in the Resource Manager shared pictures folder
    4. I saved the topic, and did a sync in the Resource Manger
    Did I do something wrong here?
    Thank you.

    The repository has all the images you may want to use in any of your projects or elsewhere.
    Each time you link in a project, that image only is copied to the project, not the whole repository. If either copy changes, you are notified. You then have the choice of updating the out of date copy or breaking the link because for some reason you now want the difference.
    Your statement "I saw that if I use an external directory to the actual project where I have pictures, RoboHelp will copy those into the project's folder" is not correct. The Resource pod will show all the images available in the repository but only the ones in used in the project are copied locally.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Sap wm task and resource management configuration

    Hello Experts,
    Can somebody give me configuration steps of "Task and Resource Mangement", Its urgent.
    Thanks in anticipation.
    Regards,
    Hari.

    Hi Hari Krishna,
    I am also in need of the configuration steps of "Task and Resource Management", Will plz arrange.
    Thanks in advance
    Sai Krishna

  • Resource Manager and Images

    Hi,
    I upgraded to RH9 (from RHX5) and very happily started to use both the Snippet and Resource Manager functionality.
    I seem to have hit a mental block despite reading the help and looking up this forum regarding updating images in the resource manager .....
    I have multiple projects and the same image is used throughout the projects - sometimes only once in a project and sometimes multiple times in the same project.
    Lets say this image is called Picture1.gif - due to program re-design I now need to update Picture1.gif.
    Picture1.gif is stored in Resource Manager and as it is linked then a copy is also stored in my project.
    I delete the old image, create a new image, rename it to the original name Picture1.gif and drag it to Shared Resources and then drag it back again so that it is linked.
    Despite the back and forth steps this does in fact work - the image is updated in other projects as expected.
    However, if an image appears in a project multiple times then I have to change it everywhere before I can rename it,  etc. etc.
    I feel quite sure that I am missing something here and that the whole process should be simpler!!
    I would have expected somehow to be able to update the image in the resource manger and then sync.
    TIA
    Morven

    Hi Morven
    In my own experience, it really shouldn't matter where you update the image, as the Resource Manager is a two way street. If you update in RoboHelp, it should be sensed and the updated image copied from your project to replace and update the centralized image. And likewise, if you update the centralized image, Resource Manager should update your project to match the updated centralized image.
    Again, I woudn't want to first delete the image followed by saving a new one using the same name. I would either open one of them (centralized or project) and edit as needed. Or edit a copy, make edits, then save using the same file name so the existing image is replaced.
    To the best of my knowledge, Resource Manager should sense the change as the date/time stamp should be different as well as possibly the size. Then the automation should kick in to update the image's counterpart and synchronize everything nicely. The only fly in this ointment would be if the new image were different in size from the pixel measurement standpoint. If the new image is wider or taller or narrower or shorter, you would need to ensure that you reset the sizes in your project so they match the new dimensions. Otherwise they will be a bit skewed and have the fun house effect. I believe RoboHelp supplies a script for this.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Would it be possible to have 2 shared resources, one local containing all common topics and pictures for several projects, and another one remote containing all topics and pictures for collaboration purposes

    Hi,
    I was wondering, now that I discovered the advantages of Resource Manger, if it would be possible to have 2 shared resources, one local with common topics and pictures for several projects, and another one, remote, containing the whole projects, i.e. topics and pictures, for collaboration purposes.
    The local one I intend to use it for my purposes to have common items (topics & pictures) updated in all projects where they appear, and the remote one I intend to use it together with my remote colleagues that might want to do changes in the topics.
    This would mean that the common topics and pictures would be present in both resources, the local one as well as the remote one.
    Thank you.

    Thank you for your fast answer Rick.
    I was merely wondering if it would be possible w/o having to use other products outside RoboHelp.
    We are already using svn for a lot of other purposes and we are using that for the RoboHelp projects as well, however I was wondering if it would not be possible to have RoboHelp take care of the RoboHelp projects, and with svn to take care of the other things in the company.
    Eventually, if it would be possible, I would think to sync all the local projects with the remote projects, then sync the local project with the local shared resources, and at the end sync the rest of the projects with the local shared resources.

  • NPD process in SAP PLM

    Hi,
        Can anyone give me an idea about mapping NPD (New Product Development) process in SAP PLM.
    For better understanding, NPD process steps are listed below.
    - Project portfolio alignment
    - Strategic resource management
    - Phase gate & Project management
    - Idea management
    - Prototyping & rampup
    - Product development
    - Sourcing & Supply planning
    - Marketing resource mangament
    - Market launch management.
    Reply is awarded with full points.
    Prasanna

    Hi prasanna,
    Follow this link
    <u>http://help.sap.com/bp_imcv1500/IMC_DE/HTML/E77_ProdDesEng_EN_DE.htm</u>
    Regards
    Rehman
    <b>Reward Your Points</b>

  • Seeburger adapter configuration

    At my client place they want to send an orders idoc as an EDI document to customer,,Can any one  please tell me  how to configure seeburger adapter & the mapping for edi.
    Advanced Thanks
    Kum

    Hi sati,
    First you need to instal Seeburger BIC and then you should generate the XSD structure of the all yor documents.In Sebbburger BIC mapping designer is generate thes type of all the mappings1)E2X----EDI to XML and X2E ---XML to EDI etc.Seeburger BIC mapping desigener can take care all the tranformatiom of EDI to XML and XML to EDI.once instalitation is finshed, then you can chek with BIC mapping desginer .
    Seeburger adapter is the B2B EDI Adapter.Seeburger adapter is also many types adapters:
    <b>1)BIC Adapter
    2)Split997 adapter
    3)AS2 adapter.</b>Based on your usage you have to configure thes adapter.for example
    <b>AS2 sender adapte configuration</b>:
    1)AS2
    2)Asynchor MDN Setting:
    a)SSL Certificates and Clint certifactes.
    b)SSL host name:HTTP Timeout,MDN Retry interval and MDN Retry count
    c)use proxy
    AS2 Receiver adapter:
    a)HTTP:server ,port ,url and http time out
    b)proxy:
    c)AS2:Compress,Sign.Encrypt,Sign MDN use proxy and Xi Message
    <b>Seeburger Adapter have more funcations:</b>it is very good to Moniter Message.
    1)Archiving
    2)Message monitor
    3)message Spliter
    4)Mapping Variable
    5)Resource manger
    If you nedd any more information regarding the Seeburger ,send your maild then i will send the some more docs to you.
    Regards,
    Ramesh

  • Configure Seeburger modules

    Hi All XI Gurus,
    I want to use seeburger modules to enhance file adapter in EDI >XI>R/3  scenario.I don't have seeburger adapters in my SLD. How can i install these modules and then configure that in file adapter to convert EDI to XML format.
    Please give some valuable suggestions to achieve this.

    Hi Anurag,
    First you need to instal Seeburger BIC and then you should generate the XSD structure of the all yor documents.In Sebbburger BIC mapping designer is generate these type of all the mappings
    1)E2X----EDI to XML and X2E ---XML to EDI etc.Seeburger BIC mapping desigener can take care all the tranformatiom of EDI to XML and XML to EDI.once instalitation is finshed, then you can chek with BIC mapping desginer .
    Seeburger adapter is the B2B EDI Adapter.Seeburger adapter is also many types adapters:
    1)BIC Adapter
    2)Split997 adapter
    3)AS2 adapter.Based on your usage you have to configure thes adapter.for example
    AS2 sender adapte configuration:
    1)AS2
    2)Asynchor MDN Setting:
    a)SSL Certificates and Clint certifactes.
    b)SSL host name:HTTP Timeout,MDN Retry interval and MDN Retry count
    c)use proxy
    AS2 Receiver adapter:
    a)HTTP:server ,port ,url and http time out
    b)proxy:
    c)AS2:Compress,Sign.Encrypt,Sign MDN use proxy and Xi Message
    Seeburger Adapter have more funcations:it is very good to Moniter Message.
    1)Archiving
    2)Message monitor
    3)message Spliter
    4)Mapping Variable
    5)Resource manger
    If you nedd any more information regarding the Seeburger ,send your maild then i will send the some more docs to you.
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • MXI3 - VXI, resman takes about 3 minutes to complete

    After installing a mxi3 (optical) card into a WinXP system connected to a vxi mainframe with 1 Agilent 1432A running resman will take about 3 minutes to comlete. Windows installed the PCI mxi3 card automatically and I installed nivxi version 3.3.1. I'm attempting to configure a Win2000 system now to see if the problem is indeed OS related.

    Hi rhenson,
    It seems unlikely that this problem is related to the operating system. I suspect that there is either a setting in the software or there is a hardware issue.
    The first thing I would check is the Resource Manager Delay. This delay specifies how long Resman, the resource manager, will wait before it configures all of your instruments. This setting can be set in Measurement and Automation Explorer (MAX). Right click on your VXI System, select Properties, and select the Settings tab. By default, the Resource Manger Delay should be set to 5 seconds. If the delay is set to a higher number, I suggest you use a lower Resource Manager Delay.
    It is also possible that this is a hardware issue. To determine if your VXI instrument or the MXI-3 system is
    causing the problem, I suggest you test your VXI system without this VXI instrument. Swapping in another instrument or another MXI-3 kit would also be a good idea.
    If none of this works, we'll need more information about this system before we can continue. Where exactly does the system hang? Watch Resman to find out what step is taking a long time.
    Regards,
    David Shatila
    Applications Engineer
    National Instruments

  • Cannot show node Workforce Management Core

    Hi all,
    I'm using Netweaver 2004s, ECC 6.0, cProjects 4.0, WFMCORE relase 200
    I config as document cProjects_40_Config_EN.pdf
    In Tcode spro I cannot see node Workforce Management Core in Collaboration Projects/Resource Mangement but I see node Workfore Deployment.
    I have just reactived Business Function EA-PLM and EA-HR but it still cannot show node Workforce Management Core.
    Please help me solve problems.
    Thank you in advance

    Dear Vivek,
    My server is IDES.
    Your document mentions about Organizational Areas but I cannot find in tcode spro.
    When I run cProject. It show some error:
    + Communication with the WFM Core system is not possible
    + Unable to establish with connection with LiveCache
    Please help me!
    Thanks in advance

  • Seeburger doubts

    Hi Guys,
                 I have a few questions about seeburger adapter...
    what are the adapter parametrs that need to be filled in SEEBURGER adapter in communication chammel step?
    Also what are the securities issues that need to be taken care off?
    what are 856,855 etc.
    also do we have different seeburger adapter for each ANSXI and EDIFACT?
    also does the receiver company will provide us their edi structure?
    Thanks,
    Ashish

    Hi Ashish,
    First you need to instal Seeburger BIC and then you should generate the XSD structure of the all your documents.In Sebbburger BIC mapping designer is generate thes type of all the mappings1)E2X----EDI to XML and X2E ---XML to EDI etc.Seeburger BIC mapping desigener can take care all the tranformatiom of EDI to XML and XML to EDI.
    Seeburger adapter is the B2B EDI Adapter.Seeburger adapter is also many types adapters:
    1)BIC Adapter
    2)Split997 adapter
    3)AS2 adapter.Based on your usage you have to configure thes adapter.for example
    <b>AS2 sender adapte configuration</b>:
    1)AS2
    2)Asynchor MDN Setting:
    a)SSL Certificates and Clint certifactes.
    b)SSL host name:HTTP Timeout,MDN Retry interval and MDN Retry count
    c)use proxy
    <b>AS2 Receiver adapter</b>:
    a)HTTP:server ,port ,url and http time out
    b)proxy:
    c)AS2:Compress,Sign.Encrypt,Sign MDN use proxy and Xi Message
    <b>Also what are the securities issues that need to be taken care off?</b>:
    Load the certifictes into IS and Configrare the Encryption,  Decryption keay ,Sign alograthem.These to to be configure the Sender agrrement and receiver agreement of you interface.
    Seeburger Adapter have more funcations:it is very good to Moniter Message.
    1)Archiving
    2)Message monitor
    3)message Spliter
    4)Mapping Variable
    5)Resource manger
    Regards,
    Ramesh

  • How to map a resource-ref in Jdev11 deployment plan editor

    Hi all,
    I have a ADF/BC web application where the BC4J application module does connect to a JNDI data source.
    The ViewController project does declare the Datasource as needed resource in its web.xml:
    <resource-ref>
    <res-ref-name>jdbc/wlogDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    Now i need to map that resouurce-ref to an actual data source that exist in the application container at deploy time.
    As already in JDev 10.1.3 the deployment-plan editor provided during deployment from JDeveloper does not provide any means to enter the deployment mapping for that resourc-ref (When clicking on the node (which is named resouce-ref - that becomes very confusing in case you have defined three resource-refs in your web.xml) the right pane shows a gray pane without any edit controls) So I cannot enter the resource-ref-mapping unsing the Jdev UI.
    My workaround in 10.1.3 was to save the deployment plan to disk and manually edit it, adding
    <resource-ref-mapping name="jdbc/wlogDS" location="jdbc/wlogTestEnvDS">
    </resource-ref-mapping>
    to the orion-web-app document for that webapp
    But in Jdev 11 the deployment plan file format changed (including some binary inline checksums???)and when doing exactly the same thing, the loading of the manually edited file into Jdev Deployment plan editor fails with
    oracle.oc4j.admin.deploy.spi.exceptions.ExtendedConfigurationException: invalid entry size (expected 1886413103 but got 846 bytes)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:1002)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:738)
         at oracle.jdevimpl.deploy.jsr88.ConfigModel.loadConfig(ConfigModel.java:201)
         at oracle.jdevimpl.deploy.jsr88.Jsr88ConfigurationPanel.actionPerformed(Jsr88ConfigurationPanel.java:212)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: invalid entry size (expected 1886413103 but got 846 bytes)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:240)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.parseDeploymentPlan(DeplConfiguration.java:1464)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:761)
         ... 33 more
    Caused by: java.util.zip.ZipException: invalid entry size (expected 1886413103 but got 846 bytes)
         at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:368)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
         at java.util.jar.JarInputStream.read(JarInputStream.java:171)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.copy(JarTool.java:1343)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readEntry(JarTool.java:255)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:232)
         ... 35 more
    oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: invalid entry size (expected 1886413103 but got 846 bytes)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:240)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.parseDeploymentPlan(DeplConfiguration.java:1464)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:761)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:738)
         at oracle.jdevimpl.deploy.jsr88.ConfigModel.loadConfig(ConfigModel.java:201)
         at oracle.jdevimpl.deploy.jsr88.Jsr88ConfigurationPanel.actionPerformed(Jsr88ConfigurationPanel.java:212)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: java.util.zip.ZipException: invalid entry size (expected 1886413103 but got 846 bytes)
         at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:368)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
         at java.util.jar.JarInputStream.read(JarInputStream.java:171)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.copy(JarTool.java:1343)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readEntry(JarTool.java:255)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:232)
         ... 35 more
    ---- Embedded exception
    java.util.zip.ZipException: invalid entry size (expected 1886413103 but got 846 bytes)
         at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:368)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
         at java.util.jar.JarInputStream.read(JarInputStream.java:171)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.copy(JarTool.java:1343)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readEntry(JarTool.java:255)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:232)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.parseDeploymentPlan(DeplConfiguration.java:1464)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:761)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:738)
         at oracle.jdevimpl.deploy.jsr88.ConfigModel.loadConfig(ConfigModel.java:201)
         at oracle.jdevimpl.deploy.jsr88.Jsr88ConfigurationPanel.actionPerformed(Jsr88ConfigurationPanel.java:212)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    So no chance here to add a resource-ref-mapping. The alternative way of specifying a resource-ref-mapping using the web-based deployment proces of the Enterprise manager is impossible because the 11g preview OC4j does not include an enterprise manger web-application.
    So how do I deploy the application correctly other that manually modifying the deployed orion-web-app.xml file in j2ee/home/application-deployments/earName/warName/orion-web-app.xml after deploying the app without a resource-ref-mapping? Because doing that step manually each time is quite annoying.
    Greetings,
    Thomas

    Seems i'm slowly answering my own questions :-) I finally got my RMI service, even using several methods. But ...
    It doesnt help me as the lookups are not done on the context classloader it seems. That means i need to add all my service jars to the global class path causing massive sealing issues with the war contained jars. Pretty useless. All the needed stubs etc are in the war.
    But as it seems that the web app needs to contain deployment site info (sun-web.xml) anyway, i could just as easy read my own web xml from the context and resolve the services myself. But i do wonder how this is supposed to work with EJB and CORBA stuff. The samples actually also needed to add stuff to the global class path.
    I'm probably not the easiest customer as i write this kind of middle ware for a living but i really like sjsws. It makes my own one partly obsolete as it is almost as fast and has all the fancy deployment stuff (in my case i use an in-house mobile agent frame work and agents that travel the various networks ) and infinitely easier to learn to work with and understand In case anyone is wondering i wrote Uhura because 1. i needed speed so it is a servlet based webserver and not a web server with a servlet module. 2. could not wait on ibm to fix bugs in webspere and we only used the servlet bit. 2. i needed full J2EE security and 3. i needed it to run on many OS'es
    That is why i still need the same war files to be able to be deployed in both systems as i still need my systems going on IBM iservers etc.
    Again i would welcome some feed back on such and related issues
    Cheers,
    Peter

  • Error: Requested resource does not exist with SAP WebAS..deployed an ear

    hi,
    i deployed an application using SDM gui deployement manger.   the application is built using struts,spring etc. I have also created a datasource with Oracel 9i succesfully and hav associated it with the application.
    When i try to access the application using the struts based path i get an "<b>ERROR 404:- Error: Requested resource does not exist</b>". I also tried accessing the index.jsp page directly without struts paths but dont know why i get an error "<b>File [appContext/admin/index.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].</b>"
    The same ear is working perfectly fine with IBM WSAD but not in SAP Web AS ?? is there any configuration issues that i need to address ?? Kindly help me ASAP !!
    Regards,
    Vaibhav

    Hi,
    The Required server log contents are as follows:-
    #1.5#000CF1AFC124017A000000020000067000041B1D550F525C#1155712701853#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#sap.com/doculine#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#Guest#2####661184d02cf711db80fa000cf1afc124#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#/System/Server#Plain###Runtime error in compiling of the JSP file <C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/doculine/servlet_jsp/doculine/root/admin/login.jsp> !
    The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib [/WEB-INF/c.tld]: [
         com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)(:main:, row=739, col=23) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)
    Exception id: [000CF1AFC124017A000000000000067000041B1D550F4D94]#
    #1.5#000CF1AFC124017A000000030000067000041B1D550F5C88#1155712701868#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/doculine#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####661184d02cf711db80fa000cf1afc124#SAPEngine_Application_Thread[impl:3]_37##0#0#Error##Plain###Processing HTTP request to servlet [action] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error while parsing JSP page [C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/doculine/servlet_jsp/doculine/root/admin/login.jsp].
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:117)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:238)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:429)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:316)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:372)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
         at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1001)
         at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:560)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:209)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:316)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:372)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib [/WEB-INF/c.tld]: [
         com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)(:main:, row=739, col=23) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.validate(JSPParser.java:243)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:348)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:105)
         ... 37 more
    #1.5#000CF1AFC124017A000000050000067000041B1D550F5F94#1155712701868#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/doculine#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#2####661184d02cf711db80fa000cf1afc124#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [action] finished with error.
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error while parsing JSP page [C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/doculine/servlet_jsp/doculine/root/admin/login.jsp].
    Exception id: [000CF1AFC124017A000000030000067000041B1D550F5C88]#

Maybe you are looking for