[OC4J 10.1.2] Local debug of a j2ee app does not work

Dear users, I'm developing a project using Jdeveloper 10.1.2 and deploying on local oc4j instance ( running at port localhost:9700 ) and usually I deploy using ant target, and everything works fine.
But when I try to Run my project directly trought the Jdeveloper "run" button , I get the following exception :
org.hibernate.MappingException: Resource: previtc/model/task/PcTask.hbm.xml not found
at org.hibernate.cfg.Configuration.addResource(Configuration.java:478)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1443)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1411)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1392)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1368)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1288)
at previtc.Resources.init(Resources.java:127)
at previtc.controller.InitServlet.init(InitServlet.java:34)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
at com.evermind.server.Application.getHttpApplication(Application.java:890)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:455)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
11/05/20 15:08:25 InitServlet - 11/05/20 15:08:29 C:\Header.jsp:172: error #300: method isAdmin not found in class previtc.model.utente.Utente
11/05/20 15:08:29 1 error
Anybody knows why the mapping doesn't work in the second scenario ?
Thank you very much...
Edited by: Renato Bet Ya on 20-mag-2011 8.17

I solved the problem. The original download was the "j2ee and web cache" download from the Application Server area. I later found a link to oc4j downloads from the JDeveloper pages that was really what I was after.
Brad

