BC4J Error hangs around

Hi... can somebody tell me why when I get an error (say Primary Key error), anything I do after that causes an exception until the browser is shutdown and restarted...
Do I need to clean up some stuff?
Thanks in advance for the help!
Jarett

I'm having the same problem.
I've deployed my BC4J project to Tomcat and there seems to be a problem when many users are trying to insert records into the same table in Oracle. When someone gets an error ( say unique constraint ) then the error hangs around and the other users start to get the error too.
Marsibil.
null

Similar Messages

  • Assert error/hangs running the performance sample code

    Hi,
    I'm doing some work to understand how fast I can expect Berkeley DB to run and I found the 2006 white paper on [Performance Metrics and Benchmarks|http://www.oracle.com/technology/products/berkeley-db/pdf/berkeley-db-perf.pdf] so I downloaded the [sample code|http://www.oracle.com/technology/products/berkeley-db/files/perf.zip] and made a couple of fixes to make it run with 4.7.25 (shown at the end).
    When I run 'make test' it frequently hangs on the "Transactional Data Store (write, in-memory logging)" test under OS X 10.5.7 and under Debian lenny (kernel 2.6.26-1-amd64).
    If I rebuild BDB with --enable-diagnostic I get this assertion error.
    jmeredith@op:~/src/perf$ rm -rf TESTDIR ; ./t
    Using Berkeley DB 4.7.25 - ops: 1000000; keysize: 8; datasize: 32
    Data Store (read):
    elapsed time: 0.392573 seconds : 2.5473e+06 key/data pairs per sec
    Data Store (bulk read):
    elapsed time: 1.615233 seconds : 2.66339e+07 key/data pairs per sec
    Data Store (write):
    elapsed time: 0.629771 seconds : 1.58788e+06 key/data pairs per sec
    Transactional Data Store (read):
    elapsed time: 2.413665 seconds : 414308 key/data pairs per sec
    assert failure: ../dist/../txn/txn_region.c/451: "td->mvcc_ref > 0"
    [0x4f431d]
    [0x4f41a9]
    [0x44cdff]
    [0x4f2e1e]
    [0x42f0d3]
    [0x4f3faf]
    [0x4fddee]
    [0x4f8dde]
    [0x4d975c]
    [0x4c9991]
    [0x4e417d]
    [0x40137c]
    [0x40198e]
    [0x52613b]
    [0x4001b9]
    Aborted (core dumped)
    Here are the changes to get the code to build.
    --- perf/t.c 2006-06-28 17:15:47.000000000 -0600
    +++ perf-fixed/t.c 2009-07-06 09:44:43.000000000 -0600
    @@ -1,4 +1,5 @@
    #include <sys/types.h>
    +#include <sys/time.h>
    #include <stdio.h>
    #include <stdlib.h>
    @@ -38,7 +39,15 @@
    char *progname;
    -extern void __os_clock(DB_ENV *, u_int32_t *, u_int32_t *);
    +void
    +__os_clock(DB_ENV e, u_int32_t secs_ptr, u_int32_t *usecs_ptr)
    +{
    + struct timeval t;
    +
    + gettimeofday(&t, NULL);
    + *secs_ptr = (u_int32_t) t.tv_sec;
    + *usecs_ptr = (u_int32_t) t.tv_usec;
    +}
    void cleanup(void);
    void op_ds(u_int, int);
    @@ -364,7 +373,7 @@
    op_tds(ops, 0, 0);
    res("Transactional Data Store (read):", ops);
    - op_tds(ops, 1, DB_LOG_INMEMORY);
    + op_tds(ops, 1, DB_LOG_IN_MEMORY);
    res("Transactional Data Store (write, in-memory logging):", ops);
    op_tds(ops, 1, DB_TXN_NOSYNC);

    Hi,
    I reproduced your problem on Ubuntu 4.2.3 with db 4.7.25 and saw the same assert error as you. From the error message, the program asserts error/hangs at the "Transactional Data Store (write, in-memory logging)", that is calling op_tds() with DB_LOG_IN_MEMORY as the flags.
    The problem comes from your change on the sample code that the DB_LOG_IN_MEMORY is set with wrong API. The DB_LOG_IN_MEMORY should be set in DB_ENV->log_set_config(). Please refer to [DB_ENV->log_set_config|http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_log_set_config.html] and its flag DB_LOG_IN_MEMORY.
    I change env's setting flags in op_tds() as follows. In this way, the error I saw is eliminated and the program works as expected.
    The original code is:
    PERF_CHECK(
            dbenv->set_flags(dbenv, DB_AUTO_COMMIT | txn_flags, 1) == 0);"
    {code}
    I change it to:
    {code}
    if (txn_flags == DB_LOG_IN_MEMORY) {
            PERF_CHECK(
               dbenv->log_set_config(dbenv, DB_LOG_IN_MEMORY, 1) == 0);
            txn_flags = 0;
    PERF_CHECK(
            dbenv->set_flags(dbenv, DB_AUTO_COMMIT | txn_flags, 1) == 0);
    {code}
    Please apply the change and l*et us know if it works on your machine.
    Regards,
    Emily Fu, Oracle Berkeley DB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Database Session hangs around for 20 minutes after logout

    We used HTML DB 1.6.0.00.87 to create a custom data warehouse reporting application. For some reason once you log out of HMTL_DB, the database session does not go away until 20 minutes later. I have tested it several times and it is consistent at 20 minutes. Does anyone know what controls this and how I can adjust it?

    Hi Randy,
    What you're probably seeing is the connection pooling done by the mod_plsql module. They 'hang around' because connecting to the database can be an 'expensive' overhead, if you run a query that take 0.5 seconds but your connection takes 0.25 seconds, then obviously a great way to reduce the overall time is to not recreate that connection each time, so a connection pool is used.
    Are these sessions causing you a problem?

  • Applescript Apple Mail - message hanging around, please help!

    I have the following applescript which I am sending mail messages with in Apple Mail. 10.7.2
    tell application "Mail"
      activate
              set DMF to default message format
              set newMessage to make new outgoing message with properties {subject:"emailSubject", visible:true}
              tell newMessage
                        set visible to false
      make new to recipient at end of to recipients with properties {address:"[email protected]"}
                        set html content to "content"
              end tell
      send newMessage
      save newMessage
              set default message format to DMF
    end tell
    The problem is that once the message sends, it hangs around invisibly. How I know? When I close my message viewer in Mail or try to quit mail, the message window of the message I send with Applescript is still there and I have to manually close the window. It is in my sent items but the window does not close in Mail once it is sent? This happens on multiple computers but only in Lion 10.7? Any suggestions?

    Well, the most obvious solution is to not make it visible in the first place:
              set newMessage to make new outgoing message with properties{subject:"emailSubject", visible:false}
    There's no need to see a message if you're automating its creation and delivery, so just set visible to false and you're set.

  • Jdev3.2,BC4J, ERROR STACK OVER FLOW

    HI
    I created a BC4J project based on 10 tables. when testing the module an error stack overflow is thrown when trying to open some views. these same views are accessed successfully when the BC4J project is created whith less tables or with only these tables.
    can some one help me to avoid such error
    every advice is appreciated.
    Ghassen
    null

    I encountered a stack overflow when trying to access a CLOB data type.
    I removed that rowset definition and the problem went away.
    JDBC is the work around.

  • JSF error hangs entire application

    Hi,
    I'm building my first JSF application and an issue has arisen during testing which has us all stumped! Whenever an error occurs for a particular user, the entire application then falls over and all other users then see (different) error messages too.
    I can easily replicate this issue by introducing a typo to a component's EL binding. The initial error message is
    javax.servlet.jsp.JspException: Error getting property 'thisisatypo' from bean of type com.mypackage.MyBeanOther users then see a secondary error message: java.lang.IndexOutOfBoundsExceptionOther applications on the app server are not affected.
    Is there a way to configure the application to better handle exceptions so that the application itself doesn't hang and other users can continue to use it? Would using an error page resolve this? (I'm currently catching exceptions in try...catch blocks and displaying the error messages using the <h:messages> component.)
    Or is this an issue with the application server, which requires reconfiguration to fix it?
    A previous thread mentions a similar issue, bit no-one has answered it: [http://forums.sun.com/thread.jspa?forumID=881&threadID=5049367|http://forums.sun.com/thread.jspa?forumID=881&threadID=5049367]
    My environment:
    JSF: v1.1_02 (Sun JSF RI)
    IDE: JDeveloper 10.1.2.3.0
    Java: 1.4.2_06
    App Server: Oracle App Server 10g (OC4J 9.0.4.0.0)
    (Upgrading to more recent versions of JSF or application server are not options at the moment - my organisation has already scheduled upgrades sometime within the next 12 months or so, but I cannot bring them forward!)

    Hi BalusC, thanks for your response!
    I am using try...catch blocks around my business & database code and I am already using an errorpage. My question is not so much "how to make errors more user friendly" as "how do I prevent the application producing errors for all users when a single user encounters a bug?"
    I'm having difficulty in clearly explaining my issue, probably as I don't understand the JSF architecture sufficiently!
    Let try to describe the scenario.
    1. 10 users are using the main page of the application quite happily.
    2. Another user logs in and visits a different page in the same application. This page contains a bug.
    3. The application serves the error page to this user as an unhandled exception was thrown when processing the request.
    4. The other 10 users also get the error page even though they have not visited the buggy page! The application has fallen over and requires the container to be restarted.
    Steps 1-3 are obvious, but I don't understand step 4 - why should the application fail to continue serving bug-free pages to all other users? Is this the expected behaviour for JSF applications? (Other platforms I've used don't behave this way.)
    When this app goes to production there will be 800+ users. Although I hope to have eliminated most bugs by then, I don't want the entire user base blocked from the app when a single error occurs for a single user.
    If you know what I might have done wrong or what I'm missing, please let me know!
    Thanks.

  • Issues saving cpvc files in Cp8 - fatal error/hanging

    I experience issues when trying to save .cpvc files - sometimes it saves and other times:
    1.  I either get a fatal error message
    2. it just hangs at 40% saved and saying it's not responding
    Any ideas what could be causing this and, more importantly how I can resolve? I am running 32-bit windows with 3.41 available RAM and Intel Core i5-3220M CPU processor @ 2.60 GHz

    Hi There,
    Are you facing issue with specific .cpvc files or with all .cpvc files you recorded ?
    Is your Captivate 8 updated ?
    Are you able to save .cptx files?  Have you ever tried by launching Captivate 8 in administrative mode?
    Regards,
    Ajit

  • JDev 10.1.2 - JSF 1.1_02 - error hangs entire application

    Hi,
    I'm building my first JSF application and an issue has arisen during testing which has us all stumped! Whenever an error occurs for a particular user, the entire application then falls over and all other users then see (different) error messages too.
    Let me try to describe the scenario in detail.
    1. 10 users are using the main page of the application quite happily.
    2. Another user logs in and visits a different page in the same application. This page contains a bug.
    3. The application serves the error page to this user as an unhandled exception was thrown when processing the request.
    4. The other 10 users also get the error page even though they have not visited the buggy page! The application has fallen over and requires the container to be restarted.
    Steps 1-3 are obvious, but I don't understand step 4 - why should the application fail to continue serving bug-free pages to all other users? Is this the expected behaviour for JSF applications? (Other platforms I've used don't behave this way.)
    I can easily replicate this issue by introducing a typo to a component's EL binding. The initial error message is
    javax.servlet.jsp.JspException: Error getting property 'thisisatypo' from bean of type com.mypackage.MyBeanAll other users then see a secondary error message:
    java.lang.IndexOutOfBoundsExceptionOther applications on the app server are not affected.
    Is there a way to configure or recode the application to better handle exceptions so that the application itself doesn't hang and other users can continue to use it? Is it a threading issue? Or is this an issue with the application server, which requires reconfiguration to fix it?
    A thread on Sun's JSF forum mentions a similar issue, but no-one has answered it: http://forums.sun.com/thread.jspa?forumID=881&threadID=5049367
    My environment:
    JSF: v1.1_02 (Sun JSF RI)
    IDE: JDeveloper 10.1.2.3.0
    Java: 1.4.2_06
    App Server: Oracle App Server 10g (OC4J 9.0.4.0.0)
    (Upgrading to more recent versions of JSF or application server are not options at the moment - my organisation has already scheduled upgrades sometime within the next 12 months or so, but I cannot bring them forward!)

    Hi Frank, thanks for your reply.
    I did indeed manually configure JSF for JDev 10.1.2 & Oracle App Server 10g (OC4J 9.0.4), following the instructions provided by Oracle at [http://www.oracle.com/technology/products/jdev/howtos/10g/jsf_howto/jsf.html|http://www.oracle.com/technology/products/jdev/howtos/10g/jsf_howto/jsf.html]
    I have just spent some time porting my application to JDev 10.1.3 & OC4J 10.1.3, as you suggest, and I can confirm that the issue does not appear using this platform.
    However, my organisation does not have this version of Oracle App Server in production. As I indicated in my first post, an upgrade from 9.0.4 to a newer version (tbc) should occur sometime in the next 12 months, but we undertook this project on the basis that JSF would work on Oracle App Server 10g (OC4J 9.0.4), as per the "how to" above.
    If this is not the correct forum to pursue this issue, where, or with whom, should I?
    Many thanks,

  • CS - Scratch Disk Error, Hanging Crash

    Photoshop has started flipping out on me for no good reason. Anything can trigger this 'hanging crash'; it appears to be completely random and regardless of file size, color space, tools in use, or anything else.
    I get an error window, then the program locks up, spends at LEAST ten minutes failing to shut down (costing me a lot of idle time), and then finally closes. Force quitting will not speed up its 'crash' or stop it from beachballing. In addition, while it is taking its own sweet time to believe that it's been force-quit, it bogs down the rest of my machine so I can't hardly do anything else. Activity Monitor, however, will not show it as an active/running program.
    I've run Disk First Aid and scraped off the preference barnacles, but it doesn't help. There USED to be a way to make the scratch disk bigger (I thought maybe it might somehow be running out of space) but that doesn't seem to be an option anymore.
    This is the error window.

    Okay, so... I just installed CS4 a little while ago.
    I am STILL getting the same issues. Either it will just go into Spinnyball Neverland until I force quit it (which takes a good 10-15 minutes to even clear), or I get the exact same error message above.
    No other CS4 products cause this error.... JUST Photoshop. What the fel is its damage? Can't anyone tell me?

  • Bc4j error after database disconnect

    I'm running a bc4j web application in oc4j 9.0.3. If for some reason the application module is disconnected from the database (e.g. a database restart), I get the a connection reset by peer error the next time the application tries to get an application module instance. This is apparently happening during rollback (even though I'm sure there were no open transactions). Does anybody have some suggestions??
    thanks, Cor
    the error I get is:
    JBO-30003: The application pool (AMvseLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.DMLException: JBO-26066: Error during rollback.
         at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:153)
         at oracle.jbo.server.DBTransactionImpl.doRollback(DBTransactionImpl.java:3657)
         at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:1826)
         at oracle.jbo.server.ApplicationModuleImpl.resetState(ApplicationModuleImpl.java:3156)
         at oracle.jbo.server.ApplicationModuleImpl.resetState(ApplicationModuleImpl.java:3145)
         at oracle.jbo.server.DBTransactionImpl.disconnect(DBTransactionImpl.java:3971)
         at oracle.jbo.server.DBTransactionImpl2.disconnect(DBTransactionImpl2.java:306)
         at oracle.jbo.server.DBTransactionImpl.disconnect(DBTransactionImpl.java:4108)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.disconnect(DefaultConnectionStrategy.java:328)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.disconnect(ApplicationPoolImpl.java:2979)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.recycleUnreferencedInstance(ApplicationPoolImpl.java:1586)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1386)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2062)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:193)
         at login.jspService(_login.java:98)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at sphinx.vse.filter.AuthentifiedFilter.doFilter(AuthentifiedFilter.java:67)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:479)
    ## Detail 0 ##
    java.sql.SQLException: E/A-Exception: Connection reset by peer: socket write error
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:187)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:229)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:342)
         at oracle.jdbc.driver.OracleConnection.rollback(OracleConnection.java:1373)
         at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:139)
         at oracle.jbo.server.DBTransactionImpl.doRollback(DBTransactionImpl.java:3657)
         at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:1826)
         at oracle.jbo.server.ApplicationModuleImpl.resetState(ApplicationModuleImpl.java:3156)
         at oracle.jbo.server.ApplicationModuleImpl.resetState(ApplicationModuleImpl.java:3145)
         at oracle.jbo.server.DBTransactionImpl.disconnect(DBTransactionImpl.java:3971)
         at oracle.jbo.server.DBTransactionImpl2.disconnect(DBTransactionImpl2.java:306)
         at oracle.jbo.server.DBTransactionImpl.disconnect(DBTransactionImpl.java:4108)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.disconnect(DefaultConnectionStrategy.java:328)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.disconnect(ApplicationPoolImpl.java:2979)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.recycleUnreferencedInstance(ApplicationPoolImpl.java:1586)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1386)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2062)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:193)
         at login.jspService(_login.java:98)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at sphinx.vse.filter.AuthentifiedFilter.doFilter(AuthentifiedFilter.java:67)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:479)

    This problem appeared here today, but the first time I try to access the application the exception is a little bit different:
    JBO-30003: The application pool (SiscomModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.DMLException: JBO-26066: Error during rollback.
         at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:153)
    ## Detail 0 ##
    java.sql.SQLException: No more data to read from socket
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:963)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
         at oracle.jdbc.ttc7.Ocommoncall.receive(Ocommoncall.java:104)
         at oracle.jdbc.ttc7.TTC7Protocol.rollback(TTC7Protocol.java:487)
         at oracle.jdbc.driver.OracleConnection.rollback(OracleConnection.java:1376)
         at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:139)
    If I try to access the application for now on, then I start getting the same exception as you:
    JBO-30003: The application pool (SiscomModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.DMLException: JBO-26066: Error during rollback.
         at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:153)
    ## Detail 0 ##
    java.sql.SQLException: Io exception: Connection aborted by peer: socket write error
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
         at oracle.jdbc.driver.OracleConnection.rollback(OracleConnection.java:1380)
         at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:139)
    Reading some posts on google, I found this: "I've seen this exception before under different circumstances, so you can
    take my advice with a grain of salt. Anyhow, in my experience, the 'No more
    data from socket' error has been related to the database timing out."
    So I'm going to check the settings for my connection pool, and let you know the results.
    []'s
    Alexandre Mello.

  • BC4J error when using Tomcat

    Hello,
    I deployed an BC4J/JSP webapplication to Tomcat using an MS SQL200 server as data-source. However, when running a jsp that queries the database the following error appears:
    CustomerView1 Browse Form
    Application Error
    Error message: Only one of the two parameters target or targetParam should be defined.
    Does anyone knows what this means?
    Thanks...
    Hans

    Hi,
    Try the link http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_jboss.html
    Maybe this can help you. It runs JBoss with TomCat.
    Hope this helps,
    Rajat

  • Error moving around members in a hierarchy

    hi all -- in MDS 2012,  I am trying to move around members in Explorer (under different parents in an hierarchy) and get the following error, that does not seem to be very descriptive  -- does anyone have any background on it and how it can be
    mitigated?  
    thx a big bunch,
    Cos
    System.NullReferenceException: [Arg_NullReferenceException]
    Arguments:
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See
    http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30514.00&File=mscorlib.dll&Key=Arg_NullReferenceException
       at Microsoft.MasterDataServices.Client.View.UserControls.EntityMembersDataForm.IsCurrentMemberReadonly()
       at Microsoft.MasterDataServices.Client.View.UserControls.EntityMembersDataForm.UpdateStaticFields()
       at Microsoft.MasterDataServices.Client.View.UserControls.EntityMembersDataForm.MemberDataForm_ContentLoaded(Object sender, DataFormContentLoadEventArgs e)
       at System.Windows.Controls.DataForm.OnContentLoaded(DataFormContentLoadEventArgs e)
       at System.Windows.Controls.DataForm.OnContentRootElementLoaded(Object sender, RoutedEventArgs e)
       at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

    Which is the exact version of SQL Server 2012. Did you applied on any SP or CU?
    I am not able to repro on SQL Server 2014 which code is same as SQL Server 2012 with all the packs.
    I created an entity with explicit hierarchy and derived hierarchy. I can drag the leaf from one node to the other. So I am wondering if it is something already fixed in the later SQL 2012 SP/CUs.

  • Why won't firefox open? It starts then hangs around 7300k

    I try to start firefox it doesn't. I check the task mgr and it show the process as open but usually stuck at around 7,300k or 1,800k. It will not start in safe mode or with extension off command either. I have uninstalled and reinstalled, run McGlary and SPybot but nothing has changed. It still wont start. About a week ago i ran McGlary and then firefox actaully started, once! But has since gone back to not starting.

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

  • Massive OS X error - hangs at startup

    Heh, I'm starting to regret recommending an XServe over Windows 2003...
    I'm running an XServe G5 with 10.4.5 as an OD Master, with hardware RAID 1. Yesterday, I was running a piece of software that caused a kernel panic. When I rebooted, the machine took ages to start up. It skipped the 'Starting Mac OS X...' dialog with the progress bar and went straight to the login screen. It did however look like there was another window underneath the login screen - as if it was displaying the progress bar and login box at the same time. The machine would not accept my local administrator password (the login box just rumbled), and when I logged in as another user it seemed to hang - first the spinning beach ball, then the dialog box went grey as if logging in.
    Eventually I gave up and restored a backed-up disk image (fortunately I made one the day before). I assumed the kernel panic had corrupted the filesystem somehow or another (even though Disk Utility wasn't showing any problems). My task for yesterday was moving some 40,000 files from a Windows server onto the XServe and set it up to share via SMB. It worked for a little while, but when clients (ten or so PCs) started using it, the console log filled up with 'too many files open' errors several times every second (or something like that - can't check the logs at the moment). Some people were complaining that they couldn't open files, so I went to check if there was a problem with file locking. However, I couldn't get into WGM - it wouldn't accept any username or password (I tried four administrator passwords, with no luck). Server Admin wouldn't accept the local administrator password but I got in with my personal login.
    I figured it was time for a reboot, so I restarted the server only to find that it was repeating the same problem from the day before - took ages to get to login screen, showed progress bar under login window, wouldn't accept local administrator password and hung on directory user login. There is very occasional disk/cpu/network activity, but it's been sitting on the login screen for half an hour now, so I'm not all that optimistic. Verbose startup doesn't seem to show anything out-of-the-ordinary, and I'm at a bit of a loss - what could be causing the server to hang on boot like this, and, more importantly, how do I get it to boot up normally? Someone suggested rebooting without the network connection, but that doesn't seem to have made a difference. Any suggestions would be very welcome...

    When you say "hardware RAID 1", do you mean you
    purchased Apple's hardware raid card with the unit ?
    Did you go with the default drive format, HFS+
    Journaled ?
    It was factory-installed by Apple - as far as I know, it's HFS+ Journaled.
    Sadly, there are known issues with smb under load in
    10.4 server and you're seeing them. The issue's been
    discussed here a fair bit.
    Bah and double-bah - that's precisely what I bought the **** thing for!
    I implemented a cron job that restarts smbd, nmbd,
    and clears the lookupd cache, but the server in
    question will only ever get light to moderate usage
    by Win clients.
    OK, once I get the machine up and running again I'll give that a shot - could restore a backup now but the same thing will probably happen again so I'll wait and see what Apple Support have to say (I'm curious to see what other people think, though).
    As for the startup/login issue, it's truly bizarre
    that you would get a like/identical re-occurance of
    that issue. This is -NOT- the norm.
    Not sure what to make of this, but the earliest errors in the log are a number of instances of:
    Mar 1 09:18:37 xila netinfod local[91]: dsstorefetchinternal 60 Store.640 dsstore_dsrecordfread failed at offset %s
    Mar 1 09:18:37 xila netinfod local[91]: cannot lookup child
    Followed by several thousand entries for:
    Mar 1 09:36:37 xila netinfod local[91]: dsstorefetchinternal 35 fopen Store.288 failed: Too many open files
    Mar 1 09:36:37 xila netinfod local[91]: cannot lookup child
    I rebooted, and after the first ten or so log lines I get this:
    Mar 1 09:49:25 localhost netinfod local[49]: file_init failed: Remote system error
    Mar 1 09:49:25 localhost kernel[0]: rooting via boot-uuid from /chosen: F1CE330F-B17B-36C4-A684-43CA9EE44418
    Mar 1 09:49:25 localhost netinfod local[49]: ni_init failed: Remote system error
    Mar 1 09:49:25 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Mar 1 09:49:25 localhost netinfod local[49]: start_service failed: Remote system error - exiting
    Mar 1 09:49:25 localhost kernel[0]: Got boot device = IOService:/MacRISC4PE/ht@0,f2000000/AppleMacRiscHT/pci@1/IOPCI2PCIBridge/LSILog ic,raid@2/comLSILogic_driverMegaRAIDController/IOSCSIParallelInterfaceDevice@10/IOSCSITargetDevice/IOSCSILog icalUnitNub@0/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorage Driver/MEGARAID Logical Drive 0 Media/IOApplePartitionScheme/AppleHFS_Untitled1@10
    Mar 1 09:49:25 localhost launchd: com.apple.nibindd: exited with exit code: 14
    Mar 1 09:49:25 localhost kernel[0]: BSD root: disk0s10, major 14, minor 9
    Mar 1 09:49:25 localhost launchd: com.apple.nibindd: respawning too quickly! throttling
    Mar 1 09:49:25 localhost kernel[0]: Jettisoning kernel linker.
    Mar 1 09:49:25 localhost launchd: com.apple.nibindd: 9 more failures without living at least 60 seconds will cause job removal
    Mar 1 09:49:25 localhost kernel[0]: Resetting IOCatalogue.
    Mar 1 09:49:25 localhost launchd: com.apple.nibindd: will restart in 10 seconds
    Followed by
    Mar 1 09:49:32 xila configd[34]: AppleTalk startup complete
    Mar 1 09:49:32 xila configd[34]: AppleTalk shutdown
    Mar 1 09:49:32 xila configd[34]: AppleTalk shutdown complete
    Mar 1 09:49:32 xila configd[34]: AppleTalk startup
    Mar 1 09:49:35 xila netinfod local[71]: file_init failed: Remote system error
    Mar 1 09:49:35 xila netinfod local[71]: ni_init failed: Remote system error
    Mar 1 09:49:35 xila netinfod local[71]: start_service failed: Remote system error - exiting
    Mar 1 09:49:35 xila launchd: com.apple.nibindd: exited with exit code: 14
    Mar 1 09:49:35 xila launchd: com.apple.nibindd: respawning too quickly! throttling
    Mar 1 09:49:35 xila launchd: com.apple.nibindd: 8 more failures without living at least 60 seconds will cause job removal
    Mar 1 09:49:35 xila launchd: com.apple.nibindd: will restart in 10 seconds
    Mar 1 09:49:35 xila launchd: com.apple.blojsom: getpwnam("appserver") failed
    Mar 1 09:49:35 xila postfix/master[60]: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name value: nobody
    Mar 1 09:49:35 xila master[61]: no entry in /etc/passwd for user cyrusimap
    Mar 1 09:49:35 xila master[61]: can't change to the cyrus user: Bad file descriptor
    Mar 1 09:52:23 xila DirectoryService[41]: CNetInfoPlugin::Initialize - notifygetstate failed over last minute (status -1)\n
    And various errors about DNS registration errors. After that it just seems to go round in circles, trying to start things like Cyrus, Blojsom etc. without success.
    Curiously, the Apple tech support guy suggested I boot up in safe mode and log in as 'administrator' (local) which was rejected, and 'root' which crashed. I then rebooted and went to reset the password using the install DVD, but it said 'no valid user accounts found' when I selected the HD. Everything points to a corrupt filesystem except for the diagnostics, as far as I can see. If I restore a backup it'll happen again (?), if I reinstall I'll have to get DNS/OD working again which was a pig of a job last time...

  • 1.5.3 - Default connection xml file path??  + Error + hanging.

    If anyone can tell me how to change (and save) the default path that SQL Dev. uses to access the correct .xml connections file - I'd really like to know!!
    Also - why does version 1.5.3 HANG WHEN EXITING - generating errors in the trace file :
         ORA-00600: internal error code, arguments: [18110], [0x65904038], [2], [46], [], [], [], [] ??
    We are talking about hanging to the extent of having to killing it with task manager at the end of any SQL Developer session over an hour or so.
    In my view this version - 1.5.3 - is simply * RUBBISH * !!
    Install a previous version, (1.2.1 :) ) we have, and you'll do more work without the frustration of 'things' hanging all the time.

    Please note that if you have an Oracle Database Support license, then you can log all your issues with Metalink and we can get to them and address them. This forum is full of users who regular respond and are very helpful to other posters with queries and problems. I see that this is your first post on the forum and recommend you take a different approach.
    If you can tell us what you're doing before you exit, and provide more detail about why the product is rubbish, we'd be able to respond and even address some of the issues.
    If you want to share connections with other users, there are export & import menu options that allow you to export the xml to a file that you can place on a server and other users can import this. You don't say why you need to change the path, so I can only guess at the reason.
    With no further detail in your posting we can't help you.
    Sue

