States of EJB in replication mode

          During in memory replication in a cluster, is the replicated EJB active? Is the
          replicated EJB in the "Passivate" State, "Active" State or "Bean not in existence"
          State?
          Appreciate your prompt response. Thank you.
          

          As far as I know it is in passive state on the secondary.
          -- Prasad
          "Darren" <[email protected]> wrote:
          >
          >
          >During in memory replication in a cluster, is the replicated EJB active?
          >Is the
          >replicated EJB in the "Passivate" State, "Active" State or "Bean not
          >in existence"
          >State?
          >
          >Appreciate your prompt response. Thank you.
          

Similar Messages

  • How to deploy JSP as EJB in Remote Mode

    Hello:
    I used JDeveloper and BC4J to create a JSP web site.
    When I was running the JSP creation wizard, there is a option let me to selete run the JSP at "Remote Mode" or "Local Mode".
    When I selected to run at "Local Mode", after I deloyed the JSP to 9iAS, it works fine.
    But when I selected to run at "Remote Mode" and deployed the application module as EJB session bean, there is a RunTimeException occurs, the error likes "The applicaiton module can not be instanced".
    I saw the JSP config file, it just a little different.
    In Local Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleLocal
    password = xxxxxx
    In Remote Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleEJB
    password = xxxxxx
    I read the web page about deploy JSP to 9iAS: http://technet.oracle.com/docs/products/jdev/technotes/JSP/Deployment.html
    but the page seems just show that deploy JSP in the local mode.
    Can you give me the complete procedure to deploy JSP application as EJB in Remote Mode?
    Thank you!

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

  • How to use  alternative SQL  statements  in  EJB

    I have a probelm to use alternative sql statements in EJB,
    could any one sugg on this topic,
    Thanks in advance.

    Please explain your problem better. Really can't figure what you are trying to do.....
    choosing which sql statement to use at runtime
    or creating dynamic sql statement at runtime
    which??
    Regards

  • ODI Error: java.sql.SQLException: statement is not in batch mode

    Greetings Gurus!
    Would anybody know why changing a SQL view from
    AND hapf.attribute1 LIKE '%Active%'
    To
    AND (hapf.attribute1 LIKE '%Active%' or hapf.attribute1 = ‘Frozen’)
    cause ODI to fail?
    This is the error message from ODI:
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.Util.sqlExceptionSQL(Unknown Source)
    at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.end(SQLCommand.java:267)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:156)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:113)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.hsqldb.HsqlException: statement is not in batch mode
    at org.hsqldb.error.Error.error(Unknown Source)
    at org.hsqldb.error.Error.error(Unknown Source)
    ... 19 more
    Thank you!
    Ray

    Looks like the single quotes around Frozen are not ascii single quotes. They seem to be a copy paste job from MSWord.
    It should be 'Frozen' and then you shouldnt have that issue
    >
    AND hapf.attribute1 LIKE '%Active%'
    To
    AND (hapf.attribute1 LIKE '%Active%' or hapf.attribute1 = ‘Frozen’)
    >
    Devil is in the details ;)

  • ODI 11g (11.1.1) error -- statement is not in batch mode

    I am getting this ODI error:
    ODI-1217: Session SOME_NAME (1225001) fails with return code -1256.
    ODI-1226: Step SOME_NAME fails after 1 attempt(s).
    ODI-1240: Flow SOME_NAME fails while performing a Loading operation. This flow loads target table SOME_NAME.
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    It most often occurs when my dataset has a number of records that is divisible by 10
    Any ideas on how to resolve this annoying and reoccurring error???
    Thank you for your help
    ....

    It seems you are hitting on an ODI bug for which patch is available. Please refer to Note ID 1530553.1 on support.oracle.com
    "java.sql.SQLException: statement is not in batch mode' Signalled When Executing An ODI 11g Scenario Populating An XML File After Upgrade From 10g [ID 1530553.1]"

  • Maintaing state with ejb web services

    Hello,
    I understand there are no straight way to maintain state with ejb web services. Basically I have a stateful session bean and I would like to maintain state across requests. What is the best/cleanest architecture I can use in order to maintain state with web services?
    Any reply appreciated,
    Julien.

    Here's how BEA suggests you do it:
    http://e-docs.bea.com/wls/docs81/webserv/design.html#1058330

  • State Diagram "Single Step" execution mode

    Hello,
    I am realtively new to LabView, at least the 8.0 version I am currently using. Used it when it first came out some xx years ago :-)
    I am using the State Diagram Toolkit to create a test vi. I am able to create a SubVI of the test vi. I did **not** have to unlock the generated code to do this, and I could still open the subvi diagram in the State Editor later.
    However, if I in the State Diagram Editor select "Execution Mode" to "Single Step", then LabView 8.0 crashes when I save the vi.
    Please help me on this one, as I would like to explore using subvi's developed using the State Diagram Toolkit and the Single Step execution mode.
    (I have indeed searched without finding the solutiion to this problem)
    Also, if anyone have an examples on how to use a "Single Step" subvi developed with the State Editor Toolkit, I would appreciate this !
    (Especially how to return the next state from the subvi and use it in the next call)
    Tips and examples appreciated !
    Geir Ove
    Geir Ove

    Hi,
     A work around has been found for the issue. If after changing the state diagram type to single-step, you make a change to the block diagram then you can save with out a problem. There are two easy ways of doing this.
    1.  One is to add a new state to the state chart after changing the mode (this can be deleted after the save).
    2.  The other is adding a Boolean constant to the block diagram (which can also be deleted after the save). Adding a control on the front panel or moving a label in the block diagram is not enough.
    Regards,
    Frode

  • How to use alternative sql statements in ejb 2.0

    hi
    i have written the alternative sql statement in persistence.xml like  "select max(modifieddate) from tmp_dlv_mgmt".
    i am getting the error
    java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method in.kgs.bean.Dlv_EntityHomeImpl0.findMaxModifiedByUserID(java.lang.String).
         at in.kgs.bean.Dlv_EntityHomeImpl0.findMaxModifiedByUserID(Dlv_EntityHomeImpl0.java:1477)
         at in.kgs.bean.Dlv_EntityHomeImpl0p4_Skel.dispatch(Dlv_EntityHomeImpl0p4_Skel.java:387)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         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.ejb.exceptions.BaseEJBException: Exception in method Dlv_EntityBean0.FindMaxModifiedByUserID(java.lang.String).
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:900)
         at in.kgs.bean.Dlv_EntityHomeImpl0.findMaxModifiedByUserID(Dlv_EntityHomeImpl0.java:1449)
         ... 10 more
    Caused by: com.sap.sql.log.OpenSQLException: A column with name DLVNO is unknown.
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
         at com.sap.sql.jdbc.common.CommonResultSet.findColumn(CommonResultSet.java:643)
         at com.sap.sql.jdbc.common.CommonResultSet.getLong(CommonResultSet.java:382)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPK(Dlv_EntityBean0Persistent.java:213)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPrimaryKey(Dlv_EntityBean0Persistent.java:206)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractSinglePK(FindPKCollection.java:152)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractAndAddSinglePK(FindPKCollection.java:167)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.onlyLoadAllElementsFromRS(FindPKCollection.java:146)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.forceLoadingOfAllElementsFromRS(FindPKCollection.java:128)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.<init>(FindPKCollection.java:99)
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:896)
         ... 11 more
    ; nested exception is:
         javax.ejb.EJBException: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method Dlv_EntityBean0.FindMaxModifiedByUserID(java.lang.String).
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:900)
         at in.kgs.bean.Dlv_EntityHomeImpl0.findMaxModifiedByUserID(Dlv_EntityHomeImpl0.java:1449)
         at in.kgs.bean.Dlv_EntityHomeImpl0p4_Skel.dispatch(Dlv_EntityHomeImpl0p4_Skel.java:387)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         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.sql.log.OpenSQLException: A column with name DLVNO is unknown.
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
         at com.sap.sql.jdbc.common.CommonResultSet.findColumn(CommonResultSet.java:643)
         at com.sap.sql.jdbc.common.CommonResultSet.getLong(CommonResultSet.java:382)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPK(Dlv_EntityBean0Persistent.java:213)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPrimaryKey(Dlv_EntityBean0Persistent.java:206)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractSinglePK(FindPKCollection.java:152)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractAndAddSinglePK(FindPKCollection.java:167)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.onlyLoadAllElementsFromRS(FindPKCollection.java:146)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.forceLoadingOfAllElementsFromRS(FindPKCollection.java:128)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.<init>(FindPKCollection.java:99)
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:896)
         ... 11 more
    com.sap.sql.log.OpenSQLException: A column with name DLVNO is unknown.
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
         at com.sap.sql.jdbc.common.CommonResultSet.findColumn(CommonResultSet.java:643)
         at com.sap.sql.jdbc.common.CommonResultSet.getLong(CommonResultSet.java:382)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPK(Dlv_EntityBean0Persistent.java:213)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPrimaryKey(Dlv_EntityBean0Persistent.java:206)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractSinglePK(FindPKCollection.java:152)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractAndAddSinglePK(FindPKCollection.java:167)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.onlyLoadAllElementsFromRS(FindPKCollection.java:146)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.forceLoadingOfAllElementsFromRS(FindPKCollection.java:128)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.<init>(FindPKCollection.java:99)
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:896)
         at in.kgs.bean.Dlv_EntityHomeImpl0.findMaxModifiedByUserID(Dlv_EntityHomeImpl0.java:1449)
         at in.kgs.bean.Dlv_EntityHomeImpl0p4_Skel.dispatch(Dlv_EntityHomeImpl0p4_Skel.java:387)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         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)
         at com.sap.engine.services.ejb.exceptions.BaseRemoteException.writeReplace(BaseRemoteException.java:276)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
         at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:144)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:322)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         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: javax.ejb.EJBException: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method Dlv_EntityBean0.FindMaxModifiedByUserID(java.lang.String).
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:900)
         at in.kgs.bean.Dlv_EntityHomeImpl0.findMaxModifiedByUserID(Dlv_EntityHomeImpl0.java:1449)
         at in.kgs.bean.Dlv_EntityHomeImpl0p4_Skel.dispatch(Dlv_EntityHomeImpl0p4_Skel.java:387)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         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.sql.log.OpenSQLException: A column with name DLVNO is unknown.
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
         at com.sap.sql.jdbc.common.CommonResultSet.findColumn(CommonResultSet.java:643)
         at com.sap.sql.jdbc.common.CommonResultSet.getLong(CommonResultSet.java:382)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPK(Dlv_EntityBean0Persistent.java:213)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPrimaryKey(Dlv_EntityBean0Persistent.java:206)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractSinglePK(FindPKCollection.java:152)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractAndAddSinglePK(FindPKCollection.java:167)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.onlyLoadAllElementsFromRS(FindPKCollection.java:146)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.forceLoadingOfAllElementsFromRS(FindPKCollection.java:128)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.<init>(FindPKCollection.java:99)
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:896)
         ... 11 more
    com.sap.sql.log.OpenSQLException: A column with name DLVNO is unknown.
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
         at com.sap.sql.jdbc.common.CommonResultSet.findColumn(CommonResultSet.java:643)
         at com.sap.sql.jdbc.common.CommonResultSet.getLong(CommonResultSet.java:382)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPK(Dlv_EntityBean0Persistent.java:213)
         at in.kgs.bean.Dlv_EntityBean0Persistent.extractPrimaryKey(Dlv_EntityBean0Persistent.java:206)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractSinglePK(FindPKCollection.java:152)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.extractAndAddSinglePK(FindPKCollection.java:167)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.onlyLoadAllElementsFromRS(FindPKCollection.java:146)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.forceLoadingOfAllElementsFromRS(FindPKCollection.java:128)
         at com.sap.engine.services.ejb.entity.finder.FindPKCollection.<init>(FindPKCollection.java:99)
         at in.kgs.bean.Dlv_EntityBean0PM.ejbFindMaxModifiedByUserID(Dlv_EntityBean0PM.java:896)
         at in.kgs.bean.Dlv_EntityHomeImpl0.findMaxModifiedByUserID(Dlv_EntityHomeImpl0.java:1449)
         at in.kgs.bean.Dlv_EntityHomeImpl0p4_Skel.dispatch(Dlv_EntityHomeImpl0p4_Skel.java:387)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         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)
         at com.sap.engine.services.ejb.exceptions.BaseEJBException.writeReplace(BaseEJBException.java:274)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         ... 11 more

    Hi Guruvulu,
    >
    Guruvulu Bojja wrote:
    > i have written the alternative sql statement in persistence.xml like  "select max(modifieddate) from tmp_dlv_mgmt".
    Could you please explain in detail - what you have done and what you want to achieve? You can also post the code of your persistence.xml for reference...
    Regards,
    Yordan

  • Error deploying Bean with EJB QL statement in ejb-jar.xml

    Hi,
    I'm using Oracle iAS 9i Rev:9.03.
    I've tried to deploy a Entity Bean with the following EJB QL Query:
    &lt;/cmp-field&gt;
    &lt;query&gt;
    &lt;query-method&gt;
    &lt;method-name&gt;findByProcessStep&lt;/method-name&gt;
    &lt;method-params&gt;
    &lt;method-param&gt;java.lang.Integer&lt;/method-param&gt;
    &lt;method-param&gt;java.lang.Integer&lt;/method-param&gt;
    &lt;/method-params&gt;
    &lt;/query-method&gt;
    &lt;ejb-ql&gt;SELECT OBJECT(p) FROM Processparameter AS p WHERE p.stepid=?1 AND p.stepversion=?2&lt;/ejb-ql&gt;
    &lt;/query&gt;
    &lt;/entity&gt;
    Without the query statement everything works fine. As soon as I include it I get the following Error message from dcmctl:
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:Failure to initialize EJBQL descriptors: java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid &lt;query-method&gt;
    Is this an Oracle iAS error or is there an error in my query?
    Thanks in advance
    Jens

    try :
    p.stepid and p.stepversion are correct insert into &lt;cmp-field&gt; ?
    and Processparameter is the correct name of &lt;abstract-schema-name&gt;?
    is your &lt;ejb-ql&gt; insert in the right &lt;entity&gt; ?
    findByProcessStep(Integer, Integer) is the unique name in your ejb-jar? and in the (LocalHome ||RemoteHome)

  • About state in ejbs

    where does a stateful session bean holds its state between method calls? I have read it in book as application variables. stateless session beans also have application variables then why dont they maintain state?

    Hi
    Stateful session beans store the bean status into persistent files. and retrive them back into the bean whenever required,.
    In of of the ejb-jar.xml files we mention the pstoredirectory name .
    The data willl get stored into this folder
    mahesh

  • I upgraded to 7.0.4 on my iphone 4s and now it isn't working and itunes states that it is recovery mode - help

    I upgraded to 7.0.4 on my iphone 4s and now it isn't working and itunes states that it is in recovery mode - help - I don't want to do a factory restore!!!!

    If you're phone is in recovery mode, then all your data is already wiped off.  you'll need to proceed if you want to use your phone.
    However after it is done recovering, you can restore back from your backp.
    You do backup on a regular basis right?
    http://support.apple.com/kb/HT1808

  • Electronic Bank Statement Redirect postings using Account Mod

    We wish to redirect postings using the same bank transaction to various bank subaccounts depending on the contents of the note to payee field. We set up the search string and the search string use with a target of account modification. The account symbol refers to the name of the account modification and so does the search string. We are successful in getting a hit using the search string simulation model hit and mapped hit appear as expected. However during the import of FF_5 there is no posting and the following message is rec'd "internal transaction za60: Account symbol in account assignment is not replaceable
    Any experience getting postings to various accounts based on note to payee greatly appreciated. Thanks

    Yes that is correct. For bank code 108 we are getting Visa, MasterCard or Amex deposits. We wish to redirect to a dif account depeding on which one is noted in the note to Payee - the first 3 characters are either MC, VSA or AME so based on that we want to call the account mod. Thanks for your assistance.

  • Come error at doctype statement in ejb.jar.xml file

    hello,
    I use eclipse 3.1RC1 & lomboz emf-gef 3.1RC1 at linux os. when I create ejb project a error is created at line "doctype" in ejb-jar.xml file & it gives a error mess. java.sun.com can't be registrated

    try :
    p.stepid and p.stepversion are correct insert into &lt;cmp-field&gt; ?
    and Processparameter is the correct name of &lt;abstract-schema-name&gt;?
    is your &lt;ejb-ql&gt; insert in the right &lt;entity&gt; ?
    findByProcessStep(Integer, Integer) is the unique name in your ejb-jar? and in the (LocalHome ||RemoteHome)

  • Backup while database are running in replication mode

    We have to devise the stratgey for backup and restore of database which are involed into repliation e.g. master database and snapshot database

    I am sorry, but all of the iPad content is gone now. With no backup, there is no way to retrieve anything. You cannot backup now either. Use recovery mode, restore your iPad and download your content again and start all over. You have no choice.

  • Removing statful session EJBs without passivation

    We're currently migrating a legacy application to SJSAS 7 from Iplanet. We have no requirement for passivation within this application, just bean removal after a period of idle time.
    My question is: Can a deployment be configured so that stateful sessions beans are removed from a bean pool without first being passivation. If so, what are the deployment descriptor values.
    Thanks in advance.

    Hi
    The SunONE product does allow a modicum of configuration of how stateful session beans are passivated and/or timed out but, in my view, it would be a bad idea to rely on this to get the correct functionality in the application. Why? Because the EJB Spec does not mandate any particular policy, and therefore anything that isn't pinned down by the Spec is liable to change from one revision of the product to the next.
    The rule, according the Spec, is that containers are allowed to render elligible for garbage collection any stateful session bean that is believed to be idle. The definition of `idle' varies from product to product, of course, but is usually based on timing the intervals between client calls. This process -- getting rid of unused instances -- is a time-out, not a passivation. In general time-out and passivation are totally different mechanisms. The purpose of passivation is to remove from memory temporarily sufficient instances to prevent over-usage of memory. The purpose of the time-out is to remove from memory permanently any instances that are idle.
    With the SunONE product, you can be sure that a instance of the implementation class that has not been accessed for longer than the set timeout period will be disposed of (that is, made available for GC). What you can't guarantee is that ejbRemove() will be called. The fact that ejbRemove() is not called is not any indication that instances are being left idle -- according to the EJB Spec, the container must not call ejbRemove() on an instance that has been passivated.
    The reason for this is that un-passivating an instance is an expensive operation, and it is hopelessly wasteful to perform this operation simply to tell the EJB that it is being deleted. The consequence of this design decision is that you can't rely on ejbRemove() ever being called. If the timeout period is reached and the instance happens to be passivated (and this is not generally predictable, on any EJB product), then you won't get a call to ejbRemove(). If the instance is active, you will get a call to ejbRemove(). But I want to stress that the absence of ejbRemove() calls is not an indicator that instances have not been tidied up.
    Best wishes
    Kevin

Maybe you are looking for

  • Returning a defetive soundc

    How would I go about this because I got a refurbished sound blaster Audigy 2 ZS card and when I got it in my computer all hooked it wouldnt play any sound on it. It had static out of it and you had to turn the volume up the loudest just to hear some

  • Oracle 11g  to a MySQL system

    Hi, My server: - SLES 10SP2 - Oracle 11g - unixODBC - MyODBC-unixODBC My listener.ora LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = metis-bis)(PORT = 1521)) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC

  • Can I use Win Xp as a scratch disk?

    Just a quickie - Illustrator cs3 is on my apple mac.  But I run Bootcamp and have win XP edition on my partition (this is not the same as parallels where you can switch between operating systems without restarting) bootcamp you have to restart the ma

  • Overrite tax amount

    hi, in F-02, by default, calculation of tax amount base on gross. we not able to change the tax amount to other amount. if we flag calculation tax base on net amount, then we able to overrite the tax code tax amount. may i know if this is fixed alrea

  • How do I import a catalog from photoshop 8 into Photoshop 13

    I have Windows 7 . The drop down menu for Manage my Catalogs does not allow any selections