Similar Messages

  • Error in Local Message System: RFC destination MB3AP1039 does not exist.

    Error in Local Message System: RFC destination MB3AP1039 does not exist. Message was Not Created
    Message no. BCOS088
    Hi,
         When iam creating a message from any system from HELP-CREATE SUPPORT MESSAGE it is throwing the above error message. Actually i need to send this message to SAP solution Manager Service Desk.
    Can anyone help me in resolving the above issue.
    Thanks & Regards,
    Mirza Kaleemulla Baig.

    Dear friend
    You have to of following option
    1.Define Service Desk destination in the R/3 systems:
    Note: for this you need to log in the R/3 system.
    Create the RFC between the Solution manager and R/3 system (Login to the R/3 system)
    2.a. Go to transaction SM30.
    b. In table/view field, enter BCOS_CUST. Then press the Maintain Button. See example below:
    c. Press the Continue button in the following screen:
    d. You should see the following screen, no entries should be seen in the table. Press the New Entries button:
    e. In the next screen, enter the following information:
    In the RFC Destination you should point to your Solution Manager destination RFC.
    0ss_msg   w   sm_bsmclnt_back    cust620     1.0
    shailesh

  • When I try to sync my iPod iCal with my MBP iCal via WiFi I get a message saying "Safari Downloading Safe Browsing Data" but I am connected to a local network and thus the syncing does not complete"

    When I try to sync my iPod iCal with my MBP (OS 10.7) iCal via iTunes and WiFi I get a message saying "Safari Downloading Safe Browsing Data" but I am connected to a local network and thus the syncing does not complete because the downloading never completes because I am not connected to the internet.
    Why does syncing iCal need Safari Safe Browsing Data?  How can I turn this off?

    See:
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    "Safari Downloading Safe Browsing Data" is just some data that is synce with the computer. To turn off on the Mac go to System Preferencs>iCloud and turn off Safari

  • WEB.SHOW_DOCUMENT does not work on local drive

    Hi.
    I have used WEB.SHOW_DOCUMENT in the past. I have a situation where I can do the following web.show_document('file://p:\some-directory\foo.txt'). However, as soon as I try to read something off my local hard drive web.show_document('file://c:\some-directory\foo.txt') it does not work. This is very frustrating. There is nothing special security wise and the path and file names are correct. If it works for one, it should work for the other.
    Thanks,
    BradW

    So, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....

  • Why whenn I go to local files in Muse Export it does not load the pages in my browser?

    I was testing and tried to winzip the files to upload to a site (blackboard) but when I tested to view them straight from local files is not uploading in browser properly?
    Urgent, help please
    PS
    It does look wonderful from business catalyst site. Is there any way I can download the files from Catalyst site?
    This are the things I have tried:
    a) export html files in to a local folder and...computer says no
    b) Manage site from business catalys in dreamweaver and get the files to local site and still does not work
    c) tried direct from Muse Export file and still does not work
    Help please
    Kind regards

    Morgan, I know the files need to be untouched for an FTP upload, but this is not for an FTP upload. Blackboard it is an educational CMS to upload info for courses and it does strips the data. In order to create an interactive element to a module I can upload an HTML file to be 'living' in their host as a page and in that way it is possible to be interactive.
    Sachin, I I'd export them as HTML and I have been working with them in muse, dreamweaver and embedding edible edge animate CSS and it runs well in catalyst but when I click in the local files( muse export file) it does not open well on the browser. All design is gone and only basic HTML.
    Any thoughts?
    Ps
    I did access catalyst site via dreamweaver and downloaded all files in an other folder locally but still when I click directly in the folder HTML page it does not link on the browser

  • Dbx does not work when debugging g++ exes.

    Hi,
    We are just getting started building our application on redhat el5 with sunstudio 12.
    We are compiling and linking our app with gcc 4.1 as we need to be able to link against some 3rd party libraries build on rhel4 that we do not have source for.
    We now can compile and link fine but dbx does not work when it is fed the executable.
    We get the error
    dbx: warning: Bad transition in runtime linker interface. CONSISTENT->CONSISTENT[
    and dbx freezes.
    Note : This is built with -m32 on a 64bit kernel. Also we have not yet rebuilt all the opensource libs used on gcc 4.1 as we have a large number of them.
    Any ideas ?
    The complete output of running dbx :
    Output from dbx :
    debug /ps_rels/Dev/linux_rhel5/exe/sx
    Reading sx
    Reading ld-linux.so.2
    Reading libz.so.1
    Reading libxerces-c.so.27
    Reading libxalan-c.so.110
    Reading libxalanMsg.so.110
    Reading libsde.so
    Reading libsg.so
    Reading libpe.so
    Reading libsqlite.so.0
    Reading libsqlite3.so.0
    Reading libgeos.so.2
    Reading libpng12.so.0
    Reading libX11.so.6
    Reading libXm.so.4
    Reading libXt.so.6
    Reading libXi.so.6
    Reading libXext.so.6
    Reading libXrender.so.1
    Reading libfreetype.so.6
    Reading libexpat.so.0
    Reading libfontconfig.so.1
    Reading libcairo.so.2
    Reading libglib-2.0.so.0
    Reading libgmodule-2.0.so.0
    Reading libgobject-2.0.so.0
    Reading libgthread-2.0.so.0
    Reading libpango-1.0.so.0
    Reading libpangocairo-1.0.so.0
    Reading libpangoft2-1.0.so.0
    Reading libatk-1.0.so.0
    Reading libgtk-x11-2.0.so.0
    Reading libgdk-x11-2.0.so.0
    Reading libgdk_pixbuf-2.0.so.0
    Reading libtiff.so.3
    Reading librt.so.1
    Reading libwx_gtk2_xrc-2.8.so.0
    Reading libwx_gtk2_qa-2.8.so.0
    Reading libwx_gtk2_html-2.8.so.0
    Reading libwx_gtk2_adv-2.8.so.0
    Reading libwx_gtk2_core-2.8.so.0
    Reading libwx_base_xml-2.8.so.0
    Reading libwx_base_net-2.8.so.0
    Reading libwx_base-2.8.so.0
    Reading libboost_thread-gcc-mt-1_33_1.so.1.33.1
    Reading libboost_filesystem-gcc-mt-1_33_1.so.1.33.1
    Reading libncurses.so.5
    Reading libnsl.so.1
    Reading libdl.so.2
    Reading libACE.so.5.5.1
    Reading libpthread.so.0
    Reading libpam.so.0
    Reading libm.so.6
    Reading libc.so.6
    Reading libstdc++.so.6
    Reading libgcc_s.so.1
    Reading libicuuc.so.34
    Reading libicui18n.so.34
    Reading libstdc++.so.5
    Reading libXau.so.6
    Reading libXdmcp.so.6
    Reading libXmu.so.6
    Reading libXp.so.6
    Reading libXft.so.2
    Reading libjpeg.so.62
    Reading libSM.so.6
    Reading libICE.so.6
    Reading libexpat.so.1
    Reading libXfixes.so.3
    Reading libXrandr.so.2
    Reading libXinerama.so.1
    Reading libXcursor.so.1
    Reading libXxf86vm.so.1
    Reading libaudit.so.0
    Reading libicudata.so.34
    Reading libnss_files.so.2
    Reading libnss_dns.so.2
    Reading libresolv.so.2
    dbx: warning: Bad transition in runtime linker interface. CONSISTENT->CONSISTENT
    Reading libnss_ldap.so.2
    Reading libcom_err.so.2

    Well, this message is just a warning and should not prevent dbx from working. What exactly happens to dbx? Does it hang? Does it crash? Or it doesn't allow to run the app?
    A side note: this message says that runtime linker debugging interface reported "consistent" event w/o any "add" or "delete" events, which is at least redundant and may indicate a bug. It is possible though that the bug is in dbx as well as in ld-linux.so, but its impossible to tell without live test case.

  • HCP debugging and profiling does not work anymore

    Hi,
    starting HCP in debug or profile mode does not work anymore.
    Last week I developed a small java app and could debug it on HCP. Today I updated the HCP Tools eclipse plugins and now I can't change the state of the server to debug or profile. Of course the debugger does then not stop at my breakpoints.
    Any hints?
    Regards Helmut

    Hi Alex,
    as you can see on the screenshots the option is available. When I start in Debug Mode the state changes to started instead of debugging. Setting breakpoints then has no effect.
    1. Start in Debug Mode
    2. Server not started in Debug Mode
    Regards Helmut

  • You cannot debug this SWF because it does not contain ActionScript

    Im working with flash, everything is good. I've exported my movie it works fine. But i fell its a little fast.
    So i go to drop the frame rate from default 12 to 8 just to see how it looks. I play it and i like it. Next thing i know when i go to hit 'share' to export the movie again the button is replaced by 'Debug'. I go into it and hit 'Debug Movie' then thats when i get the message "You cannot debug this SWF because it does not contain ActionScript".
    Now if i start any new projects or open any exsisting ones it still has this debug thing going on.
    How do i fix it and get it back to normal so i can export videos?
    Thanks

    I have exactly the same problem. AS3 just seems not to be
    compiled/interpreted at all. With a very simple 'trace' line as
    mentioned in previous posts, you just need to click on the 'check
    code' button and you will got the error saying that your code
    contains error (of course the same experience works just fine on a
    working CS3 installation on another computer).
    So far I have been through several install/uninstall
    processes without any change. It looks like Flash does not found
    needed components/libs for compiling/interpreting AS3 code... Error
    messages that all of us have seen are just kind of side effects of
    the real problem.
    Is there a way to initiate and access flash log files/system
    error events/dll load tracer where we would be able to see what
    flash is looking for and obviously it does not find
    (files/libs/whatever)?!
    In my case, I'm running CS3 on windows XP Pro SP2 installed
    on e: (not c: ... which may be also something to consider)
    ... very very annoying to waste time that way... and I guess
    it will be worst once we will have confirmation that this is just a
    misunderstood or broken path to a lib file... usually the stranger
    is the effect, the stupidest is the reason...
    sorry no solution here, just another name in the
    stack.

  • We have 2 versions of Portuguese in our application. The problem is only for Brazilian Portuguese and the other one is working just fine. Locale for portugese-brazil (pt-BR) is not working

    We have 2 versions of Portuguese in our application. The problem is only for Brazilian Portuguese and the other one is working just fine.
    Locale for portugese-brazil (pt-BR) is not working.

    No. Something else is going on.
    Your son may be hogging all the bandwidth but your wireless network should never simply disappear. Moreover, if your son isn't doing anything the available bandwidth for other devices should remain unaffected.
    I suspect that something is miswired, and from what you describe I suspect that link is between the Extreme and the "other computer".
    The way to accomplish what you propose is
    Modem > Ethernet cable to Extreme's WAN port
    Extreme's LAN ports > wired Ethernet devices.
    There should be nothing but an Ethernet cable linking an Extreme LAN port and any other wired device. If you run out of available LAN ports on the Extreme, you need to by an "Ethernet switch" - they are not expensive, but don't call it a "splitter" or you will only confuse yourself. The switch would be connected to one of the Extreme's LAN ports, and you would connect additional devices to it. You can also use one of your Expresses for that purpose, assuming it is the current generation model with two Ethernet ports.

  • Instruction at 0x1000865c referenced memory at 0x1000865c /memory cannot be read CANCEL to debug does not work. what is this?

    When opening firefox I receive this message. I unistalled and then installed again and still receive this message. The debug function does not work- firefox closes.

    it's a box that opens with blue header firefox.exe- Application error
    red circle with white X to left followed by: instruction at 0x1000865c referenced memory at 0x1000865c The memory could not be read. Click OK to terminate program. Click on CANCEL to debug program. CANCEL as well as OK shut down firefox. XP continues to work. Sorry, but I'm not familiar with the tech side of this.
    Thanks

  • Local Admin add with GPP netbios name not working

    I am trying to add domain users to be a local admin on certain machines. This however is not working with some machines critereria of the GPP.
    For example: there is a GPP who adds the administrator to the local admin and deletes the ones already there. Then there follows a few other users with criteria: member of the security group laptopusers or other security groups. Also have added a user and
    the criteria is netbios name of the computer. The member was immediatly added after a restart of that client.
    There is also a group in AD and added members to that group that are local admin on every machine so there is no criteria. This is working fine. WHen i add all users to this group all users are local admin everywhere. Was tested.
    However i have several users that do not be added to the local admin when the criteria is: netbiosname is ... Although when i give the command on the client: ipconfig /all the netbios name is exactly the same.
    Looked in the winlog and it looks like a problem with the machines names or usernames. But how to solve it?
    Which other cirteria i can use to add a member to local admin on a specific machine.
    The GPP is beneath the computer preference and in AD beneath a computer OU.
    freddie

    > the command nbtstat -n givves also the name as i gave in in the criteria
    > of the GPP.
    >
    > With Winlog i mean: set the gpo logging so that in a file the errors
    > appearing for the group policy applied. However there is not much to see
    > in case of this...
    Ok :) I know that these GPP debug logs are kind of "insufficient" in
    terms of debugging ILT filtering issues, because there's absolutely
    nothing about the filter evaluation in them...
    In a quick test I ran right now, it worked without a problem. So it
    seems you most probably will be out of luck in this forum, because it is
    not a general issue.
    BTW: Did you type in the name or did you select it through the object
    picker button ("...")? Maybe this filter is case sensitive?
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))
    I jhave give in the name and then check name so he gets the name from AD. I have done that again to see if it works now. The strange thing is that it works well on some systems and not for some other systems...
    freddie

  • Creating a symlink directory on a network share to a path below a mapped drive letter, local path, or UNC path does not work

    Am I correct in assuming I can not create a `symlinkd` to a network share, local path, or a UNC path on a network share that will be accessible by clients?
    ###Mapped drive letters don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a hardlink:
    mklink /d test_sharedir t:\directory\
    dir .\test_sharedir
    #Directory of Z:\test_sharedir
    #File Not Found
    UNC paths don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a symlink:
    mklink /d test_dirunc \\windows2008server\share
    dir .\test_dirunc
    #Directory of Z:\test_dirunc
    #File Not Found
    I can create a functional `symlinkd` on a local drive to a mapped drive letter or a UNC path.
    Are my assumptions above correct?
    We are in the middle of a migration and have created two symlinkd to UNC paths for shared DLLs, one below c:\windows\system32\ (directing to a share containing 64-bit DLLs) and one below c:\windows\syswow64 (directing to a share containing 32-bit DLLs).
    On the file server, we have had a path to 32-bit DLLs (from Windows 7 clients: s:\dll\).  I am attempting to rename this directory so that it is accessible via "s:\dll32\" and would like to create a symlinkd that links "s:\dll" to
    "s:\dll32" [again where S: is a mapped drive on a Windows 2008 server].  How do I do this?
    Thanks,
    Matt

    Hello Mandy,
    The link you sent me is for Netapp CIFS server daemon contained within DataOnTap (the Netapp OS) to follow symlinks.  I am inquiring about the Microsoft products Windows Server and Windows 7.
    To gain a better understanding of the Microsoft Windows Server and client (Windows) CIFS stacks and interaction of the stacks, I have referred to Figure 6 "Server Message Block Server Model" within the following (albeit older) document: http://download.microsoft.com/download/2/8/0/2800a518-7ac6-4aac-bd85-74d2c52e1ec6/tuning.doc
    You will see the following:
    I assume that the Windows Server CIFS server service must be "smart enough" to determine that a CIFS client is attempting access to a SYMLINKD and actually fill the request by following the SYMLINKD.  The CIFS server service does not appear
    to operate like this.
    1) Am I correct in my assumption that the CIFS client (redirector) and the CIFS server (server) do not following symbolic links (whether they be file or directory)?
    2) If not, how do I submit a feature request for this so that it can be reviewed and approved or not approved for inclusion/hotfix release?
    Thanks for your time,
    Matt Brown
    [UPDATE]
    Note that you can use a `directory junction` instead of using a SYMLINKD, to link to LOCAL resources (source). However, `directory junctions` do not allow access to resources over UNC.

  • I would like to know why when i make a web page and test in my local browser it works fine then when i tranfer to my server i does not work fine example i used javascript to put a prompt bar on a page and it worked fine local but on server not working

    how come when i make a web site and i test it in my local server it works fine when i tranfer to server certain things do not work example i used javascript to put in a prompt bar for a newsletter page at the server it did not work but at local it did also it works at MOZZILLA but not internet explorer i also have cs4 was wondering if there is a way to test a page in dreamweaver and then transfer   THANK YOU X-FACTOR-MEDIA

    In future, please try to make the subject line of your posts shorter. In this case the following would have been sufficient: "JavaScript works locally, but not on remote server".
    Short, but meaningful subject lines make it easier for others to identify what your question is about, and often bring faster help.

  • Debug version works well, but release version does not work with simulator

    Hi,
    I use iOS 7.0.3 and Xcode 5.0.2.
    I developped one application and I tested with simulator-ipad retina. The debug version works well and release version did not work at all.
    The basic configuraton is like this:
    cocos2d: cocos2d-iphone v2.1
    cocos2d: compiled with Profiling Support: NO
    cocos2d: OS version: 7.0.3 (0x07000300)
    cocos2d: GL_VENDOR:   Apple Computer, Inc.
    cocos2d: GL_RENDERER: Apple Software Renderer
    cocos2d: GL_VERSION:  OpenGL ES 2.0 APPLE-9.2.1
    cocos2d: GL_MAX_TEXTURE_SIZE: 4096
    cocos2d: GL_MAX_TEXTURE_UNITS: 8
    cocos2d: GL_MAX_SAMPLES: 4
    cocos2d: GL supports PVRTC: YES
    cocos2d: GL supports BGRA8888 textures: YES
    cocos2d: GL supports NPOT textures: YES
    cocos2d: GL supports discard_framebuffer: YES
    cocos2d: GL supports shareable VAO: NO
    What is the reason and how to fix it?

    Well, yes...you need to upgrade to OS X Server 4.0 ($19.99)...I already did it also!

  • Loginscript via GPO does not work when local admin

    Hi
    We are in the middle of deploying Windows 8.1 to our
    organization. We are using Windows 7 Pro today. We a mapping network drives
    with a logon script via GPO. It is done with the good old net use commands that
    has been working for years e.g.:
    net use K: \\server1\Data /PERSISTENT:YES
    net use L: \\server1\Design /PERSISTENT:YES
    It works perfectly on Windows 7, but on the new
    Windows 8.1 machines, no network drives are mapped. I can see that the GPO are
    applied fine to the machines. It seems to have something to do with UAC and the
    fact that the users is local admins. If I remove the use from the administrator
    group, the script works fine and the drives are mapped just like in Windows 7 (5
    minutes delayed, but it works...!). If I keep the user in the administrator group
    and instead disable UAC by setting the EnableLUA to 0 in the registry it works
    too, but then it gives me a lot of other issues with Metro apps and the Windows
    Store.
    Has anyone found a good solution to map network drives
    for users that needs to be local administrators, without disabling UAC completely
    in the registry?
    Any help would be
    appreciated!
    Thomas | MCP | http://www.techwork.dk

    Thank you Techguy
    "Group Policy Preference Drive Maps", does not just resolve my issue it does also give me some a lot of new awesome options I don't have with net use commands via GPO :-)
    I have not tested it with Windows 7 yet, but I am pretty sure it will work there too
    Thomas | MCP | http://www.techwork.dk

