How to deploy ADF Application
Based on my understanding it looks like ADF components are tightly coupled with Database Tables.
In this case how do i deploy an application from DEV -- > QA -- STAGING --> PROD
With less modification, Do we have any document that will explain the deployment procedure.
Thanks
The easiest way to do this would probably be to set up a JDBC datasource on each application server. The JDBC datasources should have the same name and JNDI location on all three app servers, but should each contain different connection information (one to your DEV database, one to TEST, and one to PROD).
Then, you can configure your application to use JDBC datasources:
1. Right-click you application module and select Configurations.
2. Edit the configuration you want to use (if you don't have multiple configs, editing the default one is probably fine).
3. Change the Connection Type to JDBC Datasource, and enter your datasource's "location" property.
Note that, if you do this, you won't be able to run the application in JDev unless you also set up a datasource in your embedded server. That's a more complicated procedure, but I think there's a how-to document on it somewhere on OTN.
Similar Messages
-
How to deploy ADF applications in Oracle apps
Hi,
I just gone thru demos on ADF rich client applications using jdeveloper 11g.My doubt is how to deploy and use these from oracle apps.Is ADF supported in R12.If yes then could anybody provide me steps to deploy code at unix file system and how to create form functions for accessing jspx pages?
I know that in OAF, we can deploy server components at $OA_java and PG.xml files using xml importer and we can create form functions for PG.xml files.Similarly what are the steps to deploy and access ADF applications thru oracle apps.
Thanks,
ashokADF Rich Client Components need a newer server than the one that comes with Apps R12.
So what you'll need to do is have a separate WebLogic 10.3 server where you deploy the ADF Rich Client Applications.
You can call them from your Apps by customizing your current apps and adding a button or link that just calls the URL where your ADF apps are. -
How to remotely deploy adf application using ant script
Please suggest some pointer on how to remotely deploy adf application using ant script.
I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
Now i want my war to be deploy remotely on weblogic server.
Is there any inbuld functionality provided by jdeveloper for same.
Can any one please share build.xml for adf application for deploying application remotely.
I try to use wlserver but not much success.
Thanks in advance.
Sumit Bhasin[url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
John -
How to use ADF application functionality in Webcenter Portal
Hi,
We have an separate ADF application with bunch of functionality that are been using in others applications.We have to use these functionality in the WebCenter portal.
In this ADF application, each jspx page used for implementing different functionality(for example Calendar for one page, subscriptions for one page like that) and there are no bounded task flow used.
Challenge here is, need to some how import the ADF application as reusable component (section) and yet to use different functionality (I mean accessing each jspx page)
So, what are the ways we can utilize these ADF functionality in WebCenter portal? Let me know your thoughts?
Any help really appreciated.
Thanks,
San.All,
if you have WebCenter in place the best way is to use the ADF portlet bridge. You can create portlet entries at design time in JDev on each JSPX as well as on any TaskFlow definition (right click as mentioned above). That's quite convenient if you stay in the WebCenter / ADF world. You'll get the standalone as well as the portletized application so the standalone version will still be working. Mind that if you portletize an ADF Application you need to deploy it in a portlet runtime. That means you need to extend your ADF container with the portlet runtime. That requires a WebCenter license for the server since the portlet runtime is a part of the WebCenter product stack.
In respect of SSO, after deploying your Portlet Producer App you'll get WSRP Webservices on application level for which you can apply OWSM policies (Enterprise Manager) so the identity of the portal will be propagated to the Portlet Producer App. Details can be found on WebCenter Portal Developer's Guide.
Just to let you know that these portlets can be only consumed on Oracle's portals (be that WebCenter or Oracle Portal 11g). That's caused by some Oracle specific WSRP additions to the ADFPortlet Bridge.
Jiri, what do you mean with "enhance it with portal features"? Oracle's portlet aproach is fully based on WSRP, means decoupling. So you cannot add portal features to the portlet. Everything has to be packed in request and response. There's no direct access to portal /portlet resources to interact with. -
Problem while deploying ADF application to standalone WLS server
Hi,
I am facing a problem while deploying ADF application to standalone WLS Server.
Following is the error message that I am getting.
[07:24:03 PM] ---- Deployment started. ----
[07:24:03 PM] Target platform is (Weblogic 10.3).
[07:24:07 PM] Retrieving existing application information
[07:24:08 PM] Running dependency analysis...
[07:24:08 PM] Building...
[07:24:13 PM] Deploying 2 profiles...
[07:24:14 PM] Wrote Web Application Module to D:\WorkSpace3\DashboardUi\deploy\Dashboard.war
[07:24:14 PM] Wrote Enterprise Application Module to D:\WorkSpace3\deploy\Dashboard.ear
[07:24:14 PM] Deploying Application...
[07:24:22 PM] [Deployer:149191]Operation 'deploy' on application 'Dashboard' is initializing on 'msDevServer1'
[07:24:27 PM] [Deployer:149193]Operation 'deploy' on application 'Dashboard' has failed on 'msDevServer1'
[07:24:27 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dashboard on msDevServer1.: .
[07:24:27 PM] Weblogic Server Exception: weblogic.application.ModuleException:
[07:24:27 PM] Caused by: weblogic.common.ResourceException: DataSource DashboardDb already exists
[07:24:27 PM] See server logs or server console for more details.
[07:24:27 PM] weblogic.application.ModuleException:
[07:24:27 PM] #### Deployment incomplete. ####
[07:24:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Any suggestion how to fix this.
Thanks
AjayI logged into console and browsed to 'Home >Summary of JDBC Data Sources' but not able to locate DashboardDb. Please let me know where to find DashboardDB on wls console.
Also, please let me know how to configure the app to not to auto-deploy JDBC data sources -
Problem to deploy ADF application on tomcat server
Hi all,
i 'm using this tutorial link to deploy adf application on tomcat server.
https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
but when i have run my application i have got following error
java.sql.SQLException: invalid arguments in call
log-
Jul 29, 2013 11:35:16 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/TestApacheApp_ViewController_webapp1'
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
SEVERE: ADFConnection mbean not registered for defaultApplicationName.
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
SEVERE:
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:82)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
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:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
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:297)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE: Failed to register config mbean for defaultApplicationName.
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE:
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:79)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
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:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
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:297)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Jul 29, 2013 11:35:19 AM oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack contextInitialized
SEVERE: Not able to get Deployment Name
Jul 29, 2013 11:35:28 AM oracle.adfinternal.controller.state.ControllerState initializeRequest
WARNING: ADFc: Deserialization of session state detected but ADF scope HA support is not enabled. Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your applicaiton.
Jul 29, 2013 11:35:28 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:28 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: jndi:/localhost/TestApacheApp_ViewController_webapp1/WEB-INF/classes/com/in/jagran/view/DataBindings.cpx
Jul 29, 2013 11:35:28 AM oracle.adf.share.jndi.MDSBackingStore documentExists
INFO: MDS-00013: no metadata found for metadata object "/META-INF/connections.xml"
Jul 29, 2013 11:35:32 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:33 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:47 AM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8086
Jul 29, 2013 11:35:47 AM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Jul 29, 2013 11:35:48 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 29, 2013 11:35:48 AM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8086
Jul 29, 2013 11:35:48 AM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009There is no guideline I know of as this depends on the app itself.
What you should do is to deploy the application onto a test server and check the metrics of the app over a defined period of time with a defined amount of traffic.
Timo -
Error while deploying adf application on oracle cloud service
hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
Warnings in whitelist log:
2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
2013-04-14 06:57:11 CDT: API Whitelist started
2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
javaee:web-app.
If you want to make your application public, you can have empty
<login-config/> in your web.xml. If you need authentication then you must
have <login-config> and its child <auth-method> element in web.xml.
Without this element(<login-config>), users may be challenged by SSO, but
the application code will be executed as anonymous user only. Line No:4.
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
If you have a JSP file that is not pre-compiled, The compilation errors
could be shown on the browser. It is recommended to include
<jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
You will be required to have distinct cookie-path, if multiple
applications are accessed with in the same SSO session or if you have
multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
in the same service instance.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
2013-04-14 06:57:12 CDT: Whitelist validation passed.
2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
and Error in deploy log:
2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
2013-04-14 06:57:12 CDT: Deploy Application started
2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
2013-04-14 06:57:15 CDT: WL action state: failed
2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
2013-04-14 06:57:16 CDT: Application deployment failed.
2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
So,
I m not getting what is the problem and what will be solution for this?
What should i do?
What changes should required?
pls, help me to get out from this problem !!!!!Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo -
Error while deploying adf application using ant script or jdevloper IDE
Hi All,
While deploying adf application into cluster weblogic server I am getting strange error though my weblogic server is working fine as I checked it from weblogic console. Seems that there is some heap memory issue but don’t know the exact cause as it work perfectly if I restart the server.
Same error i get when i try to deploy application from Jdeveloper IDE though it created the server connection successfully.
Please help me by provided valuable tips to overcome this problem or any special tips to optimize weblogic server for ADF.
Thanks in advance
Error Reference:
Buildfile: builddeploy.xml
deploy:
[wldeploy] weblogic.Deployer -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -deploy
[wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
[wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at WebServercom:7001, as user weblogic
[wldeploy] [ServerConnectionImpl.getEnvironment():286] : setting environment
[wldeploy] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://WebServercom:7001
[wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.domainruntime
[wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.runtime
[wldeploy] [DomainManager.resetDomain():36] : Getting new domain
[wldeploy] [DomainManager.resetDomain():39] : Using pending domain: false
[wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
[wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
[wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
[wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
[wldeploy] [ServerConnectionImpl.initialize():169] : Connected to WLS domain: ADR_domain
[wldeploy] [ServerConnectionImpl.setRemote():480] : Running in remote mode
[wldeploy] [ServerConnectionImpl.init():159] : Initializing ServerConnection : [email protected]21b
[wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
[wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
[wldeploy] [BasicOperation.deriveAppName():140] : appname established as: admin
[wldeploy] <23-Sep-2011 11:05:14 o'clock BST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, admin [archive: W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war], to ADR_Cluster_1 .>
[wldeploy] [ServerConnectionImpl.upload():849] : Uploaded app to /data/app/Oracle/Middleware/user_projects/domains/ADR_domain/servers/AdminServer/upload/admin
[wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
[wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
[wldeploy] [BasicOperation.loadGeneralOptions():623] : Delete Files:false
[wldeploy] Timeout :3600000
[wldeploy] Targets:
[wldeploy] ADR_Cluster_1
[wldeploy] ModuleTargets={}
[wldeploy] SubModuleTargets={}
[wldeploy] }
[wldeploy] Files:
[wldeploy] null
[wldeploy] Deployment Plan: null
[wldeploy] App root: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin
[wldeploy] App config: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin\plan
[wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=stage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=admin,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}
[wldeploy]
[wldeploy] [BasicOperation.execute():440] : Initiating deploy operation for app, admin, on targets:
[wldeploy] [BasicOperation.execute():442] : ADR_Cluster_1
[wldeploy] Task 5 initiated: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] dumping Exception stack
[wldeploy] Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
[wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
[wldeploy] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
[wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[wldeploy]
[wldeploy]
[wldeploy] Target Assignments:
[wldeploy] + admin ADR_Cluster_1
[wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
[wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
[wldeploy] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
[wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[wldeploy]
[wldeploy]
[wldeploy]
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wldeploy] at weblogic.Deployer.run(Deployer.java:70)
[wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
[wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
[wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connectionWell, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo -
Deploying ADF Application to Apache Tomcat
I am using Jdeveloper 11.1.2.2.0 and Tomcat 8.0.8 .
while deploying ADF application,I am getting following exceptions:
18-Jun-2014 10:24:10.432 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MDPT]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: Ljavax/faces/application/ProjectStage
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at org.apache.catalina.util.Introspection.getDeclaredFields(Introspectio
n.java:106)
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(Web
AnnotationSet.java:261)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAn
notations(WebAnnotationSet.java:140)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotatio
ns(WebAnnotationSet.java:66)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfi
g(ContextConfig.java:332)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfi
g.java:771)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
se.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5069)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
Caused by: java.lang.ClassNotFoundException: javax.faces.application.ProjectStag
e
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 25 more
18-Jun-2014 10:24:10.460 SEVERE [localhost-startStop-1] org.apache.catalina.star
tup.HostConfig.deployWAR Error deploying web application archive C:\apache-tomca
t\apache-tomcat-8.0.8\webapps\MDPT.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.cata
lina.LifecycleException: Failed to start component [StandardEngine[Catalina].Sta
ndardHost[localhost].StandardContext[/MDPT]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:727)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:70
0)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
1704)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
please help me to solve this issuehave you included jsf jar files?
Running ADF Essentials in Tomcat
http://technology.amis.nl/2014/01/03/deploy-oracle-adf-essentials-web-application-on-tomcat/ -
How to deploy Servlet Application in Weblogic 8.1
Hi,
I am new to BEA Weblogic 8.1 .
I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
I am new in IntelliJ also .
So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
Thanks & Regards
KomiHi Komi
Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
<servlet>
<servlet-name>MyServlet</servlet-name>
<servlet-class>com.abd.def.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/myservlet</url-pattern>
</servlet-mapping>
Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
Refer the online docs for more details on Deployments in Weblogic.
http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
Thanks
Ravi Jegga -
Best Practice for Deploying ADF application
I am tasked with developing a best or prefered practice of feploying a large ADF application. Background: we are in the process of redeveloping a UI for a large system. We have broken the system down into susbsytems. Each of these susbsystems UI will be a ADF aaplicaion(?). This is a move from a MS .Net front end. The backend (Batch processes etc) is being dveloped in Java. So my question is if I have several ADF projects for each subsystem and common components that they all will use - what is the best practice to compile package and deploy? The deployment will be to weblogic server or servers(Cluster).
We have a team of at least 40 -50 developers worldwide so we are looking for an automated build and deploy and would like to follow Oracle best practice. So far I have read Deploying ADF Applications (http://download.oracle.com/docs/cd/E15523_01/web.1111/e15470/deploy.htm#BGBJHGFH) and have followed the links. I have also look at the ADF evangalist blogs - lots of chatter about ojdeploy. My concern about ojdeploy is that dependent files are also being compiled at the same time. I expected that we want shared dependent files compiled only once (Is that a valid concern)?
So then when we build the source out of subversion (ojdeploy ? Ant? ) then what is best practice to deploy to a weblogic server (wslt admin console) - again we want it to be automated.
Thank you in advance for replies.
RKRule 1: Never use the "Automatically Expose UI Componentes in a New Managed Bean" option, create your bindings manually;
Rule 2: Rule 1 is always right;
Rule 3: In doubts, refer to rule 2.
You may also want to check out :
http://groups.google.com/group/adf-methodology
And :
http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/Introduction_Best_Practices.pdf -
Deployment adf application to internat
hi am i able to deploy adf application to internat without the weblogic licence just for testing
Edited by: Tshifhiwa on 2012/02/20 1:16 PM
Edited by: Tshifhiwa on 2012/02/20 1:30 PMAll good questions for Oracle Sales.
You either need a WebLogic license or a WebSphere license from IBM + an ADF license from Oracle.
http://oraclestore.oracle.com may be of some use for you, but you'll have much better luck (in my experience) talking to an actual Oracle Sales rep. If your company already has one, then they would be the place to start. Otherwise - http://www.oracle.com/us/corporate/contact/index.html
John -
How to browse ADF Application page by user
Hi, i am ali & just i want to know, how to access ADF Application page by user through browser
Edited by: user13367653 on Jan 17, 2012 5:20 AMAli,
Welcome to the forum. Please take a bit of time and tell us which jdev version you are using.
It's helpful to read https://forums.oracle.com/forums/ann.jspa?annID=56 before posting.
You question is not clear, so we can't relay answer it. Where would you like to access the adf application? On the integrated server or a stand alone server?
Timo -
How to deploy cairngorm application with FTP support?
Hi,
I have a cairngorm application, it works fine in my local
computer.
But I need to upload it to a website in my web hosting
company with FTP,
but it doesn't work in the hosting server because I can not
add the cairngorm.swc file to the application.
Please give me a idea how to deploy the application with ftp
software.
Thanks a lot
MarkAny opinions are welcome
-
How to deploy APEX Application within EBS module
Hi Guruz,
How to deploy APEX Application within EBS module, for example I have developed APEX application by using EBS Tables like OA Framework Development in jDeveloper. or anyone can clear my understanding regarding jDeveloper and APEX differences and both are same in relation with EBS Development.
Regards,Hello,
First of all you can delete delete the development environment, by executing apxdevrm.sql script.
You can also wrap your packages.
Regards
Maybe you are looking for
-
Why am I getting an "unsupported url" error when I click the link to find my apple id?
When I click the link to change my password or to find my apple id, I get a blank page with only "unsupported url error". I've tried on multiple devices and while I can log on with one apple ID, I can not get any of the links to change id or passwor
-
PAR Correction Quality very bad in CS5
Hi, in earlier versions of After Effects it was possible to set the quality of the Pixel Aspect Ratio Correction to "high" resulting in a very nice and clean preview. In CS5 this seems to be not possible anymore, because the standard and already set
-
Not being a security expert but more of a data at rest question,are countries where data security is a requirement able to prove that vCloud Air will only leave data in their country of origin and is there a document that states that a workload will
-
Ethernet interface priority explanation
I'm looking for an explanation behind the solution to a problem I recently faced. My configuration (this is on the latest Xserve w/ 10.5.6): Ethernet 1 - NAT'd, static IP The Xserve was not providing NAT services to the local subnet. A linksys router
-
Insufficient Privilege Issue in Oracle XE!!!
Hi, I want to create temp and system tablespaces in Oracle XE11g Database for UCM10g content server installation. While running the following query i am getting the below error. Query: create temporary tablespace idc_temp tempfile 'D:\oraclexe\app\or