Oc4j 10.1.3.0.0Prev4 does not load libs in WEB-INF/lib

Hi,
trying to use an existing application with oc4j I have serious problems.
When trying to deploy I get exceptions (ClassNotFound) of classes that are in libs that are in the WEB-INF/lib folder of the war file I want to deploy:
05/09/23 17:20:21 CharScanner; panic: ClassNotFoundException: org.hibernate.hql.ast.HqlToken
This class is in hibernate3.jar which is included in the war-file.
When I place all the libs into the applib folder it does deploy. But then it crashes at runtime telling me the classes are duplicate (one in the war, one in applib).
Any suggestions what I can do would be greatly appreciated.
Norbert

Hello,
Instead of simply dropping the Jar file in the applib directory you should create shared libraries that will give you better control of what is happening at the classloader level (System, Application and Web Application)
Please take a look to the 10.1.3 How tos about shared library. (Swapping XML parser and JDBC driver), and also to the documentation, chapter 7 "Using Shared Libraries" of the OC4J Configuration and Administration Guide
Regards
Tugdual Grall

Similar Messages

  • Weblogic does not look in application WEB-INF/lib

    Hi,
              I am migrating a Tomcat app to Weblogic 5.1 SP10. I have JAR files in
              the WEB-INF/lib directory, but Weblogic doesn't realize they are there
              and gives me noClassDefFound errors. Should I be adding lines to the
              wlsrc file? If so, can I list a directory or each JAR file separately?
              Thanks and frustrated.
              Dean
              

    The applets classes are in a jar. The reset of the web applications jar files are in the applications WEB-INF/lib, which is also where the applets jar is. I thought that's how its suppose to be done and that tomcat would load up the classpath with the jar files in the WEB-INF/lib directory.

  • Appc does not compile JSPs under WEB-INF

    Hi,
              We are using WLS 8.1 and I noticed that appc does not compile jsps that are
              under WEB-INF. Is this expected? If the jsps are outside of WEB-INF then
              appc works fine...
              Thanks!
              John
              

    Although the client is not allowed to directly access jsps under WEB-INF, it
              is perfectly acceptable (and often recommended) to use a front controller to
              forward to jsps. Often these jsps are "hidden" in the WEB-INF directory so
              that they can't be accessed directly by the client. This pattern works fine
              under 8.1 except that appc won't precompile the jsps under WEB-INF (the
              container does compile the jsps when they are called). I believe this is a
              bug... If jsps are allowed in WEB-INF then appc should compile them...
              John
              "Stjepan Brbot" <stjepan.brbot@@zg.hinet.hr> wrote in message
              news:[email protected]...
              > Yes, this is expected! Web container, or better to say it's web component,
              > does not serve content of WEB-INF directory directly mening you cannot
              > access jsp inside WEB-INF like
              http://host:port/WebApp/WEB-INF/something.jsp
              > hence there's no need for compiling JSP's in it! The content of WEB-INF
              > directory can be accessed only via internal links so it is mostly used for
              > referencing taglibs. JSPs, HTMLs, images and all other file type that has
              to
              > be accessible directly by client web-server (not container internally)
              > should be in application directory or one of it's subdirectories.
              >
              > "John Hampton" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hi,
              > >
              > > We are using WLS 8.1 and I noticed that appc does not compile jsps that
              > are
              > > under WEB-INF. Is this expected? If the jsps are outside of WEB-INF
              then
              > > appc works fine...
              > >
              > > Thanks!
              > > John
              > >
              > >
              >
              

  • Firefox does not load one particular web site

    Firefox used to conect just fine to Dish Network's web site for customer support logon, but lately the web page fails to load while
    the progress line at the bottom of the web page tells me I'm "connected."

    Spinning counter clockwise means that Firefox is trying to connect to the web server.<br />
    If a connection is established and the loading starts then you see a clockwise running throbber.
    *http://kb.mozillazine.org/Error_loading_websites
    *https://support.mozilla.org/kb/Error+loading+web+sites

  • Firefox does not load images on any website. This has been a problem for years

    It's not clear why. but only Firefox does not load images on web pages. Works fine on IE
    Follow all the troubleshooting steps at
    http://kb.mozillazine.org/Images_or_animations_don%27t_load
    no of it works. Never has. I see this problem all over. It's the main reason that users don't switch to Firefox.

    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r22
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Firefox 33.1 does not load Adobe Flash Player 15.0.0.223

    As far as I can determine, Firefox 33.1 does not load Adobe Flash Player 15.0.0.223 (identified on the Plug-ins list as "Shockwave Flash 15.0.0.223") when I access most of the pages on the MSN website. Whether it will display any specific video is unpredictable but it displays about one out of five.
    If I place the mouse cursor on the blank black video display area (for which no controls or buttons are displayed), and click the right mouse button, then either (1) the context menu is the same as for clicking the mouse cursor on an empty part of the page, or (2) the context menu is not displayed at all.
    Apparently, Firefox has failed to load the plug-in, but does not display any error message. Neither is there any error message displayed by the plug-in.
    If you think I am willing to undertake a trial-and-error odyssey through various "do this and see what happens" recommendations in "Knowledge Base" articles and the like, then think again. I don't have the time to make the effort, and I will use Internet Exporer instead. It ought to work with MSN just fine. :-)
    Since I did not develop Firefox, this is not my problem to solve. It's your software, not mine, and I didn't make the mistakes, so you fix it.
    By the way:
    Either Firefox Help does not display the version correctly, or your Troubleshooter doesn't obtain the data correctly. Help says version 33.1 and Troubleshooter says 33.0. YES I KNOW THAT FIREFOX 33.1.1 IS AVAILABLE. SO WHAT?
    Troubleshooter also identifies the Shockwave Flash plug-in as "15.0 r0" but the native Add-ons feature identifies it as 15.0.0.223 -- which is the version that Adobe uses.
    The last line of the Troubleshooter's "educated guesses" just has "* 5.1.30514.0". I have no idea as to what that refers to and I doubt that anyone else would have one either.
    Well, maybe those numbers are good enough for "educated guessers" but in my experience computers do not make "educated guesses" even if software developers do.
    Enjoy!

    Please refrain from posting scattergun boilerplate suggestions.
    Please post specific instructions that will resolve the problem. If you don't know why the problem occurs and how to remedy the problem, then don't bother.
    Realize that the problem did not occur with the previous version of Adobe Flash Player, but began after it was updated to 15.0.0.223. So it is is apparently specific to that version, and it may reflect a flaw in Adobe Flash Player. There's no way to actually report it to Adobe. Posting a report in their "user forum" just produces replies like the one that you have posted in reply to my OP, so what is the use?
    Evidently you presume that Firefox does not have a bug, that something else doesn't work and you may be right. However, if Firefox does have a bug, then nothing that you have posted will correct it, and experimenting according to your boilerplate will be nothing but a waste of time and effort.
    Again, the problem is not that Adobe Flash Player 15.0.0.223 does not run, but that it does not run when I attempt to view most of the videos on MSN. It does display videos from YouTube and other websites with an occasional specific exception. If the failure occured on more websites, and with all MSN videos, then maybe your suggestions for investigating it would have more merit.
    For what it is worth: the problem occurs in Firefox Safe Mode and without Firefox Safe Mode. Disabling or enabling any extensions or other plug-ins has no effect.
    I established that while investigating why Firefox 33.1 started producing crash reports every time that it initially displayed the New Tab page when I visited MSN (Firefox 32 did not do that). I also checked whether the actions that I took to troubleshoot that behavior affected Adobe Flash Player on MSN. They didn't.
    Apparently the crash reports occured because Firefox could not find or could not load the "thumbnail" images for website pages that I had previously seen (they are often deleted by ''CCleaner''). The crash reports stopped after I made a couple of changes to the configuration for the ''SandboxIE'' sandbox in which I run Firefox.
    Frankly, Firefox "Safe Mode" is something I don't need, because I run Firefox in a ''SandboxIE'' sandbox, which is a much more comprehensive security measure than anything implemented by any specific application. At the moment I don't recall whether Firefox Safe Mode is enabled, although I probaby re-enabled it after disabling it during the crash-report investigation. But it didn't make any difference with regard to Adobe Flash Player in that context, so there's no reason to repeat it.

  • Flash Player Does not work at few Web Sites

    I was using Flash Player 10 somehow it suddenly forced me to install the latest Flash Player and I did it. Now it does not work at few web sites but works on other. The web sites where it does not work I am including the screenshots. when I want to watch video on these sites it says loading ad and it keeps on like never ending please advise below are the screenshots of the two web sites where it does not work
    Satbahadur
    My Device is HP Laptop and I have Windows xp

    Hi Chris
    I checked on my daughters MAC laptop too its not working on it too. I may
    try getting adblocker then I will try again. Thanks for your quick
    attention I appreciate your help
    Satbahadur
    Message was edited by: Satbahadur Chris Sorry to add some more info I tried one adblocker called simple blocker but now the video does not load I am confused don't know what is possible Please advise when ever you have time Thanks again

  • IE 11 Does not load pages and "Stops Responding" After 11/26/2013 Windows Update

    I have Windows 7 Pro 64 bit. IE 11. (Doesn't matter if I try to open 32 or 64 bit IE)
    I keep Automatic Updates on and they install as soon as they are available.
    Everything on my PC was running fine 11/25/13.
    I came to it 11/26/13 after Windows Updates ran and now whenever I open any webpages, it does not load the web page 100%, no hyperlinks can be clicked on and once you attempt to click on anything. I get the "IE 11 has stopped responding" bubble.
    It also seemed to affect Firefox which does not completely load pages either.
    Any shove in the correct way to help solve this would be helpful.

    Robert -
    Anyone who has gathered over 13,000 points is certainly to be respected as being super smart and uber helpful.  However, your response is inadequate on two counts.
    First, "stopped working" is not an inexact phrase, nor is it a euphemism trotted out by a newbie who hasn't the skill to describe the problem accurately. "stopped working" is an exact part of the error message issued by Windows.  Of course it would
    help if Windows would issue error messages that are more useful, but that is a different issue. For the purposes of this discussion, "stopped working" as part of the exact error message is a useful piece of information.
    Second, despite your excellent suggestions for hunting down the problem, I'm guessing that few people here have the time or inclination to be beta testers for Microsoft.  Even if the exact cause is found, it is not likely that anyone here will
    be able to fix the problem.  There are literally hundreds of people complaining about this problem in multiple forums.  If you know your consumer behavior metrics, then you know that means tens of thousands are affected.  This is systemic, not
    a random problem on a few errant machines.  Microsoft needs to know that they have a major problem on their hands and they need to fix it.  I saw this problem starting with IE 10.  Is it any wonder that in that time, IE usage has fallen greatly
    while Chrome has become the dominant browser?  (The only reason I am bothering to write instead of just shifting to Chrome is that Chrome also has its bugs, one of which affects a web app I use several times a week, so I need a functioning version of
    IE.)
    So thanks Robert for all your help in the past, but this response isn't helpful.
    Microsoft, are you listening?  Fix your browser.

  • Image does not load in application

    Hi:
    I read about the following in a loading image tutorial:
    "The getImage methods return immediately, without checking whether the image data exists. The actual loading of image data normally doesn't start until the first time the program tries to paint the image. "
    Basically, I am using the
    Image img = Toolkit.getDefaultToolkit().getImage(path);I've also overwritten the paintComponent()method
    public void paintComponent(Graphics g)
       super.paintComponent(g);
       g.drawImage(image, 0,0, myWidth, myHeight, this);
    }Then, I included the above code in a JPanel, which is further included in a JInternalFrame. But somehow, the image just doesn't load, the tutorial says, the image does not load until the FIRST TIME PROGRAM PAINTS THE IMAGE. How do I make the program paint the image??
    Thanx a lot

    Check out ImageObserver, Component.prepareImage() and MediaTracker.

  • Site does not load after some minutes of creation or after restart the server

    Hello,
    I have been asked to create a test enviroment identical to the production enviroment. So, what I did was:
    Backed up the production web application's content database: Prod_WSS_ContentDB
    Created new test servers (domain controller, sql server and sharepoint 2013 server) in a new, completely isolated, network environment, without any connection with the production environment (specifically Azure)
    Created a new web application in test environment with a new content database.
    Dismounted the new content database with powershell: Dismount-spcontentdatabase Test_WSS_Content
    Copy the Prod_WSS_ContentDB database to the test sql server and restored it with Management Studio.
    Mount the Prod_WSS_ContentDB databe to the web application with powershell:
    Mount-spcontentdatabse Prod_WSS_ContentDB -WebApplication http://testsp/
    Then, when I type http://testsp in the browser it redirects me to http://testsp/SitePages/Home.aspx
    and the site loads exactly as the production environment.
    But, after some minutes, or if I restart the Sharepoint Server, when I navigate to
    http://sitesp I am redirected to http://testsp/SitePages/Home.aspx
    as expected, but the site does not load, the browser just show a complety blank page.
    The Central Administration site loads normally.
    Trying to fix it I found that if I dismount the content database Prod_WSS_ContentDB, then mount the test database Test_WSS_Content,
    then navigate to the site, dismount Test_WSS_Content and finally mount again Prod_WSS_ContentDB, the site loads normally, no blank page, but after some minutes or if I restart the same happens again.
    For the error event I receice in event viewer it seems that the problem is related to database. I have not found a solution for this error... How can I solve  this?
    The error is:
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Date:          6/27/2014 2:44:22 PM
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:      
    User:          UCETEST\spaccount
    Computer:      TESTSP01.ucetest.edu.do
    Description:
    Unknown SQL Exception -2146893055 occurred. Additional error information from SQL Server is included below.
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
        <EventID>5586</EventID>
        <Version>15</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-27T14:44:22.743159500Z" />
        <EventRecordID>4742</EventRecordID>
        <Correlation />
        <Execution ProcessID="1688" ThreadID="1692" />
        <Channel>Application</Channel>
        <Computer>TESTSP01.ucetest.edu.do</Computer>
        <Security UserID="S-1-5-21-2552298216-324766354-3392103171-1108" />
      </System>
      <EventData>
        <Data Name="int0">-2146893055</Data>
        <Data Name="string1">A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)</Data>
      </EventData>
    </Event>
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

    Hi,
    According to your post, my understanding is that Site does not load after some minutes of creation or after restart the server.
    Please make sure you create a test environment for existing production site correctly.
    Here are some great articles for your reference:
    Moving content between SharePoint environments
    Copy SharePoint production data to a test environment
    Build a SharePoint 2010 Test/Development Farm
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support
    Hello Linda Li,
    I follwed that steps to create my test enviroment... and I have recreated it some times using that same steps, but the problem persits. After some minutes or after I restart the SharePoint server the site does not load.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • When typing an address in the location bar and pressing enter, nothing happens and the site does not load. How can I fix this?

    When I type a new URL in the address bar (or location bar), and I either type the complete URL or select from the drop down list, nothing happens. I hit enter, and the website does not load in the current tab, new tab nor in a new window. Exactly the same when I hit the green arrow to the right of the address bar. I am using Firefox 8, and all my add-ins are up to date.
    It has been working before. The setting to get Firefox to open new pages in a new tab from the address bar is there, so it should open a new tab. But I get nothing at all!
    Please help, how can I fix this?
    Thanks,
    James.

    That issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • I'm running iCloud on a Windows 7 PC. Photoes have been autmatically uploaded from my iPhone. However, the "Photoes" ICON does not load, and I receive an error message of a problem. Then the ICON disappears. How can I access my photoes?

    I'm running iCloud on a Windows 7 PC. Photoes have been autmatically uploaded from my iPhone. However, the "Photoes" ICON does not load, and I receive an error message of a problem. Then the ICON disappears. How can I access my photoes?

    Same issue here,  previously did work perfectly

  • Applet does not load on app server when Free Design Layout

    Hi,
    I have to embed a an applet in a webpage of an web application. Before I go on to anything.. let me first tell you, I am using Netbeans 6.0
    As shown in the tuorial:
    [http://www.netbeans.org/kb/articles/tutorial-applets-40.html]
    1. I first made the "Applet" source say HelloApplet. java. After compiling and running it I get the HelloApplet.jar.
    2. I created a WebApplication and then from the properties -> packaging -> I "Add Project" HelloApplet.jar.
    3. Then I a webpage I "embeded" the applet.
    4. I run the web app and the applet gets loaded and everything is just fine.
    But before I go on I must tell you that the applet was designed in Null Layout. Now I edited the applet source once again and changed the layout to Free Design Layout*. ( this is available from Netbeans..on the HelloApplet.java .. go to the design view.. right click on the form and from the context menu you can change the layout to FreeDesign or whatever you might want).
    When I expand the "Libraries" node I see the that the library Swing Layout Extensions - swing-layout-1.0.3.jar has been added.
    When I "run" the "HelloApplet.java" file, the applet is shown in the appletviewer. No problems with that.
    But!
    When I try to Clean & Build and Run the WebApplication, the applet does not get loaded. On inspecting the java console I see the following error:
    java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.jdesktop.layout.GroupLayout$Group
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 10 moreIt clearly shows that the Free Design Layout has something to do with the GroupLayout which can be found by expanding the "Swing Layout Extensions - swing-layout-1.0.3.jar". Now when the HelloApplet.jar is created only the HelloApplet.class file gets included together with some other data but NOT the swing extensions. Hence when I run the web app the class file looks for the GroupLayout.class definition but can find it in the jar as its not included when the HelloApplet.jar is created.
    But with null layout there isint a problem because null layout takes the definitions from the JRE on the machine.. and so it runs without a hitch.
    My Question is : How can I run the applet with Free Design Layout? or is it possible to package the swing layout extensions in the HelloApplet.jar?<</u>
    Thanks for all your replies.
    Cheers.
    Edited by: arijit_datta on May 15, 2008 4:07 PM

    Solved.
    Here is the solution:
    [http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html|http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html]
    Cheers..
    Edited by: arijit_datta on May 16, 2008 7:41 AM

  • 5th gen Ipod does not load video on Itunes

    My 5th gen color Ipod recently began having problems when I updated Itunes software.
    The video that is on my Itunes library does not transfer when synced to Ipod.
    Video on Macbook plays but is not recognized by Ipod and does not load.
    Any help is appreciated.

    Check your settings for sync. The default for videos are that only unwatched videos get synced.

  • Firefox opens but no content is shown, url says the website but the tab does not load up and says '(untitled)'. how can i fix this?

    firefox opens but no content is shown, url says the website but the tab does not load up and says 'untitle'. how can i fix this?
    == This happened ==
    Every time Firefox opened
    == after norton asked me to restart my laptop. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 2.0.4.16; .NET4.0C)

    Hi,
    Unfortunately we had a data base error today and lost some user accounts when we had to go back to our backups. If you have started this thread, your's is one of those. Since we can not recreate your account, please sign-up for a new account here to reply to the forum messages:
    https://support.mozilla.org/users/auth
    You can use the same username and email address as before. We are very sorry for the inconvenience.

Maybe you are looking for

  • Can I use any USB adapter/wall charger for my Ipod Touch 5?pls reply...

    I have a USB Adapter/wall charger that I use for my cellphone but I don't know if I can use it for my ipod touch 5.... how will I know if it is compatible with my ipod touch?

  • GRC 10 hyperlink notification setup

    Hi, We want to setup notification email and it should have hyperlink by saying Click Here once we have clicked on that,it has to open respective NWBC approval page. Instead of maintaining complete link in SE61 notification,we want to create hyperlink

  • How to launch processLaunch.jsp from external app.

    Hello smart people, Can an application external to Identity Manager post a request to /idm/processLaunch.jsp/id=workflowName&attributesHere ? We are able to launch a process from within IDM. For example we have added links to the end user menu that w

  • Folders in Library??!

    As you can tell I am brand new to Itunes, I have a very extensive collection of cds that I want to dump into the itunes library. Is there a way to create folders in the Library section so I don't just have a list of 1000s of songs? Any help would be

  • When i change, create cycle (ksu1),I donot want to create transport request

    when i change, create cycle (ksu1) i donot want to create transport request ? when i change/create cycle(KSU1,KSU2) i just want to change/create cycle. i donot want to configure about cycle. what should i do ?