JHS11 TP2 - Jdeveloper hangs when generating application

Hi,
I have got an issue with JHS11 Tp2.
When generating the application JDeveloper seems to hang (I waited about 10 minutes before I killed it.).
In my jdev console I see the following :
18-sep-2009 8:37:51 oracle.ide.boot.Launcher throttleLocale
INFO: Locale nl_NL is not supported by this product. Forcing locale to en_US.
Loading JHeadstart Addins
Addin | Version | Status
JHeadstart Shared Components | 11.1.1.0.46| Loaded
JHeadstart Forms2ADF Generator | 11.1.1.0.46| Loaded
JHeadstart OraFormsFaces Generator | 11.1.1.0.46| Loaded
JHeadstart Utilities | 11.1.1.0.46| Loaded
JHeadstart Development Environment | 11.1.1.0.46| Loaded
JHeadstart Application Generator | 11.1.1.0.46| Loaded
08:40:37 INFO (CollectionFactory) -Commons Collections 3.x available
08:40:37 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
08:40:37 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
08:40:37 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
JHeadstart Debugger: no debug session exists with key: "JAG"
08:41:37 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
08:41:37 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
08:41:37 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.set.ListOrderedSet]
08:41:44 DEBUG (ReloadableResourceBundleMessageSource) -Clearing entire resource bundle cache
08:41:44 DEBUG (CollectionFactory) -Creating [org.apache.commons.collections.map.LinkedMap]
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Loading properties [GeneratorText_nl.properties]
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [{0} met deze {1} bestaat reeds] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [{0} met deze {1} bestaat niet] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [Kan {0} niet verwijderen terwijl afhankelijke {
1} bestaat] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [Invoeren {0}] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [Wijzigen {0} '{'0}] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [&Invoeren {0}] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [&Verwijderen {0}] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [Waarschuwing] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [{0} '{'0} verwijderen?] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [&Opslaan] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [&Annuleren] and locale 'nl'
08:41:48 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [Geen rijen gevonden] and locale 'nl'
08:41:49 DEBUG (ReloadableResourceBundleMessageSource) -Creating MessageFormat for pattern [{0}] and locale 'nl'
In the JAG Developer log the last step is : JAG-INFO-00000 [ MenuAdminService ] Validation application definition started.
The last JDeveloper logline (at the bottom of the IDE) is : Load done oracle.jheadstart.model.adfbc.security.query
I tried to use a different jdev_user_dir but that did not solve my problem.
Reinstalling JDeveloper did not solve my problem either.
Do you have any experiences like this?
Regards,
Romano
Edited by: Romano Londt on Sep 18, 2009 1:07 AM

Hi All,
I found something. In my model.jpx file I found the folowing tag multiple times (about 3500 times):
<AppContainee
Name="JhsModel"
ObjectType="JboProject">
<DesignTime>
<Attr Name="_SourceName" Value="jhsadfrt-11.1.1.jar"/>
</DesignTime>
</AppContainee>
When I deleted all but one occurrence the generator performed normally.
Can you tell me how to prevent this behaviour?
Regards,
Romano

