Deploying ADF Applications on Tomcat
Hi everybody,
I'm wondering if is there any "secure and stable" way for deploying ADF web applications developed with JDeveloper 11g on Tomcat. JDev is amazing, so I hope that deployment is not restricted to Oracle AS.
Thank you very much in advance!
The only certified application server is Weblogic at this time.
Some people did manage to deploy apps to other app servers, but that is not supported. Also, you'd need a separate ADF license.
Similar Messages
-
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 -
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/ -
Tomcat 6.0.18 won't start the deployed ADF Application
I searched the forum and the blogs. I did what it was said on the forum and the Dana Singleterry's blog. Then I developed a simple "Hello World" ADF application, deployed the .WAR file to Tomcat server version 6.0.18. When I copied the .WAR file to the webapps directory of the Tomcat server, the simple Hello World application didn't start. When I checked the log files I've found error messages.
In Catalina log file, it says :
INFO: Initializing JavaServer Faces implementation (1_2_07-b03-FCS) for context '/TomcatTest'
Feb 27, 2009 11:24:03 AM com.sun.faces.config.ConfigureListener installExpressionFactory
SEVERE: Unable to instantiate ExpressionFactory 'com.sun.el.ExpressionFactoryImpl'
Feb 27, 2009 11:24:03 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 27, 2009 11:24:03 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [TomcatTest] startup failed due to previous errors
And in localhost log file it says :
Feb 27, 2009 11:24:03 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: It appears the JSP version of the container is older than 2.1 and unable to locate the EL RI expression factory, com.sun.el.ExpressionFactoryImpl. If not using JSP or the EL RI, make sure the context initialization parameter, com.sun.faces.expressionFactory, is properly set.
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:371)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:199)
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.deployWARs(HostConfig.java:719)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
What am I missing while deploying the .WAR file to Tomcat?
Thanks in advance.As I mentioned in my post I've already checked the threads and the blogs what to do to deploy the ADF application to Tomcat server. I put all the necessary libraries in Tomcat's lib folder as it was said on the threads and blogs. By the help of Shay's I managed the application to be deployed successfully and to start on Tomcat server. But now I face another exception when I run the application.
org.apache.jasper.JasperException: /untitled1.jspx(3,49) Could not add one or more tag libraries.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:214)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:200)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:188)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:652)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:243)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:61)
Even though I included all the libraries in the application what tag library may I be missing?
Thanks in advance. -
It´s possible deploy ADF Demo in Tomcat 6 ???
Hi.
I deploy the ADF Demo (http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html), in Weblogic 10.3.3.
But I´m triying to deploy the war demo, in tomcat. But i can´t.
It´s possible deploy this application??. I Think that is possible because it´s a war proyect.
ThanksIt may be possible, but it's not supported. If you have a search of the forums, you can find people who have, with varying degrees of success, managed to deploy ADF projects to Tomcat.
John -
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 -
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 -
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 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 -
Problem with links in deployed ADF application to Weblogic Server 11g
Hi everyone !
I have a query here, firstly, I have created an ADF application using Jdeveloper 11g and have successfully deployed (EAR file) onto the weblogic server.
However, after testing out the application, the linking within the application does not seem to work. Whenever I click on a link or button, the page refreshes but the result is not displayed.
What could have cause the problem?
Thanks
GavinAre the ADF runtime libraries installed into the WebLogic server?
-
Error while deploying ADF application to a standalone weblogic server
I am using Jdeveloper 11.1.1.6.0, and I am trying to deploy my application to a standalone server running on a Unix box and I get the following error message:
[04:12:44 PM] ---- Deployment started. ----
[04:12:44 PM] Target platform is (Weblogic 10.3).
[04:13:00 PM] Retrieving existing application information
[04:13:01 PM] Running dependency analysis...
[04:13:01 PM] Building...
[04:13:05 PM] Deploying profile...
[04:13:09 PM] Wrote Web Application Module to C:\JDeveloper\PortingAppln\ViewController\deploy\ADF1.war
[04:13:13 PM] Deploying Application...
[04:20:19 PM] [Deployer:149191]Operation 'deploy' on application 'ADF1' is initializing on 'ADF1'
[04:20:45 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
[04:20:45 PM] See server logs or server console for more details.
[04:20:45 PM] weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
[04:20:46 PM] #### Deployment incomplete. ####
[04:20:46 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Can someone help me with this problem.
Thanks,
Srini.Well, how did you do?
I am having a similar problem.
1) Installed WLS 10.3.5 on a Linux machine
2) Installed ADF runtime libraries (ofm_appdev_generic_11.1.1.5.0_disk1_1of1.zip)
3) I can see at deployments
- adf.oracle.businesseditor(1.0,11.1.1.2.0)
- adf.oracle.domain(1.0,11.1.1.2.0)
- adf.oracle.domain.webapp(1.0,11.1.1.2.0)
- DMS Application (11.1.1.1.0)
- em
- emai
- emas
- emcore
- FMW Welcome Page Application (11.1.0.0.0)
- jsf(1.2,1.2.9.0)
I created from scratch a new Fusion Web app. It just has 1 ADF read-only table based on the HR.COUNTRIES table. It runs perfectly on the integrated WL.
I cannot deploy it to my standalone WLS. The error:
[02:01:37 PM] Unable to determine the target platform from the Profile. Using default
[02:01:37 PM] ---- Deployment started. ----
[02:01:37 PM] Target platform is (Weblogic 10.3).
[02:01:37 PM] Retrieving existing application information
[02:01:37 PM] Running dependency analysis...
[02:01:37 PM] Building...
[02:01:37 PM] Deploying 2 profiles...
[02:01:37 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TesteAPP\ViewController\deploy\TesteAPP_ViewController_webapp.war
[02:01:37 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TesteAPP\deploy\TesteAPP_Project1_TesteAPP.ear
[02:01:37 PM] Deploying Application...
[02:01:39 PM] [Deployer:149191]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' is initializing on 'ADFServer'
[02:01:39 PM] [Deployer:149193]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' has failed on 'ADFServer'
[02:01:39 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TesteAPP_Project1_TesteAPP on ADFServer.: Failed to load webapp: 'testeADF'.
[02:01:39 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
[02:01:39 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@1021039597[app:TesteAPP_Project1_TesteAPP module:testeADF path:/testeADF spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
[02:01:39 PM] See server logs or server console for more details.
[02:01:39 PM] weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
[02:01:39 PM] Deployment cancelled.
[02:01:39 PM] ---- Deployment incomplete ----.
[02:01:39 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
I am using JDeveloper 11.1.2.1.0
What am I missing here? It must be something obvious, but I am stuck.
Thanks in advance. -
Error while deploying ADF application to a standalone weblogic
jdeveloper version: 11.1.2.2
Issue: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application to it. The deployment fails with the following message. The stand alone server I have built is on the same machine where jdeveloper is installed and I am using same weblogic that came with jdeveloper install. The aplication runs fine on integrated server. I have researched this issue and have got more or less same answer of installing ADF run time libraries. Can someone please help me with exactly what I need to install and how?
Thanks,
Saurabh.
[09:49:44 AM] Unable to determine the target platform from the Profile. Using default
[09:49:44 AM] ---- Deployment started. ----
[09:49:44 AM] Target platform is (Weblogic 10.3).
[09:49:55 AM] Retrieving existing application information
[09:49:55 AM] Running dependency analysis...
[09:49:55 AM] Building...
[09:50:18 AM] Deploying profile...
[09:50:20 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
[09:50:20 AM] Deploying Application...
[09:50:24 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
[09:50:26 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
[09:50:26 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
[09:50:26 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[09:50:26 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@29261813[app:EmployeeTrack_ViewController_webapp module:EmployeeTrack_ViewController_webapp.war path:/alonedemo spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
[09:50:26 AM] See server logs or server console for more details.
[09:50:26 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[09:50:26 AM] Deployment cancelled.
[09:50:26 AM] ---- Deployment incomplete ----.
[09:50:26 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Thanks Timo.. You were right.. Those setting helped me fix the initial issue.. Now I have another issue and was wondering if you have seen this as well?
[11:35:13 AM] Unable to determine the target platform from the Profile. Using default
[11:35:13 AM] ---- Deployment started. ----
[11:35:13 AM] Target platform is (Weblogic 10.3).
[11:35:13 AM] Retrieving existing application information
[11:35:13 AM] Running dependency analysis...
[11:35:13 AM] Building...
[11:35:20 AM] Deploying profile...
[11:35:21 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
[11:35:21 AM] Deploying Application...
[11:35:23 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
[11:35:25 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
[11:35:25 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
[11:35:25 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[11:35:25 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
[11:35:25 AM] See server logs or server console for more details.
[11:35:25 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
[11:35:25 AM] Deployment cancelled.
[11:35:25 AM] ---- Deployment incomplete ----.
[11:35:25 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer) -
Deploying ADF Application to remote Weblogic server
Hi Everyone,
I created an ADF Application 11.1.1.2 and deployed it successfully to the remote weblogic server 10.3.3 in same instance.
I want to know can we create ADF application in one instance and deploy it in remote weblogic server creating Data Source for different instance?
Let me put it in differently.
I created ADF Application using test instance and now i want to move it to PROD but i dont have access to PROD Database but i can make the DBA's run the database scripts in PROD that are needed for the application to run successfully ,is there away so that i can create application using test instance and create DataSource in weblogic server giving PROD database details ?
Is there a way i can give DBA's access to enter the database connection details for my application like changing any file in ADF Application like Model.jpx?
Please provide me with solutions?
Thanks.Your application should be using a WebLogic DataSource - then you can define that datasource on any server you want pointing to any database you need.
Info here:
http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcservices.htm#CHDJDBJB
Maybe you are looking for
-
Can't connect to cellular data on my iphone 4s
So here's a description of the issues I've been having over the last several months. I cannot connect to or use my cellular data when not connected to wifi. Example: I will be out at the store or on my way to work and I will try to search google but
-
Audio/Animation Bug, with a work-around
This is one of those cases where TechSupport believes a work-around is fine to something I would consider a bug. Took me a while to find the solution so I'd like to share with everyone my problem/solution. Background: I have a presentation with recor
-
EXC_BAD_ACCESS (SIGBUS) Illustrator CS 4
Help, I bought a new computer and installed my Creative Suite 4 as well as Font Agent Pro (my font management system). I had this same set up on my very old mac and never had an issue. Now when I open Illustrator and attempt to choose a font, the pro
-
Problem running BCUpdate.exe (boot camp 2.1 update)
Just bought a new iMac 20", upgraded from OSX 10.5.4 to 10.5.6 (plus all other s/w upgrades), ran Boot Camp, made a 50GB Windows NTFS partition, installed Win/XP SP3 from the Windows DVD. Booted into WIndows. So far so good. Under vanilla Windows, I
-
T410 unstable screen brightness
I recieved my T410 (i5-520M, intel graphics, WGXA+ screen, 65W battery) little over a week ago and so far I'm quite pleased with the unit. However I've noticed that when I'm on battery power, the brightness of the screen is unstable. I'm not talkin