11g update 2 WLC embedded Java application does not

Migration of jdev 11g TP4 Update 11 g 2 (11.1.1.0.2), we find that the wars/ears deployed on weblogic embedded container do not contain their jar dependencies.

I created a simple web application to struts2 very to test 11.1.1.0.2 (which works well on 11gTP4) and found that a right click on the file web.xml and running give the following error:
...
<Apr 22, 2009 4:54:10 PM MDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> 
DefaultServer startup time: 17656 ms.
DefaultServer started.
[Running application Examples on Server Instance DefaultServer...] 
----  Deployment started.  ----    Apr 22, 2009 4:54:15 PM
Target platform is  (Weblogic 10.3).
Running dependency analysis...
2009-04-22 16:54:15.531: Writing WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Examples\Examples-Struts2WebApp-webapp
2009-04-22 16:54:15.562: Wrote WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Examples\Examples-Struts2WebApp-webapp
2009-04-22 16:54:15.703: Writing EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Examples
2009-04-22 16:54:15.734: Wrote EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Examples
Deploying Application...
<Apr 22, 2009 4:54:18 PM MDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Examples is not versioned.> 
<Apr 22, 2009 4:54:18 PM MDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Examples\Examples-Struts2WebApp-webapp. Please make sure that the annotations are valid. The error is org.apache.struts2.dispatcher.FilterDispatcher> 
<Apr 22, 2009 4:54:18 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1240440858156' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Examples-Struts2WebApp-context-root''
weblogic.application.ModuleException: Failed to load webapp: 'Examples-Struts2WebApp-context-root'
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
     Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     Truncated. see log file for complete stacktrace
>
<Apr 22, 2009 4:54:18 PM MDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Examples'.> 
<Apr 22, 2009 4:54:18 PM MDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'Examples-Struts2WebApp-context-root'
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
     Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     Truncated. see log file for complete stacktrace
>
[Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Examples on DefaultServer.: Failed to load webapp: 'Examples-Struts2WebApp-context-root'.
weblogic.application.ModuleException: Failed to load webapp: 'Examples-Struts2WebApp-context-root'
####  Deployment incomplete.  ####    Apr 22, 2009 4:54:18 PM
oracle.jdeveloper.deploy.DeployException
     at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
     at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
     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:436)
     at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
     at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: oracle.jdeveloper.deploy.DeployException
     at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
     at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
     ... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
     at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
     ... 12 more
#### Cannot run application Examples due to error deploying to DefaultServer.
[Application Examples stopped and undeployed from Server Instance DefaultServer]
Is there a simple setting I'm missing to get web applications running on the embedded container to include their dependencies?

Make sure the library entrance and classpath representing the struts classes is set to deploy by default. Integrated WLS is based on library references in the project and the classpath libraries and the deployment of the default to make sure of the correct jar indicator are included when running. Behavior should be the same if you application in one EAR and deployed using remote to the stand-alone server deployment. TP4 ran on OC4J who added optimistically all library and the jar to the CLASSPATH of the server classpath.

Tags: Java

