Passing a java native error

im updating a db with a stored proc call
and one field in my db is a err_desc column to pass native java errors to the db
should i be passing in the Exceptions here or am i going about this wrong???
any suggestions - thanks in advance
     public static int updateStatus()
          Connection conn = null;
          int statcodeout = 0;
          try
               conn = getDbConnection(USERID, PWD, SERVER);
               CallableStatement cs = conn.prepareCall("{CALL " + UPDATE + "(?, ?, ?, ?, ?, ?, ?, ?, ?)}");
               cs.setInt(1,getId());
               cs.setInt(2,0);
               cs.setInt(3,0);
               cs.setString(4, err_desc);//String to pass native error to??
               cs.setString(5,SERVER);
               cs.setString(6,DIR);
               cs.setString(7,getName());
               cs.setInt(8,getFileSize());
               cs.setInt(9,0);
               cs.registerOutParameter(9, Types.INTEGER);     
               cs.executeUpdate();
               statcodeout = cs.getInt(9);
               cs.close();     
          catch(Exception e)
               e.printStackTrace();
          finally
               try
                    conn.close();
               catch(SQLException sqle)
                    sqle.printStackTrace();
          return statcodeout;
     }

yea - that is why im confused too - it should not update
if it fails right??? i Aye.
think my instuctoins were not clear??Aye
but i started to do something like thisAye, I use this:
     final StringWriter sw = new StringWriter();
     throwable.printStackTrace( new PrintWriter( sw ) );
     String s = sw.toString();for an email alert.
im going to have to ask again, Aye :-)