Maybe you are looking for

  • How do i display text into a JTextfield

    hi, am currently using a JLabel to display the results of a calculation in my gui however i want to change it to a JTextField if possible is it possible to declare a Jtextfield, set it so that it cant accept data of any kind and display a calculation

  • Problem on photocopier with HP Deskjet F4185

    I have an HP Deskjet F4185 with an single cartridge mode (Black), when I try to copy my printed document with black by pressing the button on the printer that indicate black, my printer does nothing. I even tried using the HP solution Center, but whe

  • Creating views in a new schema to access certain rows of tables in source schema

    Hi, Oracle 10.2.0.4 We are trying to mask certain data from some users. My suggestion is that we create a new schema view_schema on the same instance where we have source tables say in source_schema. We then create views in view_schema as below CREAT

  • Cant save custom theme

    Hi, We are new into SAP Fiori area and we would like to customize our theme. I have gone through many articles, but when I try to open the UI Theme Designer using the tcode. The UI theme designer opens up. When I open a standard theme, it does not al

  • Background Color Bleed-through in Safari 8.0

    Ever since upgrading to Yosemite and the new Safari, the desktop wallpaper color bleeds through the bookmarks area. It looks like a small degree of translucency. For a redesign of software that was suppose to be "clean" looking, this is very distract