ClassNotFoundException when deploying to WLS with new JDev 11g patch

I installed WLS and patched WLS with the new ADF lib ,installed the new jdev 11g , everything went well
but when I want to deploy an application to the WLS I got this error .
java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:135)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
Truncated. see log file for complete stacktrace
>
I had to comment out listerner-class ientry n the weblogic-application.xml, then it works.
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<!-- <listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
-->
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>

Hi,
as read in this thread : Re: Always fail to deploy to server when (Create a Simple EJB Session Bean )
>
This is a known JDeveloper 11g bug. If you look into the packaged EAR file, JDeveloper inserts some entries into the weblogic-application.xml file to register some listeners to perform some internal tasks it needs to deal with.
The issue is that these classes are part of the ADF runtime and installed as part of the provided ADF domain. They are not provided as part of a standard WLS installation. Thus when you deploy a JDeveloper 11g packaged application to a non ADF augmented WLS 10.3 instance, you get a Classloading error on deployment because the specific listener-classes are not available.
The relevant bug # for this is:
BUG#7487416
EAR FILE PACKAGING SETS FIXED DEPENDENCY ON
JPSAPPLICATIONLIFECYCLELISTENER
I believe a fix for this will be provided in the first patchset for JDeveloper 11g.
In the meantime, if you want to workaround it, extract the weblogic-application.xml file from the EAR file, manually remove the listener entries, put the modified file back into the EAR file and then deploy it.
-steve-
>
It solved the problem for me.
But you should now get another problem, like some of us on this forum : ADFLogger will be missing. If so, please report to this thread for helping us : Standalone WLS server instance deployment failure - missing ADFLogger
Regards.
Luc-

