Oracle ADF EAR 11.1.1 requires EAR 5.0 ??
Hi,
I am trying to create a new Oracle ADF application in Eclipse, as soon as I type the application name, an error show in the top of the dialog saying :
Oracle ADF EAR 11.1.1 requires EAR 5.0
and the Next and Finish buttons are disabled .
your help is appreciated.
It seems you are trying to develop an ADF 11.1.1.x application on an unsupported version of WebLogic Server.
The certification matrix for ADF and WebLogic Server can be found here - http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html
For example, if you are developing an ADF 11.1.1.6 application in OEPE, you will want to target a WebLogic Server 10.3.6 installation.
Thanks,
Greg
Similar Messages
-
I'm trying to deploy my disconnected-admin.ear (ADF faces web application) file. I kept getting ClassNotFoundError. In my ear file, I have a war file, I added the xmlparserv2.jar (which contains the class) to the war file's WEB-INF/lib folder. But I still get the same error. I also tried to copy the jar file to WLS_HOME/servers/lib folder, no luck there either. I have read a few other threads, and it's not recommended to add the jar file to the classpath. What else can I do?
Thanks,
Jing
####<Dec 16, 2008 6:56:34 PM PST> <Error> <Deployer> <sta00958> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1229482594039> <BEA-149231> <Unable to set the activation state to true for the application 'disconnected-admin'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1358)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:453)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.ClassNotFoundException: oracle.xml.parser.v2.DOMParser
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:549)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getRegistryPaths(MetadataRegistryImpl.java:183)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.visitRegistryPaths(MetadataRegistryImpl.java:114)
at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.getConfigObjectMBeanAssociationInfos(BC4JConfigLifeCycleCallBack.java:74)
at oracle.as.jmx.framework.util.ServletContextListenerSupport.getManagedRootConfigMBeans(ServletContextListenerSupport.java:107)
at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:125)
at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:118)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1794)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3032)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1356)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:453)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Hi Sujay,
Add below line to your startWeblogic.sh script and restart the server. Also let me know if the issue is resolved.
-Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform
Regards,
Kishore -
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 -
Oracle/adf/view/rich/model/AsyncFetch Error in DVT
Experts,
We have some DVT components in our application which runs perfectly on integrated local Weblogic Sever. Once we deploy it to a Weblogic Standalone server, we are getttnig the following error while trying to access the DVT graph page. Rest of the application is working properly.
Error : oracle/adf/view/rich/model/AsyncFetch
followed by ADF Faces 60097
Jdev 11.1.1.5 and WLS 10.3.5
thnksSolution : Go to EAR Deployment Profile Properties -> File Groups -> Application Libraries ->Filters and here you have to remove the libraries that are ADF DVT.
-
How to deploy an Oracle ADF 11.1.1.3 Application in JBOSS 5 ?
I spend many time looking for solution for deploying ADF Faces Application 11.1.1.3 in JBOSS.
Do somebody have an idea?
Thanks.Thanks you.
I had seen this blog but it does not match wath I need. I have an MVC project whith some ADF Business Components and I need access to MySQL Database.
I also follow the steps mentioned by Kashinath at the following URL: How can I deploy an ADF 11g application in JBoss 5?
But when I deploy my project in Jboss-4.2.2.GA/server/default/deploy I have this error :
<hr/>
08:00:15,905 INFO [EARDeployer] Init J2EE application: file:/D:/D04_INSTALL/D49_IDE/eclipse_ganymed/jboss-4.2.2.GA/serv
er/default/deploy/MyApplication.ear
08:00:27,701 WARN [JBossEntityResolver] Cannot load publicId from resource: jboss-web_5_0.dtd
08:00:27,804 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderReposi
toryConfig(repositoryName: com.oracle.adfpojo:loader=adfm.jar, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoa
derRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig:
java2ParentDelegation=true)
08:00:27,915 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: org.apache.myfaces.trinidad.webapp.ResourceServl
et
08:00:28,020 INFO [TomcatDeployer] deploy, ctxPath=/MyProject01-ViewController-context-root, warUrl=.../t
mp/deploy/tmp17627MyApplication.ear-contents/MyProject01_ViewController_webapp1-exp.war/
08:00:28,501 ERROR [[MyProject01-ViewController-context-root]] Erreur lors de la configuration de la clas
se d'Úcoute de l'application (application listener) oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
java.lang.NoClassDefFoundError: oracle/jrf/PortabilityLayerException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3800)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Thanks. -
I use Jdev 11.1.1.5 to create a BPM process application which contains a process with 3 interactive activities.
Each interacitive acitivity has a form project. I can deply these projects to a domain. Then, I delete them. However, after that, I cannot deploy them.
I try to create a new SOA domain. However, I get same error message as follow.
[04:04:48 PM] ---- Deployment started. ----
[04:04:48 PM] Target platform is (Weblogic 10.3).
[04:04:48 PM] Retrieving existing application information
[04:04:48 PM] Running dependency analysis...
[04:04:48 PM] Building...
[04:05:14 PM] Deploying profile...
[04:05:17 PM] Wrote Web Application Module to C:\JdevWorkspace\BPM\initiatorUI\deploy\initiatorUI.war
[04:05:19 PM] Deploying Application...
[04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
[04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
[04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
[04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
[04:05:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application initiatorUI on AdminServer,BPMJMSServer,SOAJMSServer,UMSJMSServer.: Failed to load webapp: 'initiatorUI.war'.
[04:05:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
[04:05:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
[04:05:24 PM] See server logs or server console for more details.
[04:05:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
[04:05:24 PM] #### Deployment incomplete. ####
[04:05:24 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Thanks Amjad. It worked for me as well!!
I think the reasoning behind this is: If we deploy it from the Application tab, it deploys the EAR file whereas simply right clicking the project and deploy, deploys the WAR file. -
Oracle ADF security integration with Oracle E-Business Suite SDK JAAS
I have an Oracle ADF 11.1.2.2 application that is using ADF security for authentication and authorization.
When we deploy this application to our JDeveloper integrated weblogic server, we utilize the security setting of "Custom" and use weblogic users and roles to map to the ADF application roles. In that environment our security is working properly.
I have a Weblogic 10.3.5 standalone server that has the ADF runtime installed as well as the Oracle E-Business Suite SDK JAAS implementation installed.
When I deploy the Oracle ADF application to the standalone weblogic server, I am directed to the JAAS login page when I attempt to access any JSF page (including those that I have granted View access through the anonymous-role. Does the Oracle ADF anonymous-role work (allow for anonymous page access) when JAAS security is handled by the Oracle E-Business Suite SDK JAAS implementation?
Per the SDK instructions, when we install the Oracle ADF deployment on Weblogic we have selected "DD only" for our security setting. We have defined enterprise roles in the Oracle ADF security setup (jazn-data.xml) that are assigned the appropriate application roles. Those enterprise roles have the same name (i.e. UMX|YOURROLE) as the E-Business Suite roles that are assigned to our test users. When we login with an E-Business Suite user / password we are receiving an error:
Error 401--Unauthorized
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.2 401 Unauthorized
Any thoughts on why that would be?
Thanks
DanThanks Juan.
With the debugging options enabled it appears the issue is not an issue with the user / role credentials - it seems like the resource grants from jazn-data.xml are not being reviewed in my standalone weblogic instance EAR deployment:
[JpsAuth] Check Permission
PolicyContext: [TestApp]
Resource/Target: [untitled1PageDef]
Action: [view]
Permission Class: [oracle.adf.share.security.authorization.RegionPermission]
Result: [FAILED]
Evaluator: [ACC]
Failed ProtectionDomain:ClassLoader=sun.misc.Launcher$AppClassLoader@13f5d07
CodeSource=file:/app/oracle/product/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar
Principals=total 2 of principals(
1. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl "anonymous" GUID=null DN=null
2. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl "anonymous-role" GUID=null DN=null)
When I access the same page from my integrated weblogic server I see:
[JpsAuth] Check Permission
PolicyContext: [TestApp]
Resource/Target: [untitled1PageDef]
Action: [view]
Permission Class: [oracle.adf.share.security.authorization.RegionPermission]
Result: [FAILED]
Evaluator: [ACC]
Failed ProtectionDomain:ClassLoader=sun.misc.Launcher$AppClassLoader@13f5d07
CodeSource=file:/app/oracle/product/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar
Principals=total 2 of principals(
1. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl "anonymous" GUID=null DN=null
2. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl "anonymous-role" GUID=null DN=null)
When I review my EAR - I do see jazn-data.xml at:
/META-INF/jazn-data.xml
I will review the system-jazn-data.xml to see if the policy information has been migrated properly as part of the EAR deployment.
Thanks.
-Dan -
Oracle ADF Security Login page
hi.
I am using oracle ADF 11.1.2.2.0 (oracle Jdevelopr 11g release 2) in my job environment. There are 3000 users working as client level in our company. They have separated user Id and roles. They can change their passwords. There are expiration period for passwords which is handle by in database level. when the employees are going to terminate or retirement , we can control their login status. that mean we change their Active status as a Inactive status. some times we recruit number of emplooyes for cover our business targets. Their User Id also in database table level.
My main problem is how we can handle number of employees using Oracle ADF security configuration.
second one is how user can change their passwords.
Third is how number of employees going to terminate ,handle their Active/Inactive State.
Fourth one is If we use this Oracle Security system ,project managers or project cordinator or Adminstrator level authenticator must need to deploy time to time war file, because of adding removing users in jazn-data.xml.
hoping help from you.Thanking for all.So, you can define SQLAuthenticator/SQLReadOnlyAuthenticator on Weblogic which will retrieve users from your db table(instead of jazn-data file) to application server.
Then, in your application you can enable ADF Security and this will generate login page.
And, this is it :)
If you need some custom processing before users login to your app, then you can create custom login page and do whatever you want in Java code:
http://docs.oracle.com/cd/E16162_01/web.1112/e16182/adding_security.htm#BABDEICH
>
But 11g has Database connection in Application Resource. Using that connection I need to log to the system using user's User iD and Password
>
This connection is valid only in design time. When you deploy your application to application server, then you can include this connection in .ear file, or you can define Data Source on Weblogic(which is better approach).
To programmatically retreive db connection, you can create utility method in your Application Module.
Dario -
Running Oracle ADF tutorial example to weblogic server
Hi all,
I am following the tutorial at [Developing RIA Web Applications with Oracle ADF|http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm] . However, I did something new here. I deployed the finished sample to weblogic admin server, and it went fine. But when I tried to access the page DeptEmpPage.jspx, I got exception:
oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
and also
java.sql.SQLException: ORA-01005: null password given; logon denied
Looks like the user hr was not logged in. I tried to give explicit plaintext password in the file connections.xml as following
<SecureRefAddr addrType="password">
<Contents>hr</Contents>
</SecureRefAddr>
, but this also did not work.
Could you please let me know how to make it working? I know for security concerns, we may need to have a log in form to do authentication. But for the quick-fix and pedagogic purpose, could anyone here please help?
Many thanks.Dou you need to change the bc4j.xcfg content to reference the JNDI connection created in the deployment. Note that the deployed EAR creates a HrDS JDBC connnection with the credentials and Security user and associations, see the JNDI url in your app, for example, for "jdbc/HrDSDS", the entry to be added to the config file must be <Custom JDBCDataSource="java:comp/env/jdbc/HrDSDS"/>
<?xml version = '1.0' encoding = 'UTF-8'?>
<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
<AppModuleConfigBag ApplicationName="lt.andrejusb.model.HrModule">
<AppModuleConfig name="HrModuleLocal" ApplicationName="lt.andrejusb.model.HrModule" DeployPlatform="LOCAL" jbo.project="lt.andrejusb.model.Model">
<Database jbo.TypeMapEntries="OracleApps"/>
<Security AppModuleJndiName="lt.andrejusb.model.HrModule"/>
*<Custom JDBCDataSource="java:comp/env/jdbc/HrDSDS"/>*
</AppModuleConfig>
<AppModuleConfig name="HrModuleShared" ApplicationName="lt.andrejusb.model.HrModule" DeployPlatform="LOCAL" jbo.project="lt.andrejusb.model.Model">
<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>
<Database jbo.TypeMapEntries="OracleApps"/>
<Security AppModuleJndiName="lt.andrejusb.model.HrModule"/>
<Custom JDBCDataSource="java:comp/env/jdbc/HrDSDS"/>
</AppModuleConfig>
</AppModuleConfigBag>
</BC4JConfig> -
StoreFront demo: oracle.adf.library.webapp.LibraryFilter?
Heya gang
I hope somebody can help me.
In the 11gTP StoreFront demo, the web.xml file includes a <filter>ADFLibraryFilter</filter> with a <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>. I'm curious to know what this filter does; I assume it's a customisation for the StoreFront demo.
Does anybody know where the source code for this class exists? I've searched the source code and libraries with no success. It must be there somewhere?
Any help appreciated.
Regards,
CM.Thanks Amjad. It worked for me as well!!
I think the reasoning behind this is: If we deploy it from the Application tab, it deploys the EAR file whereas simply right clicking the project and deploy, deploys the WAR file. -
i have a problem trying test my jdeveloper essential on a glassfish server i have the next exception when i try to deploy the EAR
Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger.
what can i do?
thnaksHi,
did you install the ADF library files on glassfish as documented here?
http://docs.oracle.com/cd/E35521_01/admin.111230/e16179/ap_glassfish.htm#BABIEADD
You download the runtime libraries to be installed on Glassfish from here
http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html
See --> Oracle ADF Essentials Download option
Frank -
Hi,
Please help me to understand why this error comes.
I have deployed ear file into glass fish server.
Using adf essential in Jdevelepor 11.1.2.3.0.
[#|2012-12-04T19:17:51.658+0530|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=21;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:java.lang.ClassCastException: java.lang.String cannot be cast to oracle.adf.view.rich.model.RegionModel|#]
[#|2012-12-04T19:17:51.658+0530|INFO|glassfish3.1.2|oracle.j2ee.jsp|_ThreadID=21;_ThreadName=Thread-2;|unable to dispatch JSP page: The following exception occurred:.
java.lang.ClassCastException: java.lang.String cannot be cast to oracle.adf.view.rich.model.RegionModel
at oracle.adf.view.rich.component.fragment.UIXRegion.getValue(UIXRegion.java:1587)
at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:415)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:107)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
Thanks for the help in advance..It seems you have used a taskflow on a page and one of the binding.
It will be easy to point out if you paste the code of region tag *<af:region.......*. -
Just upgraded to Jdeveloper 11.1.1.1.0. When running locally, the weblogic server deploys the applications just fine. When I deploy my application to another standalone Oracle WebLogic 10.3.1 server, I get the following message:
[12:30:00 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'hdr.war'
[12:30:00 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
[12:30:00 PM] See server logs or server console for more details.
[12:30:00 PM] weblogic.application.ModuleException: Failed to load webapp: 'hdr.war'
[12:30:00 PM] #### Deployment incomplete. ####
[12:30:00 PM] Deployment FailedI am not sure why this works on the local WebLogic server, but not the standalone. Today, I installed the Oracle WebLogic 10.3.1 standalone server from scratch, then ran the JDeveloper Installer to include the ADF libraries that have the new three letter designation that I don't remember right now. Something like jtl, jrl, ...
I also tried to deploy the deployment .war file manually to the standalone server with the same error message.
Any help would be much appreciated!
Thanks, KenBranislav,
On my first try, I got a different error. So I went to the application properties and modified the Application Assembly. Both the model and the viewcontroller were not checked. I am not sure if I need both or not, but I checked them both. I created the ear and had it deployed to my Oracle WebLogic 10.3.1 server. Worked Great!
Thank you! Ken -
View links in oracle ADF/query featching from Database
Please any one help for this query
I have two tables Emp, Dept
I have query like this select * from Emp e, Dept d where e.deptno=d.deptno
Query is fetching like this
Empno Ename job Salary Comm deptno deptno dname Loc
15 i1 support 50000 11 5 5 IT sss
15 i1 support 50000 11 3 3 Account sss
16 i2 support 8000 10 5 5 IT sss
16 i2 support 8000 10 3 3 Account sss
16 i2 support 8000 10 3 3 Software sss
16 i2 support 8000 10 4 4 Operation sss
Query is fetching 6 rows.
but my requirement is what ever records fetching from database with same employee number is one record that is same employee number dept names grouped I will show it as one record how to fetch records from data base.
Here is the example (My Requirement):
This is first row:
Empno Ename job Salary Comm
15 i1 support 50000 11
Deptno dname Loc
5 IT sss
3 Account sss
This is second row:
Empno ename job Salary Comm
16 i2 support 8000 10
Deptno dname Loc
5 IT sss
3 Account sss
2 Software sss
4 Operation sss
i am useing oracle ADF if any possibility in view links either i get from the query as i mentioned.
plz any one can help
thanksPlease any one help for this query
I have two tables Emp, Dept
I have query like this select * from Emp e, Dept d where e.deptno=d.deptno
Query is fetching like this
Empno Ename job Salary Comm deptno deptno dname Loc
15 i1 support 50000 11 5 5 IT sss
15 i1 support 50000 11 3 3 Account sss
16 i2 support 8000 10 5 5 IT sss
16 i2 support 8000 10 3 3 Account sss
16 i2 support 8000 10 3 3 Software sss
16 i2 support 8000 10 4 4 Operation sss
Query is fetching 6 rows.
but my requirement is what ever records fetching from database with same employee number is one record that is same employee number dept names grouped I will show it as one record how to fetch records from data base.
Here is the example (My Requirement):
This is first row:
Empno Ename job Salary Comm
15 i1 support 50000 11
Deptno dname Loc
5 IT sss
3 Account sss
This is second row:
Empno ename job Salary Comm
16 i2 support 8000 10
Deptno dname Loc
5 IT sss
3 Account sss
2 Software sss
4 Operation sss
i am useing oracle ADF if any possibility in view links either i get from the query as i mentioned.
plz any one can help
thanks -
Unable to open OAF page oracle.adf.mds.MetadataDefException:
I am unable to open a OAF OAF page. The error message that i am getting is
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /bob/oracle/apps/ak/pmrtest/webui/PMRTestPG-ROHR-MRA=36105=3014=Y=Y, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
I tried running the below
begin
jdr_utils.printdocument(<PageName>);
end;
It throws and error "Could not find document <Pagename>"
Can anyone pls help resolve this issue
ThanksHi Gyan,
When I printdocument for that region, I see the xxpositionname1 as the messagestyledtext item.
<insert before="ManagerColumn">
<oa:column id="xxPositionName" adminCustomizable="true" bandingShade="none" cellNoWrapFormat="false" columnDataFormat="textFormat" displayGrid="true" rendered="true" scope="." totalValue="false" userCustomizable="false"
xmlns:oa="http://xmlns.oracle.com/oa">
<ui:columnHeader xmlns:ui="http://xmlns.oracle.com/uix/ui">
<oa:sortableHeader id="xxPositionNameSH" adminCustomizable="true" cellNoWrapFormat="false" initSortSeq="none" prompt="Position" rendered="true" required="no" scope="." sortState="yes" userCustomizable="false"/>
</ui:columnHeader>
<ui:contents xmlns:ui="http://xmlns.oracle.com/uix/ui">
<oa:messageStyledText id="xxPositionName1" adminCustomizable="true" cellNoWrapFormat="false" dataType="VARCHAR2" initSortSeq="none" prompt="Position" queryable="false" rendered="true" required="no" scope="."
selectiveSearchCriteria="false" serverUnvalidated="false" sortState="no" tipType="none" totalValue="false" userCustomizable="false" vAlign="middle" viewAttr="Name1" viewName="IrcOfferSearchVO" warnAboutChanges="true"/>
</ui:contents>
</oa:column>
</insert>
Thanks,
HC
Maybe you are looking for
-
Finder will not allow user to create folder on a network drive
I have an 27-inch iMac (Late-2012) that I recently did a wipe of the HD and reloaded the OS. When I did the reload, I installed MacOS X 10.9.2 but have kept it up to date, so that it is currently running 10.9.4. The user of this computer connects to
-
IDVD looses original sound track and replaces with another sound track
I have another issue. I have this one iMovie file that I downloaded from my MiniDV. I have added titles and transitions to it. When I click on the iDVD to go to the iDVD program and burn it, it takes the audio track of the last DVD I had burned and c
-
FC Image Gallery w/Scrolling Question
This is probably the least of anyone's concern at this point, but in lieu of documentation and best practices, I thought I'd ask anyway. Maybe someone from Adobe will be able to answer. I think I've consumed every tutorial available on the internet
-
HT4882 Option disappeared: "Automatically illuminate keyboard in low light"
Greetings, My backlight keyboard use to work, but now it doesn't and the option to "Automatically illuminate kayboard in low light" is missing. 1) I have done SMC reset 2) VRAM Reset 3) All other top row functions like screen brightness and sound wor
-
How to go from 10.4.6 to 10.4.9 ???
do i have to update firts 10.4.7 Then 10.4.8 etc ...or can i download directy the 10.4.9 i want ??? ty