Deploying adf applications.
I need to use Ant in Jdeveloper 11 g to deploy applications web adf about 20.After that I run the build.xml, the ADF web application can be deployed on weblogic server.
Ant what to do?
There is here a step-by-steps [url http://www.oracle.com/technetwork/articles/adf/adf-essentials-098792.html]. See parts 4 and 7 (part 7 talks about the deployment part)
John
Tags: Java
Similar Questions
-
Deploying ADF applications with integration of EBS
Hello
I read a few articles about deploying ADF applications and they found it useful. Most of them are not suitable for ADF 11g developed lettering. I developed a demo application using Jdev Studio ver 12.1.3.0.0 by installing the WebLogic Server. This application must now be deployed on another node on a remote and built-in Server with EBS. References user interface developed stored procedures using IDE connect to Oracle DB. The remote server has the SDK for Java installed and a DATA SOURCE has been defined by the administrator.
I tried to follow the steps explained in the URL that follows, but in vain. I could not find server Navigation Application. How-to: ADF Deployment Guide
Could someone please help me understand the modalities of deployment of this application developed on my laptop on a remote server? Your valuable contribution is appreciated.
Thank you
udys
You cannot deploy a 12 c apps in 10.3 WLS ADF, you WLS 12 c.
See the doc certification for the ADF:
-
Error when you try to deploy ADF application Java Cloud Service - SaaS Extension
Hello guys,.
I am trying to deploy a simple application of ADF in 'Oracle Java Cloud Service - SaaS Extension' and I'll always have the below error
Work turns to failure to step to "Deploy the Application":
Someone already had this error?
Thanks in advance
SID
2014-12-10 11:06:20 PST: start action "deploy the Application.
2014-12-10 11:06:20 PST: deploy Application started
2014-12-10 11:06:28 PST: weblogic.application.ModuleException: weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1531)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:488)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:573)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:327)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
in weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 100 (DeploymentReceiverCallbackDeliverer.java:13)
to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 2.run(DeploymentReceiverCallbackDeliverer.java:68)
to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.security.AccessControlException: access denied ("java.net.NetPermission" "specifyStreamHandler")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.net.URL.checkSpecifyHandler(URL.java:649)
at java.net.URL. < init > (URL.java:373)
at weblogic.application.io.MergedDescriptorFinder.getSource(MergedDescriptorFinder.java:46)
at weblogic.application.io.DescriptorFinder.getSource(DescriptorFinder.java:44)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
at weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
to weblogic.servlet.internal.War$ ResourceFinder.getSource (War.java:1213)
to weblogic.servlet.internal.War$ ResourceFinder.getSource (War.java:1203)
at weblogic.servlet.internal.War.getResourceAsSource(War.java:512)
at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppServletContext.java:3436)
at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppServletContext.java:3427)
at weblogic.servlet.internal.WebAppServletContext.getResourceAsStream(WebAppServletContext.java:872)
to com.sun.faces.config.ConfigureListener$ WebXmlProcessor.scanForFacesServlet (ConfigureListener.java:805)
to com.sun.faces.config.ConfigureListener$ WebXmlProcessor. < init > (ConfigureListener.java:768)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:178)
to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1871)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3173)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1529)
2014-12-10 11:06:28 PST: State action WL: failure
2014-12-10 11:06:28 PST: Action FAILED with State action WL: failure
2014-12-10 11:06:28 PST: check the server log of your cloud service Java for more information about the failure.
2014-12-10 11:06:28 PST: Application Deployment failed.
2014-12-10 11:06:28 PST: 'Deploy the Application' complete: FAILED status
I don't think that you would be able to update the library in the 'SaaS Extension' of JCS version and the version of JDeveloper using must be 11.1.1.7.1. He has however separated 'Service of Cloud Computing Java' that gives you complete control over the WLS...
--
Jani Rautiainen
Relationship with the developers of Applications in fusion
-
Deploying ADF application in a standalone WLS
Hello
I'm working on a simple bean supported DC ADF application deployment to standalone WLS. The application deploys on WLS, but access to the browser application, I see below except in newspapers,
Caused by: java.lang.ClassNotFoundException: oracle.adf.model.adapter.bean.BeanDCFactoryImpl
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
So, I wonder if any pot is missing on the stand alone WLS and if yes, then how to fix? This app works great on integrated WLS. Also, do I need to install the runtime of the ADF?
JDev-> 11.1.1.7.2
WLS-> integrated WebLogic Server 10.3.5.0
Standalone WLS-> WebLogic Server 10.3.6.0
Thank you!
You must install the ADF runtime for your version of jdev on the stand alone wls.
Unlike versions of the wls alone and embedded of settlement are normal in your version. Oracle ships jdev 11.1.1.7 with an embedded 10.3.5 wls. On production, you must use 10.3.6.
Timo
-
Hello
12.1.3 JDeveloper / WLS 12.1.3 / Windows 7 64-bit OS.
I am facing the problem that is mentioned in the following post.
https://community.Oracle.com/thread/2284290
I created a simple ADF page with the data to display in the Employees table. The page works fine.
I added a custom method to the AM and a profile of "Business Service Interface components" deployment of the AOS.
When I'm trying to deploy the stand-alone WLS Service, it gives the error below.
If I deploy only the AM Service interface, the web service deployment is going very well.
If I cancel the deployment of the AM Service and deploy ADF EAR, then it also works very well.
But if I deploy the AM Service and then try to deploy the EAR, then it gives the error below.
And vice versa, if I deploy EAR application, and then deploy the AM service, it gives the error below.
It was working fine until 11.1.1.7.
I have done this repeatedly for a long time and wasn't any problem in 11.1.1.7 deployments.
If something has changed in 12.1.3?
Even if the AM Service is existing, it is deployed in the same application, it should be able to just crush?
Here are the results with different versions
11.1.1.7 - domain of the ADF - Standalone Server - works fine
11.1.1.7 - SOA - Standalone Server - domain works very well
12.1.3 - error field - integrated WLS - ADF
12.1.3 - error field - independent server - SOA
(The foregoing analysis is based on a simple project ADF as a point of Contact for that matter).
Real-world scenario
--------------------
We need this because ours is a BPM Application and the Composite depends on the AM Service, so the AM service must first deployed in the field of the SOA.
Then, we make the process as well as the ADF UI for task forms. ADF project depends also on the model project
We get the error during the deployment of the BPM project and the ADF UI project below.
Error
-----
Unable to deploy EJB: ModelEJB.jar model.common.HRAMServiceBean:
[EJB:011055] The EJB deployment error ' model.common.HRAMServiceBean (Application: employees, EJBComponent: ModelEJB.jar) ", the JNDI name" HRAMServiceBean #model.common.serviceinterface.HRAMService "is already in use." You must assign another name JNDI in weblogic-ejb-jar deployment descriptor. XML or annotation corresponding to this EJB before it can be deployed.
[12: 02:07] caused by: java.lang.Throwable: substituted for the missing class [EJB - 11055] the EJB deployment error ' model.common.HRAMServiceBean (Application: employees, EJBComponent: ModelEJB.jar)', the JNDI name "HRAMServiceBean #model.common.serviceinterface.HRAMService" is already in use. You must assign another name JNDI in weblogic-ejb-jar deployment descriptor. XML or annotation corresponding to this EJB before it can be deployed.
Thanks for any help
Sameer
Found a workaround for this problem.
I don't have to do this in 11.1.1.7 well!
You don't know if it's the right solution or not!
If anyone of you knows a better solution, please share.
I did the 2 following things.
a. classes of the AM Service Interface of removed files from deployment profile filters
ViewController project-> properties-> deployment profile--> filegroups--> WEB - INF / classes-> filters
: Uncheck * Service *. * files (4 - Service.class, Service.wsdl, Service.xsd, ServiceImpl.class)
b. deleted the deployment profile of library jar ADF for the model project
Model project-> properties-> deployment
: Remove the deployment of ADF library jar files profile
And now I am able to deploy time interface AM Service and application.
It works for me because I won't need to deploy the AM Service interface again while deploying the process / code of the ADF.
Since I will deploy the Service Interface of first Business components separately.
Thanks and greetings
Sameer
-
Deploying ADF application to a managed server in weblogic - security ADF error
Hello
Our group wrote an ADF web application, we are trying to deploy on a weblogic managed server. So far, we have succumbed. The application deploys successfully to the AdminServer. Our facility:
WebLogic version is 10.3.0. Domain name is adf_domain. We installed the ADF (ADF version is 11.1.1.0.0), JSTL (1.2.0.1), and the JSF (1.2.7.1) runtime libraries and they are addressing both the server administrator AND managed server called CollabServer. This server communicates with node Manager and you will be able to be started and the console of administration successfully. The AdminServer is on 7101 port, and the CollabServer is on port 7104. We do not use SSL.
application.XML:
<? XML version = "1.0" encoding = "windows-1252"? >
< application xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd".
version = '5' xmlns = "http://java.sun.com/xml/ns/javaee" >
< display name > OracleRetailCollaboration < / display-name >
<>module
< web >
< web - uri > orc.war < / web - uri >
ORC < context root > < / root context >
< / web >
< / module >
< / application >
WebLogic - application.XML (as taken from the ear file):
<? XML version = "1.0" encoding = "windows-1252"? >
< application weblogic xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmln
s = "http://www.bea.com/ns/weblogic/weblogic-application" >
<>earpiece
oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener <-listener class > < / listener class >
< / earphone >
< library-ref >
< name of the library - > adf.oracle.domain < / library name >
< / library-ref >
< / weblogic application >
WebLogic.XML (as taken from the file. War):
<? XML version = "1.0" encoding = "UTF - 8"? >
< weblogic-web-app xmlns = "http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "work".
w.bea.com/NS/WebLogic/WebLogic-Web-App http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd ' > '.
<>container-descriptor
< prefer-web-inf-classes > true < / prefer-web-inf-classes >
< / container-descriptor >
< security-role-assignment >
valid users - < role name > < / role name >
users of < SPN > < / main-name >
< / security role assignment >
< library-ref >
< name of the library - > jstl < / library name >
specification of the < version > 1.2 < / specification-version >
< / library-ref >
< library-ref >
JSF < library name > - < / library name >
specification of the < version > 1.2 < / specification-version >
< / library-ref >
< / weblogic-web-app >
As I said, there is no deployment errors when deploying on the management server. However, we still see the following errors when deploying to the managed server:
java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
etc.
This error occurs when the deployment using the < wldeploy > Ant task included with weblogic and the deployment of the application manually using the administration console.
So I removed this WebLogic - application.xml:
<>earpiece
oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener <-listener class > < / listener class >
< / earphone >
Who decided the initial error (I guess that there is some sort of bug that causes of workaround is necessary). The following error is the following:
java.lang.ClassNotFoundException: oracle.adf.share.security.authentication.AuthenticationServlet
Yet once, we do not get this error when deploying to the AdminServer - ONLY the managed server CollabServer.
Web.XML:
...
< servlet >
< name servlet - > adfAuthentication < / servlet-name >
> the servlet class < oracle.adf.share.security.authentication.AuthenticationServlet < / servlet-class >
< load-on-startup > 1 < / load-on-startup >
< / servlet >
...
< servlet-mapping >
< name servlet - > adfAuthentication < / servlet-name >
< url-pattern > /adfAuthentication / * < / url-pattern >
< / servlet-mapping >
...
I then added some jars of adf the ear file, finally get this error message:
java.lang.ClassNotFoundException: oracle.adf.share.jsp.ADFLibUtils
Any ideas on how to solve this problem? Thank you.
Published by: user10451099 on April 15, 2009 12:10Dan,
Thanks for remind me :-)Here are the steps we had to take to get a WLS managed to run an adf application without copying any jar in the field/lib directory:
1. you should always install the adf runtime to any server you want the adf application to deploy on
2. open the administration console, select the managed server and select the "start server" tab in the settings of trial.
3. Add
/u01/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar: /u01/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/jrockit_160_05/lib/tools.jar:/u01/bea/wlserver_103/server/lib/weblogic_sp.jar: /u01/bea/wlserver_103/server/lib/weblogic.jar:/u01/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/u01/bea/wlserver_103/server/lib/webservices.jar: /u01/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/u01/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u01/bea/jdeveloper/modules/features/adf.share_11.1.1.jar: /u01/bea/wlserver_103/common/eval/pointbase/lib/pbclient57.jar:/u01/bea/wlserver_103/server/lib/xqrl.jar: /u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath/weblogic_ext_patch.jar
the classpath box, you need to change ' / u01/bea /' with your bea home. The classpath must be on a single line without CR/LF, I put in to make it readable.
4. Add
-Xms256m -Xmx512m -da -Dplatform.home=/u01/bea/wlserver_103 -Dwls.home=/u01/bea/wlserver_103/server -Dweblogic.home=/u01/bea/wlserver_103/server -Ddomain.home=/u01/bea/user_projects/domains/naa_qs -Doracle.home=/u01/bea/jdeveloper -Doracle.security.jps.config=/u01/bea/user_projects/domains/naa_qs/config/oracle/jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=false -Dweblogic.management.server=http://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/u01/bea/patch_jdev1111/profiles/default/sysext_manifest_classpath:/u01/bea/patch_cie660/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=******** -Dweblogic.Name=GESTIS_QS -Djava.security.policy=/u01/bea/wlserver_103/server/lib/weblogic.policy
editing area of the "Arguments". As with the change of calsspath ' / u01/bea ' your home BEA and change the domain name (in our case "naa_qs") to your domain name. change the managementuser and the password to your needs. As whith the classpath I put a CR/LF in the section of code to make it readable.
5. save the changes and restart the server
Essentially, all that we have copied the arguments of the admin server start script and more to add the path of the class.
Timo
-
How to deploy ADF Applications to Weblogic Server examples
Hello
I am a novice ADF and JDeveloper and Weblogic, now I have JDeveloper 10.1.3.3.0 and 10gR 3 of Weblogic Server installed on my machine, could you please teach me how to deploy http://blogs.oracle.com/smuenchadf/examples/ on my Weblogic Server examples?
Thank you very much in advance!
Best wishes
Jia - Wei"Network adapter could not establish the connection.
do you have create db connection and test?
There is another way for the deployment.
create the field of prod, you may need to extend your domain name to include libraries of the adf.
Start the server administrator
Goto, wl (http://: console) console create datasource
Select the tunnel server protocol tab
Create a connection to the server App (Application Server Browser View menu) in jdev
Right-click on your App. GoTo Deploy - name of the application - to - new connection
Run the jspx in the browser (http://: appname-ViewController-context-root/faces/jsfpagename.jspx) -
Deploying ADF applications on Glassfish 3.1.2 two
I have app ADF 11g version and the other on the 12 version.
I want to run two glassfish servers at the same time on windows server 2008.
I changed the port number and I have most of the adf to 11 on one, essential adf for 12 on the other.
but I couldn't run two servers at the same time in windows server 2008.
How I can run both servers at the same time?
Create another domain of glassfish and set properties and the essentials of the adf. and run it in another port number.
-
Mr President
This is the page of the glassfish Server
How to find the url of adf application that has been deployed to the glassfish Server? I try but? It is the image of the page.
In the jdev web module are
[11: 09:38] wrote the Web for F:\backup of AshCMS\AshCMS\ViewController\deploy\AshCMS_ViewController_webapp.war application Module
[11: 10:33] wrote the Module Enterprise Application to F:\backup of AshCMS\AshCMS\deploy\AshCMS_Project1_AshCMS.ear
[11: 10:33] Application deployment...
[11: 14:24] Application deployed successfully.
[11: 14:24] time to deployment: 8 minutes, 11 seconds
[11: 14:24]-deployment is complete. ----
what url in the browser.
Concerning
Mr President.
I run my application on built-in web logic server and get the url from there
http://localhost:7101 / ViewController/faces/MainPage
then simply change the localhost of 7101 to 8081 as below
http://localhost: 8081, ViewController, faces, MainPage
and it works
Concerning
-
Can deploy us ADF application on any other than weblogic server web server
The President complied,
Can deploy us ADF application on other web servers such as Tomcat, apachi, IAS11g or IIS
Concerning
See also - http://docs.oracle.com/cd/E35521_01/web.111230/e16182/appendix_glassfish.htm
https://blogs.Oracle.com/Dana/entry/how_to_deploy_a_11g_adf_applic_1
Ashish
-
The ADF application deployment error
Hi all
We get another error in the SOA application
Each time that attempted to deploy the ADF for the application (.) The EAR) in soa_server1, it gave me error archive invalid soa.
Help, please.
Hello
Thanks for posting.
The above error isony because we can deploy only archive SOA (.) SAR files) on SOA_server1 managed server.
We can deploy only SOA archive (.) SAR files) on SOA_server1 managed server. We cannot deploy ADF (.) Applications of EAR) in SOA_server1 managed server. To deploy the ADF (.) Applications of EAR) we must deploy either Jdev Weblogic Console.
-
ResourceException while deploying stand-alone ADF Application to Weblogic SOA or Server Admin
I have ADF applications that I want to deploy on the server of SOA. The SOA server is part of the field of bpmdev. While trying to deploy the application, I get the following error. Same error when I try to deploy the application on AdminServer in the same domain:
[13: 16:14] Application deployment...
[13: 16:25] [Deployer: 149193] Operation "deploy" on demand "SecurityGroupsCustomApp_application1" failed on "AdminServer.
[13: 16:25] [Deployer: 149034] an exception has occurred for task [Deployer: 149026] deploy SecurityGroupsCustomApp_application1 on AdminServer. :.
[13: 16:25] WebLogic Server Exception: weblogic.application.ModuleException:
[13: 16:25] caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool. With the exception of the DBMS driver: IO error: the network adapter could not establish the connection
[13: 16:25] check the server logs or the console of the server for more details.
[13: 16:25] weblogic.application.ModuleException:
[13: 16:26] # incomplete deployment. ####
[13: 16:26] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
ADF Application connects to SOADataSource that is configured on the server with the target set to soa_server1. Same application deploys in WLS integrated as a stand-alone.
Jdev version: 11.1.1.7.0
WebLogic Server version: 10.3.5.0
Exception stacktrace of soa_server1.log:
Failure occurred in the execution of the request for deployment with the ID ' 1406851753207 'for the task 9'. Error: ' weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:327)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:648)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:221)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 000 (DeploymentReceiverCallbackDeliverer.java:13)
to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 1.run(DeploymentReceiverCallbackDeliverer.java:46)
to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool. With the exception of the DBMS driver: IO error: the network adapter could not establish the connection
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:285)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1322)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1239)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:250)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1329)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:176)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:507)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:428)
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:280)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:648)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:221)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 000 (DeploymentReceiverCallbackDeliverer.java:13)
to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 1.run(DeploymentReceiverCallbackDeliverer.java:46)
to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Thank you.
-Cedric
I managed to solve the problem of deployment by modifying the deployment under the Application properties configuration:
1. unselect Auto Generate and Synchronize weblogic - jdbc.xml deployment descriptors
2 deselect the credentials under Security Deployment Options
3 deselect users and groups under deployment and Security Options
I think auto generation of weblogic deployment descriptor - jdbc.xml was most probably the origin of the problem.
Thank you.
-Cedric
-
ADF Mobile | to deploy an application in release mode
Hello
I use Jdev 11.1.2.4.0.
This im unable to see the password key in mobile tab of ADF platform, although it can I deploy an application in release mode. »
I m getting an error
-The deployment began. ----
[16: 50:24] the target platform's (Android).
[16: 50:24] early deployment of ADF Mobile 'JavaScriptDemo' to Android application using the profile "JavaScriptDeployment."
[16: 50:24] undeployment.
[16: 50:24] - incomplete deployment.
[16: 50:24] the following configuration of Android preference is invalid or missing. Set these options in the preferences of JDeveloper on the Panel of the ADF Mobile:
Key to past
(oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)
Kind regards
Sainaba
See the deployment section of this tutorial - Oracle JDeveloper 11 g Release 2 tutorials - creating apps with Oracle ADF Mobile
You may need to expand the dialog box if the field is hidden. should look like - t0105rls4.gif
-
Internal error 500 when an ADF application is deployed to JCS
Hello
I created an ADF application, which includes an html file and an ADF file. The two files are very simple, with only a welcome text.
The application has been tested on the JDeveloper embedded server, it worked fine. Then he was deployed on JCS directly and successfully by JDeveloper.
HTML (Works): https://Java-trialardn.Java.US1.oraclecloudapps.com/JCSApp/welcome-HTML.html
ADF (Inertnal error): https://Java-trialardn.Java.US1.oraclecloudapps.com/JCSApp/faces/welcome-JSF
Can anyone help on this? He blocked me for a long time.
The source code for welcome - jsf.jsf is listed as below.
Welcome - jsf.jsf
<? XML version = "1.0" encoding = "UTF - 8"? >
" < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "
' xmlns:f = ' http://Java.Sun.com/JSF/core "
xmlns:h=" http://Java.Sun.com/JSF/HTML "
' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "
< jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >
< f: view >
< af:document id = "d1" >
< af:form id = "f1" >
< af:outputText value = 'Welcome to Oracle PTS!' id = 'ot1.
inlineStyle = "do-family: Verdana, Arial, Helvetica, without serif;" font-size: xx-large. "/ >
< / af:form >
< / af:document >
< / f: view >
< / jsp:root >
Best regards
Paula
the application must be packaged and deployed in an EAR file because ADF applications that use components trade (or layer of ADF model in your case) need configuration descriptor application.xml - weblogic with the following property:
ADF. Oracle.Domain
-
error on service cloud oracle adf application deployment
Hello, I hv saved cloud oracle java and database service. I hv created adf simple application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11 g 2. so I hv created file ear for deployment in the cloud. I have deployed adf the cloud using the java console application. But after downloading applications, deployment failed. I tried 3 times, but the result was the same. I checked the logs, I got 3 warnings in the whitelist log and error in deploy newspaper. Those are the following:
Warnings in the whitelist log:
2013-04-14 06:57:11 CDT: start action "API Whitelist.
2013-04-14 06:57:11 CDT: began API whitelist
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: "login-config' missing under element child element has recommended.
JavaEE:web - app.
If you want to publish your application, you may have vacuum
< login-config / > in your web.xml file. If you require authentication, you must then
have <>login-config and its child < auth-method > element in the web.xml file.
Without this element (< login-config >), users can be challenged by SSO, but
the code of the application will be run as an anonymous user. 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 "jsp-descriptor" missing under element child element.
ORCL - weblogic:weblogic - web - app.
If you have a JSP file that is not precompiled, compile errors
could be shown on the browser. It is recommended to include
verbose false > < jsp-descriptor > < < > < * *-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 asked to have cookies separate way, if several
applications are available in the same SSO session or if you
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 - validate white list ended with 0 error (s) and WARNING (s) 3.
2013-04-14 06:57:12 CDT: validation whitelist past.
2013-04-14 06:57:12 CDT: complete "API Whitelist": status SUCCESS
and error in deploy journal:
2013-04-14 06:57:12 CDT: start action "deploy the Application.
2013-04-14 06:57:12 CDT: deploy Application started
2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: could not load the webapp: Test-ViewController-context-root cause DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
2013-04-14 06:57:15 CDT: State action WL: failure
2013-04-14 06:57:15 CDT: Action FAILED with State action WL: failure
2013-04-14 06:57:15 CDT: see the server log of your cloud service Java for more information about the failure.
2013-04-14 06:57:16 CDT: Application Deployment failed.
2013-04-14 06:57:16 CDT: 'Deploy the Application' complete: FAILED status
I use jdeveloper 11 GR 2, so pls don't tell me to use jdeveloper 11 GR 1 material. because, I hv already developed an application for my final year of Bachelor and I can't migrate to the previous version. So there is only one way for me to generate the ear file and the deployment of the console.
Thus,.
I m not getting what is the problem and what will be the solution for this?
What should I do?
What changes are required?
Please, help me out of this problem!Well hosting Cloud Oracle ADF applications is for the ADF * 11.1.1-then you will not be able to deploy an application developed with * 11.1.2 thereon.
If you don't want to revert to the version support for JDeveloper, I suggest that you look in the other accommodation options.
For example: http://multikoop.blogspot.de/2012/09/adf-essentials-in-redhat-cloud.html
Maybe you are looking for
-
history and bookmarks will NOT display on my menu bar. I can see them both in my sidebar, but not on the menu bar This has happened Each time Firefox opened Is updated for FF 3.6
-
Is it possible to watch TV on a laptop?
Is it possible to connect a digital TV set-top box to my laptop? I tried an AverTV cardbus in the pcmcia slot, but I got a fuzzy picture black & white. Have I missed a setting or something? Thank you.
-
Error NTLDR is missing - press ctrl alt del to restart
Hello I am extremely embarrassed to admit the following and ridiculously angry at myself for doing something completely stupid as I did, but's done it now... sigh... I have NTLDR is missing - press ctrl alt del to restart error of nightmare. This is
-
After intall Windows 8, pilots will be deleted. ??
I want to intall windows 8/64 bit. But I fear for my programs, games and drivers fade. ? Pls help me. What can I do?
-
Why firefox refuses to let anyone in pogo stick
whenever we are going intp pogo stick it wont let us in