Maybe you are looking for

  • Page Size Problem in Pdf

    Hi All, I want to print cheques form oracle Reports 10g, I developed report in 6i & it works fine, Now I am going to convert it in 10g, in report developer it works fine but when it generates through reports server it generates on full pdf page. Kind

  • 503   Service Unavailable : Application cannot be started.

    I'm trying to deploy an application. The application, a JSP web module, consumes a web service. I have tried doing this on local dev, it works perfectly but when I transfer it to our dev track an error occurs. When I try to access it, it gives this e

  • Why are my movies not shown in iTunes

    Hi, I have just bought a Mac Mini and have updated all the software etc to the latest versions. The problem I am having is that in the Leopard Movie folder I have all of my TV Shows and Films but the do not show up in the movie tab in iTunes, if i wa

  • I have Mac Mini containing Mac Os 10.5.8 now i want to migrate it in to Mac os 10.6.6 so how can i do this?

    Hi!, I have old Mac Mini containing Mac OS X Version 10.5.8,Processor 2 GHz Intel Core 2 Duo and Memory 1 GB  1067 Mhz DDR3 i want to upgrade it in to 10.6.6 so please give me some suggestion for doing the same.

  • Maximum data for calling web service

    Hi all, I try to trigger a C# webservice via XI. If I transfer more than 65000 bytes then I get a "Bad request error". When I transfer less than 65000 bytes everything works fine. Is that a configuration in XI or a limit in the service itself? Any id