Mapping labour as resource in snp

Hi ,
any idea if labour can be mapped in SNP as resource? how can it be done?
Regards,
Illford

Hi Illford,
Define labour/person as a capacity category and define a workcenter/resource in R/3.
then use this in the Routing and assign products and create a Production version for it in R/3.
when you CIF this data to APO, you will have PDS/PPM for the same.
Now, when you have planning data for this product in SNP Planning area and planning book, you can make selection on this resource or labour in the Planning table.
Let me know your set up. hope it is clears.
Thanks,
Regards,
Sandeep Kumar.S

Similar Messages

  • Mapping labour resource in ppds

    Hi
    I want to map labour resource with labour time fetching in order at the time of scheduling in ppds. Please help me how to achieve this..
    my schenario is as....
    normally i have 50 labour resources,but due to some problem only 30 labour resource came....how i can utilise these 30 resources so that my machine utilisation will be maximum and i will be able to meet my requirement...
    please let me know for further clarification...
    Regards
    pradeepta

    Hi Santosh,
    You have to maintain one more capacity with category 002 in ECC with available capacity & formula to calculate the capacity. When you transfer this resource to APO apart from the machine resource, labor resource will also be transferred to APO.
    When you use this resource (machine) in recipe and transfer this recipe into APO, it will reflect as secondary resource in APO PPM.
    When orders are scheduled for machine you also get the requirement of labor.
    Scheduling formula does not contain the parameter for labor; hence the primary resource & secondary resource consumption are same.
    If the labor houru2019s requirements are different than the processing time of operation, you can try to change capacity consumption data manually for secondary resource in PPM.
    If worker are not required in to give their full attention to one machine only but a pool of worker operate a couple of machine which required more attention at certain movements i.e. loading/unloading or set-up. you can create a pooled capacity in ECC system, which can be assigned to may work centers. The capacity is transferred as resource to APO and modeled as multi-mixed resource (no-dimension).
    Regards,
    VD

  • Could not parse mapping document form resource

    What is meaning of this error
    Could not parse mapping document from resource user.hbm.xml
    log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "main" java.lang.NullPointerException
         at UserClient.main(UserClient.java:39)

    I also faced same problem when i wrote my first hibernate mapping file, this error will accur because of bad xml parser design, the parser developer did not even validate and remove blank lines from xml before parsing it, becuse of that if there is first blank line in your xml mapping file then we will get "The processing instruction target matching "[xX][mM][lL]" is not allowed" error.
    Solution: Just check is there any blank line at the begining of your hibernate mapping file if so remove that then it will works fine.

  • Resource "NOT SNP RELEVANT" not working

    Hello All,
    We are having Multi mixed resources in APO. These resources do not have "NOT SNP Relevant" flag set. So they show up in SNP PPMs when we convert from PPDS PPMs.
    We now want to remove resource from SNP PPMs and hence deleted the SNP PPMs and marked the resource as "NOT SNP RELEVANT". We again converted PPDS PPM to SNP PPM but we still the resource coming in SNP PPM even after checking the flag in the resource.
    Has anyone come across this issue?
    Please advise.
    Thanks,
    Sanju

    Kumar,
    This helped solve this problem. I maintained the flag in all the planning versions and it worked fine.
    I have another PPM for a different plant and the problem here I am facing is even when the "not SNP relevant" is unchecked the Resource is not seen in SNP PPM when converted from PPDS PPM. It is a multi-mixed resource.
    I am wondering if it a setting in the resource that would be causing it to drop from the SNP PPM. Any idea what could be the possible reasons.
    Thanks,
    Sanju

  • Resource in SNP

    Hello Gurus,
    What is the relevency of the fileld maintained in the resources as (cheak mark) Not-SNP-Rel. While maintaining the resources in SNP. Or it will be maintained for single-mixed resources only and not for multimixed.
    Full points for answer
    Please Help.....
    Thank You,
    Amol Chavan
    Message was edited by:
            Amol Chavan

    Hello Harish/Ian/Patrick,
    Thank you for your responce.
               In our scenario we are maintainig 4 capacity categories in R/3 of which one is maintained for scheduling in capacity header and for rest capacity categories they have maintained as relevant for finite scheduling, and can be used by several operations for all cap. categories. Which r CIF ed to APO and showing relevant for Finite Sch. as in R/3. But here in APO they have not cheaked the  cheak box for not SNP rel.  In that case how system will or will not plan on these resources.
    We are not using CDP.
    Please brife about SNP PPM generation and this cheak box relation.
    Thank You,
    Amol Chavan.

  • Could not parse mapping document from resource

    HI All,
    I'm using hibernate3.2.2 I wrote the following code to contact the database but the system tells the error on it. My code is
    Dealer.java:
    package com.mapping;
    public class Dealer {
         private int id;
         private String name;
         private int did;
         public int getDid() {
              return did;
         public void setDid(int did) {
              this.did = did;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
    Product.java
    ------------------package com.mapping;
    public class Product {
         private int id;
         private int did;
         private String name;
         private double price;
         public int getDid() {
              return did;
         public void setDid(int did) {
              this.did = did;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public double getPrice() {
              return price;
         public void setPrice(double price) {
              this.price = price;
    JoinExample.java
    package com.mapping;
    import java.util.Iterator;
    import org.hibernate.Query;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.cfg.Configuration;
    import com.HibernateSessionFactory;
    public class JoinExample {
         public static void main(String args[]){
              Session session=null;
              try{
                   session = HibernateSessionFactory.getInstance().getCurrentSession();
                   session.beginTransaction();
                   String sql_query = "from Product p inner join p.dealer as d";
                        Query query = session.createQuery(sql_query);
                        Iterator ite = query.list().iterator();
                        System.out.println("Dealer Name\t"+"Product Name\t"+"Price");
                        while ( ite.hasNext() ) {
                        Object[] pair = (Object[]) ite.next();
                        Product pro = (Product) pair[0];
                        Dealer dea = (Dealer) pair[1];
                        System.out.print(pro.getName());
                        System.out.print("\t"+dea.getName());
                        System.out.print("\t\t"+pro.getPrice());
                        System.out.println();
                        session.close();
              }catch(Exception e){
                   e.printStackTrace();
    Dealer.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN"
    "http://hibernate.sourceforge.net/
    hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
    <class name="com.mapping.Dealer" table="dealer">
    <id name="id" type="java.lang.Integer" column="id">
    <generator class="increment"/>
    </id>
    <property name="name" type="java.lang.String" column="name"/>
    <property name="did" type="java.lang.Integer" column="did"/>
    <bag name="product" inverse="true" cascade="all,delete-orphan">
              <key column="did"/>
    <one-to-many class="com.mapping.Product"/>
    </bag>
    </class>
    </hibernate-mapping>
    Product.xml
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE hibernate-mapping
    PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN"
    "http://hibernate.sourceforge.net/
    hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
    <class name="com.mapping.Product" table="product">
    <id name="id" type="java.lang.Integer" column="id">
    <generator class="increment"/>
    </id>
    <property name="name" type="java.lang.String" column="name"/>
    <property name="did" type="java.lang.Integer" column="did"/>
    <property name="price" type="java.lang.Double" column="price"/>
    <many-to-one name="dealer" class="com.mapping.Dealer" column="did" insert="false" update="false"/>
    </class>
    </hibernate-mapping>
    hibernate.cfg.xml
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD//EN"
    "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
    <session-factory>
    <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
    <property name="hibernate.connection.url">jdbc:mysql://localhost/hibernate</property>
    <property name="hibernate.connection.username">root</property>
    <property name="hibernate.connection.password"></property>
    <property name="hibernate.connection.pool_size">10</property>
    <property name="show_sql">true</property>
    <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
    <property name="hibernate.hbm2ddl.auto">update</property>
    <!-- Mapping files -->
    <mapping resource="com/mapping/Dealer.hbm.xml"/>
    <mapping resource="com/mapping/Product.hbm.xml"/>
    </session-factory>
    </hibernate-configuration>
    it throws the following example:
    log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
    log4j:WARN Please initialize the log4j system properly.
    %%%% Error Creating HibernateSessionFactory %%%%
    org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/mapping/Dealer.hbm.xml
         at org.hibernate.cfg.Configuration.addResource(Configuration.java:575)
         at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1593)
         at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1561)
         at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1540)
         at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1514)
         at org.hibernate.cfg.Configuration.configure(Configuration.java:1434)
         at com.HibernateSessionFactory.initSessionFactory(HibernateSessionFactory.java:39)
         at com.HibernateSessionFactory.getInstance(HibernateSessionFactory.java:23)
         at com.mapping.JoinExample.main(JoinExample.java:19)
    Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
         at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:514)
         at org.hibernate.cfg.Configuration.addResource(Configuration.java:572)
         ... 8 more
    Caused by: org.dom4j.DocumentException: hibernate.sourceforge.net Nested exception: hibernate.sourceforge.net
         at org.dom4j.io.SAXReader.read(SAXReader.java:484)
         at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:505)
         ... 9 more
    org.hibernate.HibernateException: Could not initialize the Hibernate configuration
         at com.HibernateSessionFactory.initSessionFactory(HibernateSessionFactory.java:56)
         at com.HibernateSessionFactory.getInstance(HibernateSessionFactory.java:23)
         at com.mapping.JoinExample.main(JoinExample.java:19)
    regards,
    Maheshwaran Devaraj

    I also faced same problem when i wrote my first hibernate mapping file, this error will accur because of bad xml parser design, the parser developer did not even validate and remove blank lines from xml before parsing it, becuse of that if there is first blank line in your xml mapping file then we will get "The processing instruction target matching "[xX][mM][lL]" is not allowed" error.
    Solution: Just check is there any blank line at the begining of your hibernate mapping file if so remove that then it will works fine.

  • FileChannel.map() and OS resources releasing

    Hi,
    If I execute a FileChannel.map() call I obtain a ByteBuffer.
    As documented from map() the OS resources is released only at
    ByteBuffer GC-collecting, so I must set oMyByteBuff to null (I must
    do this before delete the mapped file, else delete fails).
    With the new "G1" garbage collector, which works by regions, it will works
    already in the same way?
    Isn't more useful to define a ByteBuffer.discard() method?
    TIA

    ice1972 wrote:
    Hi,
    If I execute a FileChannel.map() call I obtain a ByteBuffer.
    As documented from map() the OS resources is released only at
    ByteBuffer GC-collecting, so I must set oMyByteBuff to null (I must
    do this before delete the mapped file, else delete fails).
    With the new "G1" garbage collector, which works by regions, it will works
    already in the same way?
    Isn't more useful to define a ByteBuffer.discard() method?
    TIAThere's a RFE/Bug report on this, and something might be done about it in Java 7.
    Kaj

  • Mapping of logical resource-name to absolute jndi-name for data source

    Hi,
    I am using SJS AS 8.1. I do a lookup for datasource using logical name specified in ejb-jar.xml using resource-ref element as below :
    <resource-ref>
            <res-ref-name>jdbc/db-resource</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>jdbc/db-resource is mapped to absolute jndi name 'jdbc/jndi-db-resource' in sun-ejb-jar.xml as below :
    <resource-ref>
            <res-ref-name>jdbc/db-resource</res-ref-name>
            <jndi-name>jdbc/jndi-db-resource</jndi-name>
    </resource-ref>I have configued data source using admin GUI with JNDI name jdbc/jndi-db-resource. When I do a look up of datasource as below :
    initalContext.lookup("jdbc/db-resource"); from the EJB I get NameNotFoundException. How do I configure logical datasource name using admin GUI ?
    Thanks,
    Manisha.

    Hi Manisha,
    When doing a lookup of standard j2ee connection factories like jms or jdbc "java:comp/env" need to be prefixed.
    initalContext.lookup("jdbc/db-resource");
    need to be
    initalContext.lookup("java:comp/env/jdbc/db-resource");
    For more information :
    http://docs.sun.com/source/819-0079/dgjndi.html#wp24616
    Thanks,
    -Jagadish

  • Mapping to Cluster Resources

    Hi All
    Anyone had any luck mapping drives to cluster resources?
    My NCL will map just fine to any standard 6.5 servers but will not show up
    any cluster resources from the browse option for mapping drives.
    Anyone got this working?
    Ta
    Martin

    On Tue, 26 Jul 2005 20:35:03 +0000, carnold5 wrote:
    > FYI, i too had this problem when using Suse 9.3. Try this:
    > instead of using the tray NCL to login, use the NCL login in
    > "applications". When i use the "applications" NCL login, this works
    > everytime but when using the tray NCL login, it would only sometimes work.
    > Also, i do not experience this problem when using NLD 9 with the NCL (both
    > the tray login and the applications login work). Let us know.
    Hi
    OK I will give that a try.
    For info, I did manage to map a drive to a cluster resource, but I had to
    drill down via Server\Volume\dir\dir\dir etc etc
    I woul dhave expected cluster resource volumes to show up natively. Oh
    well, I'll try your suggestion too and see what happens.
    Thanks
    Martin

  • Multiple Resource in SNP PPM

    Hi Experts,
    I have scenario where bottleneck resources changes with time. Lets say that I have two workcenters WC1 & WC2. Operation 10 will be performed through WC1 and operation 20 will be performed through WC2. SFG1 is input material for operation10 and FG1 is output material through WC2. So SFG1 will be processed through WC1 & WC2 and output material is FG1. Operation 10 & 20 are sequential operations. WC1 & WC2 have the same scheduling time for both the operations 10 & 20
    Now, WC1 runs in three shifts in May'10 and WC2 runs 2 shifts in May'10. So WC2 is bottleneck resource in May'10. In June'10 WC1 runs in two shifts and WC2 runs in three shifts so WC1 is the bottleneck resource in June'10. Simply, bottleneck resource can be either WC1 & WC2 depends on time.
    So in my routing I have two operations and operation 10 contains WC1 & operation20 have WC2. Further, we created Production Version (PV) and CIFed as PPM. When converting PP/DS PPM to SNP PPM I can chose only one mode so only one work center (resource) in one PPM and another work center in another PPM. We need both workcenters in one SNP PPM.
    Could any one guide to meet this scenario.
    Thanks,
    Naveen
    Edited by: Wilian Segatto on May 14, 2010 11:54 AM

    Hi Bandana,
    I am trying the same but I am not able to create single Resource,
    Would u plz briefly explain me what parameters u are providing,
    Thanks,
    Radhey

  • Mapping users from resources to user in IDM

    Hi
    I have a user say tom123 in Windows NT and the same user also exists in LDAP with accountid tom1. How do i load them into IDM as a single user with different resources?
    Any ideas are appreciated

    VIXik,
    Lets say the primary source of data is a FlatFile from an HR system. Data from this would enter IdM via the FF active Sync mechanism.
    The other resources such as AD and LDAP and Mail exist but are untrustworthy they contain many out-of-date entries for example which we want to identify and remove!
    The situation is that we want to name the IDM account by the HR systems key and then reconcile the correct LDAP/AD resource accounts to these. We dont want the initial IDM account creation to make resource accounts.
    Is is best to load the IDM entries from File (same file as used in FF activesync) with a Form that doesnt create/link resources and then reconcile accounts and then start the FF active sync process...
    OR...
    remove the resources from the FFactive sync form for initial FF active sync cycle.. create IDM accounts... reconcile resource accounts... edit FFactivesync form to readd resource account creation.. and restart FF active sync.
    Which is better? Any pros and cons for either.

  • 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

  • SNP Resource available capacity variance

    Hi friends,
    need your help??
          I am using an SNP resource with capacity 500 min per day(Bucket). but after thew SNP run when i download the optimizer log data( Transaction:/SAPAPO/SNPOPLOG) the available capacity derived from the log is for the particular day is different than the actual capacity of the resource(i.e. it is less than the actual available capacity).
        How can be this issue resolved.??
    please revert back urgently

    Hi kiran ,
    Check for the following possible reasons :
    Try this resource in SNP Heuristic and check the capacity and do levelling.
    Check the Time zone and the calenders for this resource and plant.
    Check the overload % and min load % rounding & down times.
    See oss note 510339.
    Optimizer gives the results based on the settiing you have entered,and you will only be able to analyse it better .
    Regds // Digs...

  • Keystore access in Java Mapping Program - user J2EE_GUEST

    Dear Gurus,
    I have the following problem:
    I need to validate the digital signature of a XML document and I'm using some examples provided by SAP as follows:
              InitialContext ctx = ctx = new InitialContext();          
              Object o = (Object) ctx.lookup("keystore");          
              KeystoreManager manager = (KeystoreManager) o;          
              KeyStore ks = manager.getKeystore("Serasa");
    {/code}
    But I get the error below, saying that user J2EE_GUEST is not authorized. How do I change the user who executes java mapping, because I granted permissions in Visual Admin to another user.
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131)
         at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
         at $Proxy218.processFunction(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284)
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219)
         at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.keystore.exceptions.BaseKeystoreException: User is not authorized to execute keystore operation[{GET_VIEW Serasa }]
         at com.sap.engine.services.keystore.impl.security.UserBasedSecurityConnector.checkUserPermission(UserBasedSecurityConnector.java:889)
         at com.sap.engine.services.keystore.impl.security.SecurityRestrictionsChecker.checkUserPermission(SecurityRestrictionsChecker.java:52)
         at com.sap.engine.services.keystore.impl.security.SecurityRestrictionsChecker.isUserAuthorized(SecurityRestrictionsChecker.java:148)
         at com.sap.engine.services.keystore.impl.security.SecurityRestrictionsChecker.checkPermission(SecurityRestrictionsChecker.java:174)
         at com.sap.engine.services.keystore.impl.ParameterChecker.checkPermission(ParameterChecker.java:35)
         at com.sap.engine.services.keystore.impl.KeystoreManagerImpl.checkPermission(KeystoreManagerImpl.java:46)
         ... 28 more
    Caused by: java.security.KeyStoreException: (thread: SAPEngine_Application_Thread[impl:3]_56,view:Serasa, entry: , user: J2EE_GUEST) - checkPermissions  'getView': com.sap.engine.services.security.exceptions.BaseSecurityException: Caller not authorized.
         at com.sap.engine.services.keystore.impl.security.UserBasedSecurityConnector.checkFailed(UserBasedSecurityConnector.java:1097)
         at com.sap.engine.services.keystore.impl.security.UserBasedSecurityConnector.checkPermissions_getView(UserBasedSecurityConnector.java:773)
         at com.sap.engine.services.keystore.impl.security.UserBasedSecurityConnector.checkUserPermission(UserBasedSecurityConnector.java:823)
         ... 33 more
    {/code}
    Thank you very much

    Hi Fabio,
    first of all have you checked if standard functions to verify digital signature for pi adpaters would work for you?
    We have used the following code to access the Keystore in a custom adapter. It accesses the keystore with the access rights of a JEE application (it has a reference to the sample adapter "sap.com/com.sap.aii.adapter.sample.ra"). Check out if it works in your mapping, too.
    import java.security.Key;
    import java.security.KeyStore;
    import java.security.KeyStoreException;
    import java.security.NoSuchAlgorithmException;
    import java.security.PublicKey;
    import java.security.UnrecoverableKeyException;
    import java.util.HashMap;
    import java.util.Map;
    import javax.resource.ResourceException;
    import com.sap.aii.af.service.resource.SAPSecurityResources;
    import com.sap.aii.security.lib.KeyStoreManager;
    import com.sap.aii.security.lib.PermissionMode;
    public class XIKeystoreAccessor {
        private static final XITrace TRACE = new XITrace(XIKeystoreAccessor.class.getName());
        static XIKeystoreAccessor instance = null;
        SAPSecurityResources securityResources;
        KeyStoreManager keystoreManager;
        Map<String, KeyStore> keystores = null;
        private XIKeystoreAccessor() throws ResourceException {
         final String SIGNATURE = "XIKeystoreAccessor()";
         TRACE.entering(SIGNATURE);
         keystores = new HashMap<String, KeyStore>();
         securityResources = SAPSecurityResources.getInstance();
         try {
             keystoreManager = securityResources.getKeyStoreManager(PermissionMode.SYSTEM_LEVEL,
                  new String[] { "sap.com/com.sap.aii.adapter.sample.ra" });
         } catch (KeyStoreException e) {
             TRACE.catching(SIGNATURE, e);
             throw new ResourceException(e);
         TRACE.exiting(SIGNATURE);
         * Get a key from AS Java keystore
         * @param view
         * @param alias
         * @param password
         * @return
         * @throws ResourceException
        public Key getPrivateKey(String view, String alias, String password) throws ResourceException {
         final String SIGNATURE = "getPrivateKey()";
         TRACE.entering(SIGNATURE);
         KeyStore keystore = getKeystore(view);
         Key privateKey = null;
         try {
             privateKey = keystore.getKey(alias, password.toCharArray());
             if (privateKey == null) {
              throw new ResourceException("Key not found. alias=" + alias);
         } catch (KeyStoreException e) {
             TRACE.catching(SIGNATURE, e);
             throw new ResourceException(e);
         } catch (NoSuchAlgorithmException e) {
             TRACE.catching(SIGNATURE, e);
             throw new ResourceException(e);
         } catch (UnrecoverableKeyException e) {
             TRACE.catching(SIGNATURE, e);
             throw new ResourceException(e);
         TRACE.exiting(SIGNATURE);
         return privateKey;
        public PublicKey getPublicKey(String view, String alias) throws ResourceException {
         final String SIGNATURE = "getPublicKey()";
         TRACE.entering(SIGNATURE);
         KeyStore keystore = getKeystore(view);
         PublicKey publicKey = null;
         try {
             publicKey = keystore.getCertificate(alias).getPublicKey();
             if (publicKey == null) {
              throw new ResourceException("Key not found. alias=" + alias);
         } catch (KeyStoreException e) {
             TRACE.catching(SIGNATURE, e);
             throw new ResourceException(e);
         TRACE.exiting(SIGNATURE);
         return publicKey;
         * Get a keystore i.e. a view from AS Java
         * @param view
         * @return
         * @throws ResourceException
        public KeyStore getKeystore(String view) throws ResourceException {
         final String SIGNATURE = "getKeystore()";
         TRACE.entering(SIGNATURE);
         KeyStore keystore;
         try {
             if (keystores.containsKey(view) == true) {
              keystore = keystores.get(view);
             } else {
              keystore = keystoreManager.getKeyStore(view);
              if (keystore == null) {
                  throw new ResourceException("Keystore not found. view=" + view);
              keystores.put(view, keystore);
             TRACE.exiting(SIGNATURE);
             return keystore;
         } catch (KeyStoreException e) {
             TRACE.catching(SIGNATURE, e);
             throw new ResourceException(e);
        static public XIKeystoreAccessor getInstance() throws ResourceException {
         if (instance == null) {
             instance = new XIKeystoreAccessor();
            return instance;

  • Use thinkvantage access connections to map a network drive

    Is it possible to use thinkvantage access connections to map a network drive. I have three different basic sites (home, work1, work2) with network drives that I would like to access depending on the site.
    1) I wonder if it is possible to configure thinkvantage access connections to automatically map the network resources through a connection profile?
    2) I wonder if it is possible to configure thinkvantage access connections to automatically map the network resources through a connection profile that is based on vpn connection?
    thanks in advance
    sincerely, anders

    Hi,
    directly it's not possible for Access Connection to reconfigure your network drives.
    However, there is one really cool part of Access Connection, that might be realy suitable for your situation. This part is the script/application, that can be executed when a profile gets applied.
    So for your situation I can imagine, that you create a .bat file, that contains something like this:
    net use * /DELETE /YES
    net use Z: \\computer name\share name
    The first part will delete all maped drives. The second part will establish connection that you want to use. Of course you can multiply the last part, so that you can configure multiple connections.
    Please let me know, if this helps.
    Cheers

Maybe you are looking for

  • I'm trying to install a new hard drive on my Touchsmart but the recovery disks won't boot.

    The Touchsmart 300-1120 is only 1.5 years old and it's hard drive is already fried.  I bought a new hard drive, ordered the recovery disks, and it still won't boot.  I've changed the boot order to go from the CD drive first, but all it does is click

  • Can you cut and paste multiple lines of text in adobe forms?

    Hi - I am working on cutting and pasting large amounts of information into adobe forms. When I presently cut and paste from Excel, it puts all of the data in one line rather than in separate choices in a multiple choice selection. Is there a way to s

  • Colored Cells in Excel sheet

    hi we have a excel sheet with values which we created based on a tutorial spreadsheet. We tried the exactly the same steps provided in the PDF but it did not work. however when we used the original file we got the same output that was shown in the PD

  • Negative numbers in Expression Builder

    Hello, I am trying to create the following expression in one of the columns I have in the Business Model Layer in Administration tool: CASE WHEN Column1 * 100.0 <= *300.0* THEN 0.0 ELSE Column1 * 100.0 END This works fine, but when I change 300.0 to

  • Keyboard shortcuts and Word

    I am not sure if it is OK to ask this question here, please indulge me if it isn't and tell me where to post. I use Word 2004 on our G4; Mr H uses it on our MBP. (we have three liscence keys with our edition so all is legal) Is there a keyboard short