Hibernate+10gAS: hibernate.cfg.xml not found in classpath

Hi
We are using Hibernate. It requieres a configuration file (hibernate.cfg.xml) to be present
somewhere in the classpath. That works when running the application in the IDE (JDeveloper
10g), keeping the file in the WEBINF directory. However, when we deploy the application in 10g
App Server, the file is not found. We have tried storing it everywhere in the class path, but
no mather were we put it, it is not found.
Any clues?
TIA,
Brian

try asking this on the OC4J forum:
OC4J

Similar Messages

  • Problem deploying connector: META-INF/ejb-jar.xml not found in jar file

              Has anyone seen this problem:
              I built Sun's Blackbox implementation and packaged
              it identical to the BlackBoxNoTx.rar included with
              Weblogic's 'jconnector' sample (even using the same
              ra.xml and weblogic-ra.xml). When I try to deploy
              it, the server reports:
              java.io.FileNotFoundException:
              META-INF/ejb-jar.xml not found in jar file
              I have no idea why the server thinks my connector
              is an EJB. If I deploy the BlackBoxNoTx.rar included
              with the sample, everything works without a hitch.
              The only variable that I'm changing in my BlackBoxNoTx.rar
              is that I build the Blackbox classes myself--otherwise,
              the RAR packagings are identical. Any assistance is
              greatly appreciated since I'm banging my head against
              a wall...
              Thanks,
              -jason
              

              I was finally able to resolve this one. On the odd chance that someone else encounters
              the same problem, here's what went wrong:
              My RAR file had two directories: 'META-INF' and 'meta-inf'. The first was created
              by the jar tool and contained the manifest.mf file. The second I created manually
              and it contained my ra.xml and weblogic-ra.xml. When I examined the RAR using
              any tools or I extracted the contents, it looked like it only contained one directory:
              META-INF (because NT is case-insensitive).
              "Jason L" <[email protected]> wrote:
              >
              >Has anyone seen this problem:
              >
              >I built Sun's Blackbox implementation and packaged
              >it identical to the BlackBoxNoTx.rar included with
              >Weblogic's 'jconnector' sample (even using the same
              >ra.xml and weblogic-ra.xml). When I try to deploy
              >it, the server reports:
              >
              >java.io.FileNotFoundException:
              >META-INF/ejb-jar.xml not found in jar file
              >
              >I have no idea why the server thinks my connector
              >is an EJB. If I deploy the BlackBoxNoTx.rar included
              >with the sample, everything works without a hitch.
              >The only variable that I'm changing in my BlackBoxNoTx.rar
              >is that I build the Blackbox classes myself--otherwise,
              >the RAR packagings are identical. Any assistance is
              >greatly appreciated since I'm banging my head against
              >a wall...
              >
              >Thanks,
              >
              >-jason
              

  • After upgrading a domain I am getting .....config.xml not found error

    upgraded domain from 10.3.0 to 10.3.2
    while upgrading one message was..
    "no servers are detected under this directory"
    and now after my upgrade is successfully done its showing me that "the config.xml not found"...

    If you live near an Apple Store, make a Genius Bar appointment to have the computer tested. Supposedly there is no charge for testing. Use 2nd link if not near an Apple Store or aren’t in the US.       Hardware Repair - Keeping Confidential Data Safe
    Genius Bar Reservation US
    Authorized Service Provider

  • Error: unable to copy to output directory, ReqMgmtActionsVO.xml not found

    hi,
    While running a page using jdeveloper am getting error like
    Error: unable to copy to output directory, ReqMgmtActionsVO.xml not found.
    am very thankful to the response
    Thanks
    Surya

    Hi,
    I faced the same issue.
    I fixed it by searching the missing file (In my case MyEO.xml which is a removed file) using JDeveloper (Menu Search/Search Files...).
    It found an occurence in the related .jpr file.
    In the .jpr, I deleted the related lines:
    <Item>
    <Key class="java.net.URL" path="xx/oracle/apps/.../MyEO.xml"/>
    <Value idref="15"/>
    </Item>
    That's it.
    Regards,
    Olivier

  • A Pages file will not open due to index.xml not found, what is up with that?

    I recently saved a file on Pages 5.5.2. on my IMac hard drive.  Now I find that on attempting to open it the file will not open due to index.xml not found.  Hoe do I correct this?

    I have this issue, as well - although perhaps in a different content.  When I try to open a file I created in the previous version of Pages, I will frequently (but not always), received the "index.xml not found" message.  I am very concerned that I may lose access to some of these files.  The old Pages icon is still on my dashboard, although I've downloaded the new Pages (that icon only appears when I open a new document).  I thought I needed to upgrade the old documents to the new Pages, but this didn't work.  Does anyone have any ideas?  And, I'm not a techie - so you'll need to break it down for me. 

  • Oracle 10g. emd-web-site.xml not found

    I have this error when i try to test the status of iasconsole.
    Unable to determine console port. $ORACLE_HOME/sysman/j2ee/config/emd-web-site.xml not found. No such file or directory.
    i try to reconfigure via emca the central agent management, but when i must give the DBSNMP password i enter in a loop cause i don't know it.
    i haven't installed the instance, I have found the installation already made in this machine.
    thanks in advance

    Well changing the DBSNMP password should not be that hard:
    sqlplus / as sysdba
    SQL> alter user dbsnmp identified by MyNewPassword;
    cu
    Andreas

  • Error while running XL Reporter (Cause: MetaInfo.xml not found!)

    Unable to connect to XL Reporter
    Error! Server communicawtion failed!
    Cause: MetaInfo.xml not found!
    (Please contact the administrator to fix the repositor connection)

    Hi
    check this thread:
    [Unable connect to XLR in 2007]
    All the best
    Agustin.

  • XL Reporter error - MetaInfo.xml not found

    User encountered following error message when running XL Reporter reports on Excel 2003 running on OS Windows 7 with window administrator rights. However, same XL reports can be generated on Excel 2003 when running on OS Windows XP on another B1 client workstation.
    "An error occured during the process "Report Initialize"
    Description: (667) MetaInfo.xml not found!
    (Please contact the administrator to fix the repository connection)
    XL Reporter Startup Failed!
    Please advise.
    Thanks,
    Priscilla

    Hi Gordon,
    Where can I turn off the UAC? Is there any documentation on this?
    Thanks,
    Priscilla

  • XL Reporter MetaInfo.xml not found

    I ran across an error with XL Reporter and was wondering if anyone has seen this or knows how to resovle it?  Below is the error message.
    Unable to connect to XL Reporter
    Error! Server communication failed
    Cause: MetaInfo.xml not found
    (Please contact the administrator to fix the repository connection)
    The environment is Windows 2003 Office 07.
    We did have to add the COM file IXXLReporter.DLL.  I am assuming this was the right file?
    Any insight is helpful
    Thanks,
    Edited by: Josh Mllette on Jun 26, 2009 2:29 PM
    Edited by: Josh Mllette on Jun 26, 2009 2:30 PM

    Update table :
    SELECT TOP 1000 [DBObjVer]
          ,[DBObjVerDe]
          ,[DBObjVerUp]
          ,[ParVer]
          ,[ParVerDesc]
          ,[ParVerUpd]
          ,[Partner]
          ,[PartnerDBV]
      FROM [TFI_SAP_061210 ].[dbo].[XRDBV]
    and change value ,[Partner] for 'SBOOEM
    Regards

  • Publish cloud service fails from Visual Studio 2013 Update 4: Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.

    I have a cloud service project with two roles (service and worker). In Visual Studio 2013 Update 4 when I choose "Publish..." from the "Solution Explorer",  it opens "Microsoft Azure Activity Log" and quickly terminates.
    Here the log:
    9:43:47 AM - Applying Diagnostics extension.
    9:44:09 AM - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    All works fine when uploading the package and updating from https://manage.windowsazure.com/. It only fails from within Visual Studio.
    What can I do to get it working?

    I have the same problem with our Azure project. Two web roles (service and worker). Just updated from SDK2.2 to SDK2.5 and Visual Studio 2013 Update 2 to Update 4. The main reason behind this was to move from log4net to WAD and in doing so, of course directly
    move to the new diagnostics version.
    Now, I get the same error message in Visual Studio:
    11:45:24 - Checking for Remote Desktop certificate...
    11:45:25 - Applying Diagnostics extension.
    11:45:45 - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    With my small testing project - also two roles (service and worker) - everything is fine. However, I'm looking for a solution to make by existing production service working.
    Also the test project shows no Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml,
    but this is no problem - so what's the meaning of or solution to this error messages?
    What I found so far:
    I deployed the Azure project from the same development environment to another Azure test service: Deployment
    showed no errors and the service is running fine! So the problem is not with the source, the development environment, library dependencies etc.
    Trying Azure cmdlets for PowerShell also work fine for the new service and fails for the production service with almost the same error message:
    Following http://blogs.msdn.com/b/kwill/archive/2014/12/02/windows-azure-diagnostics-upgrading-from-azure-sdk-2-4-to-azure-sdk-2-5.aspx
    I tried:
    PS C:\> Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config -ServiceName $service_name -Slot 'Staging' -Role $role_name
    VERBOSE: Setting PaaSDiagnostics configuration for MyWebRole.
    Set-AzureServiceDiagnosticsExtension : BadRequest : Published Asset Entry for Image
    Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    At line:1 char:1
    + Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -Diagnostic ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-AzureServiceDiagnosticsExtension], CloudException
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.CloudException,Microsoft.WindowsAzure.Commands.ServiceManagement.
       Extensions.SetAzureServiceDiagnosticsExtensionCommand
    The problem seems to be related to those service configuration parts in the cloud which are not replaced
    by a new deployment... So what are possible reasons or fixes for this behaviour?
    Best regards,
     Andreas

  • Plugin.xml not found on plugin.zip

    I was registering a plugin using the plugin utility and it threw this exception:
    plugin.xml not found in plugin zip
    However my plugin.xml IS there, my jar file is in the JavaTasks folder also. Has someone run into that as well?
    Thanks

    Hi,
    I think you first placed jar and plugin.xml in a folder and then zipped it.
    Instead, select your jar file and plugin.xml and then zip them together.
    Hope this helps. :)

  • Unable to connect to XL reporter. Metainfo.xml not found!

    I cannot open XLR in SAP. I have Excel 2003 and SAP 2007 PL 42. This is the error message I am getting:
    Unable to connect to XL reporter. Cause: Metainfo.xml not found! Please contact admin to fix the repository connection. Error! server communication failed.

    Hi
    Take a look at SAP note : 848646
    Also
    loook this thread for reference
    XL Reporter - Connection Error
    Hope this helps
    Bishal

  • "Java Class not found in classpath" Error in DESIGNER

    Hello All,
    I'm trying to connect in Designer using a JDBC connection to MS SQL Server 2008.  As per the instructions, I updated my jdbc.sbo file with the path to the existing two JAR files.  However, I still get the following error when I try and connect in Designer:  "Java Class not found in classpath : C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\jdbc\Drivers\sqlsrv".  Of course, this error includes the drive path with the location to my JAR files.  Any help in resolving this nagging issue is very GREATLY appreciated.  Also, if anyone needs it I can post a copy of the jdbc.sbo file to this thread.
    Thank you,
    Pankaj

    Stratos,
    Your suggestion didn't help.  I tried to connect after restarting my machine and I still get the error.  And, I've also tried adding a connection to MS SQL Server 2005 using this JDBC driver, and that didn't help either.  Any other suggestions?  Would it help to see my "jdbc.sbo" file?  Thanks again for your and everyone else's help, and I look forward to your reply.
    Regards,
    Pankaj

  • 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.

  • 'com/ibm/as400/access/AS400' not found in classpath

    I followed IM installation Notes for OS/400 and ran into this error.
    Resource adapter class 'com.waveset.adapter.OS400ResourceAdapter' dependent class 'com/ibm/as400/access/AS400' not found in classpath
    Can anybody help me configuring this adapter?
    Thanks.

    I followed IM installation Notes for OS/400 and ran into this error.
    Resource adapter class 'com.waveset.adapter.OS400ResourceAdapter' dependent class 'com/ibm/as400/access/AS400' not found in classpath
    Can anybody help me configuring this adapter?
    Thanks.

Maybe you are looking for

  • Vmware Fusion 3.0 and OSX 10.7.4

    Vmware Fusion 3.0 was working fine until I upgraded to 10.7.4. After that it has stopped working and gives two or three errors about kernel space, etc and refuses to start. A Windows 7 virtual machine was in a suspended state when I upgraded the OS.

  • ITunes 11.1.4.62 for Windows Breaks iTunes Match

    After upgrading to iTunes 11.1.4.62 for Windows 7 Ultimate 64-bit, my iTunes Match no longer works.  It insists that I pay for another subscription even though I have a valid subscription already.  This issue has been going on for over a week with no

  • Fault message in Asynchronous messages - SXMB_MONI in PI problem

    Hello, I am working on File to Proxy asynchrnous interfaces.  I am using fault message type on inbound message interfaces. I have done all the configuration according to below link /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-

  • Subquery in Select Statement

    Hi, In crystal reports 10 is there a way to alter the select statement to include a subquery into the select statement.  For example select customer.lastname from customer; to be select customer.lastname , (select departmentname from dept where custo

  • RMAN Recovery failing , Need Suggestion

    RMAN Recovery is failing 3 times with these errors , need suggestion RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================