Time Slicing in Enterprise Beans

Hi All,
I am using Weblogic 6.1 as App Server with SQL Server 7.0 as backend.
I want to make use of Time Slicing concepts while executing any beans involved in my application? I also use JDBC Transactions in my code.
Say I have around 80 Session Beans (Stateless) and roughly 20 Entity beans involved. As I am using One to Many relationships in the application, I want to time-slice the method called so that I can manipulate the CPU time required for the same as I feel the system does slow down cos of time required for some very insensitive methods being called and time lapsed for the same.
Thanks in advance,
Seetesh Hindlekar

Hi,
As far as my knowledge goes there is no configurable property in any of the avalable containers to time-slice the method calls. Well you can fine tune your calls for the EntityBeans by using the commit-options, do a lazy loading etc ..
Please let me know if this helps... or if you find the solution to time-slicing do update me .
neo

Similar Messages

  • Private methods in a enterprise bean

    Can I have private methods in a enterpise bean?
    Thanks

    user510497,
    Yes, an enterprise bean can have private methods.
    Good Luck,
    Avi.

  • JSF managed beans Vs Enterprise beans

    Hi friends,
    what are the advantages/disadvantages of using enterprise beans/ JSF managed beans over JSF managed beans/Enterprise beans
    regards
    san

    The primary difference between managed bean and enterprise bean is : enterprise bean will avail all the services provided by EJB container. where as managed bean cant avail all these.

  • Error Msg - "You must add the Class files for this enterprise bean"

    Hi,
    I am creating creating new enterprise bean using j2sdkee1.2. I am able to create .ear file in desired folder, but can not create .jar. Please help. Getting above error message.
    remote, home interface files and file having business logic (EJB) is compiled and kept at desired location.
    j2ee server started, Deploytool is started.
    Then I can successfully create new application (.ear file)
    Then I go for creating new enterprise bean. I get same application name in Drop down list named "Enterprise Bean will go in".
    Then I can add home, remote and ejb class file to create jar ("Add" under "Contents" ).
    When I say ok after adding these 3 files, I am getting error - "You must add the Class files for this enterprise bean".
    In the deploytool console, getting error - "java.io.FileNotFoundException: C:\2sdkee1.2\mahesh\ConverterEJB.class (The system cannot find the path specified) "
    Can you please help me where to configure the path?
    Can u please help?
    Please send your answer to - [email protected]
    Cheers!

    the path really begins with '2', without a 'j', ie not c:\j2sdkee1.2\...?
    "java.io.FileNotFoundException:
    C:\2sdkee1.2\mahesh\ConverterEJB.class (The system
    cannot find the path specified) "

  • To include a JAR file that contains enterprise beans in a WAR module

    1)I'm studying java ee tutorial in 6 but I do not understand what he means by "To include a JAR file that contains enterprise beans in a WAR module, add the JAR to the WEB-INF/lib directory of the WAR module" at this link:
    http://docs.oracle.com/javaee/6/tutorial/doc/gipio.html
    how do I create a file. jar to hold the enterprice beans in netbeans?
    2)
    as regards the case study prensete always in the tutorial "dukes-forest" I do not understand how it is structured, I think that the "dukes-store" is a web application (web module. war) to which are added other projects "entities "etc. .. is that correct? if it is right how do I create the project "entities" in netbeans? how do I add it to the project "dukes-store"?
    link at case study del tutorial:
    http://docs.oracle.com/javaee/6/tutorial/doc/glnpw.html

    Hi,
    I have also tried putting the actual jar file in my
    jar file that I created, that didn't work either.
    I didn't try extracting the contents of the jar file
    into mine because the directory structure would
    conflict my dir structure in the jar file (manifest
    file that is)Out of curiosity are you trying to use executable jar files? If so you might want to put the classpath in the manifest using Class-Path: blah.jar etc. Be remember that this resolves to the disk filesystem not the internals of the jar that is being executed. In other words - the blah.jar file resides in the same directoy on the disk as your executable jar.
    If you could clearly describe what you are trying to achive and how it is structured I am sure we could give you more pointers.
    TTFN

  • Create time slicing for transformation between two InfoSources

    Hi All,
    i would like to create a time slicing for transformation between two InfoSources in bw.
    Could you please explain the scenario and steps?
    Thanks.
    Gilo

    Hi Brendon,
    The non- cumulative key figures are not mapped in the transformation. Only the 'Inflow' and 'Outflow' key figures for the non- cumulative key figure are mapped.
    You can check the property for the non- *** KF in RSD1, where you would find the corresponding inflow and outflow kf. If both of these are mapped in the transformation, the non- *** kf would calculate the value in the report in which it is included as:
    Non-*** KF value = Inflow value - Outflow value.
    Hope this helps.
    Regards,
    Abhishek.

  • Integrating Enterprise Bean to JBI

    Hi,
    is there any example how to integrate Enterprise bean to JBI ? I would appreciate for any links with tutorials of jbi.xml, servicelist.xml and other configuration files, is there some description for this ?
    Thank you in advance,
    Peter

    Hi Peter,
    Session beans can be called from JBI if they are deployed as EJB web services (JSR 109).
    The example shows an MDB but if you have a session bean and deploy it as a web service , then you could access it through the Java EE Service engine.
    As of now only access to EJB web services is possible, (and not simple EJBs)
    -Ramesh

  • Org.jboss.deployment.DeploymentException: Verification of Enterprise Beans

    hello;
    i am using jdk 1.5 with eclipse-3.1 and myeclipse-4.0,my previous environment was jdk-1.4
    with eclipse-3.0 and myeclipse-3.8 i developed ejb on old environment.
    now if i make changes in ejb in new environment and deployed it on jboss it gives exception like below:
    17:41:33,621 WARN [ServiceController] Ignoring request to stop nonexistent service: null
    17:41:33,622 WARN [ServiceController] Ignoring request to destroy nonexistent service: null
    17:41:33,622 WARN [ServiceController] Ignoring request to remove nonexistent service: null
    17:41:36,391 WARN [EJBDeployer] Verify failed; continuing
    java.lang.NoClassDefFoundError: com/ivrs/retail/entity/value/CInRateValue
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
    at java.lang.Class.getDeclaredMethod(Class.java:1907)
    at org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(AbstractVerifier.java:557)
    at org.jboss.verifier.strategy.EJBVerifier20.verifyCMPEntityBean(EJBVerifier20.java:1682)
    at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVerifier20.java:139)
    at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.java:109)
    at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:161)
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:537)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
    at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy8.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
    17:41:36,395 ERROR [MainDeployer] could not create deployment: file:/home/sumeet/jboss/jboss-4.0.2/server/default/deploy/ivrsretailnewejb.jar/
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
    at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy8.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
    while on old environment it deployed successfully..
    can anyone help me.

    This forum is about Sun application servers, you should ask this question on JBoss related forums.

  • Problems with Binding an Enterprise Bean

    I am using Sun Appserver 8 on a Linux Enterprise 3 Workstation . I have the Converter example working properly. I have verified and deployed (with out error) my own application which uses a JSP as the Web Component. The JSP looks up a stateless Session Bean POSControllerBean. When running the JSP either on local host or in a brower on a remote system the App Server returns an error "no object bound to java:/comp/env/ejb/POSControllerHome". The JNDI name for this object is POSControllerBean. I have been fighting this for a few hours now and would appreciate any help I can get.

    You may want to change the JNDI name to
    ejb/POSControllerHome
    vbkThanks for the input. That wasn't the problem put it did send me down the right road. I changed the JNDI name to POSControllerEJB and the reference name to ejb/POSControl. In the .jsp that does the lookup I found that the string being passed to lookup was java:/comp/env/ejb/POSControl. Dumb! It should be java:comp/env/ejb/POSControl. There should be a "/" after the colon. If I would only slow down I could be dangerous. I would be embarrassed to tell you how many hours I spent on this. Thanks for gettting me to go through the code one more time.

  • How to use standalone java client with an enterprise bean in J2EE 1.4

    Hi All,
    I am have deployed a stateless session bean in Sun's J2EE 1.4 Application Server. i am trying to call the bean using a standalone java client. but the client cannot access the bean.
    The error coming is:
    Jan 21, 2004 7:48:27 PM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1739)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1757)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:74)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl
    createConnection(SocketFactoryContactInfoImpl.java:88)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begi
    Request(CorbaClientRequestDispatcherImpl.java:146)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(Corba
    lientDelegateImpl.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaCli
    ntDelegateImpl.java:212)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.jav
    :69)
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.ja
    a:58)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:12
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at StatelessSessionClient.main(StatelessSessionClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection re
    used: connect
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:390)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:58)
    ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:457)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:381)
    ... 11 more
    javax.naming.CommunicationException: Can't find SerialContextProvider
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.ja
    a:66)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:12
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at StatelessSessionClient.main(StatelessSessionClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed
    No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1739)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1757)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:74)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl
    createConnection(SocketFactoryContactInfoImpl.java:88)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begi
    Request(CorbaClientRequestDispatcherImpl.java:146)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(Corba
    lientDelegateImpl.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaCli
    ntDelegateImpl.java:212)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.jav
    :69)
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.ja
    a:58)
    ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection re
    used: connect
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:390)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:58)
    ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:457)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:381)
    ... 11 more
    My java client uses the following code to access the bean:
    Hashtable props = new Hashtable();
    String URL="iiop://localhost:3700";
    props.put("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
    props.put("java.naming.provider.url", URL) ;
    InitialContext ctx = new InitialContext();
    Object ref = ctx.lookup("ejb/StatelessSessionHome");
    StatelessSessionHome home = (StatelessSessionHome)PortableRemoteObject.narrow(ref,StatelessSessionHome.class);
    StatelessSessionRemote statelessSession = home.create();
    plz help me to locate the error.
    Regards,
    Mohit

    Hi Amol,
    thanks for your suggestion.
    i have deployed the converter application in J2EE1.4 tutorial in Sun AppServer J2EE1.4. the deployment process works smoothly. but accessing the deployed converter bean using standalone client as given in the tutorial gives the following error.
    Caught an unexpected exception!
    javax.naming.NoInitialContextException: Need to specify class name in environmen
    t or system property, or as an applet parameter, or in an application resource f
    ile: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    40)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
    a:280)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at ConverterClient.main(ConverterClient.java:14)
    I have set the InitialHost and InitialPort as suggested by you in the client code. the client gets successfully compiled but gives error when executed.
    The client code is:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    System.setProperty("org.omg.CORBA.ORBInitialHost","localhost");
    System.setProperty("org.omg.CORBA.ORBInitialPort","3700");          
    try {
    Context initial = new InitialContext();
    Object objref = initial.lookup
    ("java:comp/env/ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome)PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal ("100.00");
    BigDecimal amount =
    currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    Please suggest so that i can run the standalone client successfully.
    Regards,
    Mohit Kapoor

  • Help about Date and Time by CMP entity bean

    I should have two fields in my cmp .one stores current date ,another one stores current time while ejbcreate();
    I should be able to get findmethod findobjectBetween ?! and ?2
    or that sorts of find method.what type of the method should I use.
    java.util.Date or Simply String?
    if I use java.tuil.Date as the type.
    How shoud my ejbcreate method look like?
    public abstract void setDate(Date mydate);
    public abstract Date getDate();
    ejbCreate(String name,String password,Date mydate,Date mytime)
    setDate()
    I suppose I use write a business method getCurrentDate() which uses
    java.util.Date().toLocale,But I think it just returns String
    help pls.

    I am using oc4j(Oracle9iAS (9.0.3.0.0))
    I am getting the following error using Timestamp while deploying cmp entity bean ejb1.1. Thanks...
    Auto-deploying TimestampTestEntity.jar (No previous deployment found)... TimestampTest_EntityBeanWrapper0.java:1558: Missing term.
    if (if(thread.contextContainer != null)
    ^
    TimestampTest_EntityBeanWrapper0.java:1558: ')' expected.
    if (if(thread.contextContainer != null)
    ^
    TimestampTest_EntityBeanWrapper0.java:1559: Invalid expression statement.
    response != null) {if(thread.contextContainer != null)
             ^
    TimestampTest_EntityBeanWrapper0.java:1559: ';' expected.
    response != null) {if(thread.contextContainer != null)
                    ^
    TimestampTest_EntityBeanWrapper0.java:1560: Missing term.
    response.setNanos(if(thread.contextContainer != null)
                      ^
    TimestampTest_EntityBeanWrapper0.java:1560: ')' expected.
    response.setNanos(if(thread.contextContainer != null)
                      ^
    TimestampTest_EntityBeanWrapper0.java:1561: ';' expected.
    response.getNanos());} // generated from BeanMethodCompilation
    ^
    7 errors
    Error compiling F:\oc4j\j2ee\home\applications\TimestampAppl/TimestampTestEntity.jar: Syntax error in source
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized

  • Problems with Enterprise Beans

    I am trying to deploy a simple CMP Entity Bean (without relationships, only 3 fields).
    The code is based on The J2EE Tutorial from Sun lesson "Container-Managed Persistence Examples".
    I current use JDK 1.4.0 and JDeveloper Preview 9.0.3.988.
    My project compiles OK, the EJB-JAR file is OK but when I deploy it I receive to OC4J I receive this:
    error: Invalid class file format in C:\ojd9i\j2ee\home\applications\TpProgramaApp\TpProgramaEJB.jar(com/parceria/ejb/TpProgramaLocalHome.class). The major.minor version '48.0' is too recent for this tool to understand.
    I tried to deploy it to J2EE RI but a strange error message is displayed at verifier tool:
    Error : Primary key field set accessor method [ cdTpPrograma ] is exposed through the remote interface [com.parceria.ejb.TpProgramaLocal ].
    (I dont have Remote Interfaces)
    What might be wrong?
    Could be the JDK Version?
    Tanks in advance
    Rafael

    I corrected the datasource missing information.
    In orion-ejb-jar.xml I filled the data source information for my Entity bean as: "jdbc/ParceriaDBDS" where ParceriaDB is the name of my connection to Oracle database in the JDeveloper environment.
    However when I try to deploy I receive this message:
    ---- Deployment started. ---- 21/10/2002 12:12:21
    Wrote EJB JAR file to J:\menu\TpPrograma\deploy\Oracle\TpPrograma.jar
    Wrote EAR file to J:\menu\TpPrograma\deploy\Oracle\TpPrograma.ear
    Invoking OC4J admin tool...
    C:\ojd9i\jdk\jre\bin\javaw.exe -jar C:\ojd9i\j2ee\home\admin.jar ormi://rafael/ admin **** -deploy -file J:\menu\TpPrograma\deploy\Oracle\TpPrograma.ear -deploymentName TpPrograma
    Auto-unpacking C:\ojd9i\j2ee\home\applications\TpPrograma.ear... done.
    Auto-deploying TpPrograma (Assembly had been updated)...
    SQL error: Excegco de E/S: The Network Adapter could not establish the connection
    SQL error: Excegco de E/S: The Network Adapter could not establish the connection
    Error creating table: Excegco de E/S: The Network Adapter could not establish the connection
    Exit status of OC4J admin tool (-deploy): 0
    Elapsed time for deployment: 1 minute, 51 seconds
    ---- Deployment finished. ---- 21/10/2002 12:14:13
    After, I executed this command at windows command line:
    C:\ojd9i\j2ee\home>java -jar admin.jar ormi://rafael/ admin admin -application TpPrograma -listDataSource
    DataSource info:
    Location : jdbc/ParceriaDBCoreDS
    ClassName : com.evermind.sql.DriverManagerDataSource
    URL : jdbc:oracle:thin:@zeus:1521:PARC
    ConnDriver : oracle.jdbc.driver.OracleDriver
    Username : parceria
    Pooled location : jdbc/ParceriaDBPooledDS
    XA location : jdbc/xa/ParceriaDBXADS
    EJB location : jdbc/ParceriaDBDS
    Inactivity timeout : 30
    Connect retry interval : 1
    Max connections : 0
    Min connections : 0
    Max connect attempts : 3
    Wait timeout : 60
    Location : jdbc/xa/ParceriaDBXADS
    ClassName : com.evermind.sql.DriverManagerXADataSour
    ce
    Source location : jdbc/ParceriaDBCoreDS
    Inactivity timeout : 30
    Connect retry interval : 1
    Max connections : 0
    Min connections : 0
    Max connect attempts : 3
    Wait timeout : 60
    Location : jdbc/ParceriaDBPooledDS
    ClassName : com.evermind.sql.OrionPooledDataSource
    Source location : jdbc/ParceriaDBCoreDS
    Inactivity timeout : 30
    Connect retry interval : 1
    Max connections : 0
    Min connections : 0
    Max connect attempts : 3
    Wait timeout : 60
    Location : jdbc/ParceriaDBDS
    ClassName : com.evermind.sql.OrionCMTDataSource
    URL : jdbc:oracle:thin:@zeus:1521:PARC
    Pooled location : jdbc/ParceriaDBPooledDS
    XA source location : jdbc/xa/ParceriaDBXADS
    Inactivity timeout : 30
    Connect retry interval : 1
    Max connections : 0
    Min connections : 0
    Max connect attempts : 3
    Wait timeout : 60
    Note that the jdbc/ParceriaDBDS was listed and in JDeveloper environment I get the connection with no problems.
    Any tip...
    Thanks in advance
    Rafael

  • Approve/Reject Working Time through the Enterprise Portal Workflow

    Hey Everyone,
    We are currently working on a project to rollout a number new portal services.  I was wondering if anyone in ECC or Portal has experience with enhancing the Time Entry Approval process.  Is it possible to trigger an email notification when a manager rejects an employees time for any of the configured reasons.  I would like an email back to the email to let them know they should change their hours or that their overtime was rejected.  I have been spoiled by the deeper config options available for Leave Request.
    In the standard workflow task the Item does turn red when rejected, but if employees aren't reviewing their entries they may never know it was rejected before they check their pay stubs.
    I would be pretty surprised if the BADI or workflow task would be unable to know there was a rejection because it clearly asks you for a rejection reason and changes the colour of the request in the Record Working Time screen.
    Thank you in advance,
    Doug

    Sid,
    I believe we are or have looked into RSWUWFML2, but I will confirm.
    After trying a number of different options we are currently looking at using the Rejection check-box and determine if BASIS can redirect the messages to the employee's IT0105 subtype 0010 email address.
    Here are some of the notes we have looked at.
    http://forums.sdn.sap.com/thread.jspa?threadID=1725144 (Email Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=1397351 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=2084622 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=1947223 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=1686788 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=2093332 (Rejection to External Email - opened by our team)
    http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/2b/d926324b8a11d1894c0000e8323c4f/frameset.htm
    Our Version:  EP 7 EHP 3
    I wish Record Working Time had similar config to Leave Request.  If you have additional input please let me know.
    Doug
    Edited by: Doug Robbins on Dec 7, 2011 5:30 PM

  • Call Enterprise Bean (or Database) from private Method in Session-Bean

    Hi Everybody,
    I've a question regarding the possibility to call an dependency injected EJB in an private method of a session bean.
    Imagine the following.
    @Stateless
    public class SomeBean implements SomeLocal{
       @EJB
       private AnotherLocal anotherBean;
       /** Will be called from a web-app via delegate layer */
       @TransactionAttribute(TransactionAttribute.RequiresNew)
       public void someBusisnessMethod(){
           String something = this.getSomeThing();
           //Do more
       private String getSomeThing(){
          return anotherBean.aMethodWhichCallsTheEntityManager();
    }I've to refactor code with uses such Call-Hierachy and I want to know whether this is a correct way? Somebody told me that such stuff should not be made, and I quess he told me an explanation, why not to do such stuff, but unfortunally I've forgotten that. Do someone have a suggestion why not to do this? Could it blow the application to hell? Is there any difference to the following code (The way I would have done it)?
    @Stateless
    public class SomeBean implements SomeLocal{
       @EJB
       private AnotherLocal anotherBean;
        @Resource
        private SessionContext sessionContext;
       /** Will be called from a web-app via delegate layer */
       @TransactionAttribute(TransactionAttribute.RequiresNew)
       public void someBusisnessMethod(){
           SomeLocal self = this.sessionContext.getBusinessObject(SomeLocal.class);
           String something = self.getSomeThingBusinessMethod();
           //Do more
       @TransactionAttribute(TransactionAttribute.Required)
       public String getSomeThingBusinessMethod(){
          return anotherBean.aMethodWhichCallsTheEntityManager();
    }

    Found the answer by myself....
    Here it is if someone might have the same question:
    http://stackoverflow.com/questions/3381002 or if the link may down sometime the content of the answer...
    >
    The motivation here is that most EJB implementations work on proxies. You wouldn't be too far off in thinking of it as old-school AOP. The business interface is implemented by the EJB container, quite often via a simple java.lang.reflect.Proxy, and this object is handed to everyone in the system who asks for the ejb via @EJB or JNDI lookup.
    The proxy is hooked up to the container and all calls on it go directly to the container who will preform security checks, start/stop/suspend transactions, invoke interceptors, etc. etc. and then finally delegate the call to the bean instance -- and of course do any clean up required due to any exceptions thrown -- then finally hand the return value over through the proxy to the caller.
    Calling this.foo() directly, or passing 'this' to a caller so they can make direct calls as well, will skip all of that and the container will be effectively cut out of the picture. The 'getBusinessObject(Class)' method allows the bean instance to essentially get a proxy to itself so it can invoke its own methods and make use of the container management services associated with it -- interceptors, transaction management, security enforcement, etc.
    written by David Blevins

  • Estimated Wait Time Message -IPCC Enterprise

    Hello all. Our senior management would like to implement a queue message of 'your call will be answered in approx. x mins.'
    Using ICM 6.0sr2 and IPIVR, is this possible out of the box, or do we need some sort of plug-in? If it is possible, could someone point me to some IVR/ICM ideas of how to pull the estimated wait time? Thanks!

    Here is the calculation described in Cisco documentation:
    (# calls queued including current call  *  average handle time) / (# agents ready)
    It is described in the media scripting guide page 228: http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/icm_enterprise/icm_enterprise_7_5/user/guide/ipce75sg.pdf
    Keep in mind this calculation works best with high and steady call volumes, otherwise it may not be very accurate.

Maybe you are looking for

  • How can i print envlopes on the photosmart 6510 all in one printer

    I am not able to address envelopes on this printer.

  • Question Mark in Blue Box with Pictures

    I recently have had a problem viewing pictures on myspace. It will show me some but not all and the pictures that don't come up have a Blue Square with a Question Mark in it. I have searched the whole discussions page but none of the answers have hel

  • Anchoring Linked Frames or ICML Files???

    Is there anyway to anchor linked frames or ICML files in InDesign? I would like to re-purpose some content from other files and anchor the text into the text frame so the content flows around it. I notice when I try to cut-n-paste to anchor, the link

  • Customise Code Inspector' checks

    Hi all, I am working on code inspector.I am customising Search Functs (Search of ABAP Tokens). Any idea how to implement it. Or Just pass me the Class for that particular stream. Points will be sured for helpful answers. Thanks Sanket Sethi

  • CD drive slow at ripping after ITunes error

    I was simply ripping a disc in ITunes when it froze and I had to ctrlaltdelete the program. After starting it back up and attempting to burn again, I noticed that it not only made the computer resources go to roughly 100% (previously it was not nearl