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

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:

    Information on certification

  • "JNDI name is already in use" error when deploying ADF Application after the deployment of Interface of AM Service

    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

  • 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":

    Job_Status_Pic.png

    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

    https://blogs.Oracle.com/fadevrel/

  • 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:10

    Dan,
    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

  • [SOLVED] Problems of packaging and deploying an application in an external WLS ADF

    Hello.

    I use JDeveloper 11.1.1.7.0, who has a WebLogic Server embedded 10.3.5.

    When I test my application by right clicking on my page and run... in WLS on-board, everything works perfectly.

    It works with any page and any flow.

    Now, I have to deploy the same application to an external 10.3.6 WLS

    First of all, I have the application package in one EAR to aid Assistant JDeveloper. I did right click in application-> Deploy-> MyApplication...-> select deploy ear...


    Then, when .ear file is built, I run startWebLogic (I have already created a domain with the ADF operating options) and deploy the .ear as an app.

    I have a lot of warnings, but the final message is deployment is ok.

    It is therefore my surprise that I get a NullPointerException in the first page I test in the first access to an ADF/view iterator in the Java class:

    DCIteratorBinding iter = ADFUtils.findIterator("BusinessDataView1Iterator");
    ViewObject vo = iter.getViewObject(); -- iter is null
    
    
    

    This had worked many times in embedded 10.3.5 WLS.

    10.3.6 WLS console output is:

    19-feb-2014 15:04:26 oracle.adfinternal.controller.metadata.MetadataServiceImpl$Bootstrap logActivityWarnings
    WARNING: ADFc: /WEB-INF/adfc-config-reportes.xml:
    ...
    ...
    
    ...
    ...
    ADVERTENCIA: ADFc: /WEB-INF/adfc-config.xml:
    19-feb-2014 15:04:26 oracle.adfinternal.controller.metadata.MetadataServiceImpl$Bootstrap logBeanWarnings
    ADVERTENCIA: ADFc: Se ha detectado una definicion de bean gestionado duplicada para 'backing_views_administracion_inicio'.
    ...
    ...
    
    ...
    ...
    19-feb-2014 15:04:30 oracle.adfinternal.controller.util.WebAppConfigFactory createConfig
    INFO: ADFc: Se estß utilizando la vista '<null-value>' como la pßgina inicial de la aplicaci¾n.
    19-feb-2014 15:04:32 oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx
    ADVERTENCIA: Incomplete connection reference object for connection:MY_DB_JDBC
    19-feb-2014 15:04:47 oracle.adfinternal.controller.application.AdfcExceptionHandler handleException
    GRAVE: ADFc: al manejar una excepci¾n, el manejador de excepciones de la aplicaci¾n ha devuelto una nueva excepci¾n.
    java.lang.NullPointerException
            at com.mypackage.Gestion.<init>(Gestion.java:37)
    
    
    
    

    Between the sections of points, there are similar warnings.

    I checked the .ear files (contains a .war), decompression it (the .war too) to a different folder and look for duplicates in text in any file and adfc - config.xml does exist only once in the .ear

    How can I solve this? Someone have had similar problems during deployment in an external WLS?

    Any help is very much appreciated, because this is so stuck to me, and it is urgent too.

    I thank in advance. Concerning

    Well, I finally solved my problem.

    The steps are:

    Finally, it works.

    Now, let me ask another question.

    I have change the DB connection (not the name, is not posible) to another user in the same DB schema. I want to check if the application still works and it does. But why? My test is right?

    Thanks Timo. Concerning

  • Bug? The obligation to deploy ADF Model Runtime on internal WLS

    Hello, I have a strange problem. I have 2 projects in my application: a model project and a Web service generated (from WSDL). In the Web service, I have a manager that newspapers in the database so I have a dependency on the model project in my webservice project.

    My EAR deployment profile contains only the webservice project (as it should because the model is implied through the depenency, right?), but I have to deploy the library "ADF Model runtime" with her because I get an NoClassDefFound exception otherwise. It so strange because it is a runtime library and I have an ADF area in my WLS if the library is already there. I have other Web services deployed on the same server and they do not have this problem. The only difference I can see between those with the error is that the last webservice has been built with a local WSDL and others from a URL. But it would be strange if that was the problem here.

    My guess is that this is a bug in JDeveloper, and I would like to know how to correct it. Somehow my classpath does not seem right, is there an xml file, I could manually change so that I do not have to deploy the jar with my project? It made my huge EAR file and I have to wait 7 minutes before it is deployed. This is unacceptable...

    EDIT:

    I compared the two EAR files, the only difference between them are the jar files. These are the jar files in the big EAR file but not in the (broken) small:

    ADF-controller - security.jar
    adfdt_common.jar
    ADF-dt-to - rt.jar
    adflibrary.jar
    ADFM.jar
    ADF-part - security.jar
    adftransactionsdt.jar
    common - el.jar
    DB - ca.jar
    Groovy-all - 1.6.3.jar
    IdentityStore.jar
    javax.activation_1.1.0.0_1 - 1.jar
    jdev - cm.jar
    JSP - el - api .jar
    ojmisc.jar
    Oracle - el.jar
    xmlparserv2.jar

    During the deployment, JDeveloper complains of not being able to find the oracle.jbo.domain.Number, which is in adfm.jar if I'm not mistaken. Isn't it weird? It should be available on the WLS or not?

    Edit2: I compared my EAR to a webservice to work without libraries deployed with her and the weblogic - application.xml says:

    < library-ref >
    < name of the library - > adf.oracle.domain < / library name >
    < / library-ref >

    I think I want that in my weblogic application. XML as well. How do I do that? It is generated during deployment...

    I solved it. Somehow, I don't have a weblogic - application.xml in my screen of application resources. It is supposed to be where jps.config.xml and cwallet.sso are. I did a manually and added to the library-ref mentioned before him. Then I could deploy without any problem. I still wonder why JDeveloper na not create one for me in the first place, because I don't remember having to do it manually for any other project I've ever done.

    Anyway, problem solved!

  • 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

  • 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.

  • Exception when you run the application deployed standalone WLS

    When you run the application deployed in a standalone WLS, I get the following exception, and nothing will be displayed in the Explorer. Running-in of jdev/integratedWebLogicServer is however very well. I deployed the application in jdev to the autonomous WLS.
    ]] Root cause of ServletException.
    javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'com.oracle.pm.eai.supporttool.ui.bean.SupportToolBean'
         at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:192)
         at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:180)
         at oracle.adfinternal.controller.beans.ManagedBeanFactory.instantiateBean(ManagedBeanFactory.java:860)
         at oracle.adfinternal.controller.application.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:112)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:251)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:486)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:670)
    Here are the versions WLS and Jdeveloper, I used.
    WebLogic 10.3.3.0
    JDeveloper 11.1.1.3.0

    Hello

    It seems that there is something wrong with your support of bean is instantiated.
    Check that it is correctly stated in the taskFlow and you have a default constructor in your backing bean.

    Gabriel.

  • 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 Application - Development Mode deployment problem

    Hi Experts,

    I have jdev11.1.1.5.0 in combination with weblogic 10.3.5.

    my application works fine, while running on integrated wls (just give a click right and on my page jspx - auto deployment).

    If I go with manual deployment of option on same wls integrated or stand-alone wls means

    I can able to get my login page, if I have some means of connection he did re - direct to my index page than it would be problem? (it doent replicate this kind of integrated wls (auto deployment))

    Details of my Application
    use all adf security. my login page is in extended session bean index page - backing bean of limited scope.

    My diary shows, your user name and password is correct. This means that it can have access to my Module of the Application.

    use adfc - config to redirect
    <control-flow-rule id="__5">
        <from-activity-id id="__6">loginPage</from-activity-id>
        <control-flow-case id="__7">
          <from-outcome id="__13">error</from-outcome>
          <to-activity-id id="__8">loginPage</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__14">
          <from-outcome id="__16">success</from-outcome>
          <to-activity-id id="__15">Indexpage</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
    This project does not behave like this days Olden.

    I scored on the sample for deplying a standlone wls and wls adf application built-in. It is very good.

    can anyone guide me where am?

    one has an idea?

    so am manual deployment I had dialogue "deployment configuration" to deploy.

    I got this in my journal.
    [01:07:44 PM] Entering Oracle Deployment Plan Editor
    [01:07:46 PM] No metadata repositories found on target server. Using values found in adf-config.xml. //show this red collor

    User707, can you on which you deploy the application? It is a stand-alone server or server that comes with jdev?
    Question: can you post the url that you use to launch the application on the server? The url contains ".jspx" as part of it?
    If Yes, try to remove the ".jspx" out of the url.

    Timo

  • Error ADF application to a stand-alone weblogic deployment

    JDeveloper version: 11.1.2.2

    Question: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application on it. The deployment fails with the following message is displayed. The stand alone server, I built is on the same machine where jdeveloper is installed and I use same weblogic provided with jdeveloper install. The application works well on the integrated server. I have studied this issue and you have more or less the same answer of ADF installation run libraries. Can anyone please help me with exactly what I install and how?

    Thank you
    Saurabh.


    [09: 49:44] cannot determine the platform target profile. Using default
    [09: 49:44]-deployment began. ----
    [09: 49:44] the target platform's (Weblogic 10.3).
    [09: 49:55] recovery of the existing application information
    [09: 49:55] analysis of the dependence running...
    [09: 49:55] building...
    [09: 50:18] deployment of profile...
    [09:50:20] wrote on the Web for C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war application Module
    [09:50:20] Application deployment...
    [09: 50:24] [Deployer: 149191] Operation "deploy" on demand "EmployeeTrack_ViewController_webapp" boot on 'ADFServer '.
    [09: 50:26] [Deployer: 149193] Operation "deploy" on demand "EmployeeTrack_ViewController_webapp" failed on "ADFServer".
    [09: 50:26] [Deployer: 149034] an exception has occurred for task [Deployer: 149026] deploy EmployeeTrack_ViewController_webapp on ADFServer. : could not load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] WebLogic Server Exception: weblogic.application.ModuleException: could not load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] caused by: weblogic.management.DeploymentException: error: unresolved Webapp library makes reference to ' [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] check the server logs or the console of the server for more details.
    [09: 50:26] weblogic.application.ModuleException: failed to load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] undeployment.
    [09: 50:26] - incomplete deployment.
    [09: 50:26] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    In the colsole admin click on the name of one of the libraries, and then select the target tab and see if the checkbox for your (managed) server is set. If it's the library should be available, and you should not see the error.

    Timo

  • 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.

    Mr President

    This is the page of the glassfish Server

    gfurl.png

    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.

    webapplink.png

    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

Maybe you are looking for