Depending libraries not found

Hello,
JDev: 11.1.1.4.0
WLS: 10.1.3.4
OS: Windows 7
In our Application we have multiple projects : 1 model, 1 ViewController (for the base application), x ViewController projects for the different taskflows.
We want to be able to deploy all projects seperately, to allow for easy patching of the application.
To test this, I created another application with just a model and 1 viewcontroller project (standard ADF Application Template).
I created an ADF Jar for the model and deployed it to the integrated WLS.
I created an EAR for the ViewController, which doesn't include the JAR nor the classes of the model, and also deployed it to the integrated WLS.
Supprise : My app doesn't find the configuration file /model/common/bc4j.xcfg. This file is presented in the JAR (verified).
I'm pretty sure that the link between the ear file and the jar file is gone.
So I started creating a METAINF.MF file for the JAR with the content:
Manifest-Version: 1.0
Created-By: Filip Huysmans
Implementation-Title: aModel Shared Library
Extension-Name: aModel
Specification-Version: 1.0.0
Implementation-Version: 1.0.0
Implementation-Vendor: HuysmansI added a weblogic-application.xml file to the ViewController project with the content:
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
                      xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
  <library-ref>
    <library-name>aModel</library-name>
    <exact-match>false</exact-match>
  </library-ref>
</weblogic-application>But even then, I got the same result.
Adding to that, in the WLS console, on the Overview tab of my shared library (JAR), I don't see my ViewController application as being an application that references this library (table at the end of the page).
What do I do wrong?
Is there any good guide (with examples) on how to do this?
Thank you in advance.
Filip Huysmans.

