Toplink Optimistic Locking not working with Session Bean facade.

I am working on Oracle JDeveloper v 10.1.2 and connecting to an Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
The application is based on J2EE architecture and the technology stack uses Struts for presentation/controller framework, Stateless Session EJBs as session facade for custom business services, Simple java classes for the business services, Toplink implementation of DAO layer, Domain objects are mapped to database tables using Toplink Workbench that ships with JDeveloper. The transaction is managed by the session bean and hence the toplink session is configured to use external transaction controller and a named datasource as follows.
<session xsi:type="server-session">
<name>DBSession</name>
<server-platform xsi:type="oc4j-1012-platform"/>
<event-listener-classes/>
<logging xsi:type="toplink-log">
<log-level>fine</log-level>
<file-name>D:/ToplinkLog.log</file-name>
</logging>
<primary-project xsi:type="xml">META-INF/toplink-descriptor.xml</primary-project>
<login xsi:type="database-login">
<platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
<external-connection-pooling>true</external-connection-pooling>
<external-transaction-controller>true</external-transaction-controller>
<sequencing>
<default-sequence xsi:type="native-sequence">
<name>Native</name>
<preallocation-size>1</preallocation-size>
</default-sequence>
</sequencing>
<datasource>jdbc/ORADS</datasource>
</login>
</session>
We intend to use Optimistic Locking based on Timestamp-version locking through an audit field "last_modification_date" of type java.sql.Timestamp. The corresponding database field is also of type Timestamp(6). We are not storing the version in cache.
The problem we are facing is as follows.. we have an edit screen from where user can edit values for a domain object which are then persisted using Toplink...we expect Toplink to check the database record version (modification_date timestamp) before it applies the update. In DAO implementation, we register the object in a unitOfWork, then set the modified values, however we leave the modification_date (version field) unedited. Now when the application is running, on edit, an exception is thrown by the Session bean before ending the transaction.
com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error in transaction: java.lang.NullPointerException
     at TrackingMediator_StatelessSessionBeanWrapper2.editOverheadExpenditure(TrackingMediator_StatelessSessionBeanWrapper2.java:1597)
     at com.enbridge.dsm.web.action.TrackingPortfolioAction.editOverheadExpenditure(TrackingPortfolioAction.java:264)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java)
     at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278)
     at com.enbridge.dsm.web.shared.BaseAction.execute(BaseAction.java:90)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
     at com.enbridge.dsm.web.shared.DSMPojoRequestProcessor.process(DSMPojoRequestProcessor.java:182)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1425)
     at com.sourcebeat.strutslive.common.SLActionServlet.process(SLActionServlet.java:44)
     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
     at com.enbridge.dsm.web.shared.security.SecurityFilter.doFilter(SecurityFilter.java:142)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
     Nested exception is:
java.lang.NullPointerException
     at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:1190)
     at com.evermind.sql.FilterConnection.commit(FilterConnection.java:209)
     at com.evermind.sql.DriverManagerXAConnection.commit(DriverManagerXAConnection.java:203)
     at com.evermind.server.TransactionEnlistment.commit(TransactionEnlistment.java:251)
     at com.evermind.server.ApplicationServerTransaction.singlePhaseCommit(ApplicationServerTransaction.java:745)
     at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:690)
     at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:1035)
     at TrackingMediator_StatelessSessionBeanWrapper2.editOverheadExpenditure(TrackingMediator_StatelessSessionBeanWrapper2.java:1593)
     at com.enbridge.dsm.web.action.TrackingPortfolioAction.editOverheadExpenditure(TrackingPortfolioAction.java:264)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java)
     at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278)
     at com.enbridge.dsm.web.shared.BaseAction.execute(BaseAction.java:90)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
     at com.enbridge.dsm.web.shared.DSMPojoRequestProcessor.process(DSMPojoRequestProcessor.java:182)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1425)
     at com.sourcebeat.strutslive.common.SLActionServlet.process(SLActionServlet.java:44)
     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
     at com.enbridge.dsm.web.shared.security.SecurityFilter.doFilter(SecurityFilter.java:142)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
