Dependency Package in Exploded Application WLS6.1sp2

I am working with the sample application used in Chapter 24 of Professional
Java Server Programming J2EE 1.3 Edition. The application is a test for
displaying ClassLoader information for ejb and web modules and their
associated dependent packages. I am able to deploy the packaged EAR without
a problem under WLS 6.1sp2, but when I attempt to deploy the same
application in exploded format, I am getting a NoClassDefFoundError during
deployment of the ejb module. The manifest files are unchanged and the
dependent jar files are located at the root of the exploded application...
below is a sample of the directory structure.
My question is, where should I put dependent classes and/or packages in an
exploded application and how do I setup the manifest to load them?
Thanks in advance for any help,
Tim Kuntz
\ear_root
Util1.jar
Util3.jar
Util6.jar
Util7.jar
\ejb
\depend1
\META-INF
MANIFEST.MF
Manifest-Version: 1.0
Class-Path: Util1.jar Util3.jar Util6.jar Util7.jar
http://www.theserverside.com/resources/articles/J2EE-Deployment/chapter.html

Here is the answer I received from a BEA Developer Relations Engineer
regarding this...
"When you deploy the EAR file, it is deployed under one classloader. When
you deploy the EAR file in the exploded format, then each EJB jar file is
loaded in a separate classloader. As long as the dependent (helper) classes
are in the classpath, you can always redeploy the EJB jar file, but if you
want to make changes to the dependent class then you have to restart the
WebLogic Server."
"Tim Kuntz" <[email protected]> wrote in message
news:3c616a90$[email protected]..
I am working with the sample application used in Chapter 24 ofProfessional
Java Server Programming J2EE 1.3 Edition. The application is a test for
displaying ClassLoader information for ejb and web modules and their
associated dependent packages. I am able to deploy the packaged EARwithout
a problem under WLS 6.1sp2, but when I attempt to deploy the same
application in exploded format, I am getting a NoClassDefFoundError during
deployment of the ejb module. The manifest files are unchanged and the
dependent jar files are located at the root of the exploded application...
below is a sample of the directory structure.
My question is, where should I put dependent classes and/or packages in an
exploded application and how do I setup the manifest to load them?
Thanks in advance for any help,
Tim Kuntz
\ear_root
Util1.jar
Util3.jar
Util6.jar
Util7.jar
\ejb
\depend1
\META-INF
MANIFEST.MF
Manifest-Version: 1.0
Class-Path: Util1.jar Util3.jar Util6.jar Util7.jar
http://www.theserverside.com/resources/articles/J2EE-Deployment/chapter.html
>
>