Thank you both for your explanations and help!
@igor:
I run the script from NB, I have't installed ant separatly to run in from the console
1) Can I enable the debug option in NB, too? I haven't found a possibility to edit ant options there.
2) How can I execute the fx:jar alone?
I think I haven't quite understand yet how my changes in build.xml interact with build-impl.xml and jfx-impl.xml and where I have to put the fx:jar.
Do I have to create a new target in build.xml and insert it there? I don't think so, because all the other preperations from the xml's weren't done in this case.
Do I have to overwrite the -do-jar-with-manifest target and insert it there?
Or put it just under the project-tag in build.xml and it is connected automatically with the building process from the xml's?
I made a minimal Test-project: A new JavaFX-Project with one external jar (log4j). After building without changes I had the same error as above :-(
Here is the log from netbeans after running the target "jar":
init:
Deleting: \NetBeansProjects\Test\build\built-jar.properties
deps-jar:
Updating property file: \NetBeansProjects\Test\build\built-jar.properties
compile:
Building jar: \NetBeansProjects\Test\dist\Test.jar
Copy libraries to \NetBeansProjects\Test\dist\lib.
Building jar: \NetBeansProjects\Test\dist\Test.jar
Detected JavaFX Ant API version 1.1
Deleting: \NetBeansProjects\Test\dist\Test.jar
Deleting: \NetBeansProjects\Test\dist\lib\Test.jar
Deleting: \NetBeansProjects\Test\dist\README.TXT
Skip jar copy to itself: Test.jar
Skip jar copy to itself: lib/log4j-1.2.16.jar
jfx-deployment:
jar:
BUILD SUCCESSFUL (total time: 1 second)Why is the "Building jar"-section twice? And where does it come from, I haven't found this logging in the xml's? Why is the Test.jar deleted after building? Im am confused...
@jsmith:
I hope that it will run with NB, but otherwise I will try your solution with the javafxpackager - thanks!

Similar Messages

  • MacPorts 4.6 on Lion - dependency libiconv not found?

    I'm running OS X 10.7.3 and have successfully installed xtool 4.6 and the command line utilities for it. I have a local repository established, yet when I run this command: sudo ports install xdotool, the port is found, but I see this:
    sudo port install xdotool
    --->  Computing dependencies for xdotool
    Error: Dependency 'libiconv' not found.
    Error: Status 1 encountered during processing.
    yet when I look in /usr/lib, I see this:
    ls -l /usr/lib/libiconv*
    lrwxr-xr-x  1 root  wheel       16 Feb 21  2012 /usr/lib/libiconv.2.4.0.dylib -> libiconv.2.dylib
    -r-xr-xr-x  1 root  wheel  2105216 Feb 21  2012 /usr/lib/libiconv.2.dylib
    lrwxr-xr-x  1 root  wheel       20 Feb 21  2012 /usr/lib/libiconv.dylib -> libiconv.2.4.0.dylib
    I've seen posts that people have broken terminal and other packages by removing and reinstalling libiconv. What is the correct way to resolve the missing dependency, without breaking other installed packages?
    Thanks.

    MacPorts maintains its own libraries in /opt. You'll have to ask MacPorts why it doesn't install this dependency or use system libraries.

  • Classes on which ur servlet depends is not found in classpath

              i am trying to deploy a servlet in exploded form in weblogic 7.0.Its is deployed correctly but when i call the servlet from a html file i.e. index.html it throws an error http:<Error> <HTTP> <101250>
              stating that the classes on which my servlet class depends is not found in classpath.I have set classpath manually and also created a domain name "ApplicationDomain" and i have put my application "WebApp" in application's directory in the domain
              it throw the folowiing error with exceptions
              <May 28, 2003 12:09:54 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=1642082,name=WebApp,context-path=)]: Servlet
              class myclasses.Gservlet for servlet Gservlet could not be loaded because a class on which it depends was not found in t
              he classpath D:\bea\user_projects\Applicationdomain\applications\WebApp;D:\bea\user_projects\Applicationdomain\applicati
              ons\WebApp\WEB-INF\classes.
              java.lang.NoClassDefFoundError: myclasses/Gservlet (wrong name: Gservlet)>
              <May 28, 2003 12:09:54 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=1642082,name=WebApp,context-path=)] Servlet f
              ailed with ServletException
              javax.servlet.ServletException: [ServletContext(id=1642082,name=WebApp,context-path=)]: Servlet class myclasses.Gservlet
              for servlet Gservlet could not be loaded because a class on
              

    Configuration file bc4j.xcfg not found in the classpath.

  • Servlet Class dependency is not found at weblogic startup.

    I have the following ear file which includes:
    web-inf\lib (contains all the needed utilities jar)
    *ejb.jar
    *webapp.war (The WEB-INF\lib dir inside war file contains all the needed utilities
    jars.
    I get the following BEA-101250 error saying that a servlet could not be loaded
    because a class that it depends on is not in the classpath. But I think I place
    all the needed jars in the startWebLogic.cmd file as well as in the WEB-INF\lib
    of the ear and war files. However, if a classs that a servlet depends on is not
    found, why doesn't weblogic simply tells us what that class is (instead of guessing
    to death)? How can I find which class that the servlet depends on is not found?
    Thanks.
    BEA-101250
    Error: [context]: Servlet class className for servlet svltName could not be loaded
    because a class on which it depends was not found in the classpath classPath.\nt.
    Description
    [context]: Servlet class className for servlet svltName could not be loaded because
    a class on which it depends was not found in the classpath classPath.\nt.
    Cause
    One of the classes the servlet class uses was not recognized by the Web application
    classloader.
    Action
    Make sure the class is available either in WEB-INF/classes or WEB-INF/lib or
    system classpath.

    Hmm, do you perhaps have the prefer web-inf-classes set in weblogic.xml?
    -- Rob
    rock wrote:
    I place all the utilties class in the top level APP-INF/lib. Same error. I installed
    this application on JBoss and everything runs fine. I really don't know what
    classes or jar that weblogic says that a servlet depends on.
    There are only a finite number of places where you can put all the needed jars
    in which that servlet depends:
    1. myapp.ear/APP-INF/lib
    2. myapp.ear/WEB-INF/lib
    3. or put it to a directory in the ear and refer to each jars in the CLASS-PATH
    line of the MANIFEST.MF file.
    4. myweb.war/WEB-INF/lib
    5. EJBs are in myapp.ear top directory
    6. Refer to all the jars in startWebLogic.cmd script as it starts.
    I still don't know what jars I am missing.
    Thanks.
    Rob Woollen <[email protected]> wrote:
    rock wrote:
    Rob,
    I remove all the classpath, but when I deploy the ejb complains thatit missed
    all the needed utilities class. Ok, stop there. If the utilities classes need to be seen by both the
    EJBs and webapp, then placing them in WEB-INF/lib is not enough. That
    makes them available only to the webapp.
    If you're using 8.1, then the solution is pretty simple. Move your
    utility classes into a top-level directory named APP-INF/lib
    ie
    ear/APP-INF/lib/utils.jar
    ear/fooejb.jar
    ear/fooweb.war
    If you're using < 8.1, then you can still move the jars to APP-INF/lib,
    but you'll need to add manifest class-path entries to the EJB and webapp.
    -- Rob
    I again place it on - the ear deploys fine (ejbs
    and war). But the starting servlet could not loaded because it cannotfinds a
    class that it depends on. I think I reference all the classes or jarsthat it
    needs - so I need it to tell me which one. I don't know why weblogicmakes it
    so difficult. It took me a month already and all I need to do is findthe class
    that it complains about.
    Rob Woollen <[email protected]> wrote:
    Yes, it would be nicer if that exception had more information.
    You told the web container the servlet-class in your web.xml. THe
    web
    container tried to load it and got a NoClassDefFoundError.
    Unfortuantely that exception doesn't include much information.
    NoClassDefFoundErrors are caused by something in a parent loader
    depending on something in a child classloader.
    Step #1 is for you to remove everything you've added to the $CLASSPATH.
    If that doesn't solve your problem, post again.
    -- Rob
    rock wrote:
    I have the following ear file which includes:
    web-inf\lib (contains all the needed utilities jar)
    *ejb.jar
    *webapp.war (The WEB-INF\lib dir inside war file contains all the
    needed
    utilities
    jars.
    I get the following BEA-101250 error saying that a servlet could notbe loaded
    because a class that it depends on is not in the classpath. But Ithink I place
    all the needed jars in the startWebLogic.cmd file as well as in theWEB-INF\lib
    of the ear and war files. However, if a classs that a servlet dependson is not
    found, why doesn't weblogic simply tells us what that class is (insteadof guessing
    to death)? How can I find which class that the servlet depends onis not found?
    Thanks.
    BEA-101250
    Error: [context]: Servlet class className for servlet svltName couldnot be loaded
    because a class on which it depends was not found in the classpathclassPath.\nt.
    Description
    [context]: Servlet class className for servlet svltName could notbe loaded because
    a class on which it depends was not found in the classpath classPath.\nt.
    Cause
    One of the classes the servlet class uses was not recognized by theWeb application
    classloader.
    Action
    Make sure the class is available either in WEB-INF/classes or WEB-INF/libor
    system classpath.

  • QT libraries not found [Solved]

    I am having trouble compiling bibletime from the aur.  I download it then run makepkg, but I get the same error everytime:
    checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
    For more details about this problem, look at the end of config.log.
    make: *** No targets specified and no makefile found. Stop
    Now when I run pacman -S qt I get:
    :: qt-3.3.8-5: local version is up to date. Upgrade anyway? [Y/n]
    So I know its installed.  Any help on this?
    Last edited by semperfiguy (2008-01-12 20:09:15)

    Your qt-config is probably pointing at QT4 at the moment. As root:
    qt-config qt
    Then as your regular user before you compile:
    source /etc/profile

  • 'Item dependency "CURRENT_YEAR" not found in the EUL' error after 4i to 10g

    Hi All,
    I have successfully completed a Discoverer 4i to 10g (10.1.2.48.18) upgrade. There is only one EUL (EUL_US) and it has been upgraded to version 5.1.1. All the Workbooks are saved to the File System. However, during testing some of the Workbooks error when I try to open them in 10g - they still open successfully in 4i.
    <Dialog Box> Item dependency "CURRENT_YEAR" not found in the EUL
    <Dialog Box> Attempt to open Workbook failed
    CURRENT_YEAR is a function of custom Package RESEARCH.UDEF which is valid both at a database level and at a Discoverer Admin 10g Register PL/SQL Functions level.
    I tried deleting the Function "CURRENT_YEAR" from the 10g Admin Edition Tools -> Register PL/SQL Functions and then importing it again. I received the same Dependency error.
    Now the really bizarre thing.....
    The Workbook (2MG.DIS) has 2 Worksheets that both have Calculations that reference function CURRENT_YEAR. If I open the Workbook in Discoverer 4i, delete one Worksheet and save as 2MGb.DIS, then reopen the original and save the other Worksheet only as 2MGc.DIS. Both the individual Worksheets open in Discoverer 10g but the combined Workbook still gives the Dependency error. Weird huh?
    Any ideas help appreciated as I'm pulling my hair out here (and I need what I've got leftl!).
    Kind Regards,
    Gary.

    Hi all,
    The answer was really quite simple but it was what I hadn't included in my post that would have made it impossible for you to help.
    I hadn't mentioned that I was initially upgrading from 3i and it all seemed successful. I however was trying to open the Workbooks that had been created in Discoverer 3i directly in Discoverer 10g. That would explain the "bizarre" feature as I detailed in the post. As soon as I save the Workbook in 4i then I can open without issues in Discoverer 10g.
    Thanks for viewing my post and for your response Gianluca.
    Kind Regards,
    Gary.

  • VIs from LabView libraries not found in .exe built with Application Builder

    I have added VIs that are called by reference to the dynamic vi list in the App Builder, but some of them fail to run because of sub VIs that aren't found at runtime.
    These sub VIs are from the standard LabView libraries. For example: "Open/Create/Replace file.vi", "Write Key (I32).vi", "Open File+.vi" and "Read File+ (string).vi". Also, a typedef "ADC.flx.ctl" can't be found(from the Motion CustomControls library).
    Even if I have those VIs open when I compile all of my VIs (using Ctrl-Shift-Run), they can't be found when I run the executable.
    Brian Smith
    Advanced Light Source
    Lawrence Berkeley National Laboratory

    Are you running the executable on the development machine? If not, make sure that all the required drivers are installed on the target machine (i.e. NI-MOTION etc.).
    The version of the LabVIEW Runtime Engine also has to be the same as the LabVIEW development version.
    Under �Application Builder >> Target >> Build Options� make sure to choose �Single target file...�. This way all sub VIs will be compiled into the executable.
    In LabVIEW 7.1 you can choose to �Disconnect type definitions�� under the �Application Settings� in Application Builder. Does it help to remove the checkmark?
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • Dependent class not found in the classpath

    Hi, Recently I was implemented a Class that implement "CallbackHandler".
    This class help me to build a security header for a SOAP Message, but when I execute this one in a OC4J, I obtain the next error:
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Dependent class: oracle.security.wss.WSSecurity
    Loader: oracle.ws.security:10.1.3
    Code-Source: /E:/jdeveloper/webservices/lib/wssecurity.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\jdeveloper\j2ee\home\oc4j.jar
    This load was initiated at oracle.ws.security:10.1.3 using the Class.forName() method.
    The missing class is available from the following locations:
    I'm using JDeveloper 10.1.3.4. Any help?
    Edited by: user5540744 on 04-jul-2011 4:53

    Here is the work around:
    If you add the generated xxx_wsdl.jar to your buildpath in the ant build file, this warning goes away.

  • Dependent table not found

    I have just installed XE 2.1 and cannot find the dependent table. How do I find the correct version of the database?
    Edited by: user10192822 on Aug 20, 2010 3:40 PM

    user10192822 wrote:
    I have just installed XE 2.1 and cannot find the dependent table. How do I find the correct version of the database?
    Edited by: user10192822 on Aug 20, 2010 3:40 PMselect version from v$database;

  • Error "Cannot join tables. Item dependency 'TatZ' not found in EUL"

    I have created a Discoverer Report in a development instance of
    Oracle. After I create the Data views and Item classes in my
    production instance (using the same names) I attempt to run the
    report. I then get the error stated in the subject and the
    report won't load. I can recreate the report in production and
    it works fine. I can even take the new report and it will run
    in the development instance. Both instances are using the same
    end user layer. Anyone got any ideas?
    Thanks
    Gary

    Hi Gary,
    I've experienced the same error.
    I developed a report in 3.1.44 in my development environment and
    then tried to open it in the identic production environment what
    I realized after talking to a user who had the 3.1.25 version
    was that he got a message saying that I had forgotten to import
    a function in the production environment!
    We had separate EULs so I suppose this isn't your problem, but
    if you have the possibility to try opening the report in the
    older version perhaps you'll get a more informative message.
    Regards,
    Monica

  • Material in two plants, I run MRP with the BOM is not found in prod plant

    Hi all,
    I have plant 1020 material 12345
    Plant 1020 is the production plant for material 12345
    The material 12345 exists in plant 1070.
    The material 12345 in plant 1070 has no MRP.
    Plant 1020 material 12345 config in MM03
    MRP1 --> MRP Type = PD
    MRP1 --> MRP Controller = G03
    MRP3 --> Planning material = PLAN_1020_GR03
    MRP3 --> Planning plant = 1020
    Plant 1070 material 12345 config in MM03
    MRP1 --> MRP Type = P3
    MRP1 --> MRP Controller = 017
    MRP3 --> Planning material = empty
    MRP3 --> Planning plant = empty
    The BOM in cs11 for plant 1020 material 12345
    has 3 components
    Comp#1
    Comp#2
    Comp#3
    The Dependency is code
    TABLE TB_1020_SUPERBOM (PP_nuance_interne = $ROOT.PP_nuance_interne,
    PP_dim_billette_bom = $ROOT.PP_dim_billette_bom,
    PP_CODE_LONG_BILL = $ROOT.PP_CODE_LONG_BILL,
    pp_component_bom =$self.pp_component_bom).
    The dependency is not found because it is looking for it in the plant 1070 and not the plant 1020.
    When the MRP runs for a Delivery type stock transfer order I get
    CONFIG_1020_BILLET <---- This is the BOM item component field in CS11 in the Basic data tab
    Comp#2
    Comp#3
    instead of
    Comp#1
    Comp#2
    Comp#3
    When I run MRP for the same material, if there's no
    "Delivery based on Stock transfert orders" the MRP associates the correct components
    Hope this explains m'I situation.
    Regards!
    Curtis

    Hi,
    If you want a reply in one line, it would be SAP R/3 does not supoort this feature.
    You will have to go for APO module.
    There are few things which can be done in R/3 side, as in maintaining a scope for MRP run in OM0E, maintaining special procurement key etc etc, but all these will not do any check of stock in another plant & can only help in a very limited way if all any for your specific need.
    But SAP R/3 provides a cross plant evaluation via MD48 to know the stock & demands at all plants, this can help only for evaluation purpose.
    Hope it clarifies.
    Regards,
    Vivek

  • XSLTINPUTHANDLER not found in WAR file.

    I am doing a build on Unix box and deploying it as WAR. Till yesterday my XML to PDF was working till the point of invoking the acrobat reader. But since this morning I have started getting this error during startup
    <Jun 8, 2004 10:01:43 AM PDT> <Error> <HTTP> <101250> <[ServletContext(id=292903
    3,name=web.war,context-path=/c2c)]: Servlet class com.sony.spe.c2c.util.PDFServl
    et for servlet PDFservlet could not be loaded because a class on which it depend
    s was not found in the classpath /opt/bea/user_projects/itsm/ITSM_Server/.wlnotd....................
    Then I get when calling the XML to PDF servlet...
    <Jun 8, 2004 10:01:43 AM PDT> <Error> <HTTP> <101250> <[ServletContext(id=292903
    3,name=web.war,context-path=/c2c)]:
    Servlet class com.sony.spe.c2c.util.PDFServlet for servlet PDFservlet could not be loaded because a class on which it depends was not found in the classpath /opt/bea/user_projects/itsm/ITSM_Server/.wlnotd
    I checked the path and the class does exist ..whats happening? It fact during build PDFServlet compiles fine.

    The second error message should be
    java.lang.NoClassDefFoundError: org/apache/fop/apps/XSLTInputHandler
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
    java:517)

  • Struts class not found for war file

    Hello,
    I am tring to deploy my struts web application in weblogic 8.1. I have all the
    library files in web-inf\lib directory. It gave me the error that class not found
    for some class in struts library. The console also told me the classpath. But
    I can use javap to find the class using the same classpath. Could any one point
    me some direction what I am doing wrong here.
    Thanks.
    Here is the error message:
    java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.>
    <Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216> <Servlet: "action"
    fa
    iled to preload on startup in Web application: "voppocWebApp".
    javax.servlet.ServletException: [HTTP:101250][ServletContext(id=9921725,name=vop
    pocWebApp,context-path=/voppocWebApp)]: Servlet class org.apache.struts.action.A
    ctionServlet for servlet action could not be loaded because a class on which it
    depends was not found in the classpath C:\bea\weblogic81\server\bin\myserver\upl
    oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
    t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
    \bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
    _voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
    server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
    rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
    yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
    \lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
    ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
    upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
    erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
    a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
    ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
    r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
    s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
    \.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
    karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
    myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
    C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
    pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
    in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
    EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
    extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
    java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:800)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)

    Hello Mark,
    Your suggested solution (putting an empty commons-logging.properties into
    web-inf/classes or in a jar in web-inf/lib)
    does not make any change at all. It still complains about not being able to
    preload the servlet and still
    gives exceptions upong calling upon LogFactory.
    What I have been able to do is put the three classes from
    com.bea.wlw.netui.util.logging into a separate jar
    and add that to web-inf/lib.
    However I am sometimes getting funny exceptions upon undeploy
    (NoClassDefFoundError for org.apache.commons.collection.FastHashMap$KeySet).
    Regards,
    Robert Varga
    "Mark Griffith" <[email protected]> wrote in message
    news:[email protected]...
    From a FAQ on netui:
    1. Why do I get a ServletException while trying to deploy a struts web
    application on a Workshop/Integration/Portal domain?
    In the "<WL-HOME>/server/lib/knex.jar" file there is a properties file
    called "commons-logging.properties" which configures the
    com.bea.wlw.netui.util.logging.StrutsLogFactory class for Struts loggingas
    below:
    org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
    ogFactory
    This class file is not available for a Struts web application that was not
    built using Workshop, the reason being the containing NetUI jar files are
    not present in the web application's WEB-INF/lib folder. This leads to a
    ServletException while deploying the web application. The solution is toadd
    a blank file (or a JAR containing the file) namedcommons-logging.properties
    to the server CLASSPATH, or to the WEB-INF/lib folder of the concerned web
    application. This issue will be fixed in Service Pack 2.
    cheers
    mbg
    "Robert Varga" <[email protected]> wrote in message
    news:[email protected]...
    Hi Rob,
    I also have a similar error with deploying a Struts web application into
    a
    8.1 Basic Workshop Domain created
    by 8.1 Platform.
    I get a ClassNotFoundException for 'com.wlw...StrutsLogFactory', whenStruts
    tries to load any Jakarta class
    from commons-beanutils or Struts which has logging.
    This happens because commons-logging picks up some property whichinstructs
    it to load that class, which is
    naturally not included in most web applications, since it is
    workshop-specific. This property definition, I think,
    is in <bea>\weblogic81\server\knex.jar, called
    commons-logging.properties,
    containing the following line:
    org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
    ogFactory
    How can I override this in my webapp in a property file, so that when a
    Struts or Beanutils class calls
    LogFactory.getLog(org.apache.....<classname>.class), it would not try touse
    the property file and the
    class defined in knex.jar.
    Thanks in advance,
    Robert Varga
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Actually it complained about a NoClassDefFoundError. Generally this
    is
    caused by something in a parent classloader that is found but then
    depends on something only loadable in a child classloader.
    eg.
    You have something in your $CLASSPATH that references something in the
    WEB-INF/lib. This will NoClassDefFoundError.
    So, as I recommended, remove everything you've added to the$CLASSPATH,
    add the jars to WEB-INF/lib. If you're still having problems, show me
    your $CLASSPATH, the contents of WEB-INF/lib, and the error message
    /stack trace.
    -- Rob
    yuruo chen wrote:
    Hello, Rob,
    I did put the common-beanutils and other jar files in the
    web-inf/lib
    directory.
    And from the weblogic console, I do see the jar file get included in
    the
    classpath.
    (those generated file name have some number attached at the end.)
    As
    I
    mentioned
    before, I can use javap find the class using this weblogic generatedclasspath.
    But weblogic complained that the class is not found.
    Rob Woollen <[email protected]> wrote:
    Remove anything you've added to the server's classpath.
    Add the required jar files to WEB-INF/lib
    -- Rob
    yuruo chen wrote:
    Hello,
    I am tring to deploy my struts web application in weblogic 8.1. I
    have
    all the
    library files in web-inf\lib directory. It gave me the error that
    class
    not found
    for some class in struts library. The console also told me the
    classpath.
    But
    I can use javap to find the class using the same classpath. Could
    any
    >>>>>
    one point
    me some direction what I am doing wrong here.
    Thanks.
    Here is the error message:
    java.lang.NoClassDefFoundError:
    org/apache/commons/beanutils/Converter.>
    <Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216>
    <Servlet:
    >>>>>
    "action"
    fa
    iled to preload on startup in Web application: "voppocWebApp".
    javax.servlet.ServletException:
    [HTTP:101250][ServletContext(id=9921725,name=vop
    pocWebApp,context-path=/voppocWebApp)]: Servlet classorg.apache.struts.action.A
    ctionServlet for servlet action could not be loaded because a classon which it
    depends was not found in the classpath
    C:\bea\weblogic81\server\bin\myserver\upl
    >
    oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
    >
    t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
    >
    \bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
    >
    _voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
    >
    server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
    >
    rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
    >
    yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
    >
    \lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
    >
    ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
    >
    upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
    >
    erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
    >
    a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
    >
    ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
    >
    r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
    >
    s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
    >
    \.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
    >
    karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
    >
    myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
    >
    C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
    >
    pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
    >
    in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
    >
    EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
    extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
    java.lang.NoClassDefFoundError:
    org/apache/commons/beanutils/Converter.
    atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:800)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)

  • Why i get servlet exception/login servlet not found exception  with .ear ?

    I am able to deploy my war and after that generating the ear from that. both works fine in local system.
    But when i run (Jboss as service[Java Service Wrapper]) it takes war without any problem.But with ear file i am getting servlet not found exception.I can't understand where this problem is coming from.
    Even if i take my JSPWIki ear which is running well in production server, this also gives same error.
    One more thing, the files, what i am running well in local system i.e. war and ear working fine. (can't test in production server so testing in same kind of testing server) there also getting login servlet not found exception. Even in same location other files which are deployed are working fine.out of 4 at least one is working fine.
    I don't undersatnd where this whole problem is .
    Please guiide me where sholud i concentrate to solve this problem.
    thnaks
    Vijendra

    I took the source code including the dll files already added to the project from here:
    spazzarama/Direct3DHook
    The solution include two projects the one name Capture is class library type and the dll that make the exception is in this project.
    I tried now to use the program Dependency Walker on this dll file and it found error/s:
    This is the log:
    Error: At least one required implicit or forwarded dependency was not found.
    Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
    Error: Modules with different CPU types were found.
    Warning: At least one delay-load dependency module was not found.
    Screenshot:
    It happen only when using/detecting Direct3D 11 . So far only in Direct3D 11, When i use it with a game that run Direct3D 9 it's working fine.
    The question is how can i solve this dll problem ? Any site/place to download this dll from ?

  • "Volume not found" I have 3 iphoto_libraries stored in a external disk, while the actual files are in other external disk. Ive moved together iphotolibraries and files but: HOW CAN I TELL THE LIBRARIES WHERE TO FIND THEM NOW?

    I have three iphoto_libraries stored in a external disk PASSPORT (one for each trip imovie Im making -Ive managed this way the libraries so to not confuse the trips) while the actual files are in OTHER external disk LACIE. And everything was fine: imovie find each library, could work with it, or iphoto could edit the files.
    But one day everything crashed at the same time: i opened iphoto to find 3 different scenarios:
    1) iphoto_library GREECE was there, but not the albums i prepared. no events. when double click in any of them: "Volume not found"
    2) iphoto_library ITALY was there, and the albums i prepared too, but empty.
    in both cases I can only see the photos in 'photos'  because 'events'  shows some events with photo preview and some with no preview, just some kind of preset clipart palm tree, but if i enter the event, photos are there but again: when double click in any item: "Volume not found"
    3)  iphoto_library ISRAEL was there, the albums too, when double click in any of them: all OK
    The 3 libraries was managed the same way. Meaning: Ive imported photos to iphoto from external disk LACIE in a iphotolibrary stored in another external disk PASSPORT. Also: I don't have unchecked the option "copy to file" or something like that. photos where moved, not copied. Also i have all the movie_libraries in the PASSPORT as well. What happened??
    Solution? Nothing yet. Ive moved now all the photo folders from LACIE together in PASSPORT with the iphotolibraries but problem persist:
    HOW CAN I TELL THE LIBRARIES WHERE TO LOOK FOR THE VOLUMES NOW?
    "Volumes" are the original files aren't them?
    Please help. this is so annoying to try and find in the forum, to tricky to explain
    I have a Macbook pro retina Yosemite 10.10.1 / iphoto 9.6 (910-29)/ iMovie 10.0.6
    THANK YOU
    Vicky

    The 3 libraries was managed the same way. Meaning: Ive imported photos to iphoto from external disk LACIE in a iphotolibrary stored in another external disk PASSPORT.
    This is not clear, especially when you say
    I don't have unchecked the option "copy to file" or something like that. photos where moved, not copied.
    Especially as the message you're getting is typical of a library where the ' option "copy to file" or something like that' is unchecked.
    So it's a simple question:
    Are you these Managed or Referenced Libraries?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.

Maybe you are looking for