Similar Questions

  • Creative cloud shows a update is available, but the application does not open?

    I'm under cloud created on a Macbook Pro with iOS 10.10 installed. The Adobe Updater is visible, indicating that I have an available update. When I select update and click Open Updater creative cloud window opens. But the wheel of death just runs and runs. Nothing is displayed. I have Adobe CC for installed photographers. How can I fix tis?

    Hello

    Please visit:-https://helpx.adobe.com/creative-cloud/kb/creative-cloud-app-doesn ' t - open.html

    Hope this helps!

  • JRE 8 update 31 on a Machine of Windows 8 'Java-version' does not

    Hi people

    I work for a software development company. For the moment, we test Java 8 features with our software and the use of Java 8 in our environment. For installation, we use an automatic installation of the .msi file for 32-bit and 64-bit Version of Java 8.

    So far, everything works fine on our test with Java update 31 8 machines. The only thing we noticed is that we had a few mistakes when we were checking the version of java via the console.

    For example, when upgrade us a Java 7 to 8 Java machine, we have first of all uninstall Java 7, restart and then install Java 8. After that the process, we receive an error when we execute the command 'java-version '.

    Error: The "java" command is not found or is written incorrect (not exactly this error, because we have a German version of windows).

    This only happens on machines with windows 8

    On a windows 7, we get a correct output:

    C:\ > java-version

    Java version "1.8.0_31".

    Java (TM) SE Runtime Environment (build 1.8.0_31 - b13)

    Java for 64-bit Server VM (build 25.31 - b07, mixed mode)

    We could resolve the problem on a windows machine 8 by adding the java installation directory in the systemvariable "path." Once the 'C:\Program Files\Java\jre1.8.0_31\bin' is added, the command returns the correct output.

    This work around is not a good option, in my opinion, because I don't want to install some GPO crazy to hardcode the installationdir in the systemvariable. I think that the installer must handle this task for me.

    Someone here run into similar problems with java on windows 8 at or someone knows a better way to solve the problem?

    Best regards

    Daniel

    We could resolve the problem on a windows machine 8 by adding the java installation directory in the systemvariable "path." Once the 'C:\Program Files\Java\jre1.8.0_31\bin' is added, the command returns the correct output.

    This work around is not a good option, in my opinion, because I don't want to install some GPO crazy to hardcode the installationdir in the systemvariable. I think that the installer must handle this task for me.

    Someone here run into similar problems with java on windows 8 at or someone knows a better way to solve the problem?

    Your "workaround" is your solution. The Java installer does NOT change the path. Any change in the path must be carried out by the user.

    Another alternative is to create a simple "java.bat" file that is located in a directory that is located on the path.

    This batch file can add the entry appropriate to the PATH environment variable and then launch Java.

  • The app is automatically updated on my ipad. Now, the application does not open. Help, please.

    The application updates automatically on my ipad. Now, the application does not open. Is it possible to fix it?

    The backup worked!

    I'm all set.

    Thank you very much!

  • ADF application does not work.

    Hello

    I create an application of ADF using Jdeveloper 11 g. It works very well if it is running on the default server.
    I have create a weblogic domain in weblogic 11g. Then I deploy this application in this area. The deployment is successful.
    However, the application does not work. After the login page, it shows a blank page and stop there.

    I paste the error in the log.

    avax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001
    oracle.jbo.DMLException: Houston-26061
    java.sql.SQLException: ORA-01005: password null; connection refused

    Check step 23 here:
    http://radalcove.com/blog/?p=34

  • the iTunes Setup program finishes, but the application does not appear

    For starters, I'm on Windows, but it seems that the system is not the problem because it's happened before, with my Macbook Air.

    I download iTunes on Apple's site and Setup will run as usual and finishes. But iTunes never displayed in Program Files, the destination he was supposed to have downloaded. I opened the Task Manager and tried to manually run the program yourself by using 'itunes.exe', but he writes that the application does not exist.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    The more information box has direct links with the current and recent if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit - for older video cards) as a workaround for problems with installation or operation, or compatibility with third-party software.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • The FireFox 42.0.1 application does not start.

    The FireFox 42.0.1 application does not start. I can uninstall and reload FireFox 37.0.2 and that worked, but now when I load 37.0.1 it installs really 42.0.1 that no longer works.
    I had to use IE 10 to contact Mozilla.
    Year annual should be ashamed of this...
    Can you tell me why Mozilla FireFox 42.0.1 installs but won't work?
    In addition, why FireFox 42.0.1 install when I try to install 37.0.2?

    It is possible that your firewall or other security software blocks or limit Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and allow your firewall to ask permission to get access full and unrestricted, again to install for Firefox and the plugin-container and the update process.

    See:

  • Update for Windows Vista (KB969947) security does not maintain install

    Update for Windows Vista (KB969947) security does not maintain install
    I have tried several times over the past two months installing this update, nothing seems to help scaned pc thinking it as spyware or some other malicious code nothing it just fails and I can't clear it out! any help at all would be great!
    Thanks in advance

    What application or antivirus security suite is installed and your current subscription?  What anti-spyware (other than Defender) applications?  What third-party firewall (if applicable)?

    A (another) Norton or McAfee application has already been installed on this machine (for example, a free trial version which is preinstalled when you bought it)?

    The foregoing despite...

    See the section "How to get help" of http://support.microsoft.com/kb/969947

    For individuals, please visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy.  If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    Consumer Security Support homepage
    https://consumersecuritysupport.Microsoft.com/

    For more information about how to contact your local Microsoft subsidiary for security update support issues, visit the International Support Web site: http://support.microsoft.com/common/international.aspx

    For enterprise customers, support for security updates is available through your usual support contacts.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • my webcam application does not work on my windows 7. It has suddenly stopped working. I tried to install the drivers of webcam from the websites of toshiba, to no avail.

    my webcam application does not work on my windows 7. It has suddenly stopped working. I tried to install the drivers of webcam from the websites of toshiba. but after downloading the drivers, when I run the winrar files, he said inexecutionable. Please help.also when I run the compatibility of the test program, it says the webcam application or incompatible, even if it worked very well earlier.

    See the help/support site Tosh or their forums.

    Have you recently updated of your drivers from somwhere system other than Tosh site or installed any new programs or perform any maintenance operation.

    Program compatibility test cannot be invoked

  • Oracle.adfmf.application does not exist

    Hello

    I installed the 5.1.1 Android and the API level 22.    on my 32-bit Windows 7 platform.

    I have installed and configured the JDeveloper12.1.3 and developed the Appplication of base according to the Oracle JDeveloper 12 c (12.1.3) tutorials - Setting Up Mobile Application Framework

    Now when I try to compile the project, I get the error below.


    I use the JAVA8.  and I put this JDK paths at the project level in libraries and Classpath

    Error (43): error: cannot find symbolLifeCycleListenerImpl.javaC:\JDeveloper\mywork\MyMobileApp\ApplicationController\src\applicationApplicationController.jpr
    Error (3): error: package oracle.adfmf.application does not existLifeCycleListenerImpl.javaC:\JDeveloper\mywork\MyMobileApp\ApplicationController\src\applicationApplicationController.jpr

    Its clear that the import oracle.adfmf.application.LifeCycleListener;    is a failure. 

    I've added all the mobile libraries to classpath in the JDeveloper, yet the compilation is put down.

    Which library, I need to add to the classpath to resolve this problem?

    Quick help is appreciated.

    -Khaleel

    Hi Shay,

    Thanks for the details. He has solved after I replaced my JDK 1.8.0 with 1.8.0_45 and remove the JDK1.7 from my system.  Now, the project has got compiled successfully without any errors.

    However

    Concerning

    Khaleel

  • Application does not open

    I have been using muse of Adobe for more than a year. I made an update of adobe which were displayed at the launch of the program, and now the application does not open.  Nothing happens when I try to open the app, and I'm unable to update my sites. Can you help me?

    I think that you need to uninstall the version you have on your PC or MAC and install the new version of Adobe Muse. Philippe

  • My CC desktop application does not open and shows a spinning wheel of progress without end. It also doesn't show Menu: home, applications, files, fonts, community.

    My CC desktop application does not open and shows a spinning wheel of progress without end. It also doesn't show Menu: home, applications, files, fonts, community.

    I use Windows 7. I tried several times the instructions here: App does not open. Wheel of progress turn continuously

    I am able to ping adobe.com and three other Adobe servers I found on a site help, but can't find them now.

    I can't do a ping activate.adobe.com

    Hi Michael,

    You can see the threads below where this issue has been addressed:

    Adobe Creative Cloud / Desktop App / Home Screen: constant spinning wheel

    Creative Cloud Desktop App taped blue spinning wheel after update.

    Kind regards

    Sheena

  • Can I disable on host large Pages If the Application does not support them?

    Guys,

    Ive read any literature on the management of resources, but unfortuntaly can't really get my head around a rather popular issue.

    "Should I turn off large pages with the Mem.AllocGuestLargePage parameter?

    My workload is 90% JBOSS Application servers running x 64 JBOSS/Java on windows 2008r2 clients

    in this environment, each guest has 4 GB of memory, but the workload on each machine is extremely similar, the kind of situation where you expect massive savings in memory caused by the GST. Infact ESXTOP watch 3800 + figures for COWH on these hosts.

    Now I know 2008R2 Server supports large pages, but I'm sure that JBOSS for Winodws only (and even if it did, its not currently enabled). Yes, am I right in thinking that, because my application does not make use of large pages, I will suffer any decline in performance by changing this setting? and even if I did it would be negligible? Or the fact that the guest operating system IE 2008R2 this is supported at the level of the BONE and the parameters memory application are irrelevant?

    Guests are R815s from Dell, 128 GB, 4 x proc 12core AMD jobs and even sheer theyre only hit 20% CPU while I am getting memory host warnings use in vCenter to 90% + use of memory (shared common = 95 MB!)

    If I remember well virtualizationis DMA actually disabled in bios R815, given that there seems to also be a bug where it randomly will not be so active pushing, even to the installer! I read about this on google, and trying to activate on the host has experienced the same problem as others while he is now off. Same IM not sure that this is and if its at all associated, but thought it was worth mentioning.

    Any help most appreciated and if any cancelation I did try and learn more about this with some research first etc. before asking

    Helps to have a reading of article André recent on the topic (published today), admitted that she, he is destined to VDI workloads, tho ' can help you in your search...

    http://myvirtualcloud.NET/?p=1797

  • Some applications does not respond after sleep (El Capitan)

    Product: 13 '' Macbook Pro retina (12.1) (base model sheet)

    El Capitan Version: 10.11.6

    The problem:

    When I connect after that my Macbook went down, I often have problems with some of the stock apps. In particular, I had this problem with the Mail Messages, reminders and calendar. This seems to be a problem when they are open before putting the macbook to sleep. This same problem happened with non-apple-stock applications.

    Once logged in, if I click on the application icon, the application window will come into focus. After that, I'm unable to use the application (as if frozen) and I often just see the spinning Rainbow mouse icon.

    Can I force quit the app and then open it again, but now the application does not load.

    To solve the problem, I can restart the macbook and all is well.

    Some others probably associated with funny things I saw (only attracted to this once... but did not look at one time or another):

    I open the calendar application after the macbook was sleeping and my full general calendar was empty (which would be nice if it were true!). In any case, I checked the 'accounts' and also found that there was no accounts! (I have 3 goes). So I wonder if there is a problem with the accounts after sleep since these apps I've had problems with all iCloud account and mail also uses some other accounts.

    Big Question: Is there something I can do to make that happen?

    Thank you very much for your help! Sorry if this is a double post, it is difficult to find an answer via google search.

    Start Safe Mode removes the system caches that can help...

    Follow these steps to start in safe mode.

    1. Start or restart your Mac.
    2. As soon as you hear the startup tone, hold down the SHIFT key.
    3. Release the SHIFT key when you see the logo Apple appears on the screen.

    After the Apple logo appears, this may take longer than usual to reach the login screen or your office. This is because your Mac performs a check of directory of your drive to boot in safe mode.

    To leave safe mode, restart your computer without pressing any keys during startup.

    Then try to Message, Mail, etc.

    If you still have problems, check the startup disk.

    Launch the disk utility located in/Applications/Utilities

    Then select the disk to boot on the left and then select the first aid tab and then click run.

  • the update of firefox 28 for mac does not, the bar just rotates, I can't get the update

    the update of firefox 28 for mac does not, the bar just rotates, I can't get the update. Thank you

    Hello

    Try to get the full version here:

    Then just install it.

Maybe you are looking for

  • No network connection possible but don't get list network

    Hey,. all of a sudden (without an update or change) my iphone 3 GS (32 MB; ios 6.1.6; never jailbreak, first owner) lost connection to the network and for a week, he has not got one... It comes after a call from Spain to the Germany. -several reboots

  • 2009 Macbook Pro. LGT charger dead on, any ideas

    I replaced battery with a brand new, nothing happens, dead as a Dodo

  • Code C80003FB: Windows doesn't update... updated.

    Every time I have ask windows update to check updates. I get the message Windows could not search for new updates. Error (s) found: Code C8003FB Windows Update encountered an unknown error. ???B

  • computer HP compaq mini 700

    HelloMy Compaq mini 700 Password check failedFatal error... system halted. CNU9144XTT I need the password supportGreetings

  • Does not play sound in my headphones

    I plugged my headphones in place of the helmet, but the sound continues to play through the speakers only. I tried to do the thing with "manage Audio devices" and you select headphones as a default value, but on mine, helmet doesn't show up as an opt