Deployment of desktop ADF ERRORS

Hey guys;

I've been struggling with this for more than a week... I have read every single article and discussion about it and it's all the same responses with no result.

So I'm jumping with your help, we could solve this problem once and for all.

I'm doing an ADF Swing Desktop application... Here's what I did exactly:

1: create a new java desktop application (ADF).

2: creates a new business for a single table component.

3: create the new empty form

4: I slipped and fell from the data control component to my new blank form

5: I run the Jdev app it works but with a WARNING "WARNING: automatically initialization of a DefaultContext of getCurrent.»

(based on my reading this warning can be ignored)

Now the deployment:

1: right click on the view > deployment > deployment new profile.

2: profile of type: JAR file.

3: JAR Options: * I checked to include the manifest file

* in Main Class I clicked on browse and searched the main class that is App5Form you click on enter

now the area of the Main Class: view. App5Form

4: groups of files > new: * name of filegroup: LIBS

* Type of file groups: I chose libraries > OK

5: LIBS > contributors: select all available libraries

Untitled.jpg

6: ok!

Now, when I try to run it from cmd using the command 'java-jar G:\MyWork\App5\View\deploy\App5.jar' it gives me this error:

Exception in thread "main" java.lang.NoClassDefFoundError: oracle, adf, model, binding/DCErrorHandler

Caused by: java.lang.ClassNotFoundException: oracle.adf.model.binding.DCErrorHanamel

in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged (Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:305)

to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

The main class is not found: view. App5Form. Program ends.

Can so help please.

The General steps are described in the docs on in this tutorial https://docs.oracle.com/javase/tutorial/deployment/jar/build.html

However the other jars you use in your application will be the problem, as I have said before.