Note that the exception is thrown at the time when the session bean is about to commit the transaction. i.e. the DAO code did not throw any exception and was able to check the optimistic locking and submit the update transaction.
I am not able to understand why is the the EJB throwing this weird error with Optimistic locking implementation. The application is working fine when the optimistic locking is disabled.
I am facing another problem due to this problem... since the session bean throws this exception after exiting the bean implemented method, when trying to commit the transaction, I am not able to mark the session context to setRollbackOnly. Hence if I continue on to another transaction by navigating to another screen in the application, mysteriously the previous transaction gets committed!!... again... weird...

I am using JDBC driver version 10.1.2.
I saw this additional error message in JDeveloper console, which for some reason was not logged to my log4j log file... if it helps...
06/09/22 18:32:10 Thr[thread 6]-TransactionEnlistment.TransactionEnlistment.Caught forgetandRollback XAException e null
Here are the logs from my Toplink log file....
[TopLink Info]: 2006.09.22 06:31:46.546--ServerSession(989)--Thread(Thread[HttpRequestHandler-86,5,main])--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
[TopLink Info]: 2006.09.22 06:31:46.578--ServerSession(989)--Thread(Thread[HttpRequestHandler-86,5,main])--Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)
[TopLink Config]: 2006.09.22 06:31:46.593--ServerSession(989)--Connection(991)--Thread(Thread[HttpRequestHandler-86,5,main])--connecting(DatabaseLogin(
     platform=>Oracle10Platform
     user name=> ""
     connector=>JNDIConnector datasource name=>jdbc/ORADS
[TopLink Config]: 2006.09.22 06:31:47.484--ServerSession(989)--Connection(1432)--Thread(Thread[HttpRequestHandler-86,5,main])--Connected: jdbc:oracle:thin:@10.210.16.37:1521:orabld
     User: APP_USR
     Database: Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
     Driver: Oracle JDBC driver Version: 10.1.0.3.0
[TopLink Config]: 2006.09.22 06:31:47.500--ServerSession(989)--Connection(1433)--Thread(Thread[HttpRequestHandler-86,5,main])--connecting(DatabaseLogin(
     platform=>Oracle10Platform
     user name=> ""
     connector=>JNDIConnector datasource name=>jdbc/ORADS
[TopLink Config]: 2006.09.22 06:31:47.500--ServerSession(989)--Connection(1434)--Thread(Thread[HttpRequestHandler-86,5,main])--Connected: jdbc:oracle:thin:@10.210.16.37:1521:orabld
     User: APP_USR
     Database: Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
     Driver: Oracle JDBC driver Version: 10.1.0.3.0
[TopLink Info]: 2006.09.22 06:31:47.671--ServerSession(989)--Thread(Thread[HttpRequestHandler-86,5,main])--DBSession login successful
[TopLink Fine]: 2006.09.22 06:31:47.703--ServerSession(989)--Connection(1554)--Thread(Thread[HttpRequestHandler-86,5,main])--select * from user_role ur, app_resource ar, role_resource rr where rr.APP_RESOURCE_ID = ar.APP_RESOURCE_ID and rr.USER_ROLE_ID = ur.USER_ROLE_ID
[TopLink Fine]: 2006.09.22 06:31:49.937--ServerSession(989)--Connection(10245)--Thread(Thread[HttpRequestHandler-86,5,main])--SELECT * FROM PROGRAM_SUB_CAT
[TopLink Fine]: 2006.09.22 06:31:50.015--ServerSession(989)--Connection(10332)--Thread(Thread[HttpRequestHandler-86,5,main])--SELECT PROGRAM_ID, CREATED_BY_USERID FROM (SELECT CREATED_BY_USERID, ROWNUM PROGRAM_ID FROM (SELECT DISTINCT(CREATED_BY_USERID) CREATED_BY_USERID, 1 AS PROGRAM_ID FROM PROGRAM))
(I only see my application specific queries after this... no exceptions or debug logs)... as I said before.. the application gives exception in the session bean at the time of commit, and there's no exception raised from Toplink code in DAO...

Similar Messages

  • JCalendar its not working with other beans with implementation class

    Hello,
    Jcalendar DEMO from http://forms.pjc.bean.over-blog.com/article-14848846.html and its working , even in new clean new form but if it with other beans like lafbean,keytypedbean etc... it gives this error:
    Java Plug-in 1.6.0_34
    Using JRE version 1.6.0_34-b04 Java HotSpot(TM) Client VM
    Forms Session ID is formsapp.27
    The proxy host is null, and the proxy port is 0.
    Native HTTP implementation is being used for the connection.
    The connection mode is HTTP.
    Forms Applet version is 11.1.2.0
    ! DrawLAF57: ***                    ***
    ! DrawLAF57: ***     Look and Feel Project v1.7.4     ***
    ! DrawLAF57: ***                    ***
    *------- L&F Java memory report [DrawLAF Init()] -------*
    *----------> DrawLAF57  total: 27217920  used: 22697928   free:4519992
    SCALE_IMAGE=Width=FIT,Height=FIT
    jsp Width=java.awt.Dimension[width=523,height=409]
    Scale Width=523
    Scale Height=409
    Clear image
    loading (shared) icon filename=/120.png
    loading (shared) icon filename=/7.png
    loading (shared) icon filename=/Printer.png
    loading (shared) icon filename=/8.png
    loading (shared) icon filename=/44.png
    loading (shared) icon filename=/Search.png
    loading (shared) icon filename=/10.png
    loading (shared) icon filename=/96.png
    loading (shared) icon filename=/99.png
    loading (shared) icon filename=/98.png
    loading (shared) icon filename=/97.png
    loading (shared) icon filename=/118.png
    loading (shared) icon filename=/Calender18.png
    loading (shared) icon filename=/Calender18.png
    loading (shared) icon filename=/119.png
    loading (shared) icon filename=/Tick.png
    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
         at com.jgoodies.looks.plastic.PlasticComboBoxButton.paintComponent(PlasticComboBoxButton.java:206)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JLayeredPane.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.paint(Unknown Source)
         at java.awt.Window.paint(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.access$700(Unknown Source)
         at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
         at com.jgoodies.looks.plastic.PlasticComboBoxButton.paintComponent(PlasticComboBoxButton.java:206)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.access$700(Unknown Source)
         at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
         at com.jgoodies.looks.plastic.PlasticComboBoxButton.paintComponent(PlasticComboBoxButton.java:206)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.access$700(Unknown Source)
         at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Any idea?
    Charles.

    Those are not Oracle demos. Please post your questions about those on their forum:
    http://forms-pjc-bean.space-forums.com/

  • Error when working with Session bean

    HI !!!!
    CAN ANYBODY HELP ME WITH THIS ERROR
    SEE THIS CODE FROM MY CONTROL FILE
    import weblogic.jws.*;
    import weblogic.jws.control.*;
    * @jws:ejb home-jndi-name="com/unisys/comms/jdal/ejb/sql/session/messagestoresb"
    * @editor-info:ejb home="jdalMailbox-ejb.jar" bean="jdalMailbox-ejb.jar"
    public interface MessageStoreSBControl
    extends com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageStoreSBHome,
    // home interface
    com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageStoreSB,
    // bean interface
    weblogic.jws.control.SessionEJBControl // control interface
    EVERYTHING IS RIGHT HERE BUT I GET AN ERROR
    THE ERROR IS AS FOLLOWS -------
    addMessageStore
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode> SOAP-ENV:JWSError </faultcode>
    <faultstring> Interface interface MessageStoreSBControl does not extend an EJB
    home interface </faultstring>
    <detail>
    <JW-ERR:jwErrorDetail xmlns:JW-ERR="http://www.bea.com/2002/04/jwErrorDetail/">
    weblogic.jws.control.ControlException: Interface interface MessageStoreSBControl
    does not extend an EJB home interface at weblogic.knex.control.EJBControlImpl.<init>(EJBControlImpl.java:94)
    at weblogic.knex.control.SessionEJBControlImpl.<init>(SessionEJBControlImpl.java:24)
    at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232)
    at weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:255) at MessageStoreSBControl.create(MessageStoreSBControl.ctrl)
    at MessageStoreWS.addMessageStore(MessageStoreWS.jws:40) </JW-ERR:jwErrorDetail>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Hi PK,
    Are you able to run the TraderEJBClient.jws EJBControl sample? This is
    also a StatelessSession ejb control sample.
    If you are able to run the sample and the exception occurs only with
    your ejb,, please attach your sample ejb to the newsgroup post.
    Also provide the OS, and Workshop Service pack level you are working
    with.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "PKRIS" <[email protected]> wrote in news:3ee74564$[email protected]:
    >
    HI !!!!
    CAN ANYBODY HELP ME WITH THIS ERROR
    SEE THIS CODE FROM MY CONTROL FILE
    import weblogic.jws.*;
    import weblogic.jws.control.*;
    * @jws:ejb
    home-jndi-name="com/unisys/comms/jdal/ejb/sql/session/messagestoresb"
    * @editor-info:ejb home="jdalMailbox-ejb.jar"
    bean="jdalMailbox-ejb.jar" */
    public interface MessageStoreSBControl
    extends
    com.unisys.comms.jdal.ejb.sql.session.messagestoresb.MessageSto
    reSBHome,
    // home interface
    com.unisys.comms.jdal.ejb.sql.session.messagestoresb.Me
    ssageStoreSB,
    // bean interface
    weblogic.jws.control.SessionEJBControl // control
    interface
    EVERYTHING IS RIGHT HERE BUT I GET AN ERROR
    THE ERROR IS AS FOLLOWS -------

  • EJB 3 Interceptor @AroundInvoke does not work on session bean superclass

    JDeveloper 10.1.3.0.4 Build 3673 running Embedded OC4J (jdk1.5.0_02).
    I have a stateless session bean that subclasses another session bean. The superclass has an @AroundInvoke defined on it. However, just defining the @AroundInvoke on the superclass doesn't trigger the interceptor to run. But if I add the superclass as an @Interceptor on the subclass, it works. But that shouldn't be required according to the EJB 3.0 core spec (pg. 269):
    After the interceptor methods defined on interceptor classes have been invoked, then:
    If a bean class has superclasses, any AroundInvoke methods defined on those
    superclasses are invoked, most general superclass first.
    Anyway, the interceptor implementation doesn't appear to properly implement the spec on this point, AFAICT.

    Check your ejb-jar.xml and see if it has the version of "2.1" there...
    If the application was depending upon EJB 3.0 annotations but it had a ejb-jar.xml that had version set to "2.1" and there was no oracle specific descriptor (orion-ejb-jar.xml) to designate it use the resource adapter; It would expect JMS destination and connection factory that is required for a JMS-MDB set in the ejb-jar.xml. So try to change the ejb-jar.xml to update the version to "3.0", OC4J would have parsed the annotation and combined the metadata with ejb-jar.xml and it would work.
    -Frances

  • IPhone 4S screen auto lock not working with Music Playback, while connected to the Computer via USB

    Hello Everyone,
    I have an iPhone 4S, updated to the latest version of iOS (7.1). Recently, I noticed that my iPhone's screen doesn't autolock automatically whenever it's connected via the sync cable to my Laptop Computer (A Dell Studio running Windows 8.1 Pro). This happens regardless of whether iTunes is running or not. Whenever the music playback is on, the screen just gets dimmed after a while (as it always does before the screen auto-lock triggers), and stays like that. However, when I stop music playback, the auto-lock work just fine.
    I want to know, is this normal? I mean, is this the way it's supposed to be?
    Thanks and Regards,
    Rajat S.

    ALSO, iTunes has been updated to iOS 12.0.1.

  • Screen Lock not working with new OS

    After loading the 4.2 OS on the iPad now the Screen Lock button became the mute button!
    Useless to me and lost useful functionality.
    Please advise - is there any chance to get back to the Screen Lock function without re-installing the previous OS?
    Urgent please!

    Rotation lock is now a software function on the taskbar in 4.2 and the button now mutes notifications e.g. so that you can watch videos or listen to music without hearing email notifications etc.
    Rotation lock : double-click the home button, slide from the left, and it's the button far right; press home again to exit the taskbar; repeat to switch off rotation lock.

  • Locked 3GS working with Indian Service provider while iphone 4 does not ?

    So my friend got a iPhone 3GS from the states and ofcourse it was locked with AT&T but upon reaching here when he inserted his Aitel Sim in it worked without any jailbreak or unlock. On the other hand i recently bought a iPhone 4 with 4.1 stock firmware and 2.10.4 baseband and it does not work with either of the official carriers let it be Airtel or Vodaphone even if we buy a microsim directly from the service provider(Yes they are available here on request).
    Why is it so. Also last i heard was that Apple added few more carriers with the 4.2.1 update. If that is to be correct then does a iPhone 4 works here in India with that update without the jailbreak or unlock.
    TIA
    Naughtie

    How is it that your friend got an iphone 3G S from U.S and that how does it work with Aitel Sim? All U.S purchased iphone are carrier locked to AT&T, and there is no official way to unlock them. They only way you can is to jailbreak and unlock it from there but otherwise a non-hacked u.s iphone will not work with other sim card. So it is likely that the phone your friend got is a hacked phone. You can also tell if your friend updates his phone to the latest firmware, that the phoen will go back to normal state and I bet you that the Aitel sim will not work.

  • ADF bindings are not working with inheritance heirarchy.

    ADF bindings are not working with inheritance heirarchy. I am using embedded OC4J in JDeveloper 10.1.3.2.
    For the data model I have the following objects\attributes.
    1) User (abstract EJB 3.0 POJO)
    - Id
    - userId
    - userName
    2) Employee -> extends User (EJB 3.0 POJO)
    - enabled
    - password
    3) Manager -> extends Employee (EJB 3.0 POJO)
    - numOfEmployees
    4) UserSessionBean (Stateless Session Bean)
    - public User findUserByUserId(String userId)
    - public List<User> queryUserFindAll()
    - Object mergeEntity(Object entity)
    I created 2 JSF pages using ADF.
    1) ListUsers.jspx - Lists all the users of type Employee and Manager in a table. You can select an user and chose to modify the user details using a modify button.
    2) ModifyUser.jspx - Modify the selected user and persist the modified user details.
    I implemented ListUsers.jspx by dragging and dropping queryUserFindAll() method from the ADF datacontrol on to the JSF page and selected ADF Table format with selection enabled.
    Similarly for the ModifyUser.jspx page I dragged and dropped the User object returned by findUserByUserId(String userId) and selected ADF Form format. I selected OutputText field types for userId and userName.
    I then created a navigation case from ListUsers.jspx to ModifyUser.jspx and pass the selected user.
    Now when I try to run the web application, ListUsers.jspx correctly displays all the users. Then I select a user of type Employee and click on the modify button. This brings up the ModifyUser.jspx page. However, the UserId text field displays the value for "Id" field rather than "userId".
    Question that I have is:
    - Why is ADF framework not able to retrieve the appropriate user attribute value for a Employee based on the binding information in case of inheritance ?
    Thanks,
    Piyush

    Hi,
    tried with JDeveloper 10.1.3.3 and this works for me. Try JDeveloper 10.1.3.3 - if it doesn't work, have a closer look at your sessionFacade
    Frank

  • "Next" and "Previous" functionality on UIX tables not working with 10g

    With new release of JDeveloper(10G), the "Next" and "Previous" navigation buttons/links on UIX tables are not working. I tried different approaches:
    1. It does not work with Data Controls built from Java Beans or from TopLink.
    2. I tried without using Data Controls and it still does not work.
    I shows "Next" and "Previous" buttons on the page. But it shows all records on the page rather then showing limited records. Say for example if the block size is 5 and total number of records are 15, it shows all 15 records in the table but the "next" and "Previouds" button would say "1-5 of 15".
    Did any of you observe the same behaviour?

    Hi Shital -
    Thanks for the additional info...
    When I said that the total number of records is 15, I
    meant that my tableData's DataObjectList contains 15
    entries. (In case of DataControls you don't even use
    DataObjectList, but for my non data control
    applications I used DataObjectList). You are saying
    that If I want to display only 5 records per page
    then I will need to provide a DataObjectList with
    five items. Then for next five records from 6-10 I
    will have to program in such a way that my method
    call returns 6-10 records.That's correct. In the case where you are explicitly providing data to the table via a DataObjectList, you need to feed the data to the table in page size blocks - and you also need to handle the table's goto event to scroll the table to the next/previous block of data.
    In previous version of
    UIX(2.1.7) I never had to program for next and
    previous buttons. UIX tables used to take care of
    that. That's why I am so surprised.It sounds like you must have been using the <bc4j:table> component. Is that the case?
    Getting back to your original issue...
    1. It does not work with Data Controls built
    from Java Beans or from TopLink.I believe that this is a bug in the preview release - and I'm fairly sure this will be addressed by production. In production, ADF should automatically handle wiring up table scrolling for you when binding your table to a data control - whether the data control is implemented via JavaBeans, Toplink, or BC4J. I believe that in the preview release, scrolling only working when binding to a BC4J data control.
    Andy

  • Adobe creative cloud eea 1.5 is not working with our asus Eee box , celeron j1900 2.00 ghz, 4gb of ram, 64bit. can settings be changed in adobe?

    adobe creative cloud eea 1.5 is not working with our asus Eee box , celeron j1900 2.00 ghz, 4gb of ram, 64bit. can settings be changed in adobe?

    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Dear sir I bought my iPhone 4 from Apple store in Charlotte N/C about 2years ago without contract. Now I tried to upgrade it to iOS 7.0.4.but after that my phone not work with last sim card. And invalid sim appeared.so I bought it without contract but it

    Dear sir
    I bought my iPhone 4 from Apple store in Charlotte N/C about 2years ago without contract.
    Now I tried to upgrade it to iOS 7.0.4.but after that my phone not work with last sim card.
    And invalid sim appeared.so I bought it without contract but it seems to be lock in my country
    Please tell me whats the matter?
    My phone serial no  86034HTCA4T
    Modem firmware  04.12.09
    Thanks

    Without contract is not the same as unlocked. The update to iOS 7 relocked
    the iPhone to the wireless carrier to which it was originally locked. You must
    contact that wireless carrier to see if they offer unlocking and if you qualify.
    If you used jailbreak or other hack to unlock the iPhone initially, the method
    used may prevent a legitimate unlock from succeeding and may render your
    iPhone unuseable.

  • I bought this iPhone from Apple Retail Store for the full amount, but  it does not work with my SIM card only works with AT&T

    Hello,
    I have an iPhone 4S 32Gb White AT&T, product part No. MC921LL/A, Serial No. C39GMLPWDTDC
    I bought this iPhone from Apple Retail Store (from Fifth Avenue, NY) for the full amount. Now it does not work with my SIM card only works with AT&T. I restored the phone several times, but I have not received "Congratulations your iPhone has been unlocked". Please activate my iPhone to work with different SIM cards
    Thanks,
    Best Wishes

    When did you buy it?
    Apple did not begin selling an unlocked version of the iPhone 4S in the US until 11/11/11. I believe it went on sale only through the online store at that time. I'm not sure if it's available at retail yet.
    What you purchased was a phone without a contract commitment. It is still locked to AT&T. AT&T will NOT unlock iPhones for any reason.  Return it and get your money back, then use that to purchase an unlocked phone.

  • Flash Player 11.3.300.262 Not working with Firefox. I think I found the problem.

    *Flash Player 11.3.300.262 is not working with Firefox. I think I found the problem.*
    Millions of people got off work & turned on there computers recently to discover that Firefox is not playing any videos or flash content. Just like me, millions of people are randomly searching the internet in a futile & frustrating attempt at answers. Unfortunately, many of those people will simply stop using firefox & deem it a glitchy, unreliable browser.
    This happened to me a couple days ago. I started up my computer & got a pop-up from Adobe saying that I need to update my flash player to 11.3.300.262. I've always thought of adobe as being a reliable software company, so I clicked on it with confidence that things will be working even smoother. To my horror, I relalized that right after the update, my main browser, firefox was destroyed. Then I went on the frustrating process of uninstalling, re-installing, running virus scan, researching the internet like a lost child. I said to myself, "that's why I hate updating stuff, because updates always seem to change stuff you don't want it to change & there always seems to be a problem with the updates." I usualy update software months after it releases, because microsoft & all the other software companies always seem not to test there stuff properly before releasing them. Then we have to look at a glitchy computer until the next update fixes it. Well, that is my rant. Now let me discuss the problem I found.
    Problem:
    What I did was, go into my firefox extentions menu & I disabled the 11.3.300.262 & I re-enabled the previous flash player. After that, everything worked perfect again. Then a today (a week later), I turned on my computer & my firefox wasn't playing any videos or flash content again. I went into my firefox extenions menu again, & I discovered that my old flash player had been deleted, & this new glitchy 11.3.300.262 had been enabled. Why did adobe feel the need to into my computer & automaticly delete & update my flash player. Now it doesn't work. THIS IS REALY FRUSTRATING!
    The Issue I discovered:
    "RealPlayer" is the most popular video program & it is installed on millions of computers. For some strange reason Firefox does not want its users to use Real Player. Specifically the RealPlayer Browser Record Plugin 15.0.2. I also discovered that my Browser Record Plugin 15.0.2 was automatically disabled when the Adobe 11.3.300.262 was automatically updated also.
    - Maybe this could be because of some copyright conspiracy to keep people from downloading videos from the web.
    - Maybe firefox wants people to use there download add-on instead of RealPlayers downloader.
    I don't know what ther reason is. But what I do know is Nobody is going to delete there RealPlayer from there computer just to use FireFox. We can simply use Chrome or Internet explorer. I took the advise from Adobe & disabled the FireFox RealPlayer Extention. I also went into my RealPlayer preferences options, But there was no option to disable download recording from FireFox. BECAUSE I ALREADY DISABLED THE ADD-ON in FireFoxes menu.
    Solution:
    Step 1: Adobe needs to update all the computers with the previous flash player. That way we can choose to enable the previous flash player in our FireFox. or wait until a new update fixes the problem with firefox.
    Step 2: Adobe & FireFox need to get together & go back to the drawing board. They need to create a update that actually works on computers that have Real Player installed on them. I don't care which company does the update. All I care about is if it works. Thank You.
    Oh yea, Im running FireFox 13.0.1, Windows 7, HP computer, Real Player is up to date.

    Hey Chris,
    I was able to duplicate this issue on my Windows 7 laptop as follows:
         1)  Completely uninstall FlashPlayer (using your tool) as well as Mozilla Firefox and Mozilla Maintenance Service (used Windows 7 - uninstall from Control Panel).  Please note that I checked the box that said "Remove my Firefox personal data and customizations" to ensure that Firefox was completely gone from my laptop.
         2)  I then went out to the Firefox website and downloaded the "Firefox Setup 13.0.1.exe" app to my laptop.  I ran this app to install Firefox.
         3)  I then went to the following website http://www.ishmael.org.uk/karaoke02.php as I know that this URL uses Flash Player (obviously you can go to any URL that uses Flash Player - I'm just letting you know which one I used).  I then clicked on the icon on this page to install Flash Player.
    Once the install was completed, the URL stops responding and appears to be locked up (although it will occassionally hiccup and display portions of the page and then lock up again).  You will eventually get a pop-up notice from Firefox that has the header "Warning:  Unresponsive script" and says the following: 
         A script on this page may be busy or it may have stopped responding.  You can stop the script now, or you can continue to to see of the script will complete.  Script:  chrome://browser/content/browser.js:6551 
    Selecting "Stop script" will get Firefox working until you hit another page that uses Flash Player.
    To ensure that the above URL is not the culprit, I used one from your website http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html and had the same results.
    Hope this info helps!
    Jeff
    NOTE:  As a reminder, I do not have RealPlayer installed on my laptop (and never have had it installed)

  • HDX 9010nr, Radeon 2600 will not work with WIndows 7

    Apparently, HP is not going to support the HDX 9010nr for Windows 7.  That's the bad news, the good news is that it "mostly" works. 
    The only big issue is that the display driver stops every few minutes and then restarts.  So you sit there for thirty seconds while the machine recovers.  But, it doesn’t support a second screen; and worse, every 10th time the video driver crashes; it locks up the whole machine. 
     ATI has a version of the Radeon 2600 software that worked with the Release Candidate (RC) of Windows 7, but it will not work with the shipped version of Windows 7.  ATI recommends that you get a version from your hardware vendor.  Which brings me back to the first sentence.  HP isn't supporting the 9010nr. 
    The question is do any of the "supported" HP laptops have the ATI Radeon 2600?  If so, might that work on the HDX 9010nr? 
    This question was solved.
    View Solution.

    Updating the BIOS solved this problem.

  • Window 10 build 10041 does not work with Intel 82579V Gigabit Ethernet on ASUS motherboard

          
    I originally posted this question here:
    answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_update/window-10-build-10041-does-not-work-with-intel/6729892f-83aa-4822-b20a-ea84f4fd06c7
    and was asked to post it on this forum...
    I updated a computer I have which is a quad core i7 that I built and includes an ASUS motherboard with Intel 82579V Gigabit Ethernet built in. Windows 10 preview 9926 worked fine with this network adapter. Window 10 build 10041 does not, and I have tried
    it twice so far. I even went as far as buying a Thunderbolt-Gigabit Ethernet Adapter (Broadcom, sold by Apple)... and while it installed the driver automatically, it did not work either. Each time you try to view the properties of either of them, it locks
    up or give an error. In fact, doing much of anything with the Intel adapter icon assures you of not being able to do a clean reboot... have to kill power.  I have finally gone back the previous version 9926, which has its issues but no where near as bad
    as not having any network connectivity!  Does anyone have this issue and a workaround? 
    Note, there are two images on the windows 10 preview forum that I posted this question on. I could not post the full link as I was getting a message here that links and graphics are not allowed.

    Thanks Roger, I posted the following yesterday in the other thread (thinking it was this thread - confusing after they moved it here)... It may be that the new driver fixes the issue that 10041 has with it, but I have not tried that yet. If I do I will update
    this... Thanks!
    I have more information about this, which basically exonerates any issue with the Intel 82579V Gigabit Ethernet hardware or software. I have 3 computers with Windows 10 preview so I have multiple angles to see issues from. With this I have found a culprit
    (but I suspect not just the only culprit) in this above mentioned problem...
    10041 build combined with installing (or attempting to install) CISCO VPN Windows 7 64bit 5.0.07.0440-k9 client causes the issue mentioned above. I confirmed this on a completely different machine with a totally different Ethernet adapter. First machine
    is an ASUS motherboard in a tower system I built, with the Intel 82579V Gigabit Ethernet hardware built in. Second machine is a Gateway Laptop from 2008 which has a Marvell Yukon 88E8057 PCI-E Gigabit adapter built in. Build 10041 will work fine with my 2008
    laptop, including the MS VPN client (which I have tested). However, if you attempt to install or even uninstall the Cisco client you will have to do a recovery to a restore point (as I have done twice) in order to get your network working again. Installing
    or attempting to install (because it never even does install properly and times out), CISCO VPN client will render your entire network unusable. Going back to a restore point saved me and I am still running 10041 but I can't use CISCO VPN client any longer.
    I could with build 9926, including on all 3 machines. I now have 9926 on two machines and 10041 on only the 2008 laptop. 
    Hopefully this above information helps someone resolve the issue. I will also mention, even though my network is working on the 2008 laptop, I still can't go into the Control Panel\Network and Internet\Network Connections and right mouse click on the Marvell
    Yukon 88E8057 PCI-E Gigabit adapter icon. I get an error when clicking on Properties menu popup : "An unexpected error has occurred". So something is still up with my network adapter driver or windows software, but it could be a side effect of all
    that has happened with the Cisco software install attempts under 10041.
    Another note: CISCO Anyconnect also has the issue.