Similar Messages

  • Java.lang.Error: java.util.zip.ZipException: The system cannot find the fil

    I got maven 221 installed
    i got jdk 1.6 and 1.5 installed (have tested both)
    I have a strange error. All my co-workers can build but I cant. The only thing I can find is that I dont have installed BEA Weblogic but I dont want to have that installed. It should be able to run anyway.
    Could someone tell me what is wrong? If you need pom.xml I got that one as well.
    process-classes:
    [copy] Copying 4 files to C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content
    [mkdir] Created dir: C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-jar
    [java] Creating an MJF from the contents of directory C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content...
    [java] Compiling the files...
    [java] Creating the list.
    [java] Doing the compile.
    [java] WLMaker-SubProcess: : Exception in thread "main" java.lang.Error: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:93)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.main(BeanGenDriver.java:117)
    [java] WLMaker-SubProcess: : Caused by: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.open(Native Method)
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:132)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:97)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:90)
    [java] WLMaker-SubProcess: :      ... 1 more
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] BeanGen code generation failed
    [HUDSON] Archiving C:\hudson\jobs\albpm_ip-identity-asserter_-Build\workspace\pom.xml to C:\hudson\jobs\albpmip-identity-asserter_-Build\modules\dk.skat.ip.integration.albpm$ip-identity-asserter\builds\2010-11-2213-41-28\archive\dk.skat.ip.integration.albpm\ip-identity-asserter\1.2\pom.xml
    [INFO] ------------------------------------------------------------------------

    from my experience, using weblogic jars can be a pain if the full install is not on the local box.
    Note that you dont have to 'install' it. Just copy the directory.
    Reason is that the jar files have manifests with relative classpaths.
    For an example of horror take a look at the weblogic.jar MANIFEST's classpath entry.
    -Fred

  • A strange Java related error occured when I tried to install a software

    When I tried to install Maple 12 on my PC, I got a Java-related error as follow:
    java.lang.NoClassDefFoundError: Could not initialize class javax.swing.UIManager
         at javax.swing.JPanel.updateUI(Unknown Source)
         at javax.swing.JPanel.<init>(Unknown Source)
         at javax.swing.JPanel.<init>(Unknown Source)
         at javax.swing.JPanel.<init>(Unknown Source)
         at javax.swing.JRootPane.createGlassPane(Unknown Source)
         at javax.swing.JRootPane.<init>(Unknown Source)
         at javax.swing.JFrame.createRootPane(Unknown Source)
         at javax.swing.JFrame.frameInit(Unknown Source)
         at javax.swing.JFrame.<init>(Unknown Source)
         at com.zerog.ia.installer.LifeCycleManager.g(DashoA10*..)
         at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)
         at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
         at com.zerog.ia.installer.Main.main(DashoA10*..)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.zerog.lax.LAX.launch(DashoA10*..)
         at com.zerog.lax.LAX.main(DashoA10*..)
    My OS is Windows XP Professional with SP3. However, I managed to install this version on a virtual machine (which also runs Windows XP SP3) therefore the problem does not come from the installer.
    What can I do now to install Maple 12? I really need this software...
    Thanks!
    Edited by: uhobasa on Sep 28, 2008 6:41 PM

    Did you find the solution for this problem? I am experiencing the same behavior trying to run Freemind.

  • Size limitation that can be passed to Java stored procedure

    Hello!
    I enjoy using Oracle8i these days. But I have some questions
    about Java stored procedure. I want to pass the XML data to Java
    stored procedure as IN parameter. But I got some errors when the
    data size is long. Is there any limitation in the data size that
    can be passed to Java stored procedure?
    Would you please help me ?
    This message is long, but would you please read my message?
    Contents
    1. Outline : I write what I want to do and the error message I
    got
    2. About the data size boundary: I write about the boundary
    size. I found that it depend on which calling sequence I use.
    3. The source code of the Java stored procedure
    4. The source code of the Java code that call the Java stored
    procedure
    5. The call spec
    6. Environment
    1.Outline
    I want to pass the XML data to Java stored procedure. But I got
    some errors when the data size is long. The error message I got
    is below.
    [ Error messages and stack trace ]
    java.sql.SQLException: ORA-01460: unimplemented or unreasonable
    conversion reque
    sted
    java.sql.SQLException: ORA-01460: unimplemented or unreasonable
    conversion reque
    sted
    at oracle.jdbc.ttc7.TTIoer.processError(Compiled Code)
    at oracle.jdbc.ttc7.Oall7.receive(Compiled Code)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(Compiled Code)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch
    (TTC7Protocol.java:721
    at oracle.jdbc.driver.OracleStatement.doExecuteOther
    (Compiled Code)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch
    (Compiled Code)
    at oracle.jdbc.driver.OracleStatement.doExecute(Compiled
    Code)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(Compiled
    Code
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeUpdate
    (OraclePrepar
    edStatement.java:256)
    at oracle.jdbc.driver.OraclePreparedStatement.execute
    (OraclePreparedStat
    ement.java:273)
    at javaSp.javaSpTestMain.sample_test
    (javaSpTestMain.java:37)
    at javaSp.javaSpTestMain.main(javaSpTestMain.java:72)
    2. About the data size boundary
    I don|ft know the boundary that I got errors exactly, but I
    found that the boundary will be changed if I use |gprepareCall("
    CALL insertData(?)");|h or |gprepareCall ("begin insertData
    (?); end ;")|h.
    When I use |gprepareCall(" CALL insertData(?)".
    The data size 3931 byte ---&#61664; No Error
    The data size 4045 byte ---&#61664; Error
    Whne I use prepareCall ("begin insertData(?); end ;")
    The data size 32612 byte --&#61664;No Error
    The data size 32692 byte ---&#61664; Error
    3. The source code of the Java stored procedure
    public class javaSpBytesSample {
    public javaSpBytesSample() {
    public static int insertData( byte[] xmlDataBytes ) throws
    SQLException{
    int oraCode =0;
    String xmlData = new String(xmlDataBytes);
    try{
    Connection l_connection; //Database Connection Object
    //parse XML Data
    dits_parser dp = new dits_parser(xmlData);
    //Get data num
    int datanum = dp.getElementNum("name");
    //insesrt the data
    PreparedStatement l_stmt;
    for( int i = 0; i < datanum; i++ ){
    l_stmt = l_connection.prepareStatement("INSERT INTO test
    " +
    "(LPID, NAME, SEX) " +
    "values(?, ?, ?)");
    l_stmt.setString(1,"LIPD_null");
    l_stmt.setString(2,dp.getElemntValueByTagName("name",i));
    l_stmt.setString(3,dp.getElemntValueByTagName("sex",i));
    l_stmt.execute();
    l_stmt.close(); //Close the Statement
    l_stmt = l_connection.prepareStatement("COMMIT"); //
    Commit the changes
    l_stmt.execute();
    l_stmt.close(); //Close the Statement l_stmt.execute
    (); // Execute the Statement
    catch(SQLException e ){
    System.out.println(e.toString());
    return(e.getErrorCode());
    return(oraCode);
    4. The source code of the Java code that call the Java stored
    procedure
    public static void sample_test(int num) {
    //make data
    Patient p = new Patient();
    byte[] xmlData = p.generateXMLData(num);
    try{
    // Load the Oracle JDBC driver
    DriverManager.registerDriver(new
    oracle.jdbc.driver.OracleDriver());
    Connection m_connection = DriverManager.getConnection
    ("jdbc:oracle:thin:@max:1521:test",
    "testuser", "testuser");
    CallableStatement l_stmt =
    // m_connection.prepareCall(" CALL insertData(?)");
    m_connection.prepareCall("begin insertData(?); end
    l_stmt.setBytes(1,xmlData);
    l_stmt.execute();
    l_stmt.close();
    System.out.println("SUCCESS to insert data");
    catch(SQLException e ){
    System.out.println( e.toString());
    e.printStackTrace();
    5. The call spec
    CREATE OR REPLACE PROCEDURE insertData( xmlData IN LONG RAW)
    AS
    LANGUAGE JAVA NAME 'javaSp.javaSpBytesSample.insertData(byte[])';
    6. Environment
    OS: Windows NT 4.0 SP3
    RDBMS: Oracle 8i Enterprise Edition Release 8.1.5.0.0 for
    Windows NT
    JDBC Driver: Oracle JDBC Drivers 8.1.5.0.0.
    JVM: Java1.1.6_Borland ( The test program that call Java stored
    procedure run on this Java VM)
    null

    Iam passing an array of objects from Java to the C
    file. The total size of data that Iam sending is
    around 1GB. I have to load this data into the Shared
    memory after getting it in my C file. Iam working on
    HP-UX (64-bit). Everything works fine for around 400MB
    of data. When I try to send around 500MB of data, the
    disk utilization becomes 100%, so does my memory
    utilization and I get a "Not enough space" when I try
    to access shared memory. I have allocated nearly 2.5GB
    in my SHMMAX variable. Also, I have around 45GB of
    disk free. The JVM heap size is also at 2048MB. Where did you get the 400/500 number from? Is that the size of the file?
    What do you do with the data? Are you doing nothing but copying it byte for byte into shared memory?
    If yes then a simple test is to write a C application that does the same thing. If it has problems then it means you have an environment problem.
    If no then you are probably increasing the size of the data by creating a structure to hold it. How much overhead does that add to the size of the data?

  • Export Release Build error - Exception in thread "main" java.lang.Error: Unable to find named traits

    I've been developing an AIR application for Android and iOS. During development, I've run the application (in debug mode) in the desktop simulator as well as on an iPhone 4 and a Nook Tablet.
    However, I recently tried to "Export Release Build" for iOS and hit the following error: (I've stripped out the package and class information in the error message below)
    !ENTRY com.adobe.flexbuilder.project 4 43 2012-04-06 13:09:15.516
    !MESSAGE Error occurred while packaging the application:
    Exception in thread "main" java.lang.Error: Unable to find named traits: valid.package.path.here::ValidClassName
              at adobe.abc.Domain.resolveTypeName(Domain.java:231)
              at adobe.abc.Domain.resolveTypeName(Domain.java:148)
              at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6665)
              at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
              at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
              at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
              at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
              at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
              at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
              at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:472)
              at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    !STACK 0
    java.lang.Exception
              at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore. java:1019)
              at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
              at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doPackage (ExportReleaseVersionWizard.java:283)
              at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.performFi nish(ExportReleaseVersionWizard.java:152)
              at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
              at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
              at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
              at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
              at org.eclipse.jface.window.Window.open(Window.java:801)
              at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(Export ReleaseVersionAction.java:97)
              at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportRe leaseVersionAction.java:103)
              at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
              at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
              at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
              at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
              at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
              at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    The class the error message is referring to is defined with a SWC that my project links to. However, I've even tried to define a class with that same name (and location) within my project and it still fails to find it.
    Why am I able to Project->Clean and run this project within the desktop AIR player (or on the device in debug mode) but unable to export it as a release build?
    I have found a couple of threads mentioning a similar error but none of them have been marked as resolved.

    At this point I feel I am talking to myself, but I will share my work-around in case it helps another who may stumble across this post.
    In my particular case, both my main AIR application and my ANE wrapper library were referencing the same external Flex library (same revision). Both projects had the library linkage set to merge. Changing the linkage to "External" on one of the 2 libraries (it doesn't seem to matter which) and leaving the other as "Merged into code" enabled the export to complete without the bizarre "Unable to find named traits" error.

  • Java HotSpot Error

    I keep getting this Java HotSpot Error right before
    ColdFusion spontaneously restarts and I have no idea what's going
    on.
    Any ideas of what this error means?
    # An unexpected error has been detected by HotSpot Virtual
    Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0803df94,
    pid=1428, tid=8324
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_09-b05 mixed
    mode)
    # Problematic frame:
    # V [jvm.dll+0x3df94]
    --------------- T H R E A D ---------------
    Current thread (0x030f53a0): JavaThread "CompilerThread1"
    daemon [_thread_in_native, id=8324]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x0c309774, EBX=0x00738ce0, ECX=0x00000000,
    EDX=0x0c3098d0
    ESP=0x03a4f3d8, EBP=0x03a4f408, ESI=0x00000000,
    EDI=0x00000052
    EIP=0x0803df94, EFLAGS=0x00010206
    Top of Stack: (sp=0x03a4f3d8)
    0x03a4f3d8: 0c3098d0 08a6a0a8 0821e1e8 08a6a0a8
    0x03a4f3e8: 0c3098d0 00000000 046fd6c0 00000000
    0x03a4f3f8: 00000052 0000001c 00000002 0c30a160
    0x03a4f408: ffffffff 0803dce0 08a6a0a8 00000057
    0x03a4f418: 03a4f6d4 0c3156c4 0c3098d0 00000001
    0x03a4f428: 08b808fc 00000002 00000006 ffffffff
    0x03a4f438: 0803e4d4 03a4f6d4 00000057 0c318030
    0x03a4f448: 00000000 0891dcc8 000005f1 03a4fa24
    Instructions: (pc=0x0803df94)
    0x0803df84: 00 00 8b 55 e0 8b 42 04 8b 34 b8 8b ce 89 75 e4
    0x0803df94: 8b 16 ff 92 b0 00 00 00 8b d8 8b cb e8 1b 7e 19
    Stack: [0x03950000,0x03a50000), sp=0x03a4f3d8, free
    space=1020k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM
    code, C=native code)
    V [jvm.dll+0x3df94]
    Current CompileTask:
    opto: 73% !
    cfdevelopmentTemplate2ecfm609976018$funcGETSPORTTEASERS._factor1(Ljavax/servlet/jsp/tagex t/Tag;Ljavax/servlet/jsp/JspWriter;Lcoldfusion/runtime/CFPage;)Ljava/lang/Object;
    @ 236 (893 bytes)

    I'm having a similar problem with CF8, code that had been
    running fine on CF7 on the same machine and continues to run fine
    on many other CF7 boxes. There is mention on the web of the same
    problem elsewhere, but no fix posted that I could find. It's enough
    to make us revert to CF7 until Adobe gets the bugs worked out of
    CF8. I'll be asking for support on this issue with them.
    My issue is somehow related to processing jpg files, I
    haven't tracked the code down yet. The snippet from my error log
    is:
    # An unexpected error has been detected by Java Runtime
    Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x39d432fb,
    pid=5728, tid=2172
    # Java VM: Java HotSpot(TM) Server VM (1.6.0_01-b06 mixed
    mode)
    # Problematic frame:
    # C [clib_jiio_sse2.dll+0xc32fb]
    # If you would like to submit a bug report, please visit:
    http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x3ad09400): JavaThread "AWT-EventQueue-0"
    [_thread_in_native, id=2172]
    siginfo: ExceptionCode=0xc0000005, reading address 0x39df4000
    Registers:
    EAX=0x39df3dd0, EBX=0x38ed5418, ECX=0x38ed51f8,
    EDX=0x00000100
    ESP=0x3e5ced40, EBP=0x3e5cedc0, ESI=0x39df3ee0,
    EDI=0x39df3ff0
    EIP=0x39d432fb, EFLAGS=0x00010287
    Top of Stack: (sp=0x3e5ced40)
    0x3e5ced40: 00000110 002a0028 00000000 002c0029
    0x3e5ced50: 00000110 7e007e00 00000110 38ed4ff8
    0x3e5ced60: 000001fb 38ed5418 000005e8 38ed4dd8
    0x3e5ced70: 7e7e7e7d 7e7e7e7e 8080807e 80808080
    0x3e5ced80: 7e7e7e7e 807e7e7e 80808080 80808080
    0x3e5ced90: 7e7e7e7e 7e7e7e7e 8080807f 80808080
    0x3e5ceda0: 7e7e7e7e 7e7e7e7e 7e7e7e7e 7e7e7e7e
    0x3e5cedb0: 00000220 3e5cee6c 00000006 00000110
    Instructions: (pc=0x39d432fb)
    0x39d432eb: 6f 46 ff f3 0f 6f 1e f3 0f 6f 57 ff f3 0f 6f 27
    0x39d432fb: f3 0f 6f 77 01 f3 0f 6f 7e 01 66 0f 7f 44 24
    30

  • Probably not the right section but....  Java Machine error?

    three computer in a dental office which i've installed the dental software on. (connected to a server)
    2 of the three work flawlessly however one computer gives this error when trying to connect to an EDI server or print.
    Couldn't Start Java Mahine - error: .:Can't create Java VM - DLL Path (null)
    The only difference between the computers is two computers were natively MS XP Pro, and the one with the problem was originally an HP computer that shipped with XP Home edition, and was upgraded to XP Pro.
    I apologize if this is in the wrong section, I'm not a developer.. I just wasn't sure where to go, I couldn't find anything in the MS Knowledge base.
    They have no internet in this office, so it's hard to trial and error and do research on location, any help is appreciated.

    Sun's Java can be uninstalled using the "Add/Remove Programs" function of Windows.
    You might want to test to see if the difference in the PATH is the cause. Temporarily change the PATH of the problem computer to be the same as one that works. Save the original PATH value so you can restore it after testing.

  • JAVA NATIVE ACESS

    HI,
    I have a big problem with Java Native Access when call a function in dll file.
    First, I have files xxx.dll,xxx.h (written by my partner) and document for functions.
    Second, I am using JNA (java native access) to call the functions.
    But, it has some functions that function's result is pass over memory of window.
    In document description, it has tow constant: WM_USER = 0x0400, WM_USER_ENV = (WM_USER + 0)
    I have just learn, so i don't know about that.
    So, my problem is " i don't know how to get result of function that passed over to memory window )
    This is my header file: “MFSIOCTL.h”
    // Command
    #define     CMD_VERSION               'V'
    #define     CMD_SENSOR               'S'
    #define     CMD_FLICKER               'L'
    #define CMD_GETSTATUS          'A'
    #define     DEST_1                    '1'          //front door / Card Reader Flicker Lamp
    #define     DEST_2                    '2'          //UPPER FRAME IN POSITION(CDM) / Printer Lamp
    #define     DEST_3                    '3'          //Receipt Exit Sensor / Cheque Lamp
    #define     DEST_4                    '4'          //Cheque Door Sensor / A4 or Cash Lamp
    #define     DEST_5                    '5'          //Bill Hopper Sensor - 2006/06/20 added
    #define DEST_ALL               '0'          //Get all Status
    //switch status or FLicker Lamp on/off
    #define OPEN                    '0'          //Flicker Off
    #define     CLOSE                    '1'          //Flicker On
    //added at 2004/09/17
    #define WM_MFS_IO_OFFSET                    (WM_USER+0x900)
    #define     WM_MFS_IO_CHG_EVT                    (WM_MFS_IO_OFFSET + 0)
    extern "C" __declspec(dllexport) BOOL __stdcall MFSIO_Open(HWND hWnd,BYTE comport);
    extern "C" __declspec(dllexport) BOOL __stdcall MFSIO_Close(void);
    extern "C" __declspec(dllexport) BOOL __stdcall MFSIO_GetVersion(LPSTR lpFWVer,LPSTR lpDLLVer);
    extern "C" __declspec(dllexport) BOOL __stdcall MFSIO_LED(BYTE LEDNum,BYTE OnOff);
    extern "C" __declspec(dllexport) BYTE __stdcall MFSIO_GetStatus(void);
    And this is window message define:
    --- Definition of Window Message
    : Message is defined in “MFSIOCTL.h” as bellows.
    #define WM_MFS_IO_OFFSET (WM_USER+0x900)
    #define WM_MFS_IO_CHG_EVT (WM_MFSS_IO_OFFSET + 0)
    MESSAGE WPARAM(Indicator ofDoor or Media) LPARAM(Status of Door or Media)
    WM_MFSS_IO_CHG_EVT DEST_1 or OPEN or CLOSE
    DEST_2 or
    DEST_3 or
    DEST_4
    Refer to “MFSIOCTL.h”
    In functions, i don't know that they relative with parameters as "WM_MSF_IO_OFFSET, WM_MFS_IO_CHG_EVT'' and parameters use for what?
    How to get value of window message?
    Please help me. Thank you.
    Edited by: QuocTan on Sep 8, 2010 9:31 PM
    Edited by: QuocTan on Sep 8, 2010 9:34 PM

    But, it has some functions that function's result is pass over memory of window.I have no idea what that means. Please try again in standard English.
    In document description, it has two constant: WM_USER = 0x0400, WM_USER_ENV = (WM_USER + 0)
    These are Windows constants. I don't understand the relevance.
    So, my problem is " i don't know how to get result of function that passed over to memory window)*My* problem is that this is about the 4th time I've read this statement and it doesn't make any sense. What is a 'memory window'? What is 'memory of window'?
    #define WM_MFS_IO_OFFSET                    (WM_USER+0x900)
    #define     WM_MFS_IO_CHG_EVT                    (WM_MFS_IO_OFFSET + 0)If these lines are the problem, they have nothing whatsoever to do with JNI or this forum.
    In functions, i don't know that they relative with parameters as "WM_MSF_IO_OFFSET, WM_MFS_IO_CHG_EVT'' and parameters use for what?Eh?
    How to get value of window message?What?
    Please help me.I cannot help either of you until you take the trouble to express yourselves clearly in standard English. Your problem doesn't appear to have anything to do with JNI or JNA. More likely it is an elementary Windows API programming problem, which is irrelevant to this forum and this site.

  • Java system error: Server repository could not create function template

    Hi, Our BI person is trying to  publish/broadcast a query to the PRODCTION  portal, she gets the below error message.  I am
    attaching the defaulttracelog file
    "Java system error: Server repository could not create function template for RSRD_X_PRODUCE_PROXY caused by: com.sap.mw.jco.JCO$Exception: (103)"
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/defaultTrace.trc]/>
    <!PATTERN[defaultTrace.trc]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[8, 20, 10485760]/>
    <!PREVIOUSFILE[defaultTrace.7.trc]/>
    <!NEXTFILE[defaultTrace.9.trc]/>
    <!LOGHEADER[END]/>
    #1.5 #002264F9350800600000022F000019C000048E9B91EF3AB3#1282698726384#com.sap.security.core.persistence#sap.com/irj#com.sap.security.core.persistence#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Security/Usermanagement#Java#An exception was thrown in the UME/ABAP user management connector that was caused by unavailability of the RFC communication with the backend system: "". ##An exception was thrown in the UME/ABAP user management connector that was caused by unavailability of the RFC communication with the backend system: "". #1#Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner '127.0.0.1:sapgw00' not reached
    TIME        Tue Aug 24 21:12:06 201
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     56
    #1.5 #002264F93508006000000230000019C000048E9B91EF47C8#1282698726384#com.sap.engine.services.monitor.mbeans.Monitor#sap.com/irj#com.sap.engine.services.monitor.mbeans.Monitor#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error##Plain###Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!#
    #1.5 #002264F93508006000000231000019C000048E9B91EF4CD5#1282698726384#System.err#sap.com/irj#System.err#J2EE_GUEST#0##n/a##4dba6f30af8111df934c002264f93508#SAPEngine_Application_Thread[impl:3]_35##0#0#Error##Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller J2EE_GUEST not authorized, user J2EE_GUEST is not available from user management, reason: com.sap.security.api.NoSuchUserException:USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!
         at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:63)
         at com.sap.engine.services.jmx.JmxServerFrame.checkMBeanPermission(JmxServerFrame.java:98)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.unregisterMBean(MBeanServerSecurityWrapper.java:395)
         at com.sap.engine.services.jmx.ClusterInterceptor.unregisterMBean(ClusterInterceptor.java:1327)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.unregisterMBean(MBeanServerInterceptorChain.java:258)
         at com.sap.engine.services.monitor.mbeans.Monitor.unregister(Monitor.java:106)
         at com.sap.engine.library.monitor.impl0.AbstractMonitorNode.remove(AbstractMonitorNode.java:154)
         at com.sap.engine.library.monitor.impl0.MonitorObjectFactory.uninstallMonitorNode(MonitorObjectFactory.java:483)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:595)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:581)
         at com.sap.engine.services.monitor.install.MonitorInstaller.uninstallMonitors(MonitorInstaller.java:568)
         at com.sap.engine.services.monitor.server.ApplicationLifeCycleImpl.applicationStopped(ApplicationLifeCycleImpl.java:52)
         at com.sap.engine.services.monitor.deployment.MonitorDeploymentContainer.commitStop(MonitorDeploymentContainer.java:630)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commonCommitFinished(StopTransaction.java:244)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitCommon(StopTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitLocal(StopTransaction.java:278)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:374)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.stopApplicationLocalAndWait(DeployServiceImpl.java:4569)
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.stopApplicationLocalAndWait(DeployCommunicatorImpl.java:628)
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime$2.run(SAPJ2EEPortalRuntime.java:602)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
         at java.lang.Runtime.load0(Runtime.java:737)
         at java.lang.System.load(System.java:811)
         at com.sapportals.wcm.service.fsmount.FSMountService.loadDLL(FSMountService.java:736)
         at com.sapportals.wcm.service.fsmount.FSMountService.<clinit>(FSMountService.java:796)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.convertGS(CmConfigurationProvider.java:637)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.convertServiceConfig(CmConfigurationProvider.java:601)
         at com.sapportals.wcm.repository.runtime.CmConfigurationProvider.readConfiguration(CmConfigurationProvider.java:205)
         at com.sapportals.wcm.crt.CrtSystemImpl.createComponentManager(CrtSystemImpl.java:108)
         at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:202)
         at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:164)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:974)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:249)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:877)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1118)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1707)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1662)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1592)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:422)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:361)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:394)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:139)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #002264F93508005C0000042300002CF00004939AAEE9AEB7#1288192475655#com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager#sap.com/irj#com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager#J2EE_GUEST#0##n/a##c7d00e00e1dc11dfa36d002264f93508#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###setting initial ACL on /reporting_backend/reports/System Administration/CM Store/cm.crawlcontent - com.sap.security.api.NoSuchRoleException: Role with uniqueName system_admin_role not found!
         at com.sap.security.core.imp.RoleFactory.getRoleByUniqueName(RoleFactory.java:1783)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.getRoles(RPRepositoryManager.java:1474)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.syncReportResources(RPRepositoryManager.java:1334)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.initBackend(RPRepositoryManager.java:489)
         at com.sapportals.wcm.repository.manager.reporting.RPRepositoryManager.getResource(RPRepositoryManager.java:581)
         at com.sapportals.wcm.repository.RMAdapter.getResource(RMAdapter.java:228)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findResource(CmAdapter.java:1349)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findManagerAndResource(CmAdapter.java:1322)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:979)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.service.reporting.ReportingService.localConfigure(ReportingService.java:294)
         at com.sapportals.wcm.service.reporting.ReportingService.startUpImpl(ReportingService.java:74)
         at com.sapportals.wcm.service.AbstractService.start(AbstractService.java:167)
         at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.tryToStart(CrtThreadSafeComponentHandler.java:247)
         at com.sapportals.wcm.crt.CrtThreadSafeComponentHandler.handleLookup(CrtThreadSafeComponentHandler.java:109)
         at com.sapportals.wcm.crt.CrtComponentManager.lookup(CrtComponentManager.java:322)
         at com.sapportals.wcm.crt.CrtComponentManager.lookupChildComponent(CrtComponentManager.java:403)
         at com.sapportals.wcm.crt.CrtContainerManager.lookupComponent(CrtContainerManager.java:44)
         at com.sapportals.wcm.crt.CrtSystemImpl.lookupComponentByUri(CrtSystemImpl.java:131)
         at com.sapportals.wcm.crt.CrtComponentManager.startUp(CrtComponentManager.java:278)
         at com.sapportals.wcm.crt.CrtSystemImpl.startUpComponentManager(CrtSystemImpl.java:166)
         at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:227)
         at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:164)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:974)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:249)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:877)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1118)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1707)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1662)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1592)
         at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:422)
         at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
         at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:361)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:394)

    Go to visual admin -> server -> services -> JCO RFC provider.
    Check the RFC that connects to the BI Abap.
    Its reporting the J2EE_GUEST user in the SAP with the system nr 00.
    Is this BI java portal?
    Is the java portal a addon to Abap or having seperate SID?
    Check the connection definitions are correct and the gateway is running.

  • Java.exe Error while running Tomcat

    Hello,
    I encountered a very strange Java.exe error while testing my servlet.
    Here is the screen dump of the aforementioned error:
    http://www.shelleysauction.com/db07-22-02.jpg . The error's message is
    as follows: "There is no disk in the drive. Please insert a disk into
    drive \Device\Harddisk1\DR1."
    Would appreciate any help; I don't claim to be any good at this stuff.
    All of the information on that page is derived from a database on a
    remote intranet machine (including input type, title, descriptions,
    etc.). I am not sure if it is a server-side error or a client-side
    error as my computer is running the server; another computer is not
    possible--I'm a lowly summer intern hired to build a servlet that
    interfaces with a database, and I'm not a good programmer.
    The only thing I can think of is that I recently began using the
    com.oreilly.servlet.* package for its Base64Encoder, Base64Decoder, and
    MultiPartRequest methods. That form was working fine for weeks before
    then.
    Jennica Humphrey

    Hello all,
    Thank you for your help. I was using the MultiPartRequest class in the com.oreilly.servlet.* package so I could add a "section" that allowed users to upload CSV files to the database. It required, I think, that an opening FORM tag would have the following attribute: enctype="multipart/form-data"
    Now, I made a HtmlGenerator class that writes the HTML for me, with all sorts of methods like html.startTableCell( String stylesheet, String align, String valign, String width ) so I could just type html.startTableCell( "palepurple", "left", "top", "50%" ); ... made reading my own crap a lot easier.
    Anyway, I had html.startForm( ) and html.startUploadForm( )... the only difference was that the upload one had the enctype="multipart/form-data" attribute and the first one didn't. Now, my DoPost() method was supposed to determine if there were "regular" parameters passed on by the form and if there were "MultiPart" parameters... with code like this:
    // Initialize MultipartRequest.  This is required for file uploading.
    boolean isMulti = true;
    MultipartRequest multi = null;
    try {
         multi = new MultipartRequest( request, "..\\..\\Files", 10 * 1024 * 1024 );
    } catch( Exception e ) { isMulti = false; }
    Enumeration paramNames = request.getParameterNames();
    // Attempt to initialize parameter names.
    try {
         if ( !paramNames.hasMoreElements( ) ) paramNames = multi.getParameterNames();
    } catch ( Exception e ) {
         /* Ignore */
    ***code snipped out***
    if ( isMulti )
          paramValues = multi.getParameterValues( paramName );
    else
         paramValues = request.getParameterValues( paramName );This was working fine, but after submitting "regular" (not uploaded) forms 3 or 4 times, it'd give me that error. Then I decided to change html.startForm() to work exactly like html.startUploadForm()--in effect making every form a MultiPartRequest. It works fine, without any errors. Do you know what was going on?

  • Problem with Java Native Type after Migration from 7.0 to 7.1

    Hi,
    after Migration from Netweaver 7.0 to Netweaver 7.1 I get following error:
    FileDownload 'FileDownload.data': Context attribute 'PrintSelectedView.PdfToDownload.resourceInputStream' has the Java native type 'com.sap.tc.webdynpro.progmodel.api.IWDInputStream' and cannot be bound to this property. Hint: Remove the binding or bind a context element matching the property's type.     
    What have I done wrong?
    How could I fix this problem?
    Best regards,
    Peter

    Hi,
    thanks, this solved the problem.
    Thank you.
    Best regards,
    Peter

  • JAVA NATIVE ACCESS

    hi
    It would be helpfull for me if anybody give good reference/ link related JAVA NATIVE ACCESS
    i have tried through google and sun search but most of all are java native Interface...
    so please
    thanks in advance

    Hello guys,
    I have a problem in JNA to create interface method because i must search functions in DLL which have many structures as argument. So i find JNA is difficult but less than JNI.
    I would like to give you my specification file and traduce this fonction in the interface of JNA. Please help me !!!!
    Here is these C functions :
    typedef disco_err (WINAPIV* win_disco_init)(disco_init_conf_t* conf);
    typedef enum {
    DISCO_ERR_NONE = 0, //!< No error
    DISCO_ERR_IO = -1, //!< IO error
    DISCO_ERR_DB = -2, //!< Database error
    DISCO_ERR_MEM = -3, //!< Memory allocation error
    DISCO_ERR_PAR = -4, //!< Invalid parameters
    DISCO_ERR_ND = -5, //!< Max number of opened descriptors is
    reached
    DISCO_ERR_NS = -6, //!< Service not supported
    DISCO_ERR_ID = -7, //!< Bad id
    DISCO_ERR_FF = -8, //!< Bad file format
    DISCO_ERR_EOF = -9, //!< End of file
    DISCO_ERR_NOE = -10, //!< No such entity
    DISCO_ERR_INT = -11, //!< Database build interrupted
    DISCO_ERR_ACCESS = -12, //!< Access denied
    DISCO_ERR_EMPTY = -13, //!< Empty information
    DISCO_ERR_NO_MORE_RESPONDING_IPOD = -14, //!<no more iPod
    DISCO_ERR_OTHER = -30, //!< Other
    }disco_err;
    typedef struct {
    disco_uart_iap_init iap_via_uart;//! Unused
    int priority; //!< Priority level of Disco threads
    disco_spec_strs_t strs; //!< Special strings configuration
    }disco_init_conf_t;
    typedef struct {
    const char* empty; //!< String for undefined lists elements
    const char* root; //!< Name for virtual 'Root' directories
    }disco_spec_strs_t;
    So it's a real crazy mapping between C and Java. It's too dificult for me. i hope there will be a professional of mapping ? Give me the solution please because i have 20 days to design the modul of my java application.
    thanks in advance,
    Nicolas.

  • Java security error after 8u31 (Timestamped Jarsigned Applet within valid period of Code Signing certificate)

    Hello,
      I have an applet running in embeddad systems. This program runs without any problem since 8u31 update! After this update it starts to give java security warning and stops running.
    Here is the warning message:
      "Your security settings have blocked an application signed with an expired or not-yet-valid certificate from running"
    What it says is true; my Code Signing Certificate (CSC) is valid between 24 Jan 2014 and 25 Jan 2015. And it expired! However, while i was signing my applet with this certificate i used "timestamp". The authority i choosed was DigiCert. My signing date was 26 Jan 2014 (when my CSC was valid).
    When i started to have this Java Security Error, first i thought i mis-timestamped my code, and check by using the jarsigner -verify command. Here is a partial result:
    s      19607 Mon Jan 27 13:17:34 EET 2014 META-INF/MANIFEST.MF
          [entry was signed on 27.01.2014 13:19]
          X.509, CN=TELESIS TELECOMMUNICATION SYSTEMS, OU=ARGE, O=TELESIS TELECOMMUNICATION SYSTEMS, STREET=TURGUT OZAL BLV.NO:68, L=ANKARA, ST=ANKARA, OID.2.5.4.17=06060, C=TR
          [certificate is valid from 24.01.2014 02:00 to 25.01.2015 01:59]
          X.509, CN=COMODO Code Signing CA 2, O=COMODO CA Limited, L=Salford, ST=Greater Manchester, C=GB
          [certificate is valid from 24.08.2011 03:00 to 30.05.2020 13:48]
          X.509, CN=UTN-USERFirst-Object, OU=http://www.usertrust.com, O=The USERTRUST Network, L=Salt Lake City, ST=UT, C=US
          [certificate is valid from 07.06.2005 11:09 to 30.05.2020 13:48]
          X.509, CN=AddTrust External CA Root, OU=AddTrust External TTP Network, O=AddTrust AB, C=SE
          [certificate is valid from 30.05.2000 13:48 to 30.05.2020 13:48]
    sm       495 Thu Jan 23 14:55:22 EET 2014 telesis/WebPhone$1.class
    As you may see the timestamp was correctly done. And it is in the valid period of CSC.
    Than i started to check how Java confirms the Certificate, and found some flowcharts.
    Here is an example from DigiCert:
    Code Signature Verification Process
    After the Web browser downloads the Applet or Web Start application, it checks for a timestamp, authenticates the publisher and Certificate Authority (CA), and checks to see if the code has been altered/corrupted.
    The timestamp is used to identify the validation period for the code signature. If a timestamp is discovered, then the code signature is valid until the end of time, as long as the code remains unchanged. If a timestamp is not discovered, then the code signature is valid as long as the code remains unchanged but only until the Code Signing Certificate expires. The signature is used to authenticate the publisher and the CA, and as long as the publisher (author or developer) has not been blacklisted, the code signature is valid. Finally, the code is checked to make sure that it has not been changed or corrupted.
    If the timestamp (or Code Signature Certificate expiration date) is verified, the signature is validated, and the code is unchanged, then the Web browser admits the Applet or Web Start application. If any of these items do not check out, then the Web browser acts accordingly, with actions dependent on its level of security.
    So according to this scheme, my applet had to work properly, and without security warning.
    However i also found that from Oracle, which also includes the timestamping authorities Certification validity period??? :
    The optional timestamping provides a notary-like capability of identifying
    when the signature was applied.
        If a certificate passes its natural expiration date without revocation,
    trust is extended for the length of the timestamp.
        Timestamps are not considered for certificates that have been revoked,
    as the actual date of compromise could have been before the timestamp
    occurred.
    source:  https://blogs.oracle.com/java-platform-group/entry/signing_code_for_the_long
    So, could anyone please explain why Java gives security error when someone tries to reach that applet?
    Here is a link of applet: http://85.105.68.11/home.asp?dd_056
    I know the situation seems a bit complicated, but i tried to explain as simple as i can.
    waiting for your help,
    regards,
    Anıl

    Hello,
      I have an applet running in embeddad systems. This program runs without any problem since 8u31 update! After this update it starts to give java security warning and stops running.
    Here is the warning message:
      "Your security settings have blocked an application signed with an expired or not-yet-valid certificate from running"
    What it says is true; my Code Signing Certificate (CSC) is valid between 24 Jan 2014 and 25 Jan 2015. And it expired! However, while i was signing my applet with this certificate i used "timestamp". The authority i choosed was DigiCert. My signing date was 26 Jan 2014 (when my CSC was valid).
    When i started to have this Java Security Error, first i thought i mis-timestamped my code, and check by using the jarsigner -verify command. Here is a partial result:
    s      19607 Mon Jan 27 13:17:34 EET 2014 META-INF/MANIFEST.MF
          [entry was signed on 27.01.2014 13:19]
          X.509, CN=TELESIS TELECOMMUNICATION SYSTEMS, OU=ARGE, O=TELESIS TELECOMMUNICATION SYSTEMS, STREET=TURGUT OZAL BLV.NO:68, L=ANKARA, ST=ANKARA, OID.2.5.4.17=06060, C=TR
          [certificate is valid from 24.01.2014 02:00 to 25.01.2015 01:59]
          X.509, CN=COMODO Code Signing CA 2, O=COMODO CA Limited, L=Salford, ST=Greater Manchester, C=GB
          [certificate is valid from 24.08.2011 03:00 to 30.05.2020 13:48]
          X.509, CN=UTN-USERFirst-Object, OU=http://www.usertrust.com, O=The USERTRUST Network, L=Salt Lake City, ST=UT, C=US
          [certificate is valid from 07.06.2005 11:09 to 30.05.2020 13:48]
          X.509, CN=AddTrust External CA Root, OU=AddTrust External TTP Network, O=AddTrust AB, C=SE
          [certificate is valid from 30.05.2000 13:48 to 30.05.2020 13:48]
    sm       495 Thu Jan 23 14:55:22 EET 2014 telesis/WebPhone$1.class
    As you may see the timestamp was correctly done. And it is in the valid period of CSC.
    Than i started to check how Java confirms the Certificate, and found some flowcharts.
    Here is an example from DigiCert:
    Code Signature Verification Process
    After the Web browser downloads the Applet or Web Start application, it checks for a timestamp, authenticates the publisher and Certificate Authority (CA), and checks to see if the code has been altered/corrupted.
    The timestamp is used to identify the validation period for the code signature. If a timestamp is discovered, then the code signature is valid until the end of time, as long as the code remains unchanged. If a timestamp is not discovered, then the code signature is valid as long as the code remains unchanged but only until the Code Signing Certificate expires. The signature is used to authenticate the publisher and the CA, and as long as the publisher (author or developer) has not been blacklisted, the code signature is valid. Finally, the code is checked to make sure that it has not been changed or corrupted.
    If the timestamp (or Code Signature Certificate expiration date) is verified, the signature is validated, and the code is unchanged, then the Web browser admits the Applet or Web Start application. If any of these items do not check out, then the Web browser acts accordingly, with actions dependent on its level of security.
    So according to this scheme, my applet had to work properly, and without security warning.
    However i also found that from Oracle, which also includes the timestamping authorities Certification validity period??? :
    The optional timestamping provides a notary-like capability of identifying
    when the signature was applied.
        If a certificate passes its natural expiration date without revocation,
    trust is extended for the length of the timestamp.
        Timestamps are not considered for certificates that have been revoked,
    as the actual date of compromise could have been before the timestamp
    occurred.
    source:  https://blogs.oracle.com/java-platform-group/entry/signing_code_for_the_long
    So, could anyone please explain why Java gives security error when someone tries to reach that applet?
    Here is a link of applet: http://85.105.68.11/home.asp?dd_056
    I know the situation seems a bit complicated, but i tried to explain as simple as i can.
    waiting for your help,
    regards,
    Anıl

  • Native Error: 24756

    Anybody has idea about the possible chances of this exception?
    Error while persisting the transaction data: 'An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
    Details:
    An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
    Caused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'XAENGINEDS': XAER_NOTA : The XID is not valid
    javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
         at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
         at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
         at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
         at weblogic.jdbc.jta.DataSource.start(DataSource.java:695)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1183)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1116)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:290)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:511)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:438)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1406)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
         at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
         at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
         at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
         at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
         at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
         at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
         at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
         at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
         at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
         at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
         at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
         at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
         at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1411)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
         at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
         at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
         at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
         at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
         at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
         at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
         at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
         at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
         at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
         at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
         at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
         at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
         at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
    fuego.transaction.DatabaseException: An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3157)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
         at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
         at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
         at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
         at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
         at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
         at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
         at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
         at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
         at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
    Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'XAENGINEDS': XAER_NOTA : The XID is not valid
    javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
         at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
         at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
         at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
         at weblogic.jdbc.jta.DataSource.start(DataSource.java:695)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1183)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1116)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:290)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:511)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:438)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1406)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
         at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
         at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
         at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
         at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
         at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
         at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
         at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
         at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
         at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
         at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
         at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
         at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
         at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1411)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
         at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
         at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
         at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
         at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
         at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
         at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
         at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
         at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
         at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
         at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
         at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
         at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
         at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1343)
         at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
         at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
         at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
         at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
         ... 21 more

    Thanks for the links!!! This solved my problem, too. Long-running BPEL process instances where completing successfully but showing faults, presumably because the associated XA transaction had timed out while the process was making a call to a slow external web service. Making the suggested configuration changes to the datasource in WebLogic seems to have fixed the errors:
    1. Set "Set XA TransactionTimeout" to true.
    2. Set "XA Transaction Timeout" to 0
    See:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1138284.1

  • Java -version error when trying to do an upgrade

    Hi gurus
    i am having this problem with my java on SUSE 9.1
    java -version
    Error occurred during initialization of VM
    Unable to load native library: /usr/lib/SunJava2-1.3.1/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    which java
    /usr/lib/java/jre/bin/java
    my java installation is in /usr/java/j2sdk1.4.2_09  and i have defined this in .bashrc for my sidadm as i need to do an upgrade
    JAVA_HOME=/usr/java/j2sdk1.4.2_09/bin/java
    export PATH=/usr/java/j2sdk1.4.2_09/bin:$PATH
    export CLASSPATH=/usr/java/j2sdk1.4.2_09/lib
    Any ideas will be welcome

    i downloaded j2sdk1.4.2_09 and then uzippped it in
    /usr/java then edited the paths in .bashrc sidadm
    home directory.
    yes - but you´re logged on as root?
    I suggest, putting it on a different path instead of the SuSE  provided path, you will have trouble upgrading later SuSE packages if you overwrite the installed packages.
    I do it the following way:
    - cd /opt
    - j2sdk....*.sh
    - ln -s /opt/j2sdk1.4.2_09 java1.4
    - (as root)
    export JAVA_HOME=/opt/java1.4
    export PATH=$JAVA_HOME/bin:$PATH
    Then start installation.
    The advantage of using a softlink is the fact, that you don´t need to change anything later if you upgrade your JDK, just re-point the softlink.
    Markus
    Message was edited by:
            Markus Döhr

Maybe you are looking for

  • WebGate for OHS on Solaris?

    I cannot find a WebGate for OHS on Solaris. I can only find OHS2 on Solaris. Anyone know where to get it? Joost

  • Insert midi track takes 2 minutes

    When I try to insert a midi track it takes 2 to 3 minutes before it's added, during that time cpu usage is more then 50%. When I try to open a (AA2)session with midi tracks it will take for every midi track 2 or 3 minutes. AA2 and other programs don'

  • Flat file load changes in key figures

    Hello, I have a weird issue when i try to load some data into a cube(Flat File) with 1900 records only 1668 records gets loaded into the cube and also when i try to validate it the numbers doesnt match.Can you guys suggest me if i am missing anything

  • Itunes directories in my music folder??

    I'm wondering here, can anyone explain to me what the reason that there are multiple iTunes directories and config files in my music folder? This is a place where I keep my music and there is no facility i can see to have iTunes move its directories/

  • Advice needed on Apex and oracle context

    Hello, I'm facing the next issue: When I log into my Apex application I set a context site_id with a number. I'm wondering if it is needed to set my context on every page or is one time enough? At the moment it is working when I set my context one ti