tag:blogger.com,1999:blog-5874979429188093780.post3746551276888911055..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Extending Application Module for ADF BC Proxy User DB ConnectionAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-5874979429188093780.post-89209508606387001752016-11-01T18:55:36.549+01:002016-11-01T18:55:36.549+01:00Hi again,
Just sent you an email, and also can I ...Hi again,<br /><br />Just sent you an email, and also can I combine the proxy user connection with a custom ADF login form?<br /><br />Regards,Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-64715458166876657332016-11-01T16:39:34.815+01:002016-11-01T16:39:34.815+01:00It is there, use this URL https://storage.googleap...It is there, use this URL https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jdevsamples/AMExtendApp.zip<br /><br />Ok, let me know if any further help will be required by email.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-74480533355820653522016-11-01T16:14:15.505+01:002016-11-01T16:14:15.505+01:00Thank you very much Andrejus for helping, I did se...Thank you very much Andrejus for helping, I did search of AMExtendApp.zip and didn't get any result, by the way I'm migrating a Froms application that uses Forms built-in security logging with db users accounts. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-47923653842980202782016-11-01T16:07:28.032+01:002016-11-01T16:07:28.032+01:00You can download it from Google archive, search by...You can download it from Google archive, search by date - https://code.google.com/archive/p/jdevsamples/downloads<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-6446257618462767912016-11-01T15:25:17.679+01:002016-11-01T15:25:17.679+01:00Hi Andrejus,
Can you upload again the zip file pl...Hi Andrejus,<br /><br />Can you upload again the zip file please? thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-75316942065114040432016-03-28T21:39:08.486+02:002016-03-28T21:39:08.486+02:00I am extending an application module but when I tr...I am extending an application module but when I try to access any view object in the base AM i am getting oracle.jbo.InvalidObjAccessException: JBO-25036: An invalid object operation was invoked on type View Object with name XxxxxVO. here is my scenario, I have a AM(BaseAM) where I have all my VO's and EOs. I added another ChildAM extends BaseAM. I created this because I need a XA data source for my AM(i will commit to db as well as publish to JMS). I am using findViewObject to execute queries from my REST service. When I create an AM instance for BaseAM it works fine but for the same VO if I try creating an AM instance for ChildAM I get the above error. When I tried getViewObjectNames() on the VO the BaseAM instance returned all the VO names as array where as the ChildAM instance returns nothing. Any way to over come this ?Muthunoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-40322129940864565192015-10-26T22:51:01.531+01:002015-10-26T22:51:01.531+01:00You need to use Oracle JDBC driver on Glassfish.
...You need to use Oracle JDBC driver on Glassfish.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-33869109966943974362015-10-26T20:54:57.135+01:002015-10-26T20:54:57.135+01:00Hi, Andrejus, thanks you for your interesting blog...Hi, Andrejus, thanks you for your interesting blog.<br />Can you explain me, why this your app works well on weblogic, but cant work with glassfish?<br />I try this app https://blogs.oracle.com/imc/entry/how_to_use_database_proxy - and it works well on glassfish, but your app get me this error:<br /><br />[#|2015-10-26T16:38:06.510-0300|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=79;_ThreadName=Thread-2;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception<br />JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-30003. Error message parameters are {0=com.redsamurai.model.HrModuleLocal}<br />java.lang.ClassCastException: com.sun.gjc.spi.jdbc40.ConnectionHolder40 cannot be cast to oracle.jdbc.OracleConnection<br /> at com.redsamurai.common.model.utils.CustomTransactionImpl.getConnection(CustomTransactionImpl.java:14)<br /> at com.redsamurai.common.model.utils.CustomCommonModuleImpl.prepareSession(CustomCommonModuleImpl.java:38)<br /> at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:7088)<br /> at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:170)<br /> at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9542)<br /> at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4526)<br /> at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2453)<br /> at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2263)<br /> at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3162)<br /> at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:590)<br /> at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:224)<br /> at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:523)<br /> at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:518)<br /> at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:637)Anonymoushttps://www.blogger.com/profile/15238687110765670262noreply@blogger.com