Java.lang.Exception: discarding statement JPanel0.add(JTextField0)

This message appears when I try to save a Panel with all subcomponents.
My programm saves JLabel in the resulting Xml-file but neither JTextField nor JComboBox, etc.
I've checked my classes, and all subcomponents of my Spanel are JavaBeans.
(Spanel extends JPanel and has a no-args constructor as well).
So is it a JDK bug?
Hope somebody can help me.
This is my program :
public static void serializeContainer(Container spanel,String fileName) throws IOException {
FileOutputStream fos = new FileOutputStream(fileName);
XMLEncoder encoder = new XMLEncoder(fos);
encoder.setExceptionListener(new ExceptionListener() {
public void exceptionThrown(Exception exception) {
exception.printStackTrace();
encoder.writeObject(spanel);
encoder.close();
And this is the printStackTrace :
java.lang.Exception: discarding statement JPanel0.add(JTextField0);
     at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:333)
     at java.beans.DefaultPersistenceDelegate.invokeStatement(DefaultPersistenceDelegate.java:242)
     at java.beans.java_awt_Container_PersistenceDelegate.initialize(MetaData.java:378)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.javax_swing_JComponent_PersistenceDelegate.initialize(MetaData.java:565)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:103)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeExpression(Encoder.java:260)
     at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:351)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:100)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeObject1(Encoder.java:192)
     at java.beans.Encoder.cloneStatement(Encoder.java:205)
     at java.beans.Encoder.writeStatement(Encoder.java:236)
     at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:320)
     at java.beans.DefaultPersistenceDelegate.invokeStatement(DefaultPersistenceDelegate.java:242)
     at java.beans.java_awt_Container_PersistenceDelegate.initialize(MetaData.java:378)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.javax_swing_JComponent_PersistenceDelegate.initialize(MetaData.java:565)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:103)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeExpression(Encoder.java:260)
     at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:351)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:100)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeObject1(Encoder.java:192)
     at java.beans.Encoder.cloneStatement(Encoder.java:205)
     at java.beans.Encoder.writeStatement(Encoder.java:236)
     at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:320)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:253)
     at coneco.workflow.painter.util.ObjectUtils.serializeContainer(ObjectUtils.java:91)
     at coneco.workflow.painter.SerializeListener.actionPerformed(SerializeListener.java:90)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:932)
     at java.awt.Component.processMouseEvent(Component.java:5021)
     at java.awt.Component.processEvent(Component.java:4818)
     at java.awt.Container.processEvent(Container.java:1380)
     at java.awt.Component.dispatchEventImpl(Component.java:3526)
     at java.awt.Container.dispatchEventImpl(Container.java:1437)
     at java.awt.Component.dispatchEvent(Component.java:3367)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
     at java.awt.Container.dispatchEventImpl(Container.java:1423)
     at java.awt.Window.dispatchEventImpl(Window.java:1566)
     at java.awt.Component.dispatchEvent(Component.java:3367)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

This message appears when I try to save a Panel with all subcomponents.
My programm saves JLabel in the resulting Xml-file but neither JTextField nor JComboBox, etc.
I've checked my classes, and all subcomponents of my Spanel are JavaBeans.
(Spanel extends JPanel and has a no-args constructor as well).
So is it a JDK bug?
Hope somebody can help me.
This is my program :
public static void serializeContainer(Container spanel,String fileName) throws IOException {
FileOutputStream fos = new FileOutputStream(fileName);
XMLEncoder encoder = new XMLEncoder(fos);
encoder.setExceptionListener(new ExceptionListener() {
public void exceptionThrown(Exception exception) {
exception.printStackTrace();
encoder.writeObject(spanel);
encoder.close();
And this is the printStackTrace :
java.lang.Exception: discarding statement JPanel0.add(JTextField0);
     at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:333)
     at java.beans.DefaultPersistenceDelegate.invokeStatement(DefaultPersistenceDelegate.java:242)
     at java.beans.java_awt_Container_PersistenceDelegate.initialize(MetaData.java:378)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.javax_swing_JComponent_PersistenceDelegate.initialize(MetaData.java:565)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:103)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeExpression(Encoder.java:260)
     at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:351)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:100)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeObject1(Encoder.java:192)
     at java.beans.Encoder.cloneStatement(Encoder.java:205)
     at java.beans.Encoder.writeStatement(Encoder.java:236)
     at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:320)
     at java.beans.DefaultPersistenceDelegate.invokeStatement(DefaultPersistenceDelegate.java:242)
     at java.beans.java_awt_Container_PersistenceDelegate.initialize(MetaData.java:378)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.javax_swing_JComponent_PersistenceDelegate.initialize(MetaData.java:565)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:191)
     at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:393)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:103)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeExpression(Encoder.java:260)
     at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:351)
     at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:100)
     at java.beans.Encoder.writeObject(Encoder.java:55)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:250)
     at java.beans.Encoder.writeObject1(Encoder.java:192)
     at java.beans.Encoder.cloneStatement(Encoder.java:205)
     at java.beans.Encoder.writeStatement(Encoder.java:236)
     at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:320)
     at java.beans.XMLEncoder.writeObject(XMLEncoder.java:253)
     at coneco.workflow.painter.util.ObjectUtils.serializeContainer(ObjectUtils.java:91)
     at coneco.workflow.painter.SerializeListener.actionPerformed(SerializeListener.java:90)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:932)
     at java.awt.Component.processMouseEvent(Component.java:5021)
     at java.awt.Component.processEvent(Component.java:4818)
     at java.awt.Container.processEvent(Container.java:1380)
     at java.awt.Component.dispatchEventImpl(Component.java:3526)
     at java.awt.Container.dispatchEventImpl(Container.java:1437)
     at java.awt.Component.dispatchEvent(Component.java:3367)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
     at java.awt.Container.dispatchEventImpl(Container.java:1423)
     at java.awt.Window.dispatchEventImpl(Window.java:1566)
     at java.awt.Component.dispatchEvent(Component.java:3367)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

