ADF Essentials on Glassfish3 Deployment error
Hi
I have installed Glassfish3 on CentOS.
Followed the instructions from https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to.
But when tried to deploy it failed with following error
deployment Testing Glassfish-REST-Admin failed
My JDeveloper Version is 11.1.2.3.0
Please help.
Thanks,
Mehabub
Edited by: Mehabub Sheikh on Mar 5, 2013 5:39 AM
Hi Thanks for the reply.
While trying to do Test Connection from Deployment (Application Server Connection) I am getting the following error
Testing JSR-160 ... success
Testing Glassfish-HTTP ... success
Testing Glassfish-REST-Admin ... failed
Host returned unexpected response status: 302
Testing Glassfish-Admin ... skipped
2 of 4 tests successful.
I am using JDeveloper 11.1.2.3.0. So Glassfish should support this with ADF essential. I have a very simple page based on VO which is based on a Table. That's it.
Thanks,
Mehabub
Similar Messages
-
Which Oracle ADF Essentials Files To Deploy
I am using ONLY the ADF-Faces from ADF-Essentials. Could someone tell me which of the following jars below, I need to add to my ear deployment. They are an overkill in comparison to others such as trinidad, primefaces, richfaces, icefaces, etc. Please be specific. Thanks.
Oracle ADF Essentials 12.1.2.0
Client Files - adf-essentials-client.zip
adfbcsvc.jar
adfbcsvc-client.jar
adfbcsvc-registration.jar
adfbcsvc-share.jar
adf-businesseditor.jar
adf-businesseditor-model.jar
adf-businesseditor-settings.jar
adf-controller.jar
adf-controller-api.jar
adf-controller-rt-common.jar
adf-controller-schema.jar
adf-dt-at-rt.jar
adfdt_common.jar
adf-dynamic-faces.jar
adf-faces-changemanager-rt.jar
adf-faces-databinding-dt-core.jar
adf-faces-databinding-rt.jar
adf-faces-registration.jar
adf-faces-templating-dt-core.jar
adf-faces-templating-dtrt.jar
adflibfilter.jar
adflibrary.jar
adfm.jar
adfm-debugger.jar
adfmportlet.jar
adfm-sqldc.jar
adfmweb.jar
adf-pageflow-dtrt.jar
adf-pageflow-fwk.jar
adf-pageflow-impl.jar
adf-pageflow-rc.jar
adf-richclient-api-11.jar
adf-richclient-automation-11.jar
adf-richclient-impl-11.jar
adf-sec-idm-dc.jar
adf-share-glassfish.jar
adf-share-web.jar
adftags.jar
adftransactionsdt.jar
adf-view-databinding-dt-core.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4j-mbeans.jar
bc4jsyscat.jar
bundleresolver.jar
datatags.jar
db-ca.jar
dvt-databinding-dt-core.jar
dvt-databindings.jar
dvt-databindings-mds.jar
dvt-faces.jar
dvt-facesbindings.jar
dvt-jclient.jar
dvt-trinidad.jar
dvt-utils.jar
facesconfigmodel.jar
groovy-all-1.6.4.jar
inspect4.jar
jdev-cm.jar
jewt4.jar
jmxdc.jar
jr_dav.jar
mds-dc.jar
oicons.jar
ojsp.jar
ordhttp.jar
ordim.jar
prefuse.jar
rcs-adflib-rt.jar
rcsrt.jar
regexp.jar
taglib.jar
trinidad-api.jar
trinidad-impl.jar
Server Files - adf-essentials.zip
adf-controller-security.jar
adflogginghandler.jar
adf-share-base.jar
adf-share-ca.jar
adfsharembean.jar
adf-share-security.jar
adf-share-support.jar
com.oracle.webservices.fmw.oc4j-ws-support-impl_12.1.2.jar
commons-el.jar
dms.jar
globaltldcache.jar
javamodel-rt.jar
javatools-nodeps.jar
jrf-api.jar
jsp-el-api.jar
mdsrt.jar
ojdbc6dms.jar
ojdl.jar
ojdl2.jar
oracle.classloader_11.1.1.jar
oracle.http_client_12.1.2.jar
oracle.logging-utils_11.1.1.jar
oracle.web-common_12.1.2.jar
oracle.web-common-schemas_12.1.2.jar
oracle.xdb_11.2.0.jar
oracle-el.jar
orai18n-mapping.jar
org.apache.bcel_5.1.jar
org.apache.commons.beanutils_1.8.3.jar
org.apache.commons.logging_1.1.1.jar
resourcebundle.jar
share.jar
xmlef.jar
xmlparserv2_sans_jaxp_services.jar
Others
jmxframework.jarHi,
plain ADF Faces should be
adf-faces-api-1013.jar
adf-faces-impl-1013
Just the components. However, if there is more in your project properties than ADF Faces, others may be required too (e.g. Task Flow libraries if you use ADF Page Flow). If you only use ADF Faces from faces-config.xml for navigation then the two should do
Frank -
Hi,
I have three simple Bar Graphs which developed using JDeveloper 12c. When I deployed in Glassfish Server 3.1.2 open source edition with ADF essentials 12.1.2.0 they are not displayed. Other data bound pages are working fine. Now if I deploy them in the integrated weblogic server then they are correctly displayed.
As per the oracle documentation DVT components are included in ADF Essentials.
Can someone please help me if I am missing anything?
Thanks,
MehabubHi Alejandro,
I could see following warning and info in server.log file for my domain.
[#|2013-11-17T18:01:12.677+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=19;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
[#|2013-11-17T18:01:12.790+0530|INFO|glassfish3.1.2|oracle.jbo.uicli.mom.CpxUtils$Visitor|_ThreadID=19;_ThreadName=Thread-2;|jndi:/server/JeetOnlinePortal/WEB-INF/classes/jeetView/DataBindings.cpx|#]
[#|2013-11-17T18:01:15.455+0530|INFO|glassfish3.1.2|oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl|_ThreadID=19;_ThreadName=Thread-2;|ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.|#]
[#|2013-11-17T18:01:15.607+0530|INFO|glassfish3.1.2|oracle.adfinternal.controller.state.SessionBasedScopeMap|_ThreadID=19;_ThreadName=Thread-2;|ADFc: Configuration parameter adf-scope-ha-support set to 'false'.|#]
[#|2013-11-17T18:01:18.704+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/simple-desktop.css|#]
[#|2013-11-17T18:01:18.950+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/richcomponents-simple-desktop.css|#]
[#|2013-11-17T18:01:19.081+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/dvt-simple.css|#]
[#|2013-11-17T18:01:19.131+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/trinidad/dvt-simple.css|#]
[#|2013-11-17T18:01:19.176+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/skyros-v1-desktop.css|#]
[#|2013-11-17T18:01:19.224+0530|WARNING|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.SkinStyleSheetParserUtils|_ThreadID=19;_ThreadName=Thread-2;|The skin selector AFIndexedIcon is not a Skin Icon Object since it does not have a content attribute. If you created this selector, please rename it to end with "style" instead of "icon" so that the Skinning Framework will treat it as a style, not an icon.|#]
[#|2013-11-17T18:01:19.276+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/skyros-v1-theme-addition.css|#]
[#|2013-11-17T18:01:19.325+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/adf/styles/skyros-v1-touchScreen-desktop.css|#]
[#|2013-11-17T18:01:19.354+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/dvt-skyros-v1-desktop.css|#]
[#|2013-11-17T18:01:19.387+0530|INFO|glassfish3.1.2|org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry|_ThreadID=19;_ThreadName=Thread-2;|Loading style sheet: META-INF/bi/styles/dvt-skyros-v1-touchScreen-desktop.css|#]
[#|2013-11-17T18:01:21.102+0530|WARNING|glassfish3.1.2|oracle.adf.share.security|_ThreadID=19;_ThreadName=Thread-2;|ADF Credential Store is not supported on Glassfish platform. Using the ADFNoCredentialSupportStore instead.|#]
[#|2013-11-17T18:01:21.114+0530|WARNING|glassfish3.1.2|oracle.adf.share.security|_ThreadID=19;_ThreadName=Thread-2;|ADF Credential Store is not supported on Glassfish platform. Using the ADFNoCredentialSupportStore instead.|#]
[#|2013-11-17T18:01:21.119+0530|WARNING|glassfish3.1.2|oracle.adf.share.jndi.ReferenceStoreHelper|_ThreadID=19;_ThreadName=Thread-2;|No credential could be loaded for Reference = Reference Class Name: oracle.jdeveloper.db.adapter.DatabaseProvider
Type: sid
Content: XE
Type: subtype
Content: oraJDBC
Type: port
Content: 1521
Type: hostname
Content: mcassociation.in
Type: user
Content: jeet
, SecureRefAddr = password. Setting default value of "".|#]
[#|2013-11-17T18:03:02.156+0530|WARNING|glassfish3.1.2|oracle.adfinternal.view.faces.partition.PartitionManager|_ThreadID=19;_ThreadName=Thread-2;|Feature "DvtGraph" is not contained in any partition.|#]
[#|2013-11-17T18:03:02.601+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
[#|2013-11-17T18:03:02.602+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
[#|2013-11-17T18:03:02.602+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
[#|2013-11-17T18:03:02.602+0530|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /JeetOnlinePortal, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]
[#|2013-11-17T18:03:03.643+0530|WARNING|glassfish3.1.2|oracle.adfinternal.view.faces.partition.PartitionManager|_ThreadID=20;_ThreadName=Thread-2;|Feature "DvtGraph" is not contained in any partition.|#]
[#|2013-11-17T18:15:04.849+0530|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=21;_ThreadName=Thread-2;|Server shutdown initiated|#]
[#|2013-11-17T18:15:05.262+0530|INFO|glassfish3.1.2|oracle.adf.share.config.ADFConfigFactory|_ThreadID=21;_ThreadName=Thread-2;|Calling ADF Config instance implementation: class oracle.adf.share.config.ADFConfigImpl.releaseResources()|#]
[#|2013-11-17T18:15:05.877+0530|INFO|glassfish3.1.2|oracle.adf.share.config.ADFConfigFactory|_ThreadID=21;_ThreadName=Thread-2;|Calling ADF Config instance implementation: class oracle.adf.share.config.ADFConfigImpl.releaseResources()|#]
[#|2013-11-17T18:15:07.200+0530|INFO|glassfish3.1.2|oracle.adf.share.config.ADFConfigFactory|_ThreadID=21;_ThreadName=Thread-2;|Calling ADF Config instance implementation: class oracle.adf.share.config.ADFConfigImpl.releaseResources()|#]
[#|2013-11-17T18:15:09.701+0530|INFO|glassfish3.1.2|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=22;_ThreadName=Thread-2;|RAR7094: __xa_jdbc_ra shutdown successful.|#]
[#|2013-11-17T18:15:12.276+0530|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=21;_ThreadName=Thread-2;|JMX002: JMXStartupService: Stopped JMXConnectorServer: null|#]
[#|2013-11-17T18:15:12.276+0530|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=21;_ThreadName=Thread-2;|JMX001: JMXStartupService and JMXConnectors have been shut down.|#]
[#|2013-11-17T18:15:12.277+0530|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=21;_ThreadName=Thread-2;|Shutdown procedure finished|#]
Seems to be okay.
Do you find something wrong or missing?
Thanks,
Mehabub -
Hi people.. i am using a Tomcat 6 web app and i am getting this error when trying to deploy an adf components 11 web app.
25-jun-2010 15:21:14 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Exception sending init context to instance event of Listener class oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
java.lang.NoSuchMethodError: oracle.ias.cache.CacheAccess.get(Ljava/lang/Object;Z)Ljava/lang/Object;
at oracle.mds.internal.cache.JOCCache.get(JOCCache.java:165)
at oracle.mds.internal.cache.LayeredCache.getGroupNode(LayeredCache.java:644)
at oracle.mds.internal.cache.LayeredCache.getCacheAccess(LayeredCache.java:181)
at oracle.mds.core.MetadataObject.getBaseMOFromCache(MetadataObject.java:1723)
at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:988)
at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:2769)
at oracle.mds.core.MDSSession.getMutableMO(MDSSession.java:1527)
at oracle.adf.share.jndi.MDSBackingStore.isReadOnlyMDSStore(MDSBackingStore.java:152)
i dont understand whats going on or what is missing... lib? configuration??
really thanked for your advise!
Isyplease please...
does someone know the answer to this error???
ADVERTENCIA: [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
javax.faces.FacesException: oracle.adfinternal.view.faces.lifecycle.LifecycleFactoryImpl
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:553)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:426)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:229)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:702)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:398)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.InstantiationException: oracle.adfinternal.view.faces.lifecycle.LifecycleFactoryImpl
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:551)
... 29 more
25-jun-2010 17:45:11 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
25-jun-2010 17:45:11 org.apache.catalina.core.StandardContext start
GRAVE: Falló en arranque del Contexto [adf-faces-demo] debido a errores previos
thank you!
isy -
Hi,
in order to get a simple web app deployed on glassfish 3.1.2 i tried to repeat all steps from the video below
https://blogs.oracle.com/shay/entry/glassfish_extension_for_oracle_jdeveloper
any application, whether it's adf or just an one-item-page web application without model project,
fails with the error :
"Class oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver not found"
now i just repeat the deployment of the J2EE web app - war file
when i comment the respective block in web.xml
<!--context-param>
<param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
<param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
</context-param-->
i manage to deploy but the application doesnt' work failing with exception 500
javax.servlet.ServletException: null source
java.lang.IllegalArgumentException: null source
i notice that the old adf-essentials.zip archive pictured in video contains much more libs and weights 3 time more than the one i downloaded yesterday (21M)
What's wrong with oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver
or what's wrong with adf-essentials.zip?hi,
so the patchset's size is correct, alright, but i didn't move any further from there.
actually i've followed to the steps you provided in the blog thoroughly, anyway, i repeated from scratch on new glassfish installation:
adf-essentials.zip unzipped with -j option , e.i. into current ..glassfish3/domains/domain1/lib directory,
2 jvm parameters set as shown,
both model and view projects' deployment platform property set to glassfish3.1
same error message:
[#INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-2;|Exception Occurred :Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: web.xml
Cause: Unable to find class 'oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver'. Please see server.log for more details.|#]
BTW, Andreas Koop at his blog found at http://multikoop.blogspot.co.uk managed to make it run as well, not me...
what do i miss or is it just a bad luck?
PS Neither can i run a simple sample on apache 7, it's deployed but can't be started
the only one that works for me is an oracle's rcf-dvt-demo.war on apache 7... -
Difficulty with ADF Faces/ADF Essentials and Glassfish
Hi all,
I've got a web application written with ADF Faces, and it runs just fine within jDeveloper 11.1.2.3 but when I deploy it to Glassfish 3.1.2 (with ADF Essentials installed) something curious happens.
My application has no difficulty performing database reads, but when it tried to write to the database and commit, it fails.
I've seen only a couple of other people with this problem, and none of them seem to have found a solution - so I'm assuming it's something stupid that I'm doing or misunderstanding.
Here is the log file:
[#|2013-11-10T11:45:17.601-0500|WARNING|glassfish3.1.2|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=79;_ThreadName=Thread-2;|ADF: Adding the following JSF error message: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
at oracle.jbo.server.BaseSQLBuilderImpl.isSQLRecoverableException(BaseSQLBuilderImpl.java:4575)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3380)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
at app.AppModuleImpl.commitOperation(AppModuleImpl.java:50)
at com.methods.lrc.view.VendorBean.createPaymentReceived(VendorBean.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.methods.lrc.view.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:724)
Here is the method where it fails:
public String createPaymentReceived() {
AppModuleImpl appModule = this.getAppModule();
ViewObjectImpl paymentReceivedVOI = appModule.getPaymentsReceivedView3();
Row paymentRow = paymentReceivedVOI.createRow();
paymentRow.setAttribute("CheckNumber", prCheckNumber);
paymentRow.setAttribute("PaymAmount", totalSelectedValue);
paymentRow.setAttribute("PaymentComment", prComment);
paymentRow.setAttribute("PaymentDate", prPaymentDate);
paymentRow.setAttribute("PaymentType", prPaymentType);
paymentRow.setAttribute("TrackId", prTrackId);
appModule.commitOperation();
DBSequence paymentsReceivedId = (DBSequence)paymentRow.getAttribute("PaymentsReceivedId");
Iterator selectionIt = unpaidPaymentItemsTable.getSelectedRowKeys().iterator();
while (selectionIt.hasNext()) {
Object rowKey = selectionIt.next();
unpaidPaymentItemsTable.setRowKey(rowKey);
int index = unpaidPaymentItemsTable.getRowIndex();
JUCtrlHierNodeBinding row = (JUCtrlHierNodeBinding)unpaidPaymentItemsTable.getRowData(index);
Row selectedRow = row.getRow();
selectedRow.setAttribute("PaymentsReceivedId", paymentsReceivedId.getSequenceNumber());
selectedRow.setAttribute("PaymentDate", prPaymentDate);
appModule.commitOperation();
prCheckNumber = null;
totalSelectedValue = 0;
prComment = null;
prPaymentDate = new Date();
prTrackId = null;
prPaymentType = "K";
refreshTableIterator("VendorPaymentItemsView1Iterator");
refreshTableIterator("VendorPaymentsReceived1Iterator");
return null;
it fails on the second appModule.commitOperation() (which I've bolded)
if anyone can give a clue to what I'm misunderstanding I'd really appreciate it. I'm sure that if I had the course for BaseSQLBuilderImpl.java and/or DBTransactionImpl it would be easier to see what the actual error was - unfortunately java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception doesn't tell me much of anything.
Thanks so much to anyone who's got the time/knowledge to help.
BobThat doesn't seem to make any difference. It works just fine within jDeveloper, but as soon as I deploy it, I can no longer write to the database.
A few more details that seem relevant - it's not only this method that fails. Even on screens which were designed without any backing code (where I used the wizards to create my forms and commit buttons) the same exact thing happens.
I've also replicated this behavior in Tomcat.
Part of what is happening is that something is throwing a NoClassDefFoundError, which is caught by a catch (Throwable thEx) clause within DBTransactionImpl. This passes the Error to a method (isSQLRecoverableException) within the BaseSQLBuilderImpl class. The problem is that this method takes only Exceptions for arguments, and NoClassDefFoundError is not a subclass of Exception (only of Throwable.)
It seems obvious to me that there's somewhere a jar missing, but I cannot find it without knowing which class was not found. -
Problems with model adf essentials on glassfish
Hi!,I have an application test very simple,My application was successfully deployed,
but when I use a table (business component) in the jspx,
i am getting this exception while run my web app.
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.ClassCastException: oracle.adf.share.http.ServletContextScopeAdapter cannot be cast to oracle.adf.share.ADFScope
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1 logs.
and te server log says....
[#|2013-04-19T12:36:32.546-0300|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=120;_ThreadName=Thread-1;|StandardWrapperValve[Faces
Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw
exception
java.lang.ClassCastException:
oracle.adf.share.http.ServletContextScopeAdapter cannot be cast to
oracle.adf.share.ADFScope
at oracle.adf.share.http.ServletContextScopeAdapter.getScope(ServletContextScopeAdapter.java:67)
at oracle.adf.share.http.ServletADFContext.findApplicationScopeMap(ServletADFContext.java:382)
at oracle.adf.share.ADFContext.findScope(ADFContext.java:394)
at oracle.adf.share.ADFContext.getScope(ADFContext.java:356)
at oracle.adf.share.ADFContext.getApplicationName(ADFContext.java:1369)
at oracle.adf.share.http.ServletADFContext.getApplicationName(ServletADFContext.java:173)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:450)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:400)
at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:55)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:109)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
which may be the problem?
thanks for your help and sorry for my english :)hi, thanks por replay.
I re-create the application and now I figure the following error:
[#|2013-04-24T12:32:39.062-0300|WARNING|glassfish3.1|oracle.adf.share.platform.AdfServerPlatformSupport|_ThreadID=20;_ThreadName=Thread-1;|
java.lang.reflect.InvocationTargetException
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:597)
at oracle.adf.share.platform.AdfServerPlatformSupport.getNativeDBConnection(AdfServerPlatformSupport.java:97)
at oracle.adf.share.ADFContext.getNativeJdbcConnection(ADFContext.java:1952)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:971)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1659)
at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2571)
at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2219)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3279)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:392)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:149)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.AbstractMethodError: oracle.jdbc.driver.LogicalConnection.isWrapperFor(Ljava/lang/Class;)Z
at com.sun.gjc.spi.jdbc40.ConnectionHolder40.isWrapperFor(ConnectionHolder40.java:506)
... 83 more
|#]
[#|2013-04-24T12:32:39.062-0300|WARNING|glassfish3.1|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=20;_ThreadName=Thread-1;|ADF: Adding the following JSF error message: com.sun.gjc.spi.jdbc40.ConnectionWrapper40 cannot be cast to oracle.jdbc.OracleConnection
java.lang.ClassCastException: com.sun.gjc.spi.jdbc40.ConnectionWrapper40 cannot be cast to oracle.jdbc.OracleConnection
at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1659)
at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2571)
at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2219)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3279)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:392)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:149)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
|#]
any idea why it happens? Thanks! -
Can i install Oracle ADF Essentials 11.1.2.3 on weblogic 10.6 ?
can i install Oracle ADF Essentials 11.1.2.3 on weblogic 10.6 ?
what the difference between ADF Essentials 11.1.2.3 and Application Development Run time 11.1.1.6 ?
can i use ADF Essentials 11.1.2.3 instead of Application Development Run time 11.1.1.6 to deploy application (contains many jsf pages with rich faces and many taskflows and BC4J) ??
i'm using jdeveloper 11.1.2.3.0 and weblogic 10.6 installed on the Linux serverHi,
JDeveloper 11g R1 (11.2.3) supported as ADF essentials and running on WebLogic 10.3.6 are the same releases. The difference is that a path is needed if you want to deploy the software on WLS 10.3.6. Quoting the release notes:
+"The ADF Runtime will be installed into a standalone application server by applying an Opatch bundle on top of a 11.1.1.6 version of the Application Developer Runtime environment. In the event that additional patches are needed or desired in addition to the 11.1.2.3.0 patch (for example, if an additional patch is needed for another component in the Application Development Runtime installation), those patches will need to be installed separately.+
+Important note: The patch is intended to be applied to an Application Developer Runtime installation. Applying the patch to a different installation type (for example, Oracle SOA Suite or Oracle WebCenter) is not supported."+
Release Notes: http://www.oracle.com/technetwork/developer-tools/jdev/11gr2update3-1851251.html
For Glasssfish you don't need to patch the server and only install the ADF runtime libraries - also explained in the Release notes.
Frank -
Oracle ADF Essentials can used in Production as free licenced
Hi All,
I have few questions wrt to Oracle ADF Essentials Freeware.
Recently Oracle release a pressnote that Oracle ADF Essentials is a free ware. So it can also use in production mode?
I want use this in creating Monitor page for SOA in my project. I am novice in ADF side , so can come one please correct me if i am wrong.
Is it possible to Create a monitor page using the Benefit of of Oracle ADF Essentials.
Basically i want to display data from the table of SOA like instance complete state,count of the instance, error or success states, alerts..etc.
If any help, i would be thankfull.
Regards,
Tarak.Can some please update this thread..
Regards,
Tarak. -
Web sevice data control deploy error.
We developed an ADF application. We deploy this application to SOA 10.1.3.3 it works correctly. After that we add this project a web sevice data control pointing a BPEL process (initiate method).
it works from Jdev 10.1.3.3. no problem.
But when we deploy this application to app server . deploy works ok. but when we want to connect application
"page not displayed error" occurs. no more information.
it seem to us a connection error occurs to BPEL process web services.
is there anyone face this problem? How can we solve?
We want out ADF application works even SOA application down.
How can we make ADF and BPEL applications like loose couple (can we add try catch block to provent general failure. Where we can add?)
Thanks.when u deploy manually it goes under some other url than you specified, try to test webservice under the app server console and then webservice tab. this is how u get the actual URL to request webservice u deployed manually.other solution is to redeploy manually through app server console the webservice that you've deployed through jdeveloper.
-
JDev 10.1.2 Deployment Error
I have a web application which works fine on my embeded OC4J. The same application works fine on a stand-alone TestServer1. Now I am supposed to deploy it on a differeent Test Server, where I get the following error.
Wrote EAR file to C:\JDev_10g\jdev\mywork\LSHR_Ph1_Ver3.1\webservice\deploy\lshrph1.ear
Invoking OC4J admin tool...
C:\JDev_10g\jdk\jre\bin\javaw.exe -jar C:\JDev_10g\j2ee\home\admin.jar ormi://hco391mylitw001/ admin **** -deploy -file C:\JDev_10g\jdev\mywork\LSHR_Ph1_Ver3.1\webservice\deploy\lshrph1.ear -deploymentName lshrph1
checkIsLocalHost() error: hco391mylitw001/: hco391mylitw001/
Uploading file C:\JDev_10g\jdev\mywork\LSHR_Ph1_Ver3.1\webservice\deploy\lshrph1.ear to oc4j server side
Error: Deploy error: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: d:\oc4j1012\j2ee\home\config\server.xml (Access is denied)
Exit status of OC4J admin tool (-deploy): 1
Elapsed time for deployment: 24 seconds
#### Deployment incomplete. #### Jul 26, 2006 9:32:37 AM
Please tell me what could the problem be. Is it some problem with my deployment profile or is it on the server where OC4J is running.
Thanks.Hi Viani,
It can be related to a version incompatibility between your JDev 10.1.2 and the version of OC4J you are deploying to.
For instance, Oracle does not support to deploy JDev 10.1.2 ADF application in Application Server 10.1.3. If this is what you are trying to do, you would have to migrate your application to JDeveloper 10.1.3 and then deploy it to AS 10.1.3.
My suggestion for you would be to create the web service in JDeveloper - 10.1.2
to deploy to that particular platform (OC4J 10.1.2).
I also believe there is an internal bug on a problem close to yours :
"checkIsLocalHost() error message during deployment to OC4J"
which does not seem to reproduce against JDev 10.1.3.0.4.
JDev 10.1.3.0.4 should be worth trying in such case.
Hope this will help you.
Steff -
Oracle AS 10g + JDeveloper 11g TP4 deploying error
Hi All
When i deploy my sample application on Oracle AS 10g i have such deployment error:
[07.08.2008 19:36:31] Application Deployer for SampleApp STARTS.
[07.08.2008 19:36:31] Copy the archive to C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\SampleApp.ear
[07.08.2008 19:36:31] Initialize C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\SampleApp.ear begins...
[07.08.2008 19:36:31] Unpacking SampleApp.ear
[07.08.2008 19:36:32] Done unpacking SampleApp.ear
[07.08.2008 19:36:32] Unpacking web.war
[07.08.2008 19:36:34] Done unpacking web.war
[07.08.2008 19:36:34] Initialize C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\SampleApp.ear ends...
[07.08.2008 19:36:34] Starting application : SampleApp
[07.08.2008 19:36:34] Initializing ClassLoader(s)
[07.08.2008 19:36:34] Initializing EJB container
[07.08.2008 19:36:34] Loading connector(s)
[07.08.2008 19:36:34] Starting up resource adapters
[07.08.2008 19:36:34] Initializing EJB sessions
[07.08.2008 19:36:34] Committing ClassLoader(s)
[07.08.2008 19:36:34] Initialize web begins...
[07.08.2008 19:36:34] Initialize web ends...
[07.08.2008 19:36:34] Started application : SampleApp
[07.08.2008 19:36:34] Binding web application(s) to site default-web-site begins...
[07.08.2008 19:36:34] Binding web web-module for application SampleApp to site default-web-site under context root SampleApplication
[07.08.2008 19:36:37] Operation failed with error: Error instantiate servlet classes
I use JDeveloper 11g TP4 with Oracle ADF Faces, deploy to standalone Oracle AS 10g server
Please help to solve my trouble )Anton,
As is documented in the release notes and in numerous posts on the 11g forum (perhaps you meant to search there), this is not supported.
John -
Deployment Error when deploy to Android Emulator
Dear all,
I encounter problem when trying to deploy the ADF Mobile application to the Android Emulator.
I followed the tutorial steps in this link.[ADF Mobile Tutorial|http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_1.html]
Can anyone please help to advise on this matter?
FYI, I am using JDeveloper Studio 11.1.2.3.0 and Android 4.2(API 17).
[12:31:39 PM] Command-line executed: ["C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes.dex", C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\AND_ksoap.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\Container.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\IDMMobileSDK.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\logging_dalvik_release.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\phonegap.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\vmchannel_dalvik_release.jar]
[12:31:39 PM] unknown output extension: C:\JDeveloper\mywork\ADF
[12:31:39 PM] usage:
[12:31:39 PM] dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals]
[12:31:39 PM] [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict]
[12:31:39 PM] [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>]
[12:31:39 PM] [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-library]
[12:31:39 PM] [--num-threads=<n>] [--incremental] [--force-jumbo]
[12:31:39 PM] [<file>.class | <file>.{zip,jar,apk} | <directory>] ...
[12:31:39 PM] Convert a set of classfiles into a dex file, optionally embedded in a
[12:31:39 PM] jar/zip. Output name must end with one of: .dex .jar .zip .apk. Positions
[12:31:39 PM] options: none, important, lines.
[12:31:39 PM] dx annotool annotation=<class> [--element=<element types>]
[12:31:39 PM] [--print=<print types>]
[12:31:39 PM] dx --dump [--debug] [--strict] [--bytes] [--optimize]
[12:31:39 PM] [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>]
[12:31:39 PM] [--width=<n>] [<file>.class | <file>.txt] ...
[12:31:39 PM] Dump classfiles, or transformations thereof, in a human-oriented format.
[12:31:39 PM] dx --find-usages <file.dex> <declaring type> <member>
[12:31:39 PM] Find references and declarations to a field or method.
[12:31:39 PM] declaring type: a class name in internal form, like Ljava/lang/Object;
[12:31:39 PM] member: a field or method name, like hashCode
[12:31:39 PM] dx -J<option> ... <arguments, in one of the above forms>
[12:31:39 PM] Pass VM-specific options to the virtual machine that runs dx.
[12:31:39 PM] dx --version
[12:31:39 PM] Print the version of this tool (1.7).
[12:31:39 PM] dx --help
[12:31:39 PM] Print this message.
[12:31:39 PM] Command-line execution failed (Return code: 1)
[12:31:39 PM] Command-line executed: "C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes.dex" C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\AND_ksoap.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\Container.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\IDMMobileSDK.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\logging_dalvik_release.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\phonegap.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\vmchannel_dalvik_release.jar
[12:31:39 PM] Shutting down Android Debug Bridge server...
*[12:31:39 PM] Deployment cancelled.*
*[12:31:39 PM] ---- Deployment incomplete ----.*
*[12:31:39 PM] Deployment failed due to one or more errors returned by 'C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):*
Command-line execution failed (Return code: 1)It looks like you've spaces in the path where you've created your ADF Mobile workspace:
C:\JDeveloper\mywork\ADF Mobile Tutorial 1
I suggest that's throwing the command off. Close JDev, remove the spaces, reopen JDev then the workspace. Try again.
CM. -
ADF Essentials RCU DB Type : Where is " Java DB " ?
I want ADF Essentials.
http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.html
I downloaded "Application Development Runtime", ofmwls_jrf_generic_12.1.1.0.0_disk1_1if1.zip , 1.5 GB.
My understanding is that this, ADF Essentials Application Development Runtime,
is Weblogic Server where the ADF Framwork is limited to the Model, View and Controller.
Just below the "Download File" button is a link entitled " Install Guide " and points to a book entitled
"Installing and Configuring the Oracle Fusion Middleware Infrastructure, 12c (12.1.2), E38451-01.
http://docs.oracle.com/middleware/1212/core/INFIN/index.html ( and the PDF file has 48 pages ).
I have completed step / section 3.1.1 entitled " Installing and Configuring a Certified Database " (page 18).
http://docs.oracle.com/middleware/1212/core/INFIN/create_domain.htm#BABGBHDE
3.1.1 Installing and Configuring a Certified Database
Make sure you have installed and configured a certified database, and that the database is up and running.
Oracle JDeveloper and ADF 12c (12.1.2) Supported Systems, Last Updated: July 10, 2013
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html
I chose Java DB and set the system variables as follows...
NAME & VALUE
VERIFICATION
JAVA_HOME = C:\PF\Java\jdk1.7.0_40
> echo %JAVA_HOME%
PATH includes %JAVA_HOME%\bin
> java -version
DERBY_HOME = %JAVA_HOME%\db
> echo %DERBY_HOME%
PATH includes %DERBY_HOME%\bin
> sysinfo
The Java DB is up and running / started as a Network Server via
> java -jar %DERBY_HOME%\lib\derbyrun.jar server start
The next step is 3.1.2 entitled Starting the Repository Creation Utility ( RCU ).
The third screen is entitled " Database Connect Details " and the first field is "Database Type" with a
pull-down menu offering 5 choices. They are...
1) Oracle
2) Oracle Database enabled for edition-based redefinition
3) Microsoft SQL Server
4) IBM DB2
5) MySQL Database
I expected " Java DB " to be one of the choices.
Where is " Java DB " ?
For the RCU Database Connection Screen, I set the fields to the following values...
DATABASE TYPE: Oracle
HOST NAME: localhost
PORT: 1527
SERVICE NAME: jdbc
USERNAME: Michael
PASSWORD: itsAsecret
ROLE: SYSDBA
Clicked " NEXT " button and RCU Response is " IO Error: Unexpected packet ".
The Command Prompt window where Java DB was started responds as follows...
Mon Oct 28 19:06:04 CDT 2013 : Execution failed because of a Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = 3. Plaintext connection attempt from an SSL enabled client?
org.apache.derby.impl.drda.DRDAProtocolException: Execution failed because of a Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = 3. Plaintext connection attempt from an SSL enabled client? at
org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm(Unknown Source) at org.apache.derby.impl.drda.DDMReader.readDssHeader(Unknown Source) at org.apache.derby.impl.drda.DRDAConnThread.exchangeServerAttributes(Unknown Source) at
org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState(Unknown Source) at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)I think I can answer my own question.
Here, http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html
the fine print says...
" Databases
The following table identifies databases supported by JDeveloper and ADF.
JDeveloper support refers to using the modeling tools, browsing the database schema from the Database navigator, creating offline database objects, and using the SQL*Worksheet. For ADF, database support entails using the database as a data source for ADF Business Components. ".
Interpreting the text as is, the databases listed may (or may not) be supported by the RCU.
What customers are also interested in knowing is databases supported by the RCU.
On the web page for "Supported Systems",
a new Databases table with an additional column for the RCU would be an improvement. -
Hi,
I've tried to deploy my Oracle ADF Essentials 11.x based application on a Glassfish 4 app server, but it fails miserably.
Is it possible to deploy the latest ADF Essentials 12 on a glassfish 4?
I haven't had the time to try it yet.
best regards
KimWell, the certification matrix (http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html#Abrams-SupportInformation-Ap…) tells you
Application Servers
The following table shows application servers supported by JDeveloper and ADF. Application Server support for JDeveloper is provided for connecting and deploying directly to the server as well as debugging. For ADF, it refers to servers that ADF applications can be deployed to.
Application Server
JDeveloper
ADF
Oracle Fusion Middleware (WLS)
10.3.5+, 12.1.2
12.1.2
GlassFish
3.1+
3.1 (ADF Essentials)
WebSphere
8.x
JBoss
5
Tomcat
7
Oracle Cloud
13.1
So I say: yes you can.
Timo
Maybe you are looking for
-
Get the relative path for java class
How to get Relative path for java class which is inside in web-inf directory in webapps
-
HT204388 LCD tv does not work with trackpad on Mac mini
My Mac mini is connected to my tv on the Jimi to Jimi and the trackpad and the keyboard of not work right A fix for this ?
-
IMac 27" (Late 2012) Freezing and Crashing
I purchased an ex-demo iMac 27" (Late 2012 - 3.4Ghz, 3TB Fusion Drive, Nvidia 680MX 2GB) that was upgraded to 32GB Ram last July. Since I've recieved it it has intemittantly locked up, occasionally you get the your computers been restarted screen but
-
I can't activate iMessages or Facetime on my 4s after updating to ios 8
I updated my 4s finally and now I'm unable to activate iMessages or Facetime. It tells me it could not sign in. Please check your network connection and try again. Any ideas on how to correct?
-
[SOLVED]Choppy to no sound
I have a strange problem with my Toshiba/intel laptop. If I play a mp3 in XMMS there is no sound. If I jump out in the song there is a 1.5 sec sound (the mp3) witch repeats 2 times rapidly. Then there is silence until I jump in the song again. What c