Maybe you are looking for

  • Error while making excise invoice

    Hi When i post excise invoice then i receive error No matching record found 'G/L accounts'(OACT)(ODBC-2028) i have given accounts to all excise formulas ie A/ptax account and A/Rtax account of  BED,Cess and Vat. how to solve? Thanks

  • Change a migrated DataSource for DB Connect Source System

    Hi, I have created a DataSource for a DB connect Source system with transactioncode RSDBC as follows: 1. select database TableView 2. choose Edit DataSource 3. fill in the field Application Component (default stated NODESNOTCONNECTED) 4. generate dat

  • Sending PDF and not XML

    Hello, I am trying to send a PDF and not XML when clicking a button that I created. Heres what I did: 1. Create the button 2. Select it 3. Field tab>Control Type>radio button select Submit 4. Submit tab>in the Submit to URL: box I type the email addr

  • Superdrive refuses to burn anything

    Hey my emacs superdrive wont burn at all, it still reads all disks fine. At first i could just use a lower speed but now that wont work, is there any easy fix or is it buggered an i gotta get a new one?

  • What are the benifits of Discoverer Drake

    Hi We are currently using App server 10g 9.0.4 One of the features we wanted was to pass parameters from Portal into Discoverer, upon speaking to Oracle they told us this was not possible in this version of Application server. They also said it may b