Similar Messages

  • JDeveloper hangs when publishing the PL/SQL pkg as web service

    Hi,
    I have followedthe guidelines in
    http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
    I have created a simple pkg with one function return varchar2. Followed the exact steps to publish my test_pub, the jdeveloper hangs, at the step 4 of 7 : Program Units. Please help!
    Thanks!
    Yi
    Message was edited by:
    ytian

    Bob,
    watch this viewlet, maybe it gives you a helping hand
    http://otn.oracle.com/products/jdev/viewlets/10g/WS_PLSQL_Demo_viewlet_swf.html
    Frank

  • JDeveloper Hangs when debugging JPDA on Solaris

    Has anyone been able to JPDA debug on the Solaris platform? My system hangs when a break point is encountered.

    I need more info so I can help:
    What JDK do you have?
    What VM are you using when you debug? (Project Settings Dialog, Runner panel, Virtual Machine combobox).
    Can you copy the java command from the debugger log window and paste it into your reply here?
    Thanks,
    -Liz

  • Mouse pointer hangs when switching applications

    I have noticed that occasionally my mouse will hang (freeze, stall, get stuck, whatever you like) for about 0.5 seconds when I switch applications either by cmd-tab or by clicking with the mouse. I have not figured out a good way to replicate the problem but it happens pretty consistently on my computer (MBP2.2 with Leopard) and I was wondering if there was anyone else having similar issues. Thanks.

    How many programs do you have open, what are they, and how much RAM is in your MacBook?
    A pause during application switches often means that OS X needs to page data in or out of the virtual memory swap file on disk because it can't hold everything you're currently doing in the RAM that's available.

  • MacBook White lagging and hanging when certain applications are being run

    My 9-month-old MacBook White (Core 2 Duo, 2.4 GHz) lags whenever I use SketchUp, and hangs sometimes when I use FlightGear or X-Plane (flight simulators). No other applications were running when these were being used. Is it a CPU problem, or a RAM shortage? Any answers and/or clarification would be much appreciated.

    Can you go to Applications > Utilities > Activity Monitor and check that all the processes you are running are Intel (you will find this info under the "Kind" column in the Activity Monitor window).
    Also see (in the same window, under the "%CPU" column) if there appears to be any processes which are using an inordinate amount of CPU.

  • Hanging when closing applications.

    For the past couple days I cannot close an app it seems without it hanging. It never really quits completely, rather is still running and I have to force quit the app. Any ideas why? It's getting to be very annoying since my Mac won't shutdown unless all apps are closed, so it hangs while shutting down. Thanks

    caravot:
    Try this:
    • Shut down the computer.
    • Locate the following keys: Command, Option, P, and R. You will need to hold these keys down simultaneously later.
    • Turn on the computer.
    • Press and hold the Command + Option + P + R keys immediately after the startup chime.
    • Hold keys down until you hear the startup chime for the third time.
    • Release the keys and immediately hold down Shift key to start up in Safe Mode.
    • Log in and empty Trash.
    • Restart normally and log in.
    Please post back with an update on whether this helped.
    Cheers
    cornelius

  • BUG JDeveloper hangs when Completion Insight invoked with accelerator

    JDeveloper 10.1.2 build 1811
    Windows XP Professional Version 2002 Service Pack 2
    Nondeterministic... occurs about once a day on average.

    Occurs the first time that you invoke completion insight after starting JDeveloper (ctrl-space for me, by the way) .

  • JDeveloper 11.1.2.3 hangs when opening project from JDeveloper 11.1.1.6

    Hello! I have a problem here which I can't solve. I also asked this question here: http://stackoverflow.com/questions/14365031/jdeveloper-11-1-2-3-hangs-when-opening-project-from-jdeveloper-11-1-1-6/14369211#14369211 . The whole story in short. I have a JavaEE client-server project in JDeveloper 11.1.1.6, where it works like a charm. Recently I had to upgrade JDeveloper version to the latest 11.1.2.3. The first problem was that the standard procedure of migrating project from the older version of JDeveloper to the newer one did not help: IDE was hanging forever all the time with no apparent (for me) reason, log file was silent about that. Then I tried another way: I just created the same project from the beginning and put there all necessary source files, libraries, set project properties etc. Still nothing, but now found the way to obtain a kind of error at least. I ran C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.exe from the command line and got the following (e.g. when I started running debug):
    Jan 16, 2013 8:52:09 PM oracle.ideimpl.runner.StarterFactoryDescriptionImpl logError
    SEVERE: Incorrect hash-structure value in starter-factory definition
    Jan 16, 2013 8:52:10 PM oracle.ideimpl.runner.StarterFactoryDescriptionImpl logError
    SEVERE: Incorrect hash-structure value in starter-factory definition
    But I don't know what could be the next step... Could anyone help me? Thanks in advance for your attention!
    Edited by: user12144197 on 22.01.2013 0:42

    Hi,
    not sure if you have a support contract or work for Oracle. In both cases the best option is to file a bug (service request)
    Frank

  • Application hangs when using ProcessStartInfo and Process.WaitForExit.

    I've looked on different threads about this, but all of them uses the Process.RedirectStandardOutput = True, which I don't.
    I'm trying to open a process (console application, not made by me) to make it compile a special .acs file to a .o file. The structure is simple, the only argument is the file you want to compile.
    But on certain files my application hangs when trying to open the process. Here's my code:
    Dim p As New Process
    Dim ps As New ProcessStartInfo
    ps.Arguments = SavePath 'Path example: "C:\Program Files (x86)\Zandronum\File.acs"
    ps.FileName = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory(), "Script Compilers\Zandronum\acc.exe")
    ps.CreateNoWindow = False
    ps.ErrorDialog = False
    ps.UseShellExecute = True
    ps.WindowStyle = ProcessWindowStyle.Hidden
    ps.WorkingDirectory = Path.GetDirectoryName(SavePath)
    Dim ErrorCaptured As Boolean = False
    Try
    p = Process.Start(ps)
    Catch ex As Exception
    ErrorCaptured = True
    End Try
    If ErrorCaptured = False Then
    p.WaitForExit()
    End If
    If ErrorCaptured = True Then
    Exit Sub
    End If
    Thanks!
    //Visual Vincent
    EDIT:
    For starting the process I use pretty much the same code that another guy made in C#. And his code is working perfectly...
    // Setup process info
    processinfo = new ProcessStartInfo();
    processinfo.Arguments = args;
    processinfo.FileName = Path.Combine(this.tempdir.FullName, info.ProgramFile);
    processinfo.CreateNoWindow = false;
    processinfo.ErrorDialog = false;
    processinfo.UseShellExecute = true;
    processinfo.WindowStyle = ProcessWindowStyle.Hidden;
    processinfo.WorkingDirectory = this.workingdir;
    try
    process = Process.Start(processinfo);
    catch(Exception e)
    // Unable to start the compiler
    General.ShowErrorMessage("Unable to start the compiler (" + info.Name + "). " + e.GetType().Name + ": " + e.Message, MessageBoxButtons.OK);
    return false;
    // Wait for compiler to complete
    process.WaitForExit();
    I hope your day has been better than yesterday, but that it's worse than tomorrow...
    Please mark as answer if I solved your problem. :)

    Hi,
     Have you compared the FileNames and Arguments of ones that work and ones that don`t? Is there any difference in them such as the ones that work do not contain blank spaces in the FileName or arguments and the ones that do work don`t contain blank spaces
    in them? If you find that to be the problem then you need to add Quotes to the beginning and end of the FileName or Arguments.
     My first guess is the Arguments needs the Quotes like this because, i see blank spaces in your example of the Arguments.
    ps.Arguments = Chr(34) & SavePath & Chr(34)
    If you say it can`t be done then i`ll try it
    This actually made it. I had forgotten that blank spaces makes it a new argument, silly me. I don't use process arguments that often. ;)
    Thanks alot!
    I hope your day has been better than yesterday, but that it's worse than tomorrow...
    Please mark as answer if I solved your problem. :)

  • Firefox 4 hangs when attempting to view the Applications tab in Preferences

    Firefox 4 under MacOS X 10.6.6 hangs when I click to select the "Applications" tab on the Preferences dialog. It never paints the pane. When this happens, it consumes 60% CPU. Running dtruss against the running process shows a little activity, but not much.
    I have tried deleting mimeTypes.rdf. It recreated a new, smaller one, but it made no difference to the problem. I have let Firefox continue to run for up to 10 minutes, with no change in responsiveness. I am forced to kill it every time. It is 100% reproducible on my system.

    I just discovered that if I disable the Quicktime plugin (7.6.6), this problem goes away.

  • Jdeveloper 11.1.1.0.0 - Error when generating webservice from Collection or

    Hello.
    I get the error when I like to publish a method which return a Collection..
    for example I have a Class:
    package in2;
    import java.sql.Connection;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.*;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    public class servis {
        public servis() {
        public String hello() {
            return "PETER";
        public Collection vrniPodatke() {
            Collection l = new ArrayList();
            l.add ( new OptionList("PTER","VALENCIC"));
            return l;
        public int sestej (int a , int b) {
            return a+b;
    ==========
    package in2;
        public class OptionList {
            String a;
            String b;
            public OptionList(String a, String b) {
                this.a = a;
                this.b = b;
            public void setA(String newa) {
                this.a = newa;
            public String getA() {
                return a;
            public void setB(String newb) {
                this.b = newb;
            public String getB() {
                return b;
        }The error I get is:
    java.lang.RuntimeException: Cannot find namespace for: ns1
         at oracle.j2ee.ws.wsdl.extensions.oracle.schema.BaseSchemaElement.getQNameFromValue(BaseSchemaElement.java:185)
         at oracle.j2ee.ws.wsdl.extensions.oracle.schema.BaseSchemaElement.getAttributeValueAsQNameOrNull(BaseSchemaElement.java:173)
         at oracle.j2ee.ws.wsdl.extensions.oracle.schema.ElementSchemaElement.getTypeAsQName(ElementSchemaElement.java:63)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validate(SchemaValidator.java:145)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validateSequence(SchemaValidator.java:414)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validateComplexType(SchemaValidator.java:224)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validate(SchemaValidator.java:157)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateElement(WSDLValidator.java:709)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateParts(WSDLValidator.java:667)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateMessage(WSDLValidator.java:644)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateOutput(WSDLValidator.java:604)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateOperations(WSDLValidator.java:596)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validatePortType(WSDLValidator.java:585)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateDefinition(WSDLValidator.java:97)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validate(WSDLValidator.java:68)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:247)
         at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:171)
         at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:73)
         at oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:126)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createModel(WsdlToJavaTool.java:471)
         at oracle.j2ee.ws.tools.wsa.Util.createDeploymentDescriptors(Util.java:913)
         at oracle.jdeveloper.webservices.model.generator.GenerateDescriptors.action(GenerateDescriptors.java:146)
         at oracle.jdeveloper.webservices.model.java.generator.JavaEjbGenerateDescriptors.action(JavaEjbGenerateDescriptors.java:78)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:151)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:358)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
         at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:226)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.WebServicesEditor.showDialog(WebServicesEditor.java:296)
         at oracle.jdevimpl.webservices.WebServicesAddin.findAndInvokeWizard(WebServicesAddin.java:1408)
         at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:837)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:506)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:779)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:479)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    ======================
    What I'am doing wrong?

    I don't know what is happening with Jdeveloper ?!?!
    I have tryed the same example at home with Jdeveloper 11.1.1.0.0 Build JDEVADF_MAIN.DROP5_GENERIC_071218.2321.4796
    All works fine.....
    What you think could be wrong (in my first post)? Why I have received the error? and why the same project works on other computer?
    can someone reply to my post?

  • Most applications hang when performing File | Open

    Hello,
    Excel 2013, Word 2013, Notepad+ and other applications all hang when File | Open is selected. I read a post stating that it could be related to printers.
    When I try to go to Control Panel | Devices and Printers, nothing loads so I would guess there is something wrong with printers.
    Would anyone have a suggestion on how to debug printer problems on Windows 8.1?
    Thank you, Bill

    Hi,
    Could you please have a share with the post which stating the issue is related with printers?
    To narrow down the issue, please try to boot into clean boot and see if the open/save dialog would work:
    How to perform a clean boot in Windows
    For the Devices and Printers not load, could you please give us a screenshot? Besides, please also check into Event Viewer and see if there are any errors logged.  Use Windows Search to search Event Viewer, then select
    View Event Logs
    Reference: What information appears in event logs? (Event Viewer) ; 
    For Windows 8.1 hangs, please take a try with a refresh or reset, then check the results.
    How to  refresh, reset, or restore your PC
    For the printers troubleshooting, we may take a look at the following article first:
    Fix printer problems
    Best regards
    Michael Shao
    TechNet Community Support

  • Concurrent Data Store (CDB) application hangs when it shouldn't

    My application hangs when trying to open a concurrent data store (CDB) database for reading:
    #0 0x0000003ad860b309 in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib64/libpthread.so.0
    #1 0x00007ffff7ce67de in __db_pthread_mutex_lock (env=0x610960, mutex=100)
    at /home/steve/ldm/package/src/Berkeley-DB/dist/../mutex/mut_pthread.c:318
    #2 0x00007ffff7ce5ea5 in __db_tas_mutex_lock_int (env=0x610960, mutex=100,
    nowait=0)
    at /home/steve/ldm/package/src/Berkeley-DB/dist/../mutex/mut_tas.c:218
    #3 0x00007ffff7ce5c43 in __db_tas_mutex_lock (env=0x610960, mutex=100)
    at /home/steve/ldm/package/src/Berkeley-DB/dist/../mutex/mut_tas.c:248
    #4 0x00007ffff7d3715b in __lock_id (env=0x610960, idp=0x0, lkp=0x610e88)
    at /home/steve/ldm/package/src/Berkeley-DB/dist/../lock/lock_id.c:68
    #5 0x00007ffff7da1b4d in __fop_file_setup (dbp=0x610df0, ip=0x0, txn=0x0,
    name=0x40b050 "registry.db", mode=0, flags=1024, retidp=0x7fffffffdd94)
    at /home/steve/ldm/package/src/Berkeley-DB/dist/../fileops/fop_util.c:243
    #6 0x00007ffff7d70c8e in __db_open (dbp=0x610df0, ip=0x0, txn=0x0,
    fname=0x40b050 "registry.db", dname=0x0, type=DB_BTREE, flags=1024,
    mode=0, meta_pgno=0)
    at /home/steve/ldm/package/src/Berkeley-DB/dist/../db/db_open.c:176
    #7 0x00007ffff7d673b2 in __db_open_pp (dbp=0x610df0, txn=0x0,
    fname=0x40b050 "registry.db", dname=0x0, type=DB_BTREE, flags=1024, mode=0)
    at /home/steve/ldm/package/src/Berkeley-DB/dist/../db/db_iface.c:1146
    I suspect that the database environment believes that another process has the database open for writing. This cannot be the case, however, as all applications that access the database do so via an interface library I wrote that registers a termination function via the atexit() system-call to ensure that both the DB and DB_ENV handles are properly closed -- and all previously-executed applications terminated normally.
    The interface library opens the database like this (apparently, this forum doesn't support indentation, sorry):
    int status;
    Backend* backend = (Backend*)malloc(sizeof(Backend));
    if (NULL == backend) {
    else {
    DB_ENV* env;
    if (status = db_env_create(&env, 0)) {
    else {
    if (status = env->open(env, path,
    DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL, 0)) {
    else {
    DB* db;
    if (status = db_create(&db, env, 0)) {
    else {
    if (status = db->open(db, NULL, DB_FILENAME, NULL,
    DB_BTREE, forWriting ? DB_CREATE : DB_RDONLY, 0)) {
    else {
    backend->db = db;
    } /* "db" opened */
    if (status)
    db->close(db, 0);
    } /* "db" allocated */
    if (status) {
    env->close(env, 0);
    env = NULL;
    } /* "env" opened */
    if (status && NULL != env)
    env->close(env, 0);
    } /* "env" allocated */
    if (status)
    free(backend);
    } /* "backend" allocated */
    This code encounters no errors.
    The interface library also registers the following code to be executed when any process that uses the interface library exits:
    if (NULL != backend) {
    DB* db = backend->db;
    DB_ENV* env = db->get_env(db);
    if (db->close(db, 0)) {
    else {
    if (env->close(env, 0)) {
    else {
    /* database properly closed */
    As I indicated, all previously-executed processes that use the interface library terminated normally.
    I'm using version 4.8.24.NC of Berkeley DB on the following platform:
    $ uname -a
    Linux gilda.unidata.ucar.edu 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 10 10:36:29 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    Any ideas?

    Bogdan,
    That can't be it. I'm using a structured programming style in which the successful initialization of a cursor is ultimately followed by a closing of the cursor. There's only one place where the code does this and it's obvious that the cursor gets released.
    I've also read the CDB section.
    --Steve Emmerson                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Microsoft Word and Excel Hang When Pasting From Apple Applications

    I have had a problem ever since upgrading to Snow Leopard. Word and Excel hang when pasting from Apple applications like Safari and Pages. Pasting to OpenOffice does not show the problem. Pasting from Firefox does not show the problem. I have resolved font duplicates, got rid of input managers, reinstalled Office removing plist files and normal templates but the problem persists. Microsoft is saying it is not their software after looking at the crash dump created from force quit. Besides, sticking to open source software , I am at a loss for what to try next besides reinstalling Mac OS X 10.6 (I am on 10.6.2 now). Any help appreciated. I have crash dumps and snapshots of the hung process if anyone can read them. Word is using close to 100% of the CPU when hung.

    Microsoft is saying it is not their software after looking at the crash dump created from force quit.
    If their software is freezing up, it's certainly nobody else's fault. If those Apple apps are for some reason creating bad clipboard data, Microsoft's apps should be able to gracefully recover and report the problem. Error handling is probably one of the most important, and most difficult, aspects of programming, but you can't blame poor error handling on anyone but the developer. I suspect that, rather than bad clipboard data, it's more likely to be a case of Microsoft's apps simply not understanding something about perfectly valid clipboard data, because they haven't properly followed Apple developer guidelines.
    Of course, that's not a solution. I can't really provide you a solution, other than to ask what version of Office you're using. If you're using too old a version of Word, you should update. You should also let us know what kinds of stuff you're copying. More info always helps to get better answers.

  • Imac is hang when itunes updates applications

    Hi guys.
    i have iMac 24" C2D 3.06, 4G ram bus800, HDD 1TB...It runs well but one thing.
    When i login my iTunes account, choose update mobile applications, iTunes will update...after 3-4 apps update done, then it is hang, iTunes is hang and my iMac is hang too.
    and it just be hang when i do that ( open iTunes and choose update apps) again...
    i changed ram, i changed hdd, reset PRam, reinstall lion, reinstall snow leopard, run sofeware update....bla bla...but my iMac still hang when i run iTunes and choose update for my iPhone's applications. it appears apple color spinning wheel, and the only application can run is that Spinning Wheel...:(
    Any idea my friends? Thanks
    i posted it in iMac forum, but one man told me should post here. Thanks

    I would think you would get a faster answer from the users in the iTunes for Mac forum.  Good luck

Maybe you are looking for

  • Update purchase Order using offline file

    Hi Experts How to create and update purchase Order using offline file. How to execute offline API from program in batch ?

  • Rotating Ad Banner

    I am trying to figure out how to create a rotating homepage banner with news stories in dreamweaver. I know how to do rotating images but I saw one (see link below) that had text, images, and link. Cannot find anything on how to do this. Example: htt

  • Mail.app is 20GB full of email - How to manage?

    Hi, I'm working with a client who has 20GB + of data in Mail.app. It has already exploded on her iMac and I'm concerned the same will happen on her PowerBook soon if we don't come up with better mail management strategies. I've moved most of the mail

  • Total Broadband Option 1

    From what I have read, I should have been given a Broadband Talk number when I opened my account. Having read and re-read all the emails, there's no sign of it. Is Talk standard with Option 1, does anyone know, or is it me getting the wrong end of th

  • Create undo tablespace while at mount state, possible?

    Oracle 10g (10.2.0.1.0), on RedHat 4 (both 64 bit) My test db’s undo tablespace is corrupt (no RMAN or user backups). DB fails to open, fails during "Doing block recovery for file 2 block 209910"Is there a way of creating undo tablespace while at mou