EA1 - Error deploying ApEx app

Hello,
I just had a problem deploying an app into production. There are a few apps but only this one has a problem. When I right click the app, and left click on deploy, I get the following error:
An error was encountered performing the requested operation:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.HTP", line 1536
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 228
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 305
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 2381
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 6482
ORA-06512: at "FLOWS_030000.HTMLDB_UTIL", line 1106
ORA-06512: at line 1
06502. 00000 - "PL/SQL: numeric or value error%s"
Just an FYI. I deployed the app the old way via export/import no problem.
Regards,
Dan

One thing you might look at is to do a textual DIFF between the file exported by APEX and the file exported by SQL Developer.
I've been working on an APEX application installer (installShield like) tool and was using similar code to the Java Command line export utility. What I found was that the file exported with APEX set and used a different security group ID than the one exported with My app. When trying to import the file from My App, I ran across the same problem.
I'm just wondering if the same is true here. The text diff should help you find out what is different.
Then the question is why, and why does it matter.

Similar Messages

  • Error deploying ADF App (Fusion Web Application) to JBOSS 7.1.1.Final

    When i'm deploying ADF App in JBOSS 7.1.1.Final AppServer it gives me the following in JDeveloper 11g release 2 (11.1.2.2.0):
    [02:53:17 PM] Target platform is (JBoss 5.x).
    [02:53:17 PM] Running dependency analysis...
    [02:53:17 PM] Building...
    [02:53:17 PM] Deploying profile...
    [02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Runtime
    [02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Schema
    [02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Page Flow Runtime
    [02:53:18 PM] Wrote Web Application Module to C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war
    [02:54:48 PM] Copied C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war to //10.10.1.11/jboss-as-7.1.1.Final/standalone/deployments/ola_ViewController_webapp.war
    [02:54:48 PM] Elapsed time for deployment: 1 minute, 30 seconds
    [02:54:48 PM] ---- Deployment finished. ----
    On the JBoss side it gives me the stack error: [http://justpaste.it/zom]
    I can´t understand what's missing.
    Thanks in advance.

    Ok finally i've done it...it deployed with no errors.
    But now when i look it in my browser it just shows me:
    <?xml version='1.0' encoding='windows-1252'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document id="d1">
    <af:form id="f1">
    <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
    <f:facet name="center"/>
    <f:facet name="header"/>
    <f:facet name="end"/>
    <f:facet name="start"/>
    <f:facet name="branding"/>
    <f:facet name="copyright"/>
    <f:facet name="status"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    Now i'm out of ideas.

  • Errors deploying HFM app copied using EPMA

    Any help on how to fix is appreciated,
    Dev and Prod are out of sync.
    I used the last good copy in dev to create app shell, then exported an ads file (prod) and loaded into dev shared library...
    After sync changes for Account, I depoly fine.
    Then compared to shared library and noticed Period/Year are different properties, I did not see any difference.
    After snyc of Period/Year cannot deploy due to validation errors:
    Validation Summary
    ==================
    Result : Failure
    Summary : There were 2 errors and 0 warnings during the validation process. For details refer the error and warning section of this log.
    Error Details
    =============
    Error : The 'Year' dimension has been modified since the first successful deployment of the application. See the Job Console to find out what has changed in this dimension since the first successful deployment of this application.
    Error : The 'Period' dimension has been modified since the first successful deployment of the application. See the Job Console to find out what has changed in this dimension since the first successful deployment of this application.
    ... If I need to recreate again, but is there a way to fix this in epma????

    Ok I found the problem, the security class and Consolidation methods needed to be renamed (a space in member name) on import profile.
    Ads import did not replace the associations for Acct,Entity,ICP, C1..C4.
    Need to delete associations for SC and CM, then reimport ads file.
    Validates and deploys now.

  • Error deploying JSF app on Sun 8.1 (Works fine on 9.0)

    Hello All,
    I have a simple JSF app which works fine on Sun App server 9.0 but throws the error below on 8.1. Please help!!!
    exception
    javax.servlet.ServletException: java.lang.Boolean
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    java.lang.ClassCastException: java.lang.Boolean
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         javax.faces.component.UICommand.broadcast(UICommand.java:312)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)Thanks.
    Message was edited by:
    ndnguy

    Make sure you don't include any JSF implementation jars in your web application.

  • Getting the BEA-101163 error while deploying the app on the server.

    I am getting the deployment error <Could not load user defined listener: java.lang.ClassNotFoundException: > while deploying the app on the weblogic 10.3.3 server.
    Please find the stack trace below :
    ####<Aug 18, 2010 2:56:43 PM UTC> <Error> <HTTP> <ss> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS
    Kernel>> <> <> <1282143403578> <BEA-101163> <Could not load user defined listener:
    java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         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)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Aug 18, 2010 2:56:43 PM UTC> <Error> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <<WLS Kernel>> <> <> <1282143403640> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1282143360031' for task '2'. Error is:
    'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         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)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         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)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Aug 18, 2010 2:56:43 PM UTC> <Warning> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <<WLS Kernel>> <> <> <1282143403734> <BEA-149004> <Failures were detected while initiating deploy task for application 'AOS'.>
    ####<Aug 18, 2010 2:56:43 PM UTC> <Warning> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <<WLS Kernel>> <> <> <1282143403734> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         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)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         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)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Aug 18, 2010 2:56:43 PM UTC> <Error> <Console> <ss> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <weblogic> <> <> <1282143403781> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         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)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
    >

    Did you fix this issue ? If yes .Can you please share the steps

  • Can't run the app due to error deploying to DefaultServer, jdev11.1.1.1.0

    Hello folks,
    I installed Jdeveloper 11.1.1.1.0 and migrated my application from the Jdeveloper 11.1.1.0.1 by following the wizard.
    Now my application cannot run. The following is what I get:
    DefaultServer startup time: 13485 ms.
    DefaultServer started.
    [Running application DirectedMessaging on Server Instance DefaultServer...]
    java.lang.NullPointerException
    java.lang.NullPointerException
    [11:10:09 AM] #### Deployment incomplete. ####
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:103)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:115)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.removeArchive(DirectoryModuleIO.java:95)
         at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.write(DirectoryModuleIO.java:146)
         at oracle.jdevimpl.deploy.adrs.wls.SplitSourceWarModuleIO$SplitSourceWarModuleDirectoryIO.write(SplitSourceWarModuleIO.java:80)
         at oracle.jdevimpl.deploy.fwk.ArchiveIO.write(ArchiveIO.java:24)
         at oracle.jdevimpl.deploy.adrs.wls.SplitSourceWarModuleIO.commitImpl(SplitSourceWarModuleIO.java:42)
         at oracle.jdevimpl.deploy.stripe.AbstractModuleIO.commit(AbstractModuleIO.java:82)
         at oracle.jdevimpl.deploy.stripe.DeploymentModuleImpl.commit(DeploymentModuleImpl.java:187)
         at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:261)
         at oracle.jdevimpl.deploy.war.WarDeployer.deployImpl(WarDeployer.java:100)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:86)
         at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
         at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
    #### Cannot run application DirectedMessaging due to error deploying to DefaultServer.
    [Application DirectedMessaging stopped and undeployed from Server Instance DefaultServer]
    How to handle such a situation ? Any ideas would be greatly appreciated.
    Regards,
    Valon

    I switched back to 11.1.1.0.1, loaded the backup of the app i made.
    In this version of JDeveloper the application runs fine, however the similar error as above is displayed in the log and i think is more meaningful then above.
    Here it is:
    INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
    <Jul 16, 2009 1:57:56 PM EDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'DirectedMessaging' due to error weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false]..
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         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)
         Truncated. see log file for complete stacktrace
    >
    Application Redeployed Successfully.
    Elapsed time for deployment: 22 seconds
    ---- Deployment finished. ---- Jul 16, 2009 1:59:06 PM
    Run startup time: 26203 ms.
    [Application DirectedMessaging deployed to Server Instance DefaultServer]
    Target URL -- http://****
    I hope this information will help to solve my original problem of this post. Any ideas ?
    Thanks,
    Valon

  • Error deploying to standalone OC4J app server

    Hey all,
    I created a web app with jdeveloper 10.1.3.3 using OC4J 10.1.3.3 as well. I'm using EJB and session beans to communicate with a database. nothing particularly fancy about it, i just read tables from the db. however, when i try and deploy through jdev to the standalone OC4J i get an error. here's the last part of the deployment log when it fails:
    Deployment Log:
    Binding ibmswauth web-module for application ibmswauth to site default-web-site under context root ibmswauth
    Operation failed with error:
    [ibmswauth:ibmswauth] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.PersistenceProvider for persistence unit WD_WORK.
    The only thing in my Persistence.xml file is the <persistence-unit> tag with name "WD_WORK", and in that a <jta-data-source> tag.
    Also, it runs fine on the local embedded server, it's only when i try and deploy that it gives this error. I even deployed my app to an EAR file and tried uploading it manually to the app server, still same error.
    any ideas?

    If you have a model project that has objects referenced by the view controller/UI project then you need to explicitly include them in the deployment. Unlike in embedded OC4J they wont be automatically included.
    Create an ADF library deployment profile in the model project and include the generated library in your UI project war file. You can add this jar to the project Libraries/Classpath then make sure it is included in the WEB-INF/lib Contributors list.

  • Receive error "bobj undefined" after deploying Web app to Win 2008 server

    Developed Asp 2 app in a Windows 2003 server environment with VS 2005 and an upgraded full version of Crystal Reports 2008.
    Installed full version of Crystal Reports 2008 on Windows server 2008.
    Copied Web app over to Windows 2008 server.
    App comes up fine until I attempt to display a report where I receive the bobj undefined error.
    Searched the forums and found that the majority of the problems are caused by the Aspnet_Client folder not being copied to c:\inetpub\wwwroot folder.
    The folder already exists and is populated. Just to be sure I copied the aspnet_client folder from the development environment over to Windows 2008.  Still get error.
    Installed vs2005 on Windows 2008 and applied all the necessary patches. Opened the Web app project and ran within VS 2005. Get same error "bobj undefined".
    Checked versions in Web.config for app as well as assembly entries in c:\windows\assemblies, c:\Windows\Microsoft .NET\Framework\v2.0.50727\ASP.NETClientFiles and all reflect the correct version 12.

    Well it appears that the problem is fixed. The issue was tha aspnet_client folder was indeed copied to c:\inetpub\wwwroot folder but the folder did not show up under the default Web site as a virtual directory in the IIS Service Manager.
    I created the virtual directory aspnet_client and pointed it to c:\inetpub\wwwroot\aspnet_client folder and now my reports render without error.
    I will try deploying the app to another VMWare Windows 2008 server and see if this will work. I don't want to have VS 2005 installed on the production system so I need to be sure that I only require the installation of the full version of Crystal Reports 2008. I am assuming the Crystal Reports runtime will also be installed.
    Installed full version of Crystal Reports 2008.
    Created virtual directory aspnet_client
    Copied ASP app over
    Reports now work.
    It appears that the Crystal Reports 2008 install can't create the virual directory aspnet_client on IIS7.
    Regards
      Paul

  • Errors deploying Enterprise iOS app through Profile Manager

    We manage about 35 iPads through Profile Manager, including deploying a custom made app.
    We first deployed this app in July and had no problems with it. Our third party developers have released an update for iOS 7 and we are running into problems pushing it out through Profile Manager.
    When I try to upload the IPA file through the web interface I get the attached error. Looking at the logs I see the following errors:
    Sep 16 14:42:50 mdm.servername.com ProfileManager[210] <Info>: Unable to find icon file for '/var/devicemgr/ServiceData/Data/tmp/temp_extracted_folder_for_data_file_30/Pay load/Hope.app/Icon-72.png'
    Sep 16 14:42:50 mdm.servername.com ProfileManager[210] <Info>: Unable to find icon file for '/var/devicemgr/ServiceData/Data/tmp/temp_extracted_folder_for_data_file_30/Pay load/Hope.app/Icon.png'
    This is the first time we've tried to update our custom app. In trying to narrow down whether it was a problem with Profile Manager or the app I uploaded an older version of Apple's Podcast app, and pushed it out to a test iPad, then uploaded the current version through Profile Manager and pushed it out to the iPads with no problems.
    Our developers say that nothing has changed from the original version to the new version.
    Any ideas?

    We could solve this by opening the firewall for some ports (443, 1640, 2195, 2196, 5223, ) and ip addresses (17.0.0.0/8). Have a look at
    OS X Server: Ports used by Profile Manager
    Start Profile Manager

  • Deployment error with sun app server 8.2

    hi,
    i'm a newbieto java programming.
    i'm following the j2ee tutorial.
    but i'm stuck when deploying
    could anyone help me on this?
    thanks in advance.
    Distributing /opt/CustomerBook/dist/customerbook.ear to [localhost:4848_server]
    Unable to construct properties list for: getConnectionPoolProperties
    deployment started : 0%
    Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    /opt/CustomerBook/nbproject/build-impl.xml:219: Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    BUILD FAILED (total time: 2 minutes 54 seconds)
    EXECUTION SECTION
    =================
    line 219:
    ** <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}" debugmode="false"/>**

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Deploying an app from export script stored in the database.

    I am in the situation where I want to deploy a copy of an application programatically into the current workspace, but each against a separate schema. The end game would be to have many copies of the same App in the same workspace (obviously with different application numbers assigned) but each app pointing to a different schema.
    The workflow would be something like this:
    <ol>
    <li>Create a new tablespace for the new schema</li>
    <li>Create the new Schema</li>
    <li>create the required objects in the new schema (we're going to use DataPump for that)
    </li>
    <li>Assign the schema to the current workspace (make it available to use for a new APP)</li>
    <li>Read the app.sql from a BLOB in the database and deploy it into the current workspace pointed to the new schema.</li>
    </ol>
    I was wondering if there are already API's in place that would help me do these things (especially steps 4 and 5).
    I started poking around in the ApEx internals, looking specifically at the deployment of the SAMPLE apps to see if there was anything I could use, but it looks like the WWV_FLOW_SAMPLE_APP package is wrapped so I can't see what it's doing.
    I also looked at the code behind the "COPY APPLICATION" function and it looks like I might be able to use wwv_flow_imp_parser.parse to install the application in the current schema, but would probably need some clarification on whether there are any "gotchas" there.
    If that works, then it seems the hard part is assigning the new schema to the workspace as normally that is done from within the INTERNAL user's workspace.
    Thanks in advance for the help.
    Doug

    Ok... For others who may be interested in this, I have figured out part of the answer...
    To complete steps 2 and 4 mentioned in my original messages (Creating the user and makeing it available to a workspace) here is what I've come up with.
    DECLARE
    l_username varchar2(256);
    l_password varchar2(256);
    l_df_ts    varchar2(256);
    l_tmp_ts   varchar2(256);
    l_PCID     number;
    l_workspace_name varchar2(255);
    BEGIN
    l_username := 'DOUG';
    l_password := 'DOUG';
    l_df_ts    := 'USERS';
    l_tmp_ts   := 'TEMP';
    l_workspace_name := 'HAAS';
    -- CREATE THE USER AND THEN ADD THAT USER TO THE CORRECT WORKSPACE.
    -- First make sure that
    --  1. The name you're trying to create is not a "reserved" name like INTERNAL
    --  2. We're not working in an installation that is "RUNTIME ONLY"
    --  3. We're not working with a schema that is already in place or restricted.
    IF  flows_030100.wwv_flow_provisioning.reserved_schema(p_schema => l_username) = false
    and not (flows_030100.wwv_flow_provisioning.site_admin_is_restricted
              and
             flows_030100.wwv_flow_provisioning.restricted_schema(p_schema => l_username, p_workspace_name => l_worlkspace_name)
    THEN
        -- CREATE THE USER
        flows_030100.wwv_flow_provision.create_user(
        p_username    => l_username,
        p_password    => l_password);
        -- ASSIGN THE TABLESPACEs
        flows_030100.wwv_flow_provision.set_user_tablespace(
        p_username    => l_username,
        p_default_ts  => l_df_ts,
        p_temp_ts     => l_tmp_ts);
        -- Grant the appropriate roles and privs to the user
        flows_030100.wwv_flow_provision.grant_initial_privs(l_username);
        -- Create the link between the workspace and the schema name.
         BEGIN
        -- FIRST get the Workspace ID (known as the PROVISIONING_COMPANY_ID) from the APEX Dictionary.
        -- This assumes that the workspace we're working in is HAAS
            select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
        -- Now insert a row into the company_schema table to line the schema to a workspace.   
            insert into flows_030100.wwv_flow_company_schemas (security_group_id, schema)
            values (l_pcid, upper(l_username));
            commit;
        EXCEPTION
           WHEN NO_DATA_FOUND then
                --IF things fail then we need to kill to drop the user that we created.
                flows_030100.wwv_flow_provision.drop_user(p_username => l_username);
                --Then rais the application error or do whatever...
                raise_application_error(-20100,'Trying to use an invalid worksapce - '|| l_workspace_name);
        END;
    end if;
    end;I'm still trying to work on deploying the APP stored in a BLOB to the workspace and so far have the following code, but get the message :
    ORA-20001: You do not have privs on the DAVID schema.
    ORA-06512: at "FLOWS_030100.WWV_FLOW_IMP_PARSER", line 1599
    ORA-06512: at line 29
    declare
      l_file_id   number := 2113831202674379;
      l_parse_as_schema varchar2(4000) := 'DAVID';
      l_new_ap_ID number;
      l_orig_ap_id number;
      l_workspace_name varchar2(255) := 'HAAS';
      l_PCID     number;
    begin
        execute immediate 'alter session set current_schema = FLOWS_030100';
        flows_030100.wwv_flow_security.g_security_group_id := 10;
        flows_030100.wwv_flow_security.g_user := 'ADMIN';
      -- Import copy from application with new application ID and name
      -- First get the new Application ID
      l_new_ap_id := flows_030100.wwv_flow_utilities.minimum_free_flow;
      BEGIN
        select flow_id
          into l_orig_ap_id
          from flows_FILES.wwv_flow_file_objects$
         where id = l_file_id;
      end;
      flows_030100.wwv_flow_imp_parser.parse (
         p_file_id          => l_file_id,
         p_parse_as_schema  => l_parse_as_schema,   
         p_install_as_flow  => l_new_ap_id,
         p_original_flow_id => l_orig_ap_id,
         p_adjust_offset    => TRUE
      -- Get the Security group ID
          select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
      -- reset name with new application name
      update flows_030100.wwv_flows
      set name = 'TEST_NAME'
      where id = l_new_ap_id
      and security_group_id = l_PCID;
    end;

  • Cannot run application due to error deploying to IntegratedWebLog

    Hi,
    When I run a jspx file in Jdeveloper, I get errors as follow.
    How to delete the extra jar file?
    ==========================================
    *** Using port 7101 ***
    C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=E:\JDEVEL~3\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;E:\JDEVEL~3\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\JDEVEL~3\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\JDEVEL~3\JDK160~1\lib\tools.jar;E:\JDEVEL~3\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\JDEVEL~3\WLSERV~1.3\server\lib\weblogic.jar;E:\JDEVEL~3\modules\features\weblogic.server.modules_10.3.3.0.jar;E:\JDEVEL~3\WLSERV~1.3\server\lib\webservices.jar;E:\JDEVEL~3\modules\ORGAPA~1.1/lib/ant-all.jar;E:\JDEVEL~3\modules\NETSFA~1.0_1/lib/ant-contrib.jar;E:\JDEVEL~3\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;E:\JDEVEL~3\WLSERV~1.3\common\derby\lib\derbyclient.jar;E:\JDEVEL~3\WLSERV~1.3\server\lib\xqrl.jar
    PATH=E:\JDEVEL~3\patch_wls1033\profiles\default\native;E:\JDEVEL~3\patch_jdev1111\profiles\default\native;E:\JDEVEL~3\WLSERV~1.3\server\native\win\32;E:\JDEVEL~3\WLSERV~1.3\server\bin;E:\JDEVEL~3\modules\ORGAPA~1.1\bin;E:\JDEVEL~3\JDK160~1\jre\bin;E:\JDEVEL~3\JDK160~1\bin;D:\apache-maven-2.0.11\bin;C:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\apps\FME\;C:\Program Files\Subversion\bin;C:\Program Files\TortoiseSVN\bin;D:\win2008EclipseWorkspace;E:\OracleBI_win2008_32_20101206\Oracle_BI1\bin;E:\OracleBI_win2008_32_20101206\Oracle_BI1\opmn\bin;E:\OracleBI_win2008_32_20101206\Oracle_BI1\opmn\lib;E:\OracleBI_win2008_32_20101206\Oracle_BI1\perl\bin;E:\JDEVEL~3\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    E:\JDEVEL~3\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=E:\JDEVEL~3\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Jdev11113_win2008_32\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=E:\JDEVEL~3\WLSERV~1.3 -Dwls.home=E:\JDEVEL~3\WLSERV~1.3\server -Dweblogic.home=E:\JDEVEL~3\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~2 -Dcommon.components.home=E:\JDEVEL~3\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=E:\JDEVEL~3\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~2\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~2\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~2\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~2\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~2\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=E:\JDEVEL~3\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\JDEVEL~3\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~2\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\JDEVEL~3\patch_wls1033\profiles\default\sysext_manifest_classpath;E:\JDEVEL~3\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Dec 8, 2010 10:28:16 AM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <Dec 8, 2010 10:28:16 AM PST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Dec 8, 2010 10:28:17 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Dec 8, 2010 10:28:17 AM PST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Dec 8, 2010 10:28:18 AM PST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Dec 8, 2010 10:28:18 AM PST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00004. Log messages will continue to be logged in C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Dec 8, 2010 10:28:18 AM PST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Dec 8, 2010 10:28:23 AM PST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Dec 8, 2010 10:28:30 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Dec 8, 2010 10:28:30 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Dec 8, 2010 10:28:39 AM PST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed..
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at 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:121)
         Truncated. see log file for complete stacktrace
    Caused By: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
         Truncated. see log file for complete stacktrace
    >
    <Dec 8, 2010 10:28:39 AM PST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'SimpleJSF'.
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
         Truncated. see log file for complete stacktrace
    >
    <Dec 8, 2010 10:28:39 AM PST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Dec 8, 2010 10:28:39 AM PST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00004. Log messages will continue to be logged in C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Dec 8, 2010 10:28:39 AM PST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:eded:4bde:3918:bbf1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.17:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:0:100:7f:fffe:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:0:5efe:c0a8:111:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Dec 8, 2010 10:28:42 AM PST> <Warning> <Server> <BEA-002611> <Hostname "WIN-IT8WDLG81KH", maps to multiple IP addresses: 192.168.1.17, fe80:0:0:0:eded:4bde:3918:bbf1%10>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Dec 8, 2010 10:28:42 AM PST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 30236 ms.
    IntegratedWebLogicServer started.
    [Running application SimpleJSF on Server Instance IntegratedWebLogicServer...]
    [10:28:44 AM] ---- Deployment started. ----
    [10:28:44 AM] Target platform is (Weblogic 10.3).
    [10:28:46 AM] Retrieving existing application information
    [10:28:46 AM] Running dependency analysis...
    [10:28:46 AM] Deploying 2 profiles...
    [10:28:47 AM] Wrote Web Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SimpleJSF\SimpleJSFWebApp.war
    [10:28:47 AM] Wrote Enterprise Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SimpleJSF
    [10:28:47 AM] Redeploying Application...
    <Dec 8, 2010 10:28:49 AM PST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed..
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at 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:121)
         Truncated. see log file for complete stacktrace
    Caused By: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
         Truncated. see log file for complete stacktrace
    >
    <Dec 8, 2010 10:28:49 AM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1291832928119' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
         Truncated. see log file for complete stacktrace
    >
    <Dec 8, 2010 10:28:49 AM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'SimpleJSF'.>
    <Dec 8, 2010 10:28:49 AM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'SimpleJSF'.>
    <Dec 8, 2010 10:28:49 AM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: :org.apache.commons.logging.LogConfigurationException:Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
         Truncated. see log file for complete stacktrace
    >
    [10:28:49 AM] #### Deployment incomplete. ####
    [10:28:49 AM] Remote deployment failed
    #### Cannot run application SimpleJSF due to error deploying to IntegratedWebLogicServer.
    [Application SimpleJSF stopped and undeployed from Server Instance IntegratedWebLogicServer]

    I delete that log file. But I get new errors.
    =================================================
    [Running application SimpleJSF on Server Instance IntegratedWebLogicServer...]
    [09:55:19 AM] ---- Deployment started. ----
    [09:55:19 AM] Target platform is (Weblogic 10.3).
    [09:55:19 AM] Retrieving existing application information
    [09:55:20 AM] Running dependency analysis...
    [09:55:20 AM] Deploying 2 profiles...
    [09:55:20 AM] Wrote Web Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SimpleJSF\SimpleJSFWebApp.war
    [09:55:20 AM] Wrote Enterprise Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SimpleJSF
    [09:55:20 AM] Redeploying Application...
    <ContextLoader><initWebApplicationContext> Context initialization failed
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [WEB-INF/my-other-managed-beans.xml]; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
         at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
         at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
         at 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:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         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)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         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:323)
         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)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.class$(ConfigBeanDefinitionParser.java:208)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.createPointcutDefinition(ConfigBeanDefinitionParser.java:539)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.parsePointcut(ConfigBeanDefinitionParser.java:476)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.parse(ConfigBeanDefinitionParser.java:142)
         at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
         at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
         at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
         at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
         at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
         ... 50 more
    <Dec 9, 2010 9:55:21 AM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [WEB-INF/my-other-managed-beans.xml]; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut.
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [WEB-INF/my-other-managed-beans.xml]; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.class$(ConfigBeanDefinitionParser.java:208)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.createPointcutDefinition(ConfigBeanDefinitionParser.java:539)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.parsePointcut(ConfigBeanDefinitionParser.java:476)
         Truncated. see log file for complete stacktrace
    >
    <Dec 9, 2010 9:55:21 AM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1291917320886' for task '1'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.class$(ConfigBeanDefinitionParser.java:208)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.createPointcutDefinition(ConfigBeanDefinitionParser.java:539)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.parsePointcut(ConfigBeanDefinitionParser.java:476)
         Truncated. see log file for complete stacktrace
    >
    <Dec 9, 2010 9:55:21 AM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'SimpleJSF'.>
    <Dec 9, 2010 9:55:21 AM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'SimpleJSF'.>
    <Dec 9, 2010 9:55:21 AM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.aop.aspectj.AspectJExpressionPointcut
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.class$(ConfigBeanDefinitionParser.java:208)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.createPointcutDefinition(ConfigBeanDefinitionParser.java:539)
         at org.springframework.aop.config.ConfigBeanDefinitionParser.parsePointcut(ConfigBeanDefinitionParser.java:476)
         Truncated. see log file for complete stacktrace
    >
    [09:55:22 AM] #### Deployment incomplete. ####
    [09:55:22 AM] Remote deployment failed
    #### Cannot run application SimpleJSF due to error deploying to IntegratedWebLogicServer.
    [Application SimpleJSF stopped and undeployed from Server Instance IntegratedWebLogicServer]

  • Error Upgrading ADF App to 12c

    I have a relatively new ADF application I'm working on.  I started in JDeveloper 11g R2, 11.1.2.4.0.  Everything works fine in 11g and with the recent release of JDeveloper 12c, we figured since this isn't a production app yet, we might as well upgrade.  So I opened my workspace in JDeveloper 12c, 12.1.2.0.0, and on opening the project it went through the project migration wizard, which ran without problems.  The problem is when trying to run my app, I get a deployment error.  I've tried running the application by right clicking on my main jspx and choosing "Run" (which is how I've always run locally), and also by choosing Application - Deploy - to InegratedWebLogicServer.
    Here is the error I am getting on Deploy:
    [01:36:29 PM] Deploying Application...
    [01:37:54 PM] [Deployer:149192]Operation "deploy" on application "app" is in progress on "DefaultServer".
    [01:38:02 PM] [Deployer:149192]Operation "deploy" on application "app" is in progress on "DefaultServer".
    [01:38:04 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application app on DefaultServer.: java.lang.ClassCastException: oracle.adf.share.jsp.ADFLibUtils cannot be cast to oracle.adf.library.webapp.LibraryUtils.
    [01:38:04 PM] [Deployer:149193]Operation "deploy" on application "app" has failed on "DefaultServer".
    [01:38:04 PM] weblogic.application.ModuleException: java.lang.ClassCastException: oracle.adf.share.jsp.ADFLibUtils cannot be cast to oracle.adf.library.webapp.LibraryUtils
    [01:38:05 PM] Deployment cancelled.
    [01:38:05 PM] ----  Deployment incomplete  ----.
    [01:38:05 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    And here is the full stack:
    ####<Sep 11, 2013 1:38:04 PM EDT> <Error> <Deployer> <scottw-vbx-win7> <DefaultServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <24357ef5-1754-474a-a5d2-4aa0837f3696-00000053> <1378921084821> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application "app".>
    ####<Sep 11, 2013 1:38:04 PM EDT> <Warning> <Deployer> <scottw-vbx-win7> <DefaultServer> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <24357ef5-1754-474a-a5d2-4aa0837f3696-00000065> <1378921084841> <BEA-149004> <Failures were detected while initiating deploy task for application "app".>
    ####<Sep 11, 2013 1:38:04 PM EDT> <Warning> <Deployer> <scottw-vbx-win7> <DefaultServer> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <24357ef5-1754-474a-a5d2-4aa0837f3696-00000065> <1378921084842> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: java.lang.ClassCastException: oracle.adf.share.jsp.ADFLibUtils cannot be cast to oracle.adf.library.webapp.LibraryUtils
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
      at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:586)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:339)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:846)
      at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1275)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:442)
      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:176)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Caused By: java.lang.ClassCastException: oracle.adf.share.jsp.ADFLibUtils cannot be cast to oracle.adf.library.webapp.LibraryUtils
      at oracle.adf.library.webapp.LibraryFilter.init(LibraryFilter.java:120)
      at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:577)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:137)
      at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:70)
      at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:87)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1789)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:822)
      at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)
      at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
      at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:586)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:339)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:846)
      at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1275)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:442)
      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:176)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    >

    Hello Timo, thanks for your response!  Apologies for my delayed response, I started a vacation shortly after my last post.
    I have compared my libraries in my app to the libraries in my sample app.  My app has all the same libraries plus the following libraries:
    ADF Common Web Runtime
    Oracle Page Templates
    JPS Designtime
    Oracle Extended Page Templates
    ADF Model Runtime
    ADF Faces Databinding Runtime
    Because of this, I suspect the problem I'm having is related to removing prefer-web-inf-classes from my weblogic.xml file.  Is there something new which is set in 12c which would cause this error that does not cause it in 11g?  I do not explicitly set prefer-application-resources or prefer-application-packages anywhere and I can not find those settings when I search my project for those strings.  Here is the error when I add prefer-web-inf-classes back into my weblogic.xml file:
    <Sep 25, 2013 1:08:05 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1380128884883" for task "0". Error is: "weblogic.application.ModuleException: weblogic.utils.compiler.ToolFailureException: Neither <prefer-application-packages> nor <prefer-application-resources> can be specified when <prefer-web-inf-classes> is turned on in weblogic.xml"
    weblogic.application.ModuleException: weblogic.utils.compiler.ToolFailureException: Neither <prefer-application-packages> nor <prefer-application-resources> can be specified when <prefer-web-inf-classes> is turned on in weblogic.xml
      at weblogic.servlet.internal.WebAppModule.initFilterClassLoader(WebAppModule.java:404)
      at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:260)
      at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:681)
      at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
      at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
      Truncated. see log file for complete stacktrace
    Caused By: weblogic.utils.compiler.ToolFailureException: Neither <prefer-application-packages> nor <prefer-application-resources> can be specified when <prefer-web-inf-classes> is turned on in weblogic.xml
      at weblogic.servlet.utils.WarUtils.configureFCL(WarUtils.java:386)
      at weblogic.servlet.internal.WebAppModule.initFilterClassLoader(WebAppModule.java:397)
      at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:260)
      at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:681)
      at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
      Truncated. see log file for complete stacktrace
    >

  • Error deploying the application with Crystal Report

    Hello,
    I'm using Visual Studio 2010 and I installed the required version of crystal report for it. I'm developing a windows Application with C# and Crystal Reports. The program runs correctly in the visual studio but when I tried to deploy it by adding the setup it gives me the following warnings:
    - Unable to find dependency 'MICROSOFT.VISUALSTUDIO' (Signature='B03F5F7F11D50A3A' Version='1.0.5000.0') of assembly 'crdb_adoplus.dll'
    +- The 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' item selected requires 'Microsoft.Net.Framework.2.0'. Select the missing prerequisite in the Prerequisites Dialog Box or create a bootstrapper package for the missing prerequisite.     +
    - No 'HomeSite' attribute has been provided for '.NET Framework 2.0 SP2', so the package will be published to the same location as the bootstrapper.
    I tried to ignore the warnings and deploy it but when I try to open the crystal report and in the program it gives me an error message then an empty report.
    I also tried in the Prerequisites to choose the option : Download prerequisites from the same location as my application. but when I do that I receive the following errors:
    - The install location for prerequisites has not been set to 'component vendor's web site' and the file 'MDAC28\mdac_typ.exe' in item 'Microsoft Data Access Components 2.8' can not be located on disk. See Help for more information.
    - General failure building bootstrapper.
    - Unrecoverable building error.
    of course In addition to the previous error.
    I'm not using the click-once deployment.
    Can you please help and advice me with that? I tried to search through the net for these warnings but with no luck of the solution.
    Thank you,

    No, .Net Framework 2 is not installed. I'm using windows 7 so I installed .Net framework 4. I tried to Install .Net 2 but it doesn't install because of windows 7. I also tried to add it in the prerequisites but again with no luck in solving the issue.
    If I try to deploy the App and install it. When I try to open the crystal report the app crushes and gives me the following error:
    Report load failed.
    exceptions:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at DataViewer2.Form5.crystalReportViewer1_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Edited by: starrysky88 on Sep 13, 2011 11:35 AM

  • Unable to deploy ADF app from Jdev 10.1.3.3 to OAS 10.1.3.1

    Dear colleagues,
    I'm deploying my app from JDev 10.1.3.3 to OAS 10.1.3.1. And it is driving me crazy, my application is a J2EE ADF application. When I try to deploy I'm getting the following errors: I've tried everything during days, but still I'm not able to run it :(. The application is working fine in Jdeveloper
    This first error, I could solved adding the jhsadfrt-10.1.3.jar in the OracleAS_1\j2ee\home\applib directory. See the error solved:
    Operation failed with error:
    ******************** FIRST ERROR (SOLVED)********************************************
         Missing class: oracle.jheadstart.model.adfbc.v2.JhsApplicationModule
         Dependent class: amaos.model.common.AmaosModule
         Loader: amaos.root:0.0.1
         Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/ejb2.jar
         Configuration: <ejb> in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\amaos
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "amaos.root:0.0.1" (from <application> in /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/): This loader has been closed and should not be in use.)
    ******************* CURRENT ERROR AFTER SOLVING THE FIRST ****************
    The missing class is available from the following locations:
    1. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jct.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    2. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jmt.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    3. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/adfm.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    Any ideas?
    Thanks
    Message was edited by:
    Benalúa

    Benalua,
    (sorry, I don't know how to type the "u" with the diacritic mark above it in your name)
    Did you deploy the ADF 10.1.3.3 libraries to the 10.1.3.1 app server? An alternative might be to apply the 10.1.3.3 patch to the 10.1.3.3 app server.
    John

Maybe you are looking for