Similar Messages

  • GC on WLS6.1sp2 and WLS7sp2

    Hi All,
    Does any find that there is GC problem on WLS6.1sp2? I had an application(web
    module) which deployed on both WLS6.1sp2 and WLS7sp2. Both server with same configuration
    and initializing min and max heap size to 64m. The occupied memory in heap is
    about 20Mb after full GC in both server before the test. When I perform a stress
    test on them, I found that garbage collection behavior is different.
    In WLS6.1sp2, after running my load test for a period of time, the occupied memory
    is about 50Mb after full gabage collection. If I go on stress on the server, OutOfMemoryError
    generated. Server has to be restarted. It seems that even full gc, it can't release
    all unused objects.
    In WLS7sp2, after running my load test for a period of time, the occupied memory
    is still 23-25Mb after full gabare collection. There is no problem if I go on
    to stress the server.
    It seems that the performance of WLS6.1sp2 is not acceptable. It can't release
    unused objects. Does any have the same experience on WLS6.1? How can I solve this
    problem in WLS6.1? Otherwise, I have to migrate all my program to WLS7. Thx a
    lot.
    Karen

    Karen,
    You should try testing weblogic 6.1 with SP4. There are some fixes
    related to memory leaks in Wl 6.1 SP3 and SP4.
    -Kiran
    "Karen Law" <[email protected]> wrote in message news:<3e9d11e1$[email protected]>...
    Hi All,
    Does any find that there is GC problem on WLS6.1sp2? I had an application(web
    module) which deployed on both WLS6.1sp2 and WLS7sp2. Both server with same configuration
    and initializing min and max heap size to 64m. The occupied memory in heap is
    about 20Mb after full GC in both server before the test. When I perform a stress
    test on them, I found that garbage collection behavior is different.
    In WLS6.1sp2, after running my load test for a period of time, the occupied memory
    is about 50Mb after full gabage collection. If I go on stress on the server, OutOfMemoryError
    generated. Server has to be restarted. It seems that even full gc, it can't release
    all unused objects.
    In WLS7sp2, after running my load test for a period of time, the occupied memory
    is still 23-25Mb after full gabare collection. There is no problem if I go on
    to stress the server.
    It seems that the performance of WLS6.1sp2 is not acceptable. It can't release
    unused objects. Does any have the same experience on WLS6.1? How can I solve this
    problem in WLS6.1? Otherwise, I have to migrate all my program to WLS7. Thx a
    lot.

  • Latest Settings Dependency Package (1.2.0.21) kills TP battery meter

    After installing the latest Settings Dependency Package (i.e. version 1.2.0.21)  the ThinkPad battery meter has disappeared from my Windows task bar.
    Downgrading to 1.1.1.15 -- which can still easily be found via Google -- brings it back.
    Bug (I guess) or feature? Does anybody have a solution or will I just have to wait for the next release of Settings Dependency Package to have it fixed?
    ThinkPad X1 Carbon (3460), Windows 8.1 Preview (had this issue /w stock Windows 8 as well, so it's not Preview specific)
    X1C (3460-2SG) , Windows 8 Pro

    >> Would you recommend staying with Windows' energy settings instead??
    Use Windows to manage power plans (e.g. Energy saver, balanced, high performance, etc) and settings (lid close action, power button action, sleep after XXX minutes, etc)
    Use the Power section of Lenovo Settings (the metro app) to manage ThinkPad-specific settings, such as Battery Stretch, 30 Day Standby, etc
    >> can you tell me how to uninstall the Windows 7 Power Manager? It does not show up in the installed applications control panel. 
    Lenovo Settings Dependency Package and Power Manager actually share the same app GUID and several common components.  To get rid of the old Power Manager remnants which don't belong on Win8, uninstall Lenovo Settings Dependency Package.  Then re-install it.

  • Error in loading package in the application

    Hi all,
    We are getting an error in loading packages in our application.We are using oc4j.
    The following is the error message we got.
    Not Found
    The requested URL /credit/pls/cnhcalms/add_new_customer.handleAction was not found on this server.
    Thanks in advance.

    Hi Rajat:
    Thank you for the reply.
    I had the xercers jars in jdk/jre/lib/endorsed directory.
    If I remove these, the ejbql works. I do need these in there for a different reason. Is there any way I can have the xercers jars in jdk/jre/lib/endorsed directory and still the ejbql work on oc4j.
    Thanks,
    Sabu

  • Lenovo Settings Dependency Package for Windows 8.1 - fails on T440s

    Hello everybody,
    I just tried to install the Lenovo Settings Dependency Package for Windows 8.1  on my T440s and it repeatedly tells me that it fails because mfplatt.dll is missing. Has anybody experienced that and knows how to proceed in this case?
    Thanks for your help

    I confirm the problem on T510 too.
    I have Windows 8.1 PRO N.
    I installed the windows Windows6.3-KB2835517-x64.msu windows media package.
    After this, I can restart Lenovo Settings Dependency Package and it works wright, without the error on MFPlat.dll
    And after it works, my camera started to work correctly!
    Bye

  • Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS

    Hi All,
    https://bugbase.adobe.com/index.cfm?event=bug&id=3071298
    As per above link this bug resolve(latest build) but i am facing  Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS, using the packaging tools.
    (for  inappPurchase Demo app --- i used below link code)
    http://code.google.com/p/in-app-purchase-air-ios/
    Thanks,
    Sunil Rana

    Hi Everyone,
    I'm getting basically the same error. Are there any rules or guidelines that we are suppose follow when writing an app for iOS? Is there a way to know exactly where it is crashing? My apps are not MXML, only actionscript. Also I made sure I have no errors not even warnings in my SWF file, but still no go! 
    Getting the same error.
    Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
            at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler
    .java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    regards,
    Keith

  • Static File in Exploded Application

    I am trying to read a gif from an exploded application.
    The exploded application is recognized ( I can view it's index.html page. ), but I can not view a gif that is part of the app.
    Any suggestions? Is there some special configuration that is necessary for static files?

    Hattie <[email protected]> wrote:
    I am trying to read a gif from an exploded application.
    The exploded application is recognized ( I can view it's index.html page.
    ), but I can not view a gif that is part of the app.
    Any suggestions? Is there some special configuration that is necessary for
    static files?Where are gif's located and how are referring those gif's in your html page?
    Kumar

  • Packaging a vb application

    Hi all!
    Has anyone tried packaging a vb application (using the Packaging and Deployment Wizard) with an activex control derived from a java bean using the bridge?
    What are the files that need to be included along with the ones packed by default by the wizard? What should be their path?
    The need is to package such a vb application so that it will run smoothly after installation on the target machine which does not have either vb or Java.
    Cheers!
    Shailesh

    Hi all!
    >
    What are the files that need to be included along with
    the ones packed by default by the wizard? What should
    be their path?You simply need the JRE which will be on the client machines in the path that was created by the wizard, the typelib+jar files(s)+registry entries.
    The path does not matter as long as it refers to the JRE and the typelib that you will install on the clients
    The need is to package such a vb application so that
    it will run smoothly after installation on the target
    machine which does not have either vb or Java.
    You will need to package the jre as well if the clients do not have it. As for VB i dont know what is required - when you package the vb in vb6 it puts in everything for you i thought - but i cant be sre.
    Cheers!
    Shailesh

  • Packaging an interactive application!

    Hello all,
    I hope that you are well!
    Here, I am facing a challenge with SCCM 2012 SP1 and an application that we want to package, so we can push that application with SCCM 2012 SP1.
    Here is the issue...that specific application (.exe) which as been build in 1997 :-( ...did not have an option to install it silently, no switch like /q /silent and so on.
    To install that specific application we need to follow the wizard, by clicking Next until it's installed on the PC.
    We did tried to virtualize that app with App-V 5, without obtaining a good result, we're having issue when the sequencer start.
    So, my question is...Is there anyway that I can achieve this, packaging an interactive application so we can push it with ConfigMgr 2012 SP1.
    Any ideas, are much than welcome...
    Best regards,
    Stephane

    Check if your application supports the -r switch which you can use to "record" interactive responses into a setup.iss file. This is a pretty old technology.
    http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/CreatetheResponseFile.htm
    http://unattended.sourceforge.net/installers.php
    (see InstallShield section)
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Anyone tried to deploy IBM's Java resource adapter for IMS on WLS6.1sp2?

              Has anyone had success or attempted to deploy the IMS Connector
              for Java (IBM's resource adapter) on WLS6.1sp2? I would like to
              use this to connect WebLogic to IMS via IMS Connect 1.2?
              Thanks
              Sam
              

              "Sam Naylor" <[email protected]> wrote:
              >
              >Has anyone had success or attempted to deploy the IMS Connector
              >for Java (IBM's resource adapter) on WLS6.1sp2? I would like to
              >use this to connect WebLogic to IMS via IMS Connect 1.2?
              >
              >Thanks
              >Sam
              Sam,
              I was wondering if you were able to use the IMN Connector RAR file. I was able
              to deploy but that was teh extent of my effort.
              Appreciate you insight!
              

  • No download for ThinkPad Yoga 12 dependency package 1.6.32.00?

    Our ThinkPad Yoga 12 OEM boxes (also X1 Carbon Gen 3) have dependency package 1.6.32.00 pre-installed (i assume it is for Lenovo Support & Lenovo Companion Metro apps).
    we are trying to rebuild enterprise loads, but in the support website, the only one that can be downloaded is a old version 1.6.28.0 (2014/08/14) for older models ThinkPad Yoga , Yoga 11e, X1C, X1C Gen 2 from http://support.lenovo.com/en/downloads/ds034404
    It is not listed in model 20DK device matrix download page either (only settings dependency package for Lenovo Settings Metro app) http://support.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-yoga-series-laptops/thinkpad-...
    is it located in another place? or we have to call enterprise support to get it?
    Solved!
    Go to Solution.

    yipcw wrote:
    Our ThinkPad Yoga 12 OEM boxes (also X1 Carbon Gen 3) have dependency package 1.6.32.00 pre-installed (i assume it is for Lenovo Support & Lenovo Companion Metro apps).
    we are trying to rebuild enterprise loads, but in the support website, the only one that can be downloaded is a old version 1.6.28.0 (2014/08/14) for older models ThinkPad Yoga , Yoga 11e, X1C, X1C Gen 2 from http://support.lenovo.com/en/downloads/ds034404
    It is not listed in model 20DK device matrix download page either (only settings dependency package for Lenovo Settings Metro app) http://support.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-yoga-series-laptops/thinkpad-...
    is it located in another place? or we have to call enterprise support to get it?
    i figured it out, you can get the latest one, 1.6.36.00 is at
    http://download.lenovo.com/lenovo/content/windows8/download-dependency-81.htm

  • Where is weblogic_sp.jar in wls6.1sp2??

    I download wls6.1sp2,but.
    After I install it in win2000,in lib directory weblogic_sp.jar isn't exist!!
    why??
    help me!!
    regds

    Hi,
    I think the service pack is actually contained in the weblogic.jar file,
    so there's no need for a weblogic_sp.jar. The reference to
    weblogic_sp.jar in the start script is probably there for old time's
    sake :-)
    Nils
    simon wrote:
    >
    I download wls6.1sp2,but.
    After I install it in win2000,in lib directory weblogic_sp.jar isn't exist!!
    why??
    help me!!
    regds--
    ============================
    [email protected]

  • KB2879017 setup error - failed to migrate dependent packages

    Hi this error "KB2879017 setup error - failed to migrate dedpendent packages" during installation of Microsoft Security pacthes at Windows XP SP3 pc . I'm using IE7 (version 7.0.5730.13) . Below logs the error. Anyone can advice?
    275.407: Destination:C:\Program Files\internet explorer\iexplore.exe (7.0.6000.21357)
    275.407: UpdateSpUpdSvcInf: Source [ProcessesToRunAfterReboot] section is empty; nothing to do.
    275.407: MigrateHotfix: Migrating hotfix KB2586448-IE8
    275.407: QFE KB2586448-IE8 has no backup directory to migrate.
    275.407: Migrating QFE KB2586448-IE8 with command line: update.exe -Z -Q -B:sp3qfe
    289.797: Update.exe failed 1603.
    289.797: MigrateHotfixes: Migration of KB2586448-IE8 failed
    289.797: DoInstallation: Migration failed
    290.641: Failed to migrate dependent packages.
    351.032: Message displayed to the user: Failed to migrate dependent packages.
    351.032: User Input: OK
    351.032: Update.exe extended error code = 0xf0ea
    351.032: Update.exe return code was masked to 0x643 for MSI custom action compliance.

    This forum is for questions and issues with the MAP Toolkit. You will need to post this question in a forum that is related to the software you are having trouble with.
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • Settings Dependency Package?

    Is there any advantage to installing the Settings Dependency Package to my x220 Windows 8 pro system?
    Solved!
    Go to Solution.

    Read this thread
    As of now, no. I installed it on my upgraded W530. apparently, the Lenovo apps are coming eventually, but right now, the package is pretty useless.
    W530(2436-CTO): i7-3720QM, nVidia Quadro K2000M,16GB RAM, 500 GB hard drive, 128GB mSATA SSD, Ubuntu 14.04 Gnome, Centrino Ultimate-N 6300.
    Yoga 3 Pro: Intel Core-M 5Y70, Intel HD 5300, 8GB RAM, 128GB eMMC, Windows 8.1, Broadcom Wireless 802.11ac.

  • [Yoga 13][Win 8.1] Unable to install the settings dependency package

    After upgrading to Windows 8.1, the extended settings for the camera (resolution and the like) disappeared from the Lenovo Settings app. The app correctly points out that I do not have the settings dependency package installed, but I have yet to find an installer for it that actually installs it (it points out that it's not a Thinkpad system).
    So, is there any way to return my camera to its former higher-quality resolution?
    If it helps, I'm running the latest drivers, and the lenovo settings app is v2.2~.

    http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS031994

Maybe you are looking for