An Exception.java is generated when use wsa.jar

I used wsa.jar(version:10.1.3) to parse WSDL file: http://api.rakuten.co.jp/rws/soap/GenreSearch/2007-04-11?wsdl ,and the generated java files contains Exception.java.
The Exception.java file is looks like: public class Exception extends Exception {...}, this would cause compile error.
Can somebody tell me why?Is it the bug of wsa.jar, and how to fix it.
Thanks.

I would say it is a bug, because generated code is not valid. However, I have to say that WSDL file contains quite awkward naming.
<message name="Exception">
<part name="fault" element="tns:Exception"/>
</message>I tried wsdl2java from Axis2 to see the difference and generated class was ExceptionException.java. The result compiles but the class name is ugly.
Look at documentation for wsa.jar and try to find a switch for mapping that should help you to set a better name for Exception type. Maybe you will find something interesting here:
http://download.oracle.com/docs/cd/B25221_04/web.1013/b14434/devfromwsdl.htm

Similar Messages

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

  • "java.lang.NullPointerException" when use doFinal(byte[])

    My code here:
    KeyFactory kf = null;
    Cipher cipher = null;
    PrivateKey pk = null;
    byte[] symKey = null;
    try {
    Security.addProvider(new BouncyCastleProvider());
    catch (Exception e) {
    System.err.println("Error loading security provider (" +
    e.getMessage() + ")");
    try {
    kf = KeyFactory.getInstance("RSA");
    catch (NoSuchAlgorithmException ex1) {
    try {
    pk = kf.generatePrivate(priServer);
    catch (InvalidKeySpecException ex3) {
    try {
    cipher = Cipher.getInstance("RSA");
    catch (NoSuchAlgorithmException ex2) {
    catch (NoSuchPaddingException ex2) {
    try {
    cipher.init(Cipher.DECRYPT_MODE, pk);
    catch (InvalidKeyException ex4) {
    try {
    symKey = cipher.doFinal(CEK); //get encode of symmetric key
    when CEK is byte[].
    I got exception :
    java.lang.NullPointerException
         at java.math.BigInteger.remainder(BigInteger.java:1239)
         at org.bouncycastle.crypto.engines.RSAEngine.processBlock(RSAEngine.java:133)
         at org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal(JCERSACipher.java:288)
    where my code wrong? Please help me!
    Note : I use bouncycastle provider.
    Thanks

    bla bla bla
    kf = KeyFactory.getInstance("RSA");
    pk = kf.generatePrivate(priServer);
    cipher = Cipher.getInstance("RSA");
    cipher.init(Cipher.DECRYPT_MODE, pk);IMHO RSA is 2-keys algorithm => you cannot use it in cipher class
    If u need encrypt use PBE for example
    PBEKeySpec pbeKeySpec;
    PBEParameterSpec pbeParamSpec;
    SecretKeyFactory keyFac;
    // Salt
    byte[] salt = ...;
    // Iteration count
    int count = 20;
    // Create PBE parameter set
    pbeParamSpec = new PBEParameterSpec(salt, count);
    // Prompt user for encryption password.
    pbeKeySpec = new PBEKeySpec(pass); //String with
    keyFac = SecretKeyFactory.getInstance("PBEWithMD5AndDES");
    SecretKey pbeKey = keyFac.generateSecret(pbeKeySpec);
    // Create PBE Cipher
    Cipher pbeCipher = Cipher.getInstance("PBEWithMD5AndDES");
    // Initialize PBE Cipher with key and parameters
    pbeCipher.init(Cipher.ENCRYPT_MODE, pbeKey, pbeParamSpec);
    // Our cleartext
    byte[] cleartext = "This is another example".getBytes();
    // Encrypt the cleartext
    byte[] ciphertext = pbeCipher.doFinal(cleartext);

  • Java Bean scope when used with the JPDK

    Portal 3.0.9.8.4 and Jserv
    When using JSPs with Java Beans and the JPDK I have noticed problems when setting the scope attribute of the useBean action to something other than "page". For example, &lt;jsp:useBean id="provider" scope="session" class="MyClass" /&gt; causes a java.lang.ClassCastException when there are more than two JSP portlets than attempt to access the ProviderSession object.
    Does anyone know what value the JSP scope should be set to when you want the JSPs read/write to the ProviderSession?

    The behavior you report is an expected one as your keys of objects on session are not unique to the two portlet instances. Two portlets with the same session object (may have been deployed on the same Portal page), are sharing the same object put on session, thus resulting in thread conflicts. What you need to do is to generate unique keys for objects stored for each portlet instance.
    For example, instead of having the id as "provider", you should have it as <portlet instance name> + "provider".
    You are not experiencing the same behavior in "request" or "page" scope, as in these scopes, the objects are not shared across portlet instances.
    Please let me know if my interpretation of your issue is wrong.
    Regards,
    Abhinav

  • Java Error Message When Using an instance of OracleXMLSave

    Hi,
    I am trying to use the XDK XML-SQL utility to insert data from an xml file into a table.
    I am using eclipse and imported the following jar files into the java build path from jdeveloper
    xml.jar
    xmlmesg.jar
    xsu12.jar
    When I try to run my test program I get the following error message:
    java.lang.NoClassDefFoundError: oracle/xdb/XMLType
    at this line in the program:
    OracleXMLSave sav = new OracleXMLSave(conn, "EDG_EPC.EMP_PRACTICE");
    What could I be doing wrong? Do I need to import more libraries. If so where are they located in jdev? Additionally, does the table need to be of XMLType??? I thought the XDK would work for inserting into regular tables.
    Please help!!!!!
    Thanks

    java.lang.NoClassDefFoundError: oracle/xdb/XMLType
    Add <Oracle10g>/RDBMS/jlib/xdb.jar to Classpath.

  • Executing adrundb.sh Exception - java.lang.NullPointerException when installing ebs 12.2.2

    Hai All,
    Can U help me...
    I installing ebs 12.2.2 on RHEL 5, but when install I get error message :
    from the log installation :
    Executing cr9idata.pl
    Executing: perl /u01/ebs12/ORAVIS/11.2.0/nls/data/old/cr9idata.pl
    Directory /u01/ebs12/ORAVIS/11.2.0/nls/data/9idata already exist. Overwriting...
    Copying files to /u01/ebs12/ORAVIS/11.2.0/nls/data/9idata...
    Copy finished.
    Please reset environment variable ORA_NLS10 to /u01/ebs12/ORAVIS/11.2.0/nls/data/9idata!
    runProcess_2
    Statusstring Copying Files to Shiphome...
    Statusstring Copying the Database Context template file.
    Statusstring End Copying Files to Shiphome.
    FINISHED INSTALL PHASE : 11g RDBMS : Mon Dec 30 19:52:58 WIT 2013
        /u01/ebs12/ORAVIS/11.2.0/temp/ORAVIS_ift64/adrun11g.sh has succeeded
    Step 1 of 8
    Command: /u01/ebs12/ORAVIS/11.2.0/temp/ORAVIS_ift64/adrundb.sh
    Step 2 of 8: Doing UNIX preprocessing
    Processing Step 2 of 8
    Executing: /u01/ebs12/ORAVIS/11.2.0/temp/ORAVIS_ift64/adrundb.sh
    Exception - java.lang.NullPointerException
    STARTED INSTALL PHASE : DATABASE : Mon Dec 30 19:53:03 WIT 2013
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for ORAVIS instance
    Thanks,

    Pl post in the appropriate EBS forum - E-Business Suite

  • Disabling Java popoup messages when using internet browser

    As of late, the new JRE 1.7 displays security popup messages asking the user to allow the usage java application when used via an internet browser.
    Our customer base is using our application via intranet with a local server, those popup are becoming a annoyance as well as creating issue in our application. For example, with have a timeout to automatically log out of the application which now requires the user to validate it prior running, which against governmental requirement in our case.
    Is there a Java setting that would allow to disable those messages? If not, is there a solution to register our application as safe to run through Java. As of now the solution is to run older version of JAVA (7u3) to allow proper usage.
    Thanks

    Hi,
    have a look at this thread: The specified item was not found.

  • Problen when using log4j.jar in my web service application

    Hi, i have a little problem. I have to migrate an existing java application to web services, and this application uses log4j.jar. So i put that jar file in the lib dir in WEB-INF. However, when i try to deploy the application, i get an error saying
    org.apache.commons.LoggingException: No suitable Log constructor [LJava.lang.Class;c492c8 for org.apache.commons.logging.impl.Log4JLogger
    And of course if i remove that jar from the lib dir, the app deploys ok, but it crashes because it can't find the class Logger (located in that jar)
    Any ideas how to solve this?????
    Thank you                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    When is the log4j constructor invoked ?....you said you moved the java application to webservice....in the java application they might have initialized the log4j with the log4j properties file some where when they start the application..
    Have a start up servlet which initializes the lof4j.

  • Exceptions faced when generating files using wsld4j.jar

    C:\>setaxis C:\axis-1_2_1
    C:\>set AXIS=C:\axis-1_2_1
    C:\>set classpath=.;C:\axis-1_2_1\lib\axis.jar;C:\axis-1_2_1\lib\commons-logging
    .jar;C:\axis-1_2_1\lib\commons-discovery.jar;C:\axis-1_2_1\lib\wsdl4j.jar;C:\axi
    s-1_2_1\lib\saaj.jar;C:\axis-1_2_1\lib\jaxrpc.jar;C:\axis-1_2_1\lib\wsdl4j-1.5.1
    .jar;
    C:\>java org.apache.axis.wsdl.WSDL2Java http://localhost/FlyRight/FlightInfo.asmx?WSDL -p fly
    Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
    at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)
    at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
    at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
    at org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBundle.java:53)
    at org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.java:32)
    at org.apache.axis.utils.Messages.<clinit>(Messages.java:36)
    at org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)
    I have done this in the cmd. I have already set the paths for the wsld4j.jar and the wsdl file provided by the web service is working. But I'm not sure what causes this exception. Please any 1 help me on it?

    .jar;C:\axis-1_2_1\lib\commons-discovery.jar;C:\axis-1_2_1\lib\wsdl4j.jar;C:\axi
    s-1_2_1\lib\saaj.jar;C:\axis-1_2_1\lib\jaxrpc
    I have done this in the cmd. I have already set the paths for the wsld4j.jar and the wsdl file provided by the web service is working. But I'm not sure what causes this exception. Please any 1 help me on it?
    not the same - maybe the cause ?

  • OutOfMemoryError: Java heap space when using List String

    Hey folks,
    i stumbled about the following problem: I want to read IDs from a textfile (around 100.000 lines) an store them in a List or HashMap for later use. When I store them as Integers there is no problem, but when I store them as Strings I quickly run out of memory. The IDs are 6 chars long, so an Integer would use 2 Bytes and an unicode String 12. When I run the following code the memeory usage is ca. 13 MB, but when nbot commenting out the add-command for the string list, it qucikly raises up to ca. 70 MB and then throws the OutOfMemoryError. I tried a run with -mx1024M then the programm succesfully terminates but it uses a peak heap of 300 MB! Can anyone explain these differences?
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import java.util.ArrayList;
    public class ReadTheFile {
         public static void main(String[] args) {
              try {
                   // read file
                 BufferedReader in =
                      new BufferedReader(
                           new InputStreamReader(
                                new FileInputStream(args[0]), "UTF-8"));
                 ArrayList<Integer> list1 = new ArrayList<Integer>();
                 ArrayList<String> list2 = new ArrayList<String>();
                 String line;
                 while ((line = in.readLine()) != null) {
                     String str = line.substring(10, 16);
                     list1.add(Integer.valueOf(str));
                     //list2.add(str);
              } catch (Exception e) {
                   e.printStackTrace();
    }Any help would be appreciated. Thanks.
    schneidexe
    P.S.: I also tried HashMaps instead of List, same failure! :-(
    Edited by: schneidexe on Feb 7, 2008 4:15 PM

    kajbj wrote:
    kajbj wrote:
    What happens if you replace the line
    String str = line.substring(10, 16);
    with
    String str = new String(line.substring(10, 16));
    ?I should probably explain why I want this tested.
    A call to substring creates a substring that chares the character data with the original string (in this case the whole line), so all of your substrings are still forcing the whole lines to be kept in memory. Calling new String() on the substrings will create a new string that doesn't share the character data, so the char[] will be truncated and the string that is referencing the whole line can be GC:ed
    KajThat did it! Thank you very much. I did not test this, because I generated the substring in both cases. But I think in the first case (w/o storing in in the List) the GC frees the memeory because the generated substring isn't used anymore after it's creation.
    So thanx again!
    schneidexe
    P.S.: I'm using Java 1.6.0-b105

  • Java.io.NotSerializableException when using POF over Extend

    I changed a class to use POF and it seems to work fine among TCMP cluster members but when apps connect with Extend I get an exception indicating that maybe either the extend proxy or client app is not correctly configured to use POF.
    (Wrapped) java.io.NotSerializableException: dj_quotes.DJ_Quote
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:22)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.post(Peer.CDB:23)
            at com.tangosol.coherence.component.net.extend.Channel.post(Channel.CDB:25)
            at com.tangosol.coherence.component.net.extend.Channel.send(Channel.CDB:6)
            at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:55)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer$DaemonPool$WrapperTask.run(Peer.CDB:9)
            at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
            at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
            at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: java.io.NotSerializableException: dj_quotes.DJ_Quote
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
            at com.tangosol.util.ExternalizableHelper.writeSerializable(ExternalizableHelper.java:2252)
            at com.tangosol.util.ExternalizableHelper.writeObjectInternal(ExternalizableHelper.java:2696)
            at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2600)
            at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:210)
            at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.CacheServiceProxy$ConverterToBinary.convert(CacheServiceProxy.CDB:3)
            at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getValue(ConverterCollections.java:3547)
            at com.tangosol.io.pof.PofBufferWriter.writeMap(PofBufferWriter.java:1977)
            at com.tangosol.coherence.component.net.extend.message.Response.writeExternal(Response.CDB:23)
            at com.tangosol.coherence.component.net.extend.message.response.PartialResponse.writeExternal(PartialResponse.CDB:1)
            at com.tangosol.coherence.component.net.extend.Codec.encode(Codec.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.encodeMessage(Peer.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.TcpAcceptor.encodeMessage(TcpAcceptor.CDB:8)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:16)
            ... 9 moreLooks like it failed while attempting default serialization, right?
    My extend proxy servers start with
    -Dtangosol.coherence.cacheconfig=cache-config-extend-proxy.xml
    here:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <!-- ***********  SCHEME MAPPINGS  ***********  -->
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>quotes.*</cache-name>
                   <scheme-name>quotes-scheme</scheme-name>
              </cache-mapping>   
         </caching-scheme-mapping>
         <!-- ******************************** -->
         <caching-schemes>
              <proxy-scheme>
          <service-name>ExtendTcpProxyService</service-name>
          <thread-count>8</thread-count>
          <acceptor-config>
            <tcp-acceptor>
              <local-address>
                <address system-property="tangosol.coherence.proxy.address">localhost</address>
                <port system-property="tangosol.coherence.proxy.port">9090</port>
              </local-address>
            </tcp-acceptor>
          </acceptor-config>
          <proxy-config>
                  <cache-service-proxy>
                    <lock-enabled>true</lock-enabled>
                  </cache-service-proxy>
                </proxy-config>
          <autostart>true</autostart>
        </proxy-scheme>
              <distributed-scheme>
                   <scheme-name>quotes-scheme</scheme-name>
                   <service-name>DistributedQuotesCacheService</service-name>
                   <serializer>
                        <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                        <init-params>
              <init-param>
                <param-type>string</param-type>
                <param-value system-property="pof.config">z:/coherence/pof-config.xml</param-value>
              </init-param>
            </init-params>
                   </serializer>
                   <backing-map-scheme>
                        <local-scheme/>
                   </backing-map-scheme>
                   <autostart>true</autostart>
              </distributed-scheme>
    </caching-schemes>
    </cache-config>extend client apps start with
    -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    here:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <!-- ***********  SCHEME MAPPINGS  ***********  -->
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>quotes.*</cache-name>
                   <scheme-name>extend-scheme</scheme-name>
              </cache-mapping>
         </caching-scheme-mapping>
         <!-- ******************************** -->
         <caching-schemes>
              <remote-cache-scheme>
                    <scheme-name>extend-scheme</scheme-name>
                    <service-name>ExtendTcpCacheService</service-name>
                    <initiator-config>
                    <tcp-initiator>
              <remote-addresses>
                 <socket-address>
                  <address>192.168.3.6</address>
                  <port>9090</port>
                </socket-address>
              </remote-addresses>
              <connect-timeout>12s</connect-timeout>
            </tcp-initiator>
            <outgoing-message-handler>
              <request-timeout>6s</request-timeout>
            </outgoing-message-handler>
          </initiator-config>
        </remote-cache-scheme>
              <!-- ALSO TRIED THIS IN PLACE OF extend-scheme -->
                    <remote-cache-scheme>
          <scheme-name>extend-scheme-pof</scheme-name>
          <service-name>ExtendPofTcpCacheService</service-name>
                   <serializer>
                        <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                        <init-params>
              <init-param>
                <param-type>string</param-type>
                <param-value system-property="pof.config">z:/coherence/pof-config.xml</param-value>
              </init-param>
            </init-params>
                   </serializer>
          <initiator-config>
            <tcp-initiator>
              <remote-addresses>
                <!-- mothra -->
                 <socket-address>
                  <address>192.168.3.6</address>
                  <port>9090</port>
                </socket-address>
              </remote-addresses>
              <connect-timeout>12s</connect-timeout>
            </tcp-initiator>
            <outgoing-message-handler>
              <request-timeout>6s</request-timeout>
            </outgoing-message-handler>
          </initiator-config>
        </remote-cache-scheme>
    </caching-schemes>
    </cache-config>pof-config.xml should be fine...
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
      <user-type-list>
        <include>coherence-pof-config.xml</include>
        <user-type>
          <type-id>10001</type-id>
          <class-name>dj_quotes.DJ_Quote</class-name>
        </user-type>
      </user-type-list>
    </pof-config>Any ideas what I missed?
    Thanks,
    Andrew

    Looks like I spoke too soon. Moving the <serializer> to the correct location in the Extend client XML config did fix the problem I was seeing but it created a new problem. It appears the Extend client wants to use POF for everything including non-POF services like the one handling the Serializable (non-POF) object oms.Order. That's what I gather from this exception
    Exception in thread "AWT-EventQueue-0" (Wrapped) java.io.IOException: unknown user type: oms.Order
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:22)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.post(Peer.CDB:23)
            at com.tangosol.coherence.component.net.extend.Channel.post(Channel.CDB:25)
            at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:18)
            at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:1)
            at com.tangosol.coherence.component.net.extend.RemoteNamedCache$BinaryCache.putAll(RemoteNamedCache.CDB:10)
            at com.tangosol.util.ConverterCollections$ConverterMap.putAll(ConverterCollections.java:1702)
            at com.tangosol.coherence.component.net.extend.RemoteNamedCache.putAll(RemoteNamedCache.CDB:1)
            at com.tangosol.coherence.component.util.SafeNamedCache.putAll(SafeNamedCache.CDB:1)
            at oms.Order.sendMultiple(Order.java:357)
            at order_entry_window.OrderEntryPanel$SubmitListener.sendOrder(OrderEntryPanel.java:1307)
            at order_entry_window.OrderEntryPanel$SubmitListener.actionPerformed(OrderEntryPanel.java:1321)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
            at java.awt.Component.processMouseEvent(Component.java:6504)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
            at java.awt.Component.processEvent(Component.java:6269)
            at java.awt.Container.processEvent(Container.java:2229)
            at java.awt.Component.dispatchEventImpl(Component.java:4860)
            at java.awt.Container.dispatchEventImpl(Container.java:2287)
            at java.awt.Component.dispatchEvent(Component.java:4686)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
            at java.awt.Container.dispatchEventImpl(Container.java:2273)
            at java.awt.Window.dispatchEventImpl(Window.java:2713)
            at java.awt.Component.dispatchEvent(Component.java:4686)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
            at java.awt.EventQueue.access$000(EventQueue.java:101)
            at java.awt.EventQueue$3.run(EventQueue.java:666)
            at java.awt.EventQueue$3.run(EventQueue.java:664)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
            at java.awt.EventQueue$4.run(EventQueue.java:680)
            at java.awt.EventQueue$4.run(EventQueue.java:678)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    Caused by: java.io.IOException: unknown user type: oms.Order
            at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:341)
            at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2596)
            at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:210)
            at com.tangosol.coherence.component.net.extend.RemoteNamedCache$ConverterToBinary.convert(RemoteNamedCache.CDB:4)
            at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getValue(ConverterCollections.java:3547)
            at com.tangosol.io.pof.PofBufferWriter.writeMap(PofBufferWriter.java:1977)
            at com.tangosol.coherence.component.net.extend.messageFactory.NamedCacheFactory$PutAllRequest.writeExternal(NamedCacheFactory.CDB:3)
            at com.tangosol.coherence.component.net.extend.Codec.encode(Codec.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.encodeMessage(Peer.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:16)
            ... 47 more
    Caused by: java.lang.IllegalArgumentException: unknown user type: oms.Order
            at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:420)
            at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:409)
            at com.tangosol.io.pof.PofBufferWriter.writeUserType(PofBufferWriter.java:1660)
            at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1622)
            at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:335)
            ... 56 moreSo I posted a follow-up question here:
    Can an extend client use both POF and java.io.Serializable?
    Thanks,
    Andrew

  • Java applet error when using proxy

    I'm new with my project. I came in towards the end of R2.0 development and inherited an ongoing issue wherein the java applet throws a login exception error when proxy is used to connect. There's no issue when we do not use a proxy.
    Per my knowledge, R2.0 involves an upgrade from an older weblogic v(8.1?) to 10.3. We did not have this problem with the old version.
    Based on the java logs, the error below appears after the "set-cookie" step, which i noticed creates a new JSESSIONID
    java.io.IOException: Server returned HTTP response code: 400 for URL: .....
    +....+
    +....+
    +....+
    Login Exception. Please see your System Administrator.
    I have already checked our proxy configurations and they do not have anything whitelisted (which would somehow explain why the old version worked, although nothing in the IP changed which should prevent the new app from working today) nor blacklisted (which would prevent the application from working today).
    I am suspecting it's from the cookie, or from the upgrade. Unfortunately, I don't have access to the code because it's being developed by a third-party vendor.
    Can someone suggest what to check to resolve this issue?
    In case the information I've provided is insufficient, please let me know what else is needed that will help shed some light on this matter.

    wrong forum. your question has nothing to do with WebLogic JDBC

  • Exception in transaction commit when using Web Service Atomic Transaction

    Hi all,
    I am following this tutorial from Oracle on how to use WS-AT
    http://docs.oracle.com/cd/E14571_01/web.1111/e13734/transaction.htm
    A brief description about my application, which is wrote in JDeveloper:
    Two applications, one for web service and one for client.
    The WS is backed by an stateless EJB, which use JPA entity to do operations on the Oracle XE DB. The EJB transaction is container-managed, and the Entity Manager is retrieved from the JTA Datasource by using @PersistenceContext
    I put this on the EJB implementation class:
    @WebService(...)
    @TransactionAttribute(value = TransactionAttributeType.MANDATORY)
    @Transactional(version = Transactional.Version.WSAT10,
    value = Transactional.TransactionFlowType.MANDATORY)
    On the client application, I use another EJB to call the WS. The proxy and all generated types are created properly by JDev. I put this on the @WebServiceReference point in the client EJB:
    @Transactional(version = Transactional.Version.WSAT10,
    value = Transactional.TransactionFlowType.MANDATORY)
    The client EJB is also annotated with:
    @TransactionAttribute(value = TransactionAttributeType.REQUIRED)
    Both applications are deployed successfully in the integrated weblogic server. But when I run the method in the client EJB that call the WS to do a persisting operation on the DB, the following exception is thrown:
    javax.ejb.EJBException: BEA1-00227DF3AF249E472B1E: javax.transaction.xa.XAException: Failed state during prepare of WS-AT XAResource ...
    which causes:
    Exception occurred during commit of transaction Name=[EJB +_the client EJB's calling method_+
    The weird thing is, if I call a method which does a simple System.out.println (no DB related operation) then no exception is thrown.
    Furthermore, if I switch both WS EJB and client EJB to use bean managed transaction, the transaction is not propagated properly, as I see that UserTransaction in the WS EJB does not have the same status as UserTransaction in the Client EJB.
    Hence I'm suspecting that there is some issue during step 4 described in the Oracle documentation:
    "Server B receives the request for Application B, detects that the header contains a transaction coordination context and determines whether it has already registered as a participant in this transaction. If it has, that transaction is resumed and if not, a new transaction is started.
    *Application B executes within the context of the imported transaction. All transactional resources with which the application interacts are enlisted with this imported transaction*."
    This is all I can find. Please help me on how to resolve the exception.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi r035198x,
    Thanks for your help. The problem indeed is in the non-XA datasource I used for the EntityManager. I created datasource what uses XA Thin Oracle driver and everything works fine now, commit and rollback both work nicely.
    Again thanks a lot.

  • How to clear exception cache in VO when using OAAttrValException

    I am using OAAttrValException to validate that individual required attributes are populated before a user can submit the page. The function i have in the VOImpl is as follows
    public void validateRow() {
    ArrayList exceptions = new ArrayList();
    String address1 = (String)getCurrentRow().getAttribute("Address1");
    String postCode = (String)getCurrentRow().getAttribute("PostalCode");
    if (address1==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", address1) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "Address1" // Attribute Name
    , address1 // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    if (postCode==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", postCode) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "PostalCode" // Attribute Name
    , postCode // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    OAException.raiseBundledOAException(exceptions);
    The problem is that every time you click submit it adds these exceptions to the list of exception already thrown i.e. it doesnt seem to clear the exceptions from the last submit, so the list of exception messages just gets longer and longer. Ideally I would like to flush these messages on submit but before I validate using something like clearAllExceptions() as in the EOImpl, but this method does not appear to be available in he VO.
    Does anyone have any suggestions about how I can achieve this?
    Thanks,
    Danny

    Danny,
    The simple and straight solution to your problem in that the row validation code you are writing is written in wrong file.VOIMpl file should only contain logic related to query manipulation of View Object. If you wanna do row validation at vo level, this code should go in VORowimpl file and not VOimpl file. In VORowimpl file BC4J framework provides a method called validate(), you can utilise that.The validate() method is automically called every time a post event has been generated.The method in turn invokes validate entity method in each of the entity objects involved in VO.
    This validate method is called in process form data in OAF lifecycle. So this how your code should look like in VORowimpl :
    public void validate()
    super.validate();
    ArrayList exceptions = new ArrayList();
    String address1 = (String)getCurrentRow().getAttribute("Address1");
    String postCode = (String)getCurrentRow().getAttribute("PostalCode");
    if (address1==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", address1) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "Address1" // Attribute Name
    , address1 // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    if (postCode==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", postCode) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "PostalCode" // Attribute Name
    , postCode // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    OAException.raiseBundledOAException(exceptions);
    Sumit,
    Making Arraylist defined globally in VOimpl class would not solve the purpose, because in present code ArrayList has been initialized inside validateRow() method hence, everytime this method is called Arraylist is automatically initialized by new , but the errorstack is not cleared.This code should be at such a place where it should be automaticallyclear the last error stack when its called everytime in framework i.e. validate method in VOImpl or validateEntity method in EOImpl.
    I hope this helps.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Security Exception in Oracle Forms when using with JRE.

    Hi,
    I am am getting an exception whenl I try to dispose a message box(FWindow) received as a popup from an Oracle form page(configured using JRE).
    When I hit over the OK/Cancel button to dispose off the messagebox,it is not I get the following error.
    Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context
         at java.awt.KeyboardFocusManager.getGlobalFocusOwner(Unknown Source)
         at java.awt.KeyboardFocusManager.processSynchronousLightweightTransfer(Unknown Source)
         at sun.awt.windows.WComponentPeer.processSynchronousLightweightTransfer(Native Method)
         at sun.awt.windows.WComponentPeer.requestFocus(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocus(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.requestFocus(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMousePressed(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mousePressed(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I am able to dispose the messagebox, when I configure the oracle form with Jinitiator, the issue happens only with JRE.
    These are the configurations I use.
    10g Release2
    Windows XP Professional Version 2002, Service Pack 3
    IE version 6.0.2900.5512.xpsp_sp3_gdr.090804-1435
    JInit-JInitiator 1.3.1.22, Sun JRE- 1.6.0_17
    I am working on Developer suite.
    Privilege: Windows Administrator
    Kindly guide.
    Thanks & Regards
    Sunil

    Hi Sunil,
    Did you ever find a fix for this problem?
    I'm having exactly the same issue.
    I have an oracle form with a java bean that runs against J Initiator 1.3.1.28, and it works fine, with J Initiator. The java code was compiled against JDK 1.3.
    My form now uses the Sun JRE 1.6, update 16. I've recompiled the java code against JDK 1.6.
    And now when the java code sends an event to the form and I show an alert I get the same error you were getting:
    Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context.
    I recompiled the java code against JDK 1.3, and ran it through the Sun JVM 1.6, and I still get the error.
    Any idea how to fix this?
    Regards,
    Chris.

Maybe you are looking for

  • Date/Time on X-Axis with JFreeChart

    Hi guys, I've asked this question on the JFreeChart forums, but got no response. If anyone has any experience with JFreeChart, help would be most appreaciated. I am drawing a XY Line Chart to display CPU usage retrieved from a database. The user can

  • XE and OFA

    Why is OFA (techinique invented by Oracle) left in this version? It is a little bit strange to see directory structure like this!

  • IMovie 9 not recognizing external drive

    Hi - has anyone experienced iMovie 9 not letting you save an event folder/project folder to an external drive? It seems to see them but has a yellow bang symbol next to it. It is a MyBook drive. I've tried right clicking but there is no indication wh

  • Airport Express requests a password ?

    When using Airport Express to configure my Airport, it requires a password. I have no idea where to find this password. This is not a wifi password, since I am connected to the Airport by ethernet connection. When entering any password, I get the mes

  • IMEI 01**********481 lock or unlock

    IMEI 01*********481 lock or unlock <Edited By Host>