Similar Messages

  • Java.lang.Exception: Exception in sending Request :: null on Windows7 64bit

    Dear All,
    I have installed Oracle 10g 32-bit on Windows 7 64-bit Ultimate Edition. After setting ORACLE_HOME and ORACLE_SID environment variables.
    Oracle connected to sqlplus fine. But when starting Enterprise Manager in browser following error displayed.
    The Enterprise Manager takes the SYS logon (as sysdba) quite happily and then it states:
    Error
    java.lang.Exception: Exception in sending Request :: null
    Status Status Pending
    Status Pending Since Unavailable
    Last Known State
    Please help anyone. This is so urgent.
    Regards,
    Rizi -DBA

    I have resolved this issue myself. Basically problem is due to TimeZone mismatch of Oracle database and Window or OS.
    Following are the steps to resolve the issue:-
    On DOS prompt issue following commands.
    1. emctl stop dbconsole
    2. Following file contains valid supported TimeZones and select according to your region:-
    e.g. Asia/Karachi
    $ORACLE_HOME/sysman/admin/supportedtzs
    3. Now open following file:-
    $ORACLE_HOME/computername_SID/sysman/config/emd.properties
    At the end of this file add:-
    agentTZRegion=Asia/Karachi
    4. emctl start dbconsole
    5. Open browser and logged in Enterprise Manager using sys/password as sysdba.
    Click on Pending Status and logged in again, Now you will successfully use Enterprise Manager.
    Anyways, Thanks for your effort.

  • Could not validate SPNEGO token.java.lang.Exception: Checksum error.

    Hello consultant:
    We are trying configurated SSO usind SPNEGO  module
    We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native
    we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"
    When we have logged with user Active Directory and we try access to portal we obtain following error:
    Authorization check user error
    We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the
    following steps:
    1. Select "Component" = "security" and "Activity" = "all"
    2. Click the "Go" button, followed by the "Add All" button
    3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"
    4. Click the "Go" button, followed by the "Add All" button
    5. Start the tool
    Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:
    15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5
    15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token.
    java.lang.Exception: Checksum error.
    at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)
    at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)
    at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)
    at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)
    at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)
    at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)
    at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
    at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
    at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)
    at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
    at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Could you help us?
    Many thanks for your collaboration

    << Do not post the same question across a number of forums >>

  • ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception

    Hi,
    Can some one provide a resolution for below error:
    I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
    using LKM File to SQL, IKM Sql Control Append.
    I am getting below error when executing the interface :
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
    " (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
    " (92), after : "": <at unknown location>
    BSF info: Create external table at line: 0 column: columnNo
    at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
    at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
    ... 11 more
    Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
    out.print("createTblCmd = r\"\"\"\ncreate table ") ;
    out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
    out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]
    t"+
    "<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022[DEST_WRI_DT]
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n
    t", "","")) ;
    out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
    out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
    out.print("'\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
    out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
    out.print("\n\t\tBADFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
    out.print("\n") ;
    if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])
    t"+
    "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022DEST_WRI_DT
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n\\t\\t
    t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    } else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
    out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
    out.print("'\n\t\t") ;
    if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
    } else {out.print("OPTIONALLY ENCLOSED BY '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
    out.print("' AND '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
    out.print("' ") ;
    }out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]
    t"+
    "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022DEST_WRI_DT
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n\\t\\t
    t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    }out.print("\tLOCATION (") ;
    out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
    out.print(")\n)\n") ;
    out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
    out.print("\nREJECT LIMIT ") ;
    out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
    out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
    ****** ORIGINAL TEXT ******
    createTblCmd = r"""
    create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
    <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
    "<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t", "","")%>
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY dat_dir
    ACCESS PARAMETERS
    RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
    <%=odiRef.getUserExit("EXT_CHARACTERSET")%>
    <%=odiRef.getUserExit("EXT_STRING_SIZE")%>
    BADFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
    LOGFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
    DISCARDFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
    SKIP <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
    <% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
    FIELDS
    <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
    <%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
    "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t\t\t", "","")%>
    <%} else {%>
    FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
    <% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
    <%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
    <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
    <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
    "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t\t\t", "","")%>
    <%}%> LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
    <%=odiRef.getUserExit("EXT_PARALLEL")%>
    REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
    # Create the statement
    myStmt = myCon.createStatement()
    # Execute the trigger creation
    myStmt.execute(createTblCmd)
    myStmt.close()
    myStmt = None
    # Commit, just in case
    myCon.commit().
    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)

    Hi
    I saw your issue and found one think that "String index out of range", can you please compare the columns datatype and column size with target table and ODI table.
    ODI Table:
    After Reverse Engine, CSV changed into table format can you please open the table from designer>model>csv table and goto columns tab, it will list out the all column name datatype and size. compare the column size and type with your target table.
    hope this will resolve your issue.
    Regards,
    Phanikanth

  • Java.lang.Exception: IOException in sending Request :: Connection refused:

    Hi all,
    I am a new to Oracle 10g.I am using Enterprise manager for DBA jobs.After ogging in to enterprise manager, when i click the refresh button, i get the folllowing error
    " java.lang.Exception: IOException in sending Request :: Connection refused: connect"
    Please do help to slove this problem.
    Thanks

    I'm having the same error in my console header. Here is the content of the emagent.trc file.
    Running 10gR2 on Win 2K3 server. (bold added for readability)
    emctl status dbconsole responds with 'EM Daemon is not running'
    2007-03-29 14:02:23 Thread-1776 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2007-03-29 14:02:23 Thread-1776 WARN main: clear collection state due to OMS_version difference
    2007-03-29 14:02:23 Thread-1776 WARN command: Job Subsystem Timeout set at 600 seconds
    2007-03-29 14:02:24 Thread-1776 WARN upload: Upload manager has no Failure script: disabled
    2007-03-29 14:02:24 Thread-1776 WARN upload: Recovering left over xml files in upload directory
    2007-03-29 14:02:24 Thread-2920 ERROR command: nmejcn: received no status header from repository at http://dB_Domain:5500/em/upload/
    2007-03-29 14:02:24 Thread-1776 WARN upload: Recovered 0 left over xml files in upload directory
    2007-03-29 14:02:25 Thread-1776 WARN metadata: Metric collectSnapshot does not have any data columns
    2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric Disk_Path does not have any data columns
    2007-03-29 14:02:27 Thread-1776 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
    2007-03-29 14:02:53 Thread-1776 WARN TargetManager: Regenerating all Metadata
    2007-03-29 14:05:17 Thread-1776 ERROR util.files: ERROR: nmeufis_new: failed in lfiopn on file: E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\agntstmp.txt. error = 2 (No such file or directory)
    2007-03-29 14:05:28 Thread-1776 ERROR collector: nmecs_validateStateFile(): state file invalid : E:\oracle\product\10.2.0\db_3\dB_Domain_SIGD\sysman\emd\state\snapshot
    2007-03-29 14:05:28 Thread-1776 ERROR collector: Collector state files cleaned, severity will be resent
    2007-03-29 14:05:35 Thread-3660 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds.
    2007-03-29 14:05:48 Thread-676 ERROR upload: Failed to delete/move xml file C:\WINDOWS\TEMP\X11.uod, ret = -2 ; agent exiting
    2007-03-29 14:05:48 Thread-676 ERROR : Signalled to Exit with status 3
    2007-03-29 14:05:48 Thread-1776 ERROR main: EMAgent abnormal terminating
    2007-03-29 14:06:29 Thread-2996 WARN command: Job Subsystem Timeout set at 600 seconds
    2007-03-29 14:06:29 Thread-2996 WARN upload: Upload manager has no Failure script: disabled
    2007-03-29 14:06:29 Thread-2996 WARN upload: Recovering left over xml files in upload directory
    2007-03-29 14:06:29 Thread-2996 WARN upload: Recovered 5 left over xml files in upload directory
    2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named errors.dat
    2007-03-29 14:06:29 Thread-2996 WARN upload: Merging leftover data file named severity.dat
    2007-03-29 14:06:30 Thread-2996 WARN upload: Merging leftover data file named rawdata.dat
    2007-03-29 14:06:30 Thread-2996 WARN metadata: Metric collectSnapshot does not have any data columns
    2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric Disk_Path does not have any data columns
    2007-03-29 14:06:31 Thread-2996 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
    2007-03-29 14:07:29 Thread-2328 ERROR util.files: nmeufile_getLength: Error in lfilen. Error = 2 (No such file or directory)
    2007-03-29 14:15:19 Thread-1960 WARN http: 268,-1: nmehl_httpListener: signaled to exit from emctl
    Thank you for your help!
    Message was edited by:
    david.d

  • Java.lang.Exception: ValidationError?? in OWB 10.1

    Hi,
    In expression table*(In OWB 10.1)* when i use some logic and try to validate it i get the following error:
    java.lang.Exception: ValidationError??
    java.lang.Exception: API8532: Internal Error: Language Validation can't create a unique type name when attempting to deploy a validation package.Please contact Oracle Supporrt with the stack trace and details on how to reproduce it.
    Please help me out..
    thanks.

    Hi,
    well i ignored this validation(for expression logic) and validate the whole mapping(free of any warnings and errors) and tried to deploy the whole mapping then i got following types of warnings (total 20 in numbers)
    1. ORA-06550: line 48, column 14:
    PL/SQL: ORA-00905: missing keyword
    2. ORA-06550: line 11, column 3:
    PL/SQL: SQL Statement ignored
    3. ORA-06550: line 3500, column 8:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    * & = - + < / > at end in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
    The symbol "end" was substituted for ";" to continue.
    no idea what to do now??
    please help me to fix this..
    thanks

  • Java.lang.Exception while using applets

    i am compling my following code which gives error in JUnit Test result as
    No runnable methods
    java.lang.Exception: No runnable methods
    import java.awt.BorderLayout;
    import javax.swing.JApplet;
    * @author sakshi
    public class MainJA extends JApplet {
        MyInterface in;
        MyJPanel jp1;
        MyJScrollPane jsp;
         * Initialization method that will be called after the applet is loaded
         * into the browser.
        @Override
        public void init() {
            makeGUI();
        // TODO start asynchronous download of heavy resources
        void makeGUI() {
            setLayout(new BorderLayout());
            jp1 = new MyJPanel();
            in = new MyInterface();
            jsp = new MyJScrollPane(jp1);
            add(jsp, BorderLayout.CENTER);
            add(in, BorderLayout.SOUTH);
        // TODO overwrite start(), stop() and destroy() methods
    import java.awt.FlowLayout;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    * @author sakshi
    public class MyInterface extends JPanel {
        JLabel l_x,l_y;
        JTextField t_x,t_y;
        public MyInterface() {
           l_x=new JLabel("x");
           l_y=new JLabel("y");
           t_x=new JTextField(10);
           t_y=new JTextField(10);
           setLayout(new FlowLayout((int) CENTER_ALIGNMENT));
           add(l_x);add(t_x);
           add(l_y);add(t_y);
    import java.awt.Dimension;
    import javax.swing.JPanel;
    * @author sakshi
    public class MyJPanel extends JPanel {
        public MyJPanel() {
            setPreferredSize(new Dimension(1000,1000));
    import java.awt.Component;
    import java.awt.Dimension;
    import javax.swing.JScrollPane;
    import javax.swing.ScrollPaneConstants;
    * @author sakshi
    public class MyJScrollPane extends JScrollPane {
        public MyJScrollPane(Component v) {
            super(v,ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
            setPreferredSize(new Dimension(500,500));
    }what could be the reason for this error?

    sorry the problem is sought out since the error was on my part as i made the package in test package

  • Java.lang.Exception: ORA-00020: maximum number of processes (150) exceeded?

    When i run my web-application with the embedded OC4J server, the following error message is prompted:
    java.lang.Exception: ORA-00020: maximum number of processes (150) exceeded
         void MyFolder.objects.MyObject.<init>(oracle.jbo.ApplicationModule, java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)
         void MyFolder.servlet.MyServlet.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()
    Question:
    - What is the cause of this error message? How to avoid?
    - I intended to deploy my application to 9IAS server. Will the same problem occurs too?
    Thanks for your reply!

    Hi Pig,
    When i run my web-application with the embedded OC4J server, the following error message is prompted:
    java.lang.Exception: ORA-00020: maximum number of processes (150) exceeded
         void MyFolder.objects.MyObject.<init>(oracle.jbo.ApplicationModule, java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)
         void MyFolder.servlet.MyServlet.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()
    Question:
    - What is the cause of this error message? How to avoid?.
    From the Oracle error message documentation:
    ORA-00020 maximum number of processes (string) exceeded
    Cause: All process state objects are in use.
    Action: Increase the value of the PROCESSES initialization parameter.
    Another alternative approach may be to configure your Connection pool and/or your ApplicationModule pool to optimize the use of
    database connections and/or restrict the number of database connections used by the application. For example, if your application
    has declared many root ApplicationModules (i.e. more than one ApplicationModule pool is in use) then it may help to enable the
    jbo.doconnectionpooling switch so that each ApplicationModule instance in the pools does not maintain a dedicated database
    connection while not in use. Another alternative if you are using the BC4J connection pool (not a JDBC datasource) may be to
    restrict the number of connections the pool can create to < 150 with the jbo.maxpoolsize switch. However, please note that this
    may have an impact on throughput.
    - I intended to deploy my application to 9IAS server. Will the same problem occurs too?.
    This is a database issue. So, yes.
    Hope this helps.
    JR

  • Java.lang.Exception: DEBUG

    Hi,
    Can you please tell the significance of these error message coming in the weblogic logs.
    java.lang.Exception: DEBUG
    at weblogic.transaction.internal.ServerResourceInfo.setState(ServerResourceInfo.java:281)
    java.lang.Exception: DEBUG
    at weblogic.transaction.internal.TransactionImpl.setState(TransactionImpl.java:1682)
    java.lang.Exception: DEBUG
    at weblogic.transaction.internal.SCInfo.setState(SCInfo.java:59)
    ####<Mar 11, 2011 11:53:03 PM PST> <Debug> <JTAXAStackTrace> <dssoptperftest> <BPMServer> <BPM Directory Polling> <<anonymous>> <BEA1-002E212D6D278FAF9E64> <> <1299916383609> <BEA-000000> <java.lang.Exception: DEBUG: Xid=BEA1-002E212D6D278FAF9E64(13480230),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=30,activeThread=Thread[BPM Directory Polling,5,Pooled Threads],XAServerResourceInfo[XAFDIDS]=(ServerResourceInfo[XAFDIDS]=(state=started,assigned=none),xar=XAFDIDS,re-Registered = false),SCInfo[TOCDLC+BPMServer]=(state=active),local properties=({weblogic.jdbc.jta.XAFDIDS=[autoCommit=true,enabled=true,isXA=true,isJTS=false,vendorID=0,connUsed=true,doInit=false,'null',destroyed=false,poolname=XAFDIDS,appname=null,moduleName=null,connectTime=31,dirtyIsolationLevel=false,initialIsolationLevel=2,infected=false,lastSuccessfulConnectionUse=1299916383578,secondsToTrustAnIdlePoolConnection=10,currentUser=null,currentThread=null,lastUser=null,currentError=null,currentErrorTimestamp=null,JDBC4Runtime=true,supportStatementPoolable=true,needRestoreClientInfo=false,defaultClientInfo={}], weblogic.jdbc.jta.XAbpmengineDS=[autoCommit=true,enabled=true,isXA=true,isJTS=false,vendorID=0,connUsed=true,doInit=false,'null',destroyed=false,poolname=XAbpmengineDS,appname=null,moduleName=null,connectTime=31,dirtyIsolationLevel=false,initialIsolationLevel=2,infected=false,lastSuccessfulConnectionUse=1299916331266,secondsToTrustAnIdlePoolConnection=10,currentUser=null,currentThread=null,lastUser=null,currentError=null,currentErrorTimestamp=null,JDBC4Runtime=true,supportStatementPoolable=true,needRestoreClientInfo=false,defaultClientInfo={}]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=BPMServer+192.168.1.128:80+TOCDLC+t3+, XAResources={XAbpmengineDS, WLStore_TOCDLC__WLS_BPMServer, XAFDIDS},NonXAResources={})],CoordinatorURL=BPMServer+192.168.1.128:80+TOCDLC+t3+) XA.start(rm=XAbpmengineDS), xar=XAbpmengineDS, flags=TMNOFLAGS)
    at weblogic.transaction.internal.TxDebug.debugStack(TxDebug.java:60)
    Edited by: 820097 on Mar 15, 2011 9:58 AM

    Any clue about why this error would occur?

  • Java.lang.Exception: No Such Target - wait_bottlenecks

    I am using OEM 11g and getting following error on one of the database environment.
    java.lang.Exception: No Such Target - wait_bottlenecks
    I have tried few options based on following oracle note, still no success. 
    I have one node RAC. But there are two instances seen in OEM, one is down.
    Also, following error is displayed under database target of OEM:  Metric Collection Error
    6.3.4 Oracle Enterprise Manager Database Control Error
    The Oracle Enterprise Manager Database Control home page may show the following error if the dynamic properties evaluation is not complete:
    java.lang.Exception: No Such Target - wait_bottlenecks
    Workaround:
    Run these emctl commands on the master agent. Go to the cluster database home page and click View All Properties link to identify the master agent host. Recompute dynamic properties for the Oracle RAC instance and Oracle RAC database on the master agent host using the following commands:
    emctl reload agent dynamicproperties rac_instance_target_name:oracle_database emctl reload agent dynamicproperties rac_database_target_name:rac_database
    If the error persists, then increase the timeout for dynamic properties for the target by editing the emd.properties file located at$ORACLE_HOME/host_dbname/config, and providing a larger value for timeout_value. Increase the timeout value on all the nodes of the cluster. For example:
    dynamicPropsComputeTimeout_oracle_database=timeout_value dynamicPropsComputeTimeout_rac_database=timeout_value emctl reload agent emctl reload agent dynamicproperties rac_instance_target_name:oracle_database emctl reload agent dynamicproperties rac_database_target_name:rac_database
    This issue is tracked with Oracle bug 12907579.

    Error message is same in listener log and EM trace file. Also, same message is repeating in listener log, may be OEM is keep on trying to connect to database.
    dm01dbadm01.cdsiexa.net:oracle:/u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener/trace >lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 21-APR-2015 11:24:05
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                18-DEC-2014 10:43:19
    Uptime                    123 days 23 hr. 40 min. 45 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2.0.4/grid/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.10.12)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.100.10)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "orap" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
    Service "orapXDB" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
    Service "svcp" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    dm01dbadm01.cdsiexa.net:oracle:/u01/app/oracle/diag/tnslsnr/dm01dbadm01/listener/trace >lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 21-APR-2015 11:26:44
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1523691 refused:0 state:ready
             LOCAL SERVER
    Service "orap" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:10705 refused:0 state:ready
             LOCAL SERVER
    Service "orapXDB" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: dm01dbadm01.cdsiexa.net, pid: 79641>
             (ADDRESS=(PROTOCOL=tcp)(HOST=dm01dbadm01.cdsiexa.net)(PORT=55449))
    Service "svcp" has 1 instance(s).
      Instance "orap_2", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:10705 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully

  • Java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 ser

    Receiving error message: java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 Servlet
    The application worked fine with 2.2 servlet version and data source 4.0
    But i need to add some filter in web.xml so
    I changed the servlet version in my web.xml from
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> to
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    and created a data source version 5 in websphere server 6.0.0.1
    After that it is throwing the above mentioned error. pls help me on this.
    Thanks

    Is there anything i need to change in my application.xml
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

  • Java.lang.Exception:java.security.accesscontrolException:access denied

    good afternoon to all experts
    i am getting the following exception when i am going to read file
    java.lang.Exception:java.security.accesscontrolException:accessdenied(java.io.FilePermission c:\premiji.rar)
    my applet as follows
    import java.io.*;
    import java.applet.*;
    import java.awt.*;
    import java.security.*;
    import javax.crypto.Cipher;
    import javax.crypto.KeyGenerator;
    import javax.crypto.SecretKey;
    import javax.crypto.spec.*;
    import java.io.IOException;
    public class TestApp extends Applet
         public static TextField t;
         public static String key;
        public Label l;
    public  void init()
       setBackground(Color.GRAY);
       setLayout(null);
       t=new TextField("  ");
       t.setEchoChar('*');
       l=new Label("Enter ur key");
       l.setBounds(0,2,75,20);
       t.setForeground(Color.RED);
       t.setBounds(78,2,150,20);
    add(l);
       add(t);
    public static String eFile(String plainFile)throws Exception
    {String cFile="c://suri.rar";
         key=t.getText();
        byte[]raw=key.getBytes("UTF8");
        SecretKeySpec skeySpec = new SecretKeySpec(raw, "Blowfish");
        Cipher cipher = Cipher.getInstance("Blowfish");
        Cipher cipher2=Cipher.getInstance("Blowfish");
        cipher2.init(Cipher.DECRYPT_MODE,skeySpec);
        cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
        InputStream fis,dis;
        FileOutputStream fos,dos;
        fis = new FileInputStream("c://premji.rar");
        fis = new javax.crypto.CipherInputStream(fis, cipher);
        fos = new FileOutputStream(cFile);
        byte[] b = new byte[8];
        int i = fis.read(b);
        while (i != -1) {
            fos.write(b, 0, i);
            i = fis.read(b);
    dis = new FileInputStream(cFile);
    dis = new javax.crypto.CipherInputStream(dis, cipher2);
    dos=new FileOutputStream("c://madhu.rar");
    byte[] c=new byte[8];
    int j=dis.read(c);
    while(j!=-1)
         dos.write(c,0,j);
         j=dis.read(c);
       fis.close() ;
       fos.close();
       return cFile;
    }my html as follows
    html>
    <script language="JavaScript">
      function pass()
        document.myForm.uname.value=document.myApp.eFile(document.myForm.upfile.value);
    </script>
    <applet name="myApp" code="TestApp.class" archive="TestApp.jar" width=600 height=80></applet>
    <body>
    <form name="myForm" >
    Name
    <input type="text" name="uname"/>
    File
    <input type="file" name="upfile"/>
    <input type=button value="click" onClick="pass();">
    <input type="submit"/>
    </form>
    </body>
    </html>note:
    i signed my applet like
    keytool -genkey -alias sgsits -validity 365
    jarsigner TestApp.jar sgsitshave we to modify polacy file also?
    if so how & which one modify
    any suggestion would be greatly appreciated
    thanks in advance

    I assume your signature is correct.
    Signing the applet enables privileges (like file IO) whenever all the calls on the stack leading
    to the sensitive operation (in your case fis = new FileInputStream("c://premji.rar")) originate
    from the signed jar. It is not your case, as you come into the applet from javascript.
    The solution is to use AccessController.doPrivileged...(). It was designed with this situation in mind.

  • Why use customized / particular exceptions instead java.lang.Exception

    Hi,
    Do any of you guys know where can I find a theorical statement / explanation about why use particular / customized exceptions instead java.lang.Exception? I am aware that it consumes more resources and becomes a heavier object, as well as the clearness when coding and all that stuff; however, my boss wants to see a tech document where all this is clearly stated. Any resource over there?
    Regards

    It is better to throw specific--or at least module- or
    package-specific--excpetions, rather than Exception,
    because then the caller knows what to expect. However,
    if you declare "throws Exception", the caller can
    still catch IOException, SQLException, etc.,
    separately. He'll just have to be a really good
    guesser as to which ones he should catch.True.
    Also, there's no point in declaring "throws
    NullPointerException." Any method can throw it without
    declaring it. If you generate your own NPE (or other
    unchecked exception) inside the method, then you
    should document it in the javadoc comments, but you
    don't need to put it in the throws clause. It doesn't
    do any harm, but it's redundant and cluttersome.It was an example and I wasn't feeling too creative....excuse me. ;-) But yeah, I've never thrown NPE ever.
    I'm assuming overhead caused by extending classes.At
    the worst, it would be miniscule, or so I wouldthink.
    What overhead is created by extending classes?Hmm, I was under the impression that a class the extended another class, inherited all of the other classes data (variables, etc.). Hence, you get something like this:
    SuperClass1 + SubClass1 + SubClassOfSubcCass1 = Memory usuage for SubClassOfSubClass1.
    Since adding postivie number will always end up increasing data, SubClassOfSubClass1 will use more dtat than SuperClass1.
    Am I wrong?

  • Unreported exception java.lang.Exception; must be caught or declared

    I've got a piece of code that's causing an error during compilation.
    W:\Java\Covenant\src\covenant\Login.java:174: unreported exception java.lang.Exception; must be caught or declared to be thrownThe line of code it is refering to is:
    new Overview().setVisible(true);And it is part of a try/catch statement:
        private void logincheck(java.awt.event.ActionEvent evt) {                           
            try {
                char[] PasswordInput = Password.getPassword();
                String PasswordRaw = new String(PasswordInput);
                String Passwordmd5 = md5(PasswordRaw);
                String UsernameInput = Username.getText();
                URL theUrl = new URL("http://www.phoenixrising.at/iris/validate.php?login=1&u=" + UsernameInput + "&p=" + Passwordmd5 +"");
                BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        theUrl.openStream()));
                String inputLine = in.readLine();
                if (inputLine.equals("valid")) {
                    new Overview().setVisible(true);
                    this.setVisible(false);
                    System.out.println( "You have entered the correct password" );
                } else {
                    System.out.println(theUrl);
                in.close();
            } catch (MalformedURLException ex) {
                ex.printStackTrace();
            } catch (IOException ex) {
                ex.printStackTrace();
        }      Can anyone see what might be causing this error?

    Can anyone see what might be causing this error? That line of code declares that it throws exception java.lang.Exception, so you must either catch it ("must be caught" - like you do the more specific Exceptions) or declare your logincheck method to throw it ("or declared to be thrown").

  • What could cause "Internal error: java.lang.NullPointerException: can't not add null to SWF frame" when using compc?

    using flex sdk 4.6, and air sdk 15.0.0.356
    we get the following error when using compc in our ant build:
    [java] Internal error: java.lang.NullPointerException: can't not add null to SWF frame
    [java] at com.adobe.flash.swf.SWFFrame.addTag(SWFFrame.java:77)
    [java] at com.adobe.flash.compiler.internal.units.requests.SWFTagsRequestResult.addToFrame(SWFTagsR equestResult.java:114)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.addCompilationUnitsAndDependenciesToF rame(SWFTarget.java:398)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrame(SWFTarg et.java:838)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrames(SWFTar get.java:875)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.java:243)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:348)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.build(SWCTarget.java:128)
    [java] at com.adobe.flash.compiler.clients.COMPC.buildArtifact(COMPC.java:144)
    [java] at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:541)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:184)
    [java] at com.adobe.flash.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
    [java] at com.adobe.flash.compiler.clients.COMPC.main(COMPC.java:62)
    which seems to be rather vague, and offers no clue as to what caused the problem. so, my question is, what could cause this error?
    these are the compiler options we use in the build file:
    <java jar="${flex.compc.jar}" dir="." fork="true" failonerror="true">
          <jvmarg value="-Xmx512m" />
          <arg line="@{options} ${_compc.libpath} ${_compc.externspath} ${_compc.includespath}" />
          <arg value="+flexlib=${flex.frameworks.dir}" />
          <arg value="-load-config=@{config}" />
          <arg value="-source-path=@{src.dir}" />
          <arg value="-include-sources=@{src.dir}" />
          <arg value="-output=@{dest}" />
          <arg value="-swf-version=@{swf.version}"/>
          <arg value="-debug=${flash.debug}"/>
          <arg value="-advanced-telemetry"/>
    </java>
    assume that the properties resolve to correct values, since all projects (except one) call this task and compile successfully. the error must come from this one project that fails, but we don't know why.
    any ideas?

    You could be running out of memory, try increasing the -Xmx512m value to -Xmx1024m or another value that you prefer

Maybe you are looking for

  • How to import photos from a folder that contains hundreds of folders to Photos keeping the same folder structure?

    How to import photos from a folder that contains hundreds of folders to Photos keeping the same folder structure?

  • Oracle JDeveloper 10.1.3 Toplink Objects from Table Bug.

    i try this with updates and without them. toplink bug or toplink Wizzard Bug: I have create a conection to data base(MySQL) I use mysql-connector and everything works... i see the tables then i try to create "TOplink objects from Table " , choose con

  • Delivery qty - order status

    Hi experts, Case 1: sales order -  qty 100pc delivery - qty 100pc (PGI) Q1: By using the same order type & item category, why some sales orders show delivery qty zero in schedule line, while order status shows open? Q2: As long as cancelling delivery

  • 'Album view' for audiobooks?

    I'm aware that normally iPods simply display all audiobook tracks in a single list (perhaps assuming that each audiobook will be one file - which is strange since even iTunes doesn't distribute them like that). However I've also read in a couple of t

  • SAP Utilities/CCS

    Hi Gurus, I have a requirement to extract data from SAP IS-Utilities in to bw. can any one help he to list of available standard data sourcess. very much appriciate for your help. Thanks, Babu