If you want to run the jar you build on another pc who installed Jdev, you must include all the pots in your. Then, however, you cannot run it (as I've already said). You can unpack the pot (a pot is a zip archive) and then run the normal command line java as you saw to run inside jdev. Git this, you must change the class path setting to point to the note unzipped in pots.

There are tools available which generate a native exe off such a jar file and follow the instructions below in the background of your. Not sure if there is any tool for free and if it works for your case, but Google will help you find such tools.

Another path to follow is java web start (https://docs.oracle.com/javase/tutorial/deployment/webstart/).

Timo

Tags: Java

Similar Questions

  • ADF Error: oracle.mds.exception.MDSRuntimeException: MDS-00168

    Hi all

    Another question, we are faced with adf ui error:

    ADF Error: oracle.mds.exception.MDSRuntimeException: MDS-00168


    Error ' oracle.mds.exception.MDSRuntimeException: MDS-00168 "when for deployment ADF application to integrated Weblogic instance of JDeveloper 11g


    Help, please.

    Hello

    This is due to a known issue for JDeveloper and ADF 11 g.

    To initialize the components ADFShare in a web environment, the oracle.adf.share.http.ServletADFContext must be initialized by request.

    Solution:

    Add the definition of the ServletADFContextFilter in the web.xml:

    ServletADFContextFilter

    oracle.adf.share.http.ServletADFFilter

    ServletADFContextFilter

    /*

    REQUEST

    FORWARD

  • Desktop icon error - cannot start programs using the icons

    original title: the desktop icon error

    When you try to click on the desktop icons to internet even the icon for Yahoo, has started 2 days ago, get 'cancelled due to restrictions in effect on this computer"looked at internet options, but no help, can't get the internet with the icon of internet explore that do not all other icons.

    Hi PhilWilfred,

    1. Did you the latest changes on the computer?
    2. You receive the error only on the desktop icons?
    3. You have security software installed on the computer?

    Check if the problem persists in safe mode.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

    If the problem persists in safe mode then I suggest that you perform the restoration of the system to the point while it was working fine.

    How to restore Windows XP to a previous state

    http://support.Microsoft.com/kb/306084

  • Remote Desktop connection - error trying to connect to the server.

    I use VISTA Service Pack 2 and was able to connect to my Windows 200 server using remote desktop from my laptop. Suddenly, it doesn't work on my laptop with the error "the remote session was disconnected because there are no Desktop Client Access License remotely to this computer. Please contact the server administrator. ». I am able to access the server from another computer using my login credentials via RDP, is not a problem with the license on the server. The problem seems related to the laptop that I use. I turned off both the anti-virus from Trend Micro and Windows Firewall., but still no change. I upgraded the remote desktop connection on my phone to version 6.0 for 32 bit Vista - no change.
    Any suggestion would be appreciated.

    Hi Shibree,

    If this does not work,
    I hope this helps.
  • The computer remote Remote Desktop connection error disconnected

    Hello

    I have Windows 7 on my desktop PC and connection Remote Desktop was working fine up until yesterday.  When I try to connect to the my home office PC (desktop and laptops get the same mssg) he now gives me an error that says "Remote Desktop Disconnected - this computer cannot connect to the remote computer.  Try to connect again.  If the problem persists contact the owner of the remote computer or network administrator. "Nothing on the remote PC has changed and I've checked all the settings to make sure that the remote connection has not been disabled on the desktop, but everything seems fine.

    Thanks for your help.

    Hi JenniferP,

    Because the question you posted is related to the Remote Desktop connection error, it would be better suited in the Technet Windows network. Please post your question in forum Windows 7 networking:

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking

    Concerning

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Unable to save the files to the desktop, the error msg says I don't have permission to do this and to cantact admin but I m user having admin status.

    IN WINDOWS 7, cannot save the files to the desktop, the error msg says I don't have permission to do this and to cantact admin but I m user having admin status. ALL SUGGESTED SOLUTUTION? THE FILE in question is created with ms word 2007. I can record on other places lik e in drive D: etc.

    I could open your Explorer of files and go to C:\Users\Vanbee (or any folder of your user name), then right click on the folder on the desktop it there and go to properties.  On the Security tab, make sure that you have a full control on the folder.

  • MacOS 10.10.5, Adobe Creative Cloud Desktop App Error: 204 during the refresh

    Dear community!

    MacOS 10.10.5, Adobe Creative Cloud Desktop App Error: 204 during the refresh. Then, by running the uninstall for CC App. program, downloaded CreativeCloudInstaller.dmg on the Adobe site and tried to install the App error Code. : 43 during the installation. I cleaned everything with Soft Cleaner, no effect. I deleted all the Adobe programs and applications related and downloaded CreativeCloudInstaller.dmg once again - during installation error: 43. Now, I'm speechless. Can someone please give me a hint, how I can solve my problem?

    Hello

    You will need to uninstall and reinstall the application.

    If you want you can follow the procedure:

    1) click on the Finder and find the options listed next to the Apple icon located in the upper left corner of the Office to screen and click the "Go" menu button and select 'utilities '.

    (Applications > Utiliites)

    Look for a CC Adobe and Adobe Application Manager folder under utility window and trash both folders.


    2) trash Adobe Creative cloud of many Applications.

    3)

    (1) right-click on the icon in the Finder, then select the option "Go-ToFolder.

    (2) you will get a text box, type in the following command and then press the 'return '. (Don't miss ~ symbol)

    ~/Library

    (3) then navigate to Application Support > Adobe.

    Open the Adobe folder and trash folders named AAMUpdater and OOBE.

    4)

    (1) right-click on the icon in the Finder, then select 'Go - To' folder.

    (2) you will get a text box, type in the following command and then press the 'return '.

    / Library

    (3) then navigate to Application Support > Adobe.

    Open the Adobe folder and trash folders named AAMUpdater, Adobe Application Manager and OOBE.

    5) click on the link below and download & run Adobe Cleaner tool:

    Select the option "Adobe Application Manager for Mac OS X 10.6 ' and then click on"Clean up selected. "

    https://helpx.Adobe.com/content/help/en/Creative-Suite/KB/CS5-cleaner-tool-installation-PR oblems/_jcr_content/hand-Sea/accordion_container_1/accordion-nominal/accordion-point-1/agreement I on-item-par/procedure/proc_par/step_3/step_par/download/file.res/AdobeCreativeCloudCleane r Tool.zip

    6) click on the link below and the downlaod Adobe Application manage and install the same. http://download.Adobe.com/pub/Adobe/creativesuite/CC/Mac/ApplicationManager9.0_all.dmg

    Once the installation is complete, the installation box will disappear.

    Open the Applications folder, then search icon Adobe Application Manager.

    Double-click it, it will start the update process and is updated for creative cloud application.

    Kind regards

    Sheena

  • Deploy virtual desktops for another AD area

    Hi Experts

    Im a view evaluation Horizon 6 running in a lab environment.

    I want to deploy virtual desktops in this scenario:

    Currently, all view and vSphere infrastructure are in abc.com

    Pls joins screenshot of configuring servers for that environment.

    I created Pools of office for manual, Full, LinkedClone, LinkedClone with pools persistent discs and RDS

    I would like to offer virtual desktops to other domain users in xyz.com

    Question 1

    View supports this other environment that approves use of domain?

    Question 2

    What type of virtual desktop pools is the most appropriate, can help pls to develop? (Thought Im of LinkedClone with persistent discs)

    Question 3

    View is primarily designed to manage in the same field of view and virtual desktop components in the design?

    Question 4

    What is any other link recommendation and the documentation can I speak?

    Thank you

    vwcon1-2014-08-06-17-36-28.jpg

    1: I think that one day two trust is required in all scenarios in which you deploy on several areas via a view environment.

    2: answer depends on your needs and what you want to achieve a level user and desktop computer.    The two would work in trusted domains.

    3:

    4: Try this https://pubs.vmware.com/horizon-view-60/topic/com.vmware.ICbase/PDF/horizon-view-60-architecture-planning.pdf document

  • Error al instalar creative pourrait para desktop. (Error code: 1).

    Various error from este como? Se han sown following problems:

    Error al instalar creative pourrait para desktop. (Error code: 1).

    Code 1 discussion https://forums.adobe.com/thread/1434528

  • deploy a 10g ADF on WebLogic 11 GR 1 material

    Hello

    If I ask the Oracle support any application deployment of 10g ADF (with 10g ADF libraries) on WebLogic 11 GR 1 material is supported, the answer is no, not supported (SR 7771680.992).
    (in reference to "Application taken servers supported by JDeveloper 10 g (10.1.3.x)" which mentions currently only WebLogic 8, 9 and 9.2
    See http://www.oracle.com/technology/products/jdev/htdocs/11/as_supportmatrix.html#1013)

    To the question why it is not supported, support of Oracle refers to this forum to get reactions from product management, maybe.

    My question
    (q1) Where can I get information on why Oracle can't stand a 10g ADF on WebLogic 11 GR 1 material application deployment?

    Comments from people who are planning to deploy a 10g ADF on WebLogic 11 GR 1 material or why Oracle should or should not support this is also welcome.

    Thank you very much
    Jan Vervecken

    Support a specific combination of a fresh (for things like trying to the combination, bug fixes for this specific combination, etc.).
    We have a certified ADF version that works with WLS 11 g - which would be ADF 11 g.
    We have seen a large demand for ADF 10 g with certification of 11g WLS - so we have not invested to certify this combination so far.
    If we see enough demand to justify the costs that we could do in a future update of JDev 10.1.3.

  • Deployment of mapping a error: duplicate database link exists

    Hello world

    If all goes well, it is a simple question. I have worked with OWB 10 g 2 for some time now without any problems. My project finished and I went to a different environment of OWB, always 10 gr 2 and now my mapping deployments are errors during deployment. Whenever I try to deploy the mapping, OWB also tries to create the database link, regardless because it already exists. It does not deploy the database link, but mapping deploys successfully, however. If I drop the database connection, and then to deploy a map there is no error but then if I deploy a second mapping back again (no surprise here).

    I tried to deploy the connector by assigning 'replace' and click on deploy. Which was fine, but according to, OWB, even though I just replaced the existing link DB, it has not yet see it was created. OWB always considered this connector as 'new '.

    Anyone know what I need to do for OWB to stop trying to deploy the DB link with each mapping? How can I tell him that the DB connection exists and that it is correct?

    Thank you!

    -Joe

    Hello

    I had the same question a few days ago... I'll tell you how I solved it.
    I think the real problem is that the link never gets marked as deployed => therefore, it is deployed with each mapping is to use it!
    You can even try to deploy it on its own and deploy process completes without error, but it is not marked as deployed...
    Why the link can't be marked as deployed? Whence the db_link?
    The link points to a location where you dragged a table (or any object) on your map.
    In my case, the location was first created and saved by another user before starting the development of a project (with a new user).
    I recorded the location with the original user and he scored again with my user that I could deploy and get marked accordingly.
    It is never apperead in my mapping deployments.

    Hope, I've been pretty clear... and useful!

    Joan.

  • Deploy EAR ADF ERROR file

    Hi Experts,

    I use jDev11g (11.1.1.5.0) and WebLogic Server Version: 10.3.5.0. When I'm deploying my EAR file in a stand-alone server, I get below error messages mentioned. Could you help me solve this problems.

    NoClassDefFoundError: org/apache/myfaces/trinidadinternal/taglib/UIXSelectItemTag

    a2c62:50d7cf6e:14097b54af6: - 7ffd - 0000000000006d7e > < 1377203492792 > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1377203490797 'for task 10'. Error is: "weblogic.application.ModuleException: could not load the webapp: ' MyWebApplicationName" "

    weblogic.application.ModuleException: cannot load the webapp: "MyWebApplicationName."

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:518)

    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:47)

    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:614)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)

    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)

    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:105)

    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)

    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)

    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)

    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:160)

    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:47)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.lang.NoClassDefFoundError: org/apache/myfaces/trinidadinternal/taglib/UIXSelectItemTag

    at java.lang.ClassLoader.defineClass1 (Native Method)

    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)

    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:295)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)

    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)

    at weblogic.servlet.internal.WebComponentContributor.containsAssignableClass(WebComponentContributor.java:193)

    at weblogic.servlet.internal.WebComponentContributor.contribute(WebComponentContributor.java:160)

    at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:217)

    at com.bea.core.repackaged.springframework.jee.spi.WLSBootstrap.deploy(WLSBootstrap.java:116)

    at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:174)

    at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:153)

    at com.bea.core.repackaged.springframework.jee.server.Bootstrap.deploy(Bootstrap.java:137)

    at com.bea.core.repackaged.springframework.jee.spi.WebComponentContributorBrokerImpl.initialize(WebComponentContributorBrokerImpl.java:45)

    at weblogic.servlet.internal.WebComponentContributor.initialize(WebComponentContributor.java:98)

    at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1386)

    to weblogic.servlet.internal.WebAppServletContext. < init > (WebAppServletContext.java:449)

    to weblogic.servlet.internal.WebAppServletContext. < init > (WebAppServletContext.java:493)

    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)

    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

    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:613)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)

    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)

    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:104)

    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)

    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)

    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:528)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    You messed up the template project. You should have no Trinity our view adf library in the template project.

    There may be some descriptors more added that shouldn't be there.

    It can be difficult to clean up the project. To get the knowledge which library are really needed in the model project, you must start a web application from merger expenses and create a small model project. She should have at least an application module, some eo and a few vo. Then search for the libraries in which this new project model used. Compare them with the libraries on your real project and remove all the libraries of your see here are not part of the new project.

    Make a copy of the entire workspace before doing that you otherwise cannot go back more later if necessary.

    Design you are trying to remove libraries from Trinidad, you added first, but if the application runs after that, you take the path using the new application.

    Timo

  • 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

  • Deployment of business ADF on weblogic server application

    Hello

    We create an ADF application. I had created a deployment plan and application (view and model) exported as EAR file. After that, I deploy the application on one different weblogic Server (other than the built-in). After you install the application on a weblogic server, I tried to start the application. The application threw an error:

    Message icon - Error An error occurred during activation of the changes, please see the log for more details.

    Message icon - Error weblogic.application.ModuleException:

    Message icon - Error java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: no entry credential Mapper found for user password indirection = myschema for data source SamplConee

    SamplConee is the name of the connection that I created. I tried to edit and save the password using the weblogic administration console, but not luck. How should we deploy the EAR file from an ADF application in order to maintain its properties?

    Thank you

    Kuldeep

    You can configure the data source on WLS server: http://docs.oracle.com/cd/E23943_01/web.1111/e13737/jdbc_datasources.htm

    Just use the same jndi name as in the module of your application.

    (and do not use the XA jdbc driver)

    Dario

  • 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

Maybe you are looking for