Similar Messages

  • I can't find folder when I make Search with new OS X Mavericks update?

    1- I can't find folder when I make Search with new OS X Mavericks update? I have 4 Tr HD when am looking for my file I have to make search but now search can't find files?????
    2- alt is not working?

    Hello,
    I use to do search like this before I update my Mac, how I can do it now?

  • When Apple solve problems with new iTunes calendar sync with windows and outlook?

    When Apple solve problems with new iTunes calendar sync with windows and outlook?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    More Info here...
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622
    If necessary...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • When access WiFi home with new iphone6 plus, this WiFi stops

    I upgraded into iPhone 6 plus.
    When I access WiFi home with new iphone, this WiFi stops.
    (Macbook pro worked with this WiFi.)
    Then I reset the modem and router.
    WiFi recovers.
    But when I access WiFi with new iphone again, WiFi stops.

    Hi JeremyDesign, 
    Start with the article below to troubleshoot issues with Wi-Fi on your iPhone 6 plus. To do that, start with forgetting the network by going to Settings > Wi-Fi, tap the info button to look at the settings and you will see the option to forget it. Join the network again and test it. 
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/en-us/TS1398
    Take care,
    -Norm G. 

  • HT1414 When updating my iphone with new software it came up on screen with the cable and itunes sign (which is what I should get when restoration has been completed) yet it is still saying restore. I have tried 3 times and the screen won't change. HELP!

    When updating my iphone with new software it came up on screen with the cable and itunes sign (which is what I should get when restoration has been completed) yet it is still saying restore. I have tried 3 times and the screen won't change. HELP!

    If the sign does not go away it has not completed the restore. So you are incorrect when you say it "keeps completing the restore" if that message is still displayed.
    Do you get an error message? If so, what is the error number?

  • Lost calendar on iphone4s when I sycned icloud with new ipad

    I lost all of the history in my calendar on my iphone when I set up new ipad. Is there a way to retrieve it? I went back into settings already and selected the setting so that it is not deleting after so many days/weeks.

    Sign out of old email and sign in with new.

  • Error when deploying ADF application to new WebLogic Server

    Hello,
    My java-free workplace is getting into ADF development. We've purchased Fusion Applications but don't have the hardware or software yet. I am trying to get a development machine set up ASAP so I can play around with ADF and later SOA Suite.
    I have never dealt with WebLogic Server before. I have just taken some training on ADF and SOA Suite and want to play around with what I've learned quickly, as it will be a while until we get our real environment set up and I don't want to forget anything. During the training the environment was already set up for us, so everything just worked. So at this point, I'm fine having everything entirely localized to this machine for the sake of playing around.
    I've taken a brand new VM image of a 32-bit Win7 machine and installed:
    -Python
    -jDeveloper 11.1.2.3.0
    -Oracle Database Express (for the sake of having some data to play around with)
    -WLS 10.3
    -ADF for Oracle Fusion Middleware 11.1.1.7
    With WLS, I created a new domain and gave it some credentials.
    I can create a ADF application, make connections to my db tables, and build the business components I need based on them. I've created a simple jsf page with the word "test" as my default page.
    Then I go to deploy. It can find the WLS domain fine, builds the WAR, but always fails when trying to deploy it and then start it. My error, which I've googled for hours and cannot find a solution to (because of my little understanding of WLS) is:
    *Unresolved Webapp Library references for "ServletContext@29372801[app:webapp module:webapp.war path:/TorDemoApplication-DemoUI-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false]*_
    Is there a common step I am missing?
    Thanks
    Tor

    Tor, you didn't miss a step but you used the wrong turn in the middle.
    JDev version are tidily coupled to wls versions. Read my blog http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/ to get more info on that. So the first decision to take is if you want to use SOA, BPMN and stuff like that, then use JDev 11.1.1.7.0 or if you like to use JSF2.0 and faclets withotu SOA, then use JDev 11.1.2.3.0.
    As you said you are working with SOA later on 11.1.1.7.0 is the right version for you. WebLogic server 10.3.6 with the right adf runtime installed and there should be no problem.
    Timo

  • Java.lang.ClassNotFoundException when deploy application on Weblogic 10.3

    Hi all, when I deploy an application on Weblogic 10.3 the following error occurs
    the following detail is shown on the summary screen when I deploy the application via control
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    com.excellence.exoa.sso.SsoSessionListener
    The deployment has been successfully installed
    the following detail is shown on the log
    Could not load user defined listener: com.excellence.exoa.sso.SsoSessionListener
    java.lang.ClassNotFoundException: com.excellence.exoa.sso.SsoSessionListener
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
    at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:117)
    at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:65)
    at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1765)
    at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1126)
    at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    the following listener is configured in the web.xml
    &lt;listener&gt;
    &lt;listener-class&gt;com.excellence.exoa.sso.SsoSessionListener&lt;/listener-class&gt;
    &lt;/listener&gt;
    and the SsoSessionListener class is packaged in the mainframe.jar. there are two mainframe.jar in this ear, the first which include SsoSessionListener in the souce directory and the other mainfrain.jar which extend the SsoSessionListener is in the ./extend/mainframe.jar
    How can I fix this error ? any suggestion?
    Thanks
    Jayson
    Edited by: Jayson on Feb 12, 2009 3:37 AM
    Edited by: Jayson on Feb 12, 2009 3:54 AM

    I have in log:
    2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
    l setLifecycleContextBuilder
    WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
    nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
    lize
    INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
    2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
    sourceProvider <init>
    INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
    2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
    trap add
    INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
    tchCredential
    WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
    mains\base_domain\config\oracle.
    2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
    Exception
    WARNING: Incomplete connection information
    Edited by: Debuger on Mar 26, 2009 11:18 AM

  • Operating system not found when deploying to machines with two hard drives using MDT 2013.

    Computers with two hard drives will not boot after the install OS step in the task sequence.  I get the "An operating system wasn't found.  Try removing drives that don't contain an operating system" error.  I am able to get the
    machine to boot by swapping the hard drives' boot order, but the  task sequence won't complete after this.  The deployment works fine on machines with one hard drive, and I'm not getting any errors from the task sequence.  I'm deploying windows7
    enterprise x64 using MDT2013.  This is a new custom image and task sequence generated using MDT2013.  I can't remove the second hard drive because there are scripts that run on the second hard drive during deployment and also because I don't desire
    to remove and re-install 250 hard drives.  I've not experienced this problem with earlier versions of MDT.

    The bdd.log file you sent does not show two internal drives, it shows only one.
    Console > Please wait while DiskPart scans your configuration... ZTIDiskpart 12/16/2013 9:57:04 AM 0 (0x0000)
    Console > DiskPart has finished scanning your configuration. ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > DISKPART> ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > Disk ### Status Size Free Dyn Gpt ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > -------- ------------- ------- ------- --- --- ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > Disk 0 Online 60 GB 60 GB ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > DISKPART> ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > Volume ### Ltr Label Fs Type Size Status Info ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > ---------- --- ----------- ----- ---------- ------- --------- -------- ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Console > Volume 0 D DVD-ROM 0 B No Media ZTIDiskpart 12/16/2013 9:57:05 AM 0 (0x0000)
    Is this the problem?
    Keith Garner - keithga.wordpress.com

  • Problem when updating af:table with new records

    Hi,
    I have a page that shows two tables from the same DB table but with different VOs.
    Table1 displays records where date_column is within the current month, table2 displays all records.
    The problem is that when I add new record and return to the page, I find out that the new record has been added to both tables, it’s shown in table1 even though its date is not within this month.
    When I run the page again the problem is solved and everything is in the right place !!
    How can I fix this?

    Hi,
    you will have to re-query the iterators because you add the new row to a VO - which is an iterator - that wont filter your input (instead you add to a filtered iterator). However, its strange that both tables show that value because if these are different VO they should be independent. Only if they are instances of the same VO tehy are expected to show the same data
    Frank

  • ClassNotFoundException When Starting Managed Server with NodeManager

    Hi Experts,
    ENV:
    Weblogic Server 10.3.3
    Webcenter 11.1.1.3
    My managed server can be brought up correctly by stopManagedWebLogic.sh <ManagedServerName>. But when trying to start them up, app on that server can not run correctly, and node manager log complained that below classes are not found:
    oracle.jrf.wls.JRFStartup
    oracle.security.jps.wls.JpsWlsStartupClass
    oracle.core.ojdl.weblogic.ODLConfiguration
    oracle.jrf.AppContextStartup
    oracle.ias.cache.Startup
    oracle.dms.wls.DMSStartup
    My Nodemanager is setup following instructions in OBE.Administering Managed Servers by Using the Node Manager(http://www.oracle.com/technology/obe/fusion_middleware/wls103/installconfig/admin_mngd_srvr/admin_ms_using_nm.htm#t4). Output javaclaspath of setWLSEnv.sh has been copy&pasted to admin console->server->..->Server start->classpath
    Thanks,
    Todd

    Trying setting the property StartScriptEnabled=true instead of false.
    You can change this in the nodemanager.properties file (usually located in the directory <middleware-home>/wlserver_10.3/common/nodemanager)
    The classes are set in the startscripts, such as setDomainEnv, which is called by startWebLogic.
    The latter script is set by default in the nodemanager.properties file, through the property StartScriptName=startWebLogic.cmd.

  • How to trigger process chain when datasource is loaded with new data? PUSH

    Hi all,
    Till now we use the pull method to load data in BW which is done manually......but we would like to work with the PUSH method where whenever new data is loaded in the datasource an event is triggered which inturn triggers the process chain...
    how is this possible? can we do this on a timestamp on the datasource to trigger the event?
    rgds,
    wills

    hi Geo,
    Thanks for ur response. I appreciate it.
    The case is slightly different. I am working on Bank analyzer data which is residing in a source system defined to load the results from the Results DataBase, a part of the Bank analyzer.
    If it was R3 we have the standard calling procedures...but now the data in not in R3 but in Bank analyzer.
    I am keen to look at some procedure to push the data automatically whenever an end user execution is done at the BA level into the BW.
    ur help would be highly appreciated....
    thks,
    rgds.
    wills

  • Firefox crashes when trying to print with new hp 8500a printer

    works fine with windows explorer and eprints form ipad just crashes when you try to print from email in firefox

    Is the HP Smart Web Printing extension installed in Firefox? <br />
    orange Firefox button > Add-ons, then select Extensions <br />
    If an extension by that name is there, disable it and see if that was causing Firefox to crash. Some users have reported a crashing problem related to that extension.
    If not that, see this: <br />https://support.mozilla.com/en-US/kb/Firefox%20crashes#w_getting-help-with-your-crash
    Type '''about:crashes''' in the URL bar and hit Enter. <br />
    Click the hyperlinks to bring up the Crash Report pages and copy'n'paste the URL of each of those reports into the message box here. We'll see if we can help you figure out what is causing those crashes to happen.

  • When syncing iPhone 4 with new update songs turn into "other" files

    Hello,
    Yesterday i upgraded the iphone software to ios7, after doing this everything was working well but when it tried to sync my music files from itunes it said it was syncing music file until the iphone had synced completely when they turned into "other" files.  I ahve tried restoring it but nothing has worked and it keeps happeneing.  Was wondering if anyone was also having this problem and could point me in the right direction.
    Thank you inadvance.

    So far there is no fix, there are many threads on this topic and many people with this problem. We are all ticked off and Apple needs to fix this ASAP. They don't seem to care.

  • MacBook Pro Freezes When Viewing Any Video with new iTunes

    I, too, am having problems with the latest iTunes update. My MacBook Pro freezes completely. Total lock-up. This happens when trying to view any video, including video podcasts. I have to hold down the power button for several seconds to get my laptop to turn off. Any other MBP users experiencing this?

    Hi there, I have the same problem as you guys, everything was fine before iTunes 7.6 or iTunes 7.6.1 I tried both, before those updates I could watch any video in iTunes without any issue, after that when I play a video, a random video my Macbook freeze totally, sometimes comes alive but 90% of the cases I have to make a hard shutdown (press and hold the power button). I can't believe this kind of bugs in a software that is so mature. Help please!

Maybe you are looking for

  • Syncing Classic IPod to ITunes on a G5

    After 5 plus years of success I can no longer sync my classic IPod to ITunes on my G5. It will sync for a short time and move some songs to the IPod, but then will stop with the following message: "Attempting to copy to the disk "my ipod" failed. The

  • Where is distiller 9.0?

    When trying print using Adobe pdf from Quark 6.25. I'm asked to locate Adobe Acrobat Distiller. So I find the folder Adobe Acrobat 9 Pro, Distiller is greyed out. So I cancel print. Message appears "Adobe pdf cannot be used because Acrobat Distiller

  • Translation Builder an WebForms

    I need to translate my forms in many european languages and I decided to use Translation Builder. Translation Builder, I belive, choose the language using the registry NLS_LANGUAGE parameter. When I try to use it in WebForm I can't change NLS_LANGUAG

  • Mobility Anchor and AAA Overide VLAN Assignment

    Hello, I read some document 2 years ago that dynamic VLAN assignment was not possible with Anchored WLANs. Please I would like to know if this is now possible. The network setup would be as follows: 1. Foreign and Anchor WLC (5508) with single SSID f

  • Unable not find the monitoring object(idoc monitoring ) in BPmon

    Hello Guys,      As part configuration  of IDOC monitoring in BPmon configuration ,while i am creating monitoring object for IDOC monitoring (solman_workcenter->Business process operations ->setup Business process monitoring  -->selected  the solutio