UI Shell: java.lang.InstantiationException TabContext$TabSelectionActionLis

JDeveloper 11.1.1.2
EJB dataContols
We have minor modification to the UI Shell but basically the the TabSelectionActionListener inner class, the tabSelectionListener private final attribute, and the refreshTabContent() method are still the same. Our application is working well except that we are encountering the above subject error once we launch a specific taskflow. This taskflow has two views (each views contains adf read-only tables drag and drop from an EJB DataControl) and with the following navigation rules:
currency_list ---drilldown--> conversion_rate_by_currency_list
currency_list <--back-------- conversion_rate_by_currency_list
<control-flow-rule id="__18">
      <from-activity-id id="__19">currency_list</from-activity-id>
      <control-flow-case id="__21">
        <from-outcome id="__22">drilldown</from-outcome>
        <to-activity-id id="__20">conversion_rate_by_currency_list</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__23">
      <from-activity-id id="__24">conversion_rate_by_currency_list</from-activity-id>
      <control-flow-case id="__26">
        <from-outcome id="__27">back</from-outcome>
        <to-activity-id id="__25">currency_list</to-activity-id>
      </control-flow-case>
    </control-flow-rule>If we will not invoke "drilldown" navigation in this taskflow, then we will not encounter the above error. We can open as many tabs and transfer from one to the other. But if we invoke "drilldown" in this task flow, we can transfer to another tab for once and after that, if we click another tab, we encounter the following error:
java.lang.InstantiationException: com.alnaghi.nis.view.dynamicShell.NISTabContext$TabSelectionActionListener
     at java.lang.Class.newInstance0(Class.java:340)
     at java.lang.Class.newInstance(Class.java:308)
     at org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState(StateUtils.java:533)
     at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreStateHolder(StateUtils.java:411)
     at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreList(StateUtils.java:466)
     at org.apache.myfaces.trinidad.bean.PropertyKey.restoreValue(PropertyKey.java:246)
     at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:357)
     at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:194)
     at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:359)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:930)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:910)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:904)
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1182)
     at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:651)
     at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:316)
     at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:204)
     at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:279)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:532)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:280)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<StateUtils$Saver><restoreState> Can anyone give any clue?
pino

The fix is available internally and undergoing tests. The plan now is to release via the JDev "Check for Updates" option under the Help menu. This should be more convenient with broader availability. It will also mean that it has undergone formal QA testing. This will take a bit longer but in the end, but a better quality outcome. I have also replied to Oracle UI Shell Functional Pattern.

Similar Messages

  • Java.lang.InstantiationException when using Action class with constructor

    Hi everyone,
    I'm using the insertNewNode() method from this class in another action class, which works fine. But when this action itself is called, I get an infinite java.lang.InstantiationException (until the stack is overflowed). I'm initiating the fields required in every method in a constructor. If there is no constructor, this action works fine again. What's wrong?
    public class GliederungNewAction implements Action {
         private final String DEFAULT_DESCRIPTION = "Neuer Punkt";
         private OracleConnection connection;
         private String username;
         private String catalogue;
         private String attribute;
         private String parent_attr;
         private int parent_sequenceNr;
         private int requiredSequenceNumber;
         public GliederungNewAction(OracleConnection connection, String username, String catalogue) {
              this.connection = connection;
              this.username = username;
              this.catalogue = catalogue;
         public String perform(ActionMapping mapping, HttpServletRequest request,
                   HttpServletResponse response) {
              HttpSession session = request.getSession();
              // fetch the necessary parameters from the JSP site
              // the parent attribute is the selected attribute!
              parent_attr = request.getParameter("attr");
              catalogue = request.getParameter("catalogue");
              parent_sequenceNr = Integer.parseInt(request.getParameter("sort_sequence"));
              username = session.getAttribute("username").toString().toUpperCase();
              // connect to database    
              db.SessionConnection sessConn = (db.SessionConnection) session.getAttribute("connection");
              if (sessConn != null) {
                   try {
                        sessConn.setAutoCommit(false);
                        connection = (OracleConnection)sessConn.getConnection();
                        // insert the new node into DB
                        insertNewNode(DEFAULT_DESCRIPTION, parent_attr, parent_sequenceNr);               
                        connection.commit();
                        // set attributes for JSP post-action operations
                        request.setAttribute("attr", attribute);
                        request.setAttribute("parent_attr", parent_attr);
                   } catch(SQLException ex) {
                        if ( ex.getErrorCode() == 20001 ) {
                             return "error_edit.do";
                        } else { // for all other error codes, rollback and return general error page
                             try {
                                  connection.rollback();
                                  ex.printStackTrace();
                                  return "error_general.do";
                             } catch (SQLException e) {
                                  System.err.println("Rollback failed!");
                                  e.printStackTrace();
                                  return "error_general.do";
                             } // end of catch     
                        } // end of else
                   } // end of catch
              return mapping.getForward();
            // sample method
          * Creates, fills and executes a prepared statement to insert a new entry into the specified table, representing
          * a new node in the catalogue.
          * @param parent_attr TODO
          * @param parent_sequenceNr TODO
          * @throws SQLException
         public void insertNewNode(String description, String parent_attr, int parent_sequenceNr) throws SQLException {
                   requiredSequenceNumber = getRequiredSequenceNumber(parent_attr, parent_sequenceNr);
                   int freeSequenceNumber = getFreeSequenceNumber(requiredSequenceNumber);
                   int lastPosition = getLastNodePosition( getLastChildAttribute(parent_attr) );
                   attribute = createNewNodeAttribute(parent_attr, lastPosition);
                   String callAddNode = "{ call package.addNode(:1, :2, :3, :4, :5, :6, :7) }";
                   CallableStatement cst;
                   cst = connection.prepareCall(callAddNode);
                   cst.setString(1, username );
                   cst.setString(2, catalogue);
                   cst.setString(3, attribute);
                   cst.setString(4, parent_attr);
                   cst.setString(5, description);
                   cst.setInt(6, requiredSequenceNumber);
                   cst.setInt(7, freeSequenceNumber);
                   cst.execute();
                   cst.close();
    java.lang.InstantiationException: action.GliederungNewAction
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at action.ActionMapping.perform(ActionMapping.java:54)
         at ControllerServlet.doResponse(ControllerServlet.java:92)
         at ControllerServlet.doPost(ControllerServlet.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
         at ControllerServlet.doResponse(ControllerServlet.java:103)
         at ControllerServlet.doPost(ControllerServlet.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         .......

    You're welcome.
    Still, I would report this as a bug at the Struts mailinglist/issuetracker. This silly behaviour shouldn't happen. Once an InstantiationException, okay, but in an infinite loop?!? That's definately a bug. Also the detail message may be more informative, e.g. "No default constructor found" or so.

  • Java.lang.InstantiationException in ADF

    Hello everyone,
    I am working in ADF 11g version 3 and working on a spplication which has af:tree and many af:table components. After being sometime on the Application, suddenly the screen displays: Error 500--Internal Server Error. Here is the log:
    vWX7TCDCCqTZtRglTBsRX06TSbS8pvcNfXsgspfRVJ7z9FGGYxJG!-1400692531!NONE!1321370562820 | 77f91341-536c-46a3-b6f5-a34c74fe6aec[0000JEbp74j9tXwj8DEgKD1EkLal0000H7,0] | ABCD | SEVERE | org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState |
    java.lang.InstantiationException: oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryIntegerConverter
         at java.lang.Class.newInstance0(Class.java:340)
         at java.lang.Class.newInstance(Class.java:308)
         at org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState(StateUtils.java:533)
         at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreStateHolder(StateUtils.java:411)
         at org.apache.myfaces.trinidad.bean.PropertyKey.restoreValue(PropertyKey.java:243)
         at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:357)
         at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:195)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:348)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:945)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
         at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1182)
         at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:651)
         at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:316)
         at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:204)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:282)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:532)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:281)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at sni.foundation.facesextensions.filters.FoundationFilter.doFilter(FoundationFilter.java:93)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:280)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Can someone throw some light based on this error, I know its hard to know but any clue is highly appreciated.
    Thanks a lot !

    Hi experts,
    I am Working in jdev 11.1.1.3.0.
    We are facing same issue in most of non-development environment.
    Wed Mar 21 09:16:28:651 CDT 2012 | 1332339388651 | 23 | IRCT_UI | null | 1ZgGPphftVRpq3wRhKTD6VcDTpg7DsJvcYLYBglspVC1TvvZvPpf!1815485401!-1542606130!1332337375138 | 143dc8c6-d216-4fff-89cd-b8ceb095df97[0000JOpbR3c1Newj8DNa4D1FQNwC0000ae,0] | d57461 | SEVERE | org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState |java.lang.InstantiationException: oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryIntegerConverter
    at java.lang.Class.newInstance0(Class.java:340)
    at java.lang.Class.newInstance(Class.java:308)
    at org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState(StateUtils.java:533)
    at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreStateHolder(StateUtils.java:411)
    at org.apache.myfaces.trinidad.bean.PropertyKey.restoreValue(PropertyKey.java:243)
    at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:357)
    at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:195)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:348)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:945)
    at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:58)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
    at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
    at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
    at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
    at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918) at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918) at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918) at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144) at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918) at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918) at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96) at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918) at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:144) at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:918)
              at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at sni.foundation.facesextensions.filters.FoundationFilter.doFilter(FoundationFilter.java:93)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:280)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any inputs could be highly appreciate.

  • Java.lang.InstantiationException: Error communicating with server:

    Hello everybody, I am an easy Helloworld application, the deploy is fine, but when I execute the client it appears the next error:
    java.lang.InstantiationException: Error communicating with server: Lookup error:
    java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect; nested exception
    is:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: C
    onnection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    at com.evermind.server.ApplicationClientContext.createContext(Applicatio
    nClientContext.java:300)
    at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
    Context(ApplicationClientInitialContextFactory.java:190)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at hello.HelloClient.main(HelloClient.java:33)
    NamingException: Error reading application-client descriptor: Error communicatin
    g with server: Lookup error: java.net.ConnectException: Connection refused: conn
    ect; nested exception is:
    java.net.ConnectException: Connection refused: connect; nested exception
    is:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: C
    onnection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    This is my application client:
    // HelloClient.java
    package hello;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import java.io.*;
    import java.util.*;
    import java.rmi.RemoteException;
    * A simple client for accessing an EJB.
    public class HelloClient
    public static void main(String[] args)
    System.out.println("client started...");
    try {
    // Initial context properties are set in the jndi.properties file
         Hashtable env = new Hashtable();
         env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
         env.put(Context.PROVIDER_URL, "ormi://ecd11107.eadscasa.casa.corp:23791/helloworld");
         env.put(Context.SECURITY_PRINCIPAL, "admin");
         env.put(Context.SECURITY_CREDENTIALS, "123");
         Context context = new InitialContext(env);
    // This for use with com.evermind.server.rmi.RMIInitialContextFactory
    //Object homeObject = context.lookup("HelloBean");
    // This is for use with com.evermind.server.ApplicationClientInitialContextFactory
    Object homeObject = context.lookup("java:comp/env/Helloworld");
    // Narrow the reference to HelloHome.
    HelloHome home =
         (HelloHome) PortableRemoteObject.narrow(homeObject, HelloHome.class);
         System.out.println("hello home");
    // Create remote object and narrow the reference to Hello.
    Hello remote =
         (Hello) PortableRemoteObject.narrow(home.create(), Hello.class);
    System.out.println(remote.sayHello("James Earl"));
    } catch(NamingException e) {
    System.err.println("NamingException: " + e.getMessage());
    } catch(RemoteException e) {
    System.err.println("RemoteException: " + e.getMessage());
    } catch(CreateException e) {
    System.err.println("FinderException: " + e.getMessage());
    Can somebody helps me ???

    Thank you, but don�t work well yet. I checked the files orion-application.xml & principals.xml in the directory C:\servOracle\oracle\j2ee\home\application-deployments\helloworld but the result is the same, when I run the client the next error appears:
    NamingException: Lookup error: javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details; nested exception is:
    javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details
    This is my orion-application.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <orion-application deployment-version="9.0.4.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
         <ejb-module remote="false" path="helloworld-ejb.jar" />
         <web-module id="helloworld-web" path="helloworld-web.war" />
         <client-module path="helloworld-client" deployment-time="fce4439997" auto-start="false" />
         <persistence path="persistence" />
         <principals path="principals.xml" />
         <jazn provider="XML" location="jazn-data.xml" />
         <log>
              <file path="application.log" />
         </log>
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping name="<jndi-user-role>">
                             <group name="users" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping name="<jndi-user-role>">
                             <group name="users" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    </orion-application>
    And this is my principals.xml
    <?xml version="1.0"?>
    <!DOCTYPE principals PUBLIC "//ORACLE//DTD OC4J Principals 9.04//EN" "http://xmlns.oracle.com/ias/dtds/principals-9_04.dtd">
    <principals>
         <groups>
              <group name="users">
                   <description>users</description>
                   <permission name="rmi:login" />
              </group>
              <group name="guests">
                   <description>guests</description>
              </group>
              <group name="administrators">
                   <description>administrators</description>
                   <permission name="administration" />
              </group>
         </groups>
         <user username="admin" password="ADMIN">
              <description>The default administrator</description>
              <group-membership group="administrators" />
              <group-membership group="guests" />
              <group-membership group="users" />
         </user>
         <user username="SCOTT" password="TIGER">
              <description>no description</description>
              <group-membership group="users" />
              <group-membership group="administrators" />
         </user>
    </principals>
    Thanks in advance, please help me....

  • Exception: java.lang.InstantiationException.....

    Hi there,
    I have recently been playing around with converting an application to an applet. Everything seems great at my end, I have tried ir in 'Internet Explorer 6' & 'Netscape 6.2', they both show the applet, however 'Opera 5' does not. The annoying problem is that nobody else can see the applet in thier browser's. Because I can't experience what they are seeing it is proving really dificult to troubleshoot this error. The only indication I have to the route of this problem is the message:
    Exception: java.lang.InstantiationException.....
    I have even remove this class file from my own P.C. just to make sure that some how I am not viewing the local class on my computer instead of what I have uploaded. It had no effect on my results as I suspected. Could it be I need to use a H.T.M.L. convertor?
    I am a bit stumped. Does anyone know what trhis error message generally means.
    If you want the code I can e-mail, but in the mean time if anyone is familiar with this problem, HELP!!!

    the previous post pretty much explained what the Exception means exactly. To be more specific however, your compiler would not let you instantiate an interface or abstract class so either a) you are doing this incorrectly via reflection or b) there is some class conflict with client system. Is your applet enclosed in an applet tag that directs the browser to use the sun plugin? I would recomend that you have clients use the sun plugin- it will probably solve this problem (assumming it is not bad code) and you should run into less conflicts between different browser types.

  • Java.lang.InstantiationException

    My class throws a java.lang.InstantiationException and I can't see why. my class extends an abstract class but should not be abstract itself.
    My Class_
    package com.propylon.core.tests;
    import org.eclipse.core.runtime.Plugin;
    import org.osgi.framework.BundleContext;
    * The activator class controls the plug-in life cycle
    public class Activator extends Plugin {
         // The plug-in ID
         public static final String PLUGIN_ID = "com.propylon.core.tests";
         // The shared instance
         private static Activator plugin;
         * The constructor
         public Activator() {
         * (non-Javadoc)
         * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
         public void start(BundleContext context) throws Exception {
              super.start(context);
              plugin = this;
         * (non-Javadoc)
         * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
         public void stop(BundleContext context) throws Exception {
              plugin = null;
              super.stop(context);
         * Returns the shared instance
         * @return the shared instance
         public static Activator getDefault() {
              return plugin;
    Console Window_
    java-test:
    [echo] Running com.propylon.core.tests.testcase.AllTests. Result file: C:/eclipse3.3/results/com.propylon.core.tests.testcase.AllTests.xml.
    [java] org.osgi.framework.BundleException: The activator org.eclipse.core.runtime.Plugin for bundle com.propylon.core.Test is invalid
    [java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:141)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
    [java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
    [java]      at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
    [java]      at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
    [java]      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
    [java]      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
    [java]      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    [java]      at java.lang.ClassLoader.loadClass(Unknown Source)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    [java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
    [java]      at org.eclipse.test.EclipseTestRunner.loadSuiteClass(EclipseTestRunner.java:302)
    [java]      at org.eclipse.test.EclipseTestRunner.getTest(EclipseTestRunner.java:233)
    [java]      at org.eclipse.test.EclipseTestRunner.<init>(EclipseTestRunner.java:216)
    [java]      at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:200)
    [java]      at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
    [java]      at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [java]      at java.lang.reflect.Method.invoke(Unknown Source)
    [java]      at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:533)
    [java]      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:155)
    [java]      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    [java]      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    [java]      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    [java]      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [java]      at java.lang.reflect.Method.invoke(Unknown Source)
    [java]      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
    [java]      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
    [java]      at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
    [java]      at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
    [java]      at org.eclipse.core.launcher.Main.main(Main.java:30)
    [java] Caused by: java.lang.InstantiationException
    [java]      at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(Unknown Source)
    [java]      at java.lang.reflect.Constructor.newInstance(Unknown Source)
    [java]      at java.lang.Class.newInstance0(Unknown Source)
    [java]      at java.lang.Class.newInstance(Unknown Source)
    [java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
    [java]      ... 41 more
    [java] Java Result: 2
    Is there anything obviously flawed with this class or am I going mad.
    thank you for your time
    slider

    I can't see anywhere in your code that tries to create an Activator object... i.e. there is nowhere that tries to use the new Activator() constructor, so I would suggest that the problem is not with your code.
    This is the description of Instantiation Exception from the API:
    Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
    So, I would imagine, somewhere the Class.newInstance() method is being invoked on Plugin (the abstract class) rather than Activator (the non-abstract one)

  • Java.lang.InstantiationException Error

    Hello everyone,
    I am getting the following error when I try to run my applet in the applet viewer.
    java.lang.InstantiationException: Factory
         at java.lang.Class.newInstance0(Class.java:335)
         at java.lang.Class.newInstance(Class.java:303)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
         at sun.applet.AppletPanel.run(AppletPanel.java:326)
         at java.lang.Thread.run(Thread.java:613)
    Factory is a class which extends JApplet. Here is the init() method:
    public void init(){
         this.setSize(800, 600);
         this.setContentPane(getJContentPane());
         try{
           Factory factory = new Factory("input.txt");
           factory.generateClass();
         catch(IOException e){}
    }Any help would be greatly appreciated.

    Roosh wrote:
    That is correct. Should I have a constructor which contains no arguments in
    order for this to work correctly?Yes. The browser plugin, for example, gets the name of your applet subclass from the HTML:
    <applet code="AppletWorld.class" width="200" height="200">
    </applet> It instantiates your class in a way that requires it to have a constructor that takes no arguments. You didn't define this.
    I also mean that Factory is a class which inherits JApplet, so the Factory is an applet.Am I correct in thinking that Factory's init method creates another instance of Factory? That's the part the doesn't make sense to me.

  • Unreported Exception java.lang.InstantiationException

    Dear Friends,
    I am developing javabean connectivty for inserting records to mysql database from jsp. when i try to compile java bean program. It gives an error like unreported Exception java.lang.InstantiationException: Must be caught or declared to be thrown*. This is my mode. Please anyone help to solve this error. if you find any error in my code, please suggest me. Thanks in advance.
    package com.webdeveloper.servlets;
    import java.sql.*;
    import java.io.*;
    public class InsertBean {
    private String dbURL = "jdbc:mysql://localhost:3306/test";
    private Connection dbCon;
    private Statement st;
    String dbuser = "root";
    String dbpass = "admin";
    String Name = null;
    String Address = null;
    String Zip = null;
    public InsertBean() {
    super();
    public String getName() {
    return this.Name;
    public String getAddress() {
    return this.Address;
    public String getZip() {
    return this.Zip;
    public void setName(String pname) {
    this.Name = pname;
    public void setAddress(String paddress) {
    this.Address = paddress;
    public void setZip(String pzip) {
    this.Zip = pzip;
    public void doInsert() throws ClassNotFoundException, SQLException {
    Class.forName("com.mysql.jdbc.Driver").newInstance();//it gives error in this line
    dbCon = DriverManager.getConnection(dbURL,dbuser,dbpass);
    Statement s = dbCon.createStatement();
    String sql = "Insert into Person values ('" + this.Name;
    sql = sql + "', '" + this.Address + "', " + this.Zip;
    sql = sql + ")";
    int insertResult = s.executeUpdate(sql);
    dbCon.close();
    }

    Dear BalusC,
    Thanks for your suggestion. I used try catch block also. But it still gives same error. I have modified my following code. Is there any thing wrong in my code? Please give me your suggestion. Thankyou.
    // Java Document
    package com.webdeveloper.servlets;
    import java.sql.*;
    import java.io.*;
    public class InsertBean {
    private String dbURL = "jdbc:mysql://localhost:3306/test";
    private Connection dbCon;
    private Statement st;
    String dbuser = "root";
    String dbpass = "admin";
    String Name = null;
    String Address = null;
    String Zip = null;
    public InsertBean() {
    super();
    public String getName() {
    return this.Name;
    public String getAddress() {
    return this.Address;
    public String getZip() {
    return this.Zip;
    public void setName(String pname) {
    this.Name = pname;
    public void setAddress(String paddress) {
    this.Address = paddress;
    public void setZip(String pzip) {
    this.Zip = pzip;
    public void doInsert() throws ClassNotFoundException, SQLException {
         try{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
    dbCon = DriverManager.getConnection(dbURL,dbuser,dbpass);
    Statement s = dbCon.createStatement();
    String sql = "Insert into Person values ('" + this.Name;
    sql = sql + "', '" + this.Address + "', " + this.Zip;
    sql = sql + ")";
    int insertResult = s.executeUpdate(sql);
         catch(Exception e){
         System.out.println("error occured :" + e);
         dbCon.close();
    }

  • Java.lang.InstantiationException on user defined class

    Hi all,
    I'm getting the following exception.
    Portable(java.io.IOException): An exception occurred instantiating a PortableObject user type from a POF stream: type-id=2001, class-name=com.inmdb.CacheRowDataExtractor, exception=
    java.lang.InstantiationException: com.inmdb.CacheRowDataExtractor
    at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:121)
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
    at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
    at com.tangosol.util.filter.ExtractorFilter.readExternal(ExtractorFilter.java:165)
    at com.tangosol.util.filter.ComparisonFilter.readExternal(ComparisonFilter.java:227)
    at com.tangosol.util.filter.LikeFilter.readExternal(LikeFilter.java:367)
    at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
    at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
    at com.tangosol.io.pof.PofBufferReader.readAsObjectArray(PofBufferReader.java:3337)
    at com.tangosol.io.pof.PofBufferReader.readObjectArray(PofBufferReader.java:2169)
    at com.tangosol.util.filter.ArrayFilter.readExternal(ArrayFilter.java:235)
    at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
    at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
    at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
    at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:348)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:4)
    at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
    at com.tangosol.coherence.component.net.message.requestMessage.distributedCacheRequest.partialRequest.FilterRequest.read(FilterRequest.CDB:8)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$QueryRequest.read(DistributedCache.CDB:1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:123)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:595)
    at <process boundary>
    at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:57)
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
    at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
    at com.tangosol.io.pof.PortableException.readExternal(PortableException.java:150)
    at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:58)
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
    at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
    at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:348)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:4)
    at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$QueryResponse.read(DistributedCache.CDB:33)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:123)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:595)
    class looks like:-
    public class CacheRowDataExtractor extends AbstractExtractor implements
              PortableObject, Serializable {
    // code
    What could be the problem?
    Thanks in advance,
    Rony

    Hi Rony,
    Yes it is mandatory. The default POF serializer just calls newInstance() on the Class to create an instance and it has no way of knowing how to call parameterised constructors. If you must have parameterised constructors then you would need to use external serializers rather than implement PortableObject. The docs are here: http://docs.oracle.com/cd/E24290_01/coh.371/e22837/api_pof.htm#BABEJCFF
    Does your Dev environment only have a single Coherence process, if so then nothing will be getting serialised so you will not see this sort of error. This is a common dev mistake and if possible you should always write Dev tests to use multiple nodes and also write unit tests to test POF serialisation.
    Writing a unit test is pretty easy...
    ConfigurablePofContext ctx = new ConfigurablePofContext("... name of your pof config file ...");
    CacheRowDataExtractor value = new CacheRowDataExtractor......
    Binary binary = ExternalizableHelper.toBinary(value, ctx);
    CacheRowDataExtractor result = (CacheRowDataExtractor) ExternalizableHelper.fromBinary(binary, ctx);
    ... now assert result is equal to original value ...JK

  • BottomUp WebService Error: java.lang.InstantiationException

    Hello,
    I created a BottomUp Webservice from a java class, that calculates the difference out of two given int values. When I deploy the WebService and the client to the WAS 7.1 it's not working, I get the error shown below. I changed the Java settings of the Project to JDK Compliance 1.4, rebuild the project, recreated the .ear and deployed it to a WAS 7.0 system, it's working fine!
    My next step was, to remove the project out of NWDS and to create a TopDown Webservice out of the WSDL I downloaded from the BottomUp WebService (the one which is not working) I deployed to WAS 7.1 I modified the Java code, rebuild the project and redeployed it to WAS 7.1 and it's working now.
    Has any one a idea why a BottomUp WebService is not working in WAS 7.1? The only difference I see between a BottomUp and TopDown Webservice is, that during the creation of the TopDown WebService some additional Stubs, Skeleteon and Interface files are being created, but nevertheless the BottomUp WebService works fine in WAS 7.0
    Thanks Holger
    "Application error occurred during the request procession."
    Details:     
    AxisFault
    faultCode: Server.userException
    faultSubcode:
    faultString: java.lang.InstantiationException: holger.CalculateDifference
    faultActor:
    faultNode:
    faultDetail:
         hostname:akvavit
    java.lang.InstantiationException: holger.CalculateDifference
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at holger.CalculateDifferenceSoapBindingStub.theDifferenceIs(CalculateDifferenceSoapBindingStub.java:108)
         at holger.CalculateDifferenceProxy.theDifferenceIs(CalculateDifferenceProxy.java:45)
         at JEE_jsp_ZsWebServiceResult_3972250_1172250927328_1172250967765._jspService(JEE_jsp_ZsWebServiceResult_3972250_1172250927328_1172250967765.java:71)
         at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:59)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:403)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:59)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:31)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:408)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:278)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:504)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:482)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:65)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:279)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:211)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:133)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:221)

    Hello,
    the source is quite simple:
    package holger;
    public class CalculateDifference implements java.io.Serializable{
        public int theDifferenceIs (int a, int b) {
            return a-b;
    How can I attach the .ear file? I don't see this possibility here.
    Best regards
    Holger

  • Java.lang.InstantiationException / XMLEncoder error what's that?

    Hello there!
    After I received so much help from Joachim yesterday, I think I have to bother you again with a problem:
    I wrote this application for testing purposes. This app only counts an interger up and down from 0 to 10 and displays the value in a JTextBox as Strings like int = 3 means: "three". These Strings are all in an array. Additionally, I have implemented a localisation (german and english language). I read these properties from a .properties File and change the label of the buttons and the language of the value-strings. Also I serialize my app using the Beans-persistence.
    So far so good but I get an error in the following situation:
    When I change the language using a JMenuBar-entry and then close the app-window (now the app status is written to a xml-file (persistence)) I get:
    java.lang.InstantiationException: javax.swing.PopupFactory$HeavyWeightPopup$1
    Continuing ...
    java.lang.Exception: XMLEncoder: discarding statement XMLTest.addWindowListener(PopupFactory$HeavyWeightPopup$1);
    Continuing ...The status is saved to the file and the reconstruction from the file works fine. But this error annoys me and I have to get rid of it. More information: when I run the app and foolin' around with the buttons BUT DON'T CHANGE the language, the error doesn't appear.
    The app is working fine, but what does this error mean? I'm pretty new to Java and google doesn't help me...
    Here is my code: http://pastebin.com/m6b58751c
    Thanks for having a look...
    Thomas
    Edited by: king-al on Feb 10, 2009 11:57 AM

    ejp wrote:
    The error occurred because the XMLEncoder couldn't instantiate another XMLTest object. That would be because it didn't have a no-args constructor, which it must have to qualify as a Java Bean, which it must do to be XMLEncodable (or else have a PersistenceDelegate that can instantiate it). When you changed it to have-a JFrame instead of be-a JFrame you probably changed the constructor too.Okay BUT: I have a PersistenceDelegate because I have a args-constructor:
    public class XMLTestPersistenceDelegate extends DefaultPersistenceDelegate{
            @Override
        protected Expression instantiate(Object oldInstance,Encoder out){ // fure den übergabewert am kontruktor
            XMLTest t=(XMLTest)oldInstance;
            return new Expression(oldInstance,XMLTest.class,"new",new Object[]{t.width});
            @Override
        protected void initialize(Class<?> type, Object oldInstance, Object newInstance, Encoder out){
            super.initialize(type, oldInstance, newInstance, out);
            XMLTest t=(XMLTest)oldInstance;
            out.writeStatement(new Statement(
                    oldInstance,"endisFunction", new Object[]{}));
            for(int i=0;i<t.value;i++) // so oft plusFunction aufrufen, wie value groß ist
                out.writeStatement(new Statement(
                    oldInstance,"plusFunction",new Object[]{}));
            if(!t.enabled)
               out.writeStatement(new Statement(
                    oldInstance,"endisFunction", new Object[]{}));
    }The width value is the int-value of the width of my JTextField. The Statements are for some other properties of my object.
    Right now, I still don't understand why it doesn't work when my Class XMLTest ist extended from JFrame.
    And when I changed it to have-a JFrame I only changed some properties in my constructor of the JFrame i.e.: this.setVisible(true) to f.setVisible(true)... but nothing more.
    Edited by: king-al on Feb 11, 2009 3:44 AM

  • Problem using a jar file : java.lang.ClassNotFoundException: ApiConn

    Hi everyone.
    i am running a form that use a bean_area to call a jar.
    but i am getting this error, thanks in advnce for any tip.
    Java Plug-in 1.6.0_33
    Using JRE version 1.6.0_33-b05 Java HotSpot(TM) Client VM
    User home directory = C:\Users\user1
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.ClassNotFoundException: ApiConn
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(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.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(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)
    Dumping class loader cache...
    Live entry: key=http://192.168.10.100:7778/forms/java/,frmall.jar,siberia_jpg.jar,ApiConn.jar,Hasher.jar,ReadCommand.jar,WriteCommand.jar,libAPI.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://192.168.10.100:7778/forms/java/-threadGroup,maxpri=4]
    Done.
    in my form i have created a bean_area and used as implementation class :ApiConn
    in my formsweb.cfg i used this configuration: archive=frmall.jar,siberia_jpg.jar,ApiConn.jar,Hasher.jar,ReadCommand.jar,WriteCommand.jar,libAPI.jar
    in my forms/java i have placed my jar files listed in the frmall.jar
    i guess i am missing something but i dont know what it is.
    here is my ApiConn.java from wich i generate my jar file:
    package libAPI;
    * This contains connection. Everything should be here,
    * should operate with this class only
    import java.io.*;
    import java.net.*;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    * @author janisk
    public class ApiConn extends Thread {
    private Socket sock = null;
    private DataOutputStream out = null;
    private DataInputStream in = null;
    private String ipAddress;
    private int ipPort;
    private boolean connected = false;
    private String message = "Not connected";
    private ReadCommand readCommand = null;
    private WriteCommand writeCommand = null;
    private Thread listener = null;
    LinkedBlockingQueue queue = new LinkedBlockingQueue(40);
    * Constructor of the connection class
    * @param ipAddress - IP address of the router you want to conenct to
    * @param ipPort - port used for connection, ROS default is 8728
    public ApiConn(String ipAddress, int ipPort) {
    this.ipAddress = ipAddress;
    this.ipPort = ipPort;
    this.setName("settings");
    * State of connection
    * @return - if connection is established to router it returns true.
    public boolean isConnected() {
    return connected;
    public void disconnect() throws IOException{
    listener.interrupt();
    sock.close();
    private void listen() {
    if (this.isConnected()) {
    if (readCommand == null) {
    readCommand = new ReadCommand(in, queue);
    listener = new Thread(readCommand);
    listener.setDaemon(true);
    listener.setName("listener");
    listener.start();
    * to get IP address of the connection. Reads data from socket created.
    * @return InetAddress
    public InetAddress getIpAddress() {
    return sock == null ? null : sock.getInetAddress();
    * returns ip address that socket is asociated with.
    * @return InetAddress
    public InetAddress getLocalIpAddress() {
    return sock == null ? null : sock.getLocalAddress();
    * Socket remote port number
    * @return
    public int getPort() {
    return sock == null ? null : sock.getPort();
    * return local prot used by socket
    * @return
    public int getLocalPort() {
    return sock == null ? null : sock.getLocalPort();
    * Returns status message set up bu class.
    * @return
    public String getMessage() {
    return message;
    * sets and exectues command (sends it to RouterOS host connected)
    * @param s - command will be sent to RouterOS for example "/ip/address/print\n=follow="
    * @return
    public String sendCommand(String s) {
    return writeCommand.setCommand(s).runCommand();
    * exeecutes already set command.
    * @return returns status of the command sent
    public String runCommand() {
    return writeCommand.runCommand();
    * Tries to fech data that is repllied to commands sent. It will wait till it can return something.
    * @return returns data sent by RouterOS
    * @throws java.lang.InterruptedException
    public String getData() throws InterruptedException {
    String s = (String) queue.take();
    return s;
    * returns command that is set at this moment. And will be exectued if runCommand is exectued.
    * @return
    public String getCommand() {
    return writeCommand.getCommand();
    * set up method that will log you in
    * @param name - username of the user on the router
    * @param password - password for the user
    * @return
    public String login(String name, char[] password) {
    this.sendCommand("/login");
    String s = "a";
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #1";
    if (!s.contains("!trap") && s.length() > 4) {
    String[] tmp = s.trim().split("\n");
    if (tmp.length > 1) {
    tmp = tmp[1].split("=ret=");
    s = "";
    String transition = tmp[tmp.length - 1];
    String chal = "";
    chal = Hasher.hexStrToStr("00") + new String(password) + Hasher.hexStrToStr(transition);
    chal = Hasher.hashMD5(chal);
    String m = "/login\n=name=" + name + "\n=response=00" + chal;
    s = this.sendCommand(m);
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #2";
    if (s.contains("!done")) {
    if (!s.contains("!trap")) {
    return "Login successful";
    return "Login failed";
    @Override
    public void run() {
    try {
    InetAddress ia = InetAddress.getByName(ipAddress);
    if (ia.isReachable(1000)) {
    sock = new Socket(ipAddress, ipPort);
    in = new DataInputStream(sock.getInputStream());
    out = new DataOutputStream(sock.getOutputStream());
    connected = true;
    readCommand = new ReadCommand(in, queue);
    writeCommand = new WriteCommand(out);
    this.listen();
    message = "Connected";
    } else {
    message = "Not reachable";
    } catch (UnknownHostException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    } catch (IOException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    }

    I need your help again, i think this is a minor thing.
    i have compiled the class file that i needed and i signed it too. but now it is giving me a new error and need your tip.
    here is the java console loyout and my java file ((i think here is the problem in java file, something must be missing)).
    thanks in advance for any help.
    Java Plug-in 10.17.2.02
    Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Administrator
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    network: Connecting http://192.168.10.100:7778/forms/lservlet;jsessionid=c0a80a6430d6e191eded93774f2f8d1bed73056e66ef.e3mObhiMbxeKe34PahiKbx4Nbh90n6jAmljGr5XDqQLvpAe with proxy=DIRECT
    security: Validate the certificate chain using CertPath API
    security: The certificate hasnt been expired, no need to check timestamping info
    security: Cannot find jurisdiction list file
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    basic: updateValidationResultsForApplet update
    cache: Mark prevalidated: http://192.168.10.100:7778/forms/java/ApiConn.jar true tm=1363335797289 cert=1371107987000
    basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
    java.lang.InstantiationException: oracle.forms.siberia.ApiConn
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(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.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$200(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
    network: Connecting http://192.168.10.100:7778/forms/lservlet;jsessionid=c0a80a6430d6e191eded93774f2f8d1bed73056e66ef.e3mObhiMbxeKe34PahiKbx4Nbh90n6jAmljGr5XDqQLvpAe with proxy=DIRECT
    Exception in thread "Forms-DialogThread2" java.lang.NullPointerException
         at oracle.forms.handler.JavaContainer.onDestroy(Unknown Source)
         at oracle.forms.engine.Runform.destroyHandlers(Unknown Source)
         at oracle.forms.handler.DialogThread.doAlert(Unknown Source)
         at oracle.forms.handler.DialogThread.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Dumping class loader cache...
    Live entry: key=http://192.168.10.100:7778/forms/java/,frmall.jar,siberia_jpg.jar,ApiConn.jar,ConcealTextField.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://192.168.10.100:7778/forms/java/-threadGroup,maxpri=4]
    Done.
    here is my java file
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package oracle.forms.siberia;
    * This contains connection. Everything should be here,
    * should operate with this class only
    import java.io.*;
    import java.net.*;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import oracle.forms.*;
    * @author janisk
    public class ApiConn extends Thread {
    private Socket sock = null;
    private DataOutputStream out = null;
    private DataInputStream in = null;
    private String ipAddress;
    private int ipPort;
    private boolean connected = false;
    private String message = "Not connected";
    private ReadCommand readCommand = null;
    private WriteCommand writeCommand = null;
    private Thread listener = null;
    LinkedBlockingQueue queue = new LinkedBlockingQueue(40);
    * Constructor of the connection class
    * @param ipAddress - IP address of the router you want to conenct to
    * @param ipPort - port used for connection, ROS default is 8728
    public ApiConn(String ipAddress, int ipPort) {
    this.ipAddress = ipAddress;
    this.ipPort = ipPort;
    this.setName("settings");
    * State of connection
    * @return - if connection is established to router it returns true.
    public boolean isConnected() {
    return connected;
    public void disconnect() throws IOException{
    listener.interrupt();
    sock.close();
    private void listen() {
    if (this.isConnected()) {
    if (readCommand == null) {
    readCommand = new ReadCommand(in, queue);
    listener = new Thread(readCommand);
    listener.setDaemon(true);
    listener.setName("listener");
    listener.start();
    * to get IP address of the connection. Reads data from socket created.
    * @return InetAddress
    public InetAddress getIpAddress() {
    return sock == null ? null : sock.getInetAddress();
    * returns ip address that socket is asociated with.
    * @return InetAddress
    public InetAddress getLocalIpAddress() {
    return sock == null ? null : sock.getLocalAddress();
    * Socket remote port number
    * @return
    public int getPort() {
    return sock == null ? null : sock.getPort();
    * return local prot used by socket
    * @return
    public int getLocalPort() {
    return sock == null ? null : sock.getLocalPort();
    * Returns status message set up bu class.
    * @return
    public String getMessage() {
    return message;
    * sets and exectues command (sends it to RouterOS host connected)
    * @param s - command will be sent to RouterOS for example "/ip/address/print\n=follow="
    * @return
    public String sendCommand(String s) {
    return writeCommand.setCommand(s).runCommand();
    * exeecutes already set command.
    * @return returns status of the command sent
    public String runCommand() {
    return writeCommand.runCommand();
    * Tries to fech data that is repllied to commands sent. It will wait till it can return something.
    * @return returns data sent by RouterOS
    * @throws java.lang.InterruptedException
    public String getData() throws InterruptedException {
    String s = (String) queue.take();
    return s;
    * returns command that is set at this moment. And will be exectued if runCommand is exectued.
    * @return
    public String getCommand() {
    return writeCommand.getCommand();
    * set up method that will log you in
    * @param name - username of the user on the router
    * @param password - password for the user
    * @return
    public String login(String name, char[] password) {
    this.sendCommand("/login");
    String s = "a";
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #1";
    if (!s.contains("!trap") && s.length() > 4) {
    String[] tmp = s.trim().split("\n");
    if (tmp.length > 1) {
    tmp = tmp[1].split("=ret=");
    s = "";
    String transition = tmp[tmp.length - 1];
    String chal = "";
    chal = Hasher.hexStrToStr("00") + new String(password) + Hasher.hexStrToStr(transition);
    chal = Hasher.hashMD5(chal);
    String m = "/login\n=name=" + name + "\n=response=00" + chal;
    s = this.sendCommand(m);
    try {
    s = this.getData();
    } catch (InterruptedException ex) {
    Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
    return "failed read #2";
    if (s.contains("!done")) {
    if (!s.contains("!trap")) {
    return "Login successful";
    return "Login failed";
    @Override
    public void run() {
    try {
    InetAddress ia = InetAddress.getByName(ipAddress);
    if (ia.isReachable(1000)) {
    sock = new Socket(ipAddress, ipPort);
    in = new DataInputStream(sock.getInputStream());
    out = new DataOutputStream(sock.getOutputStream());
    connected = true;
    readCommand = new ReadCommand(in, queue);
    writeCommand = new WriteCommand(out);
    this.listen();
    message = "Connected";
    } else {
    message = "Not reachable";
    } catch (UnknownHostException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    } catch (IOException ex) {
    connected = false;
    message = ex.getMessage();
    ex.printStackTrace();
    }

  • Java.lang.InstantiatiCould not read mime-mappings config file: ./mime.types

    I am about to had enough of this moronic container call OC4J that's compatible to to itself.
    I did a
    1. clean unzip and installation.
    2. setup admin account.
    3. config the autodeploy in server.xml (Who in their right phreakin mind design a container with no hot deploy nowaday).
    4. configure the data source.
    5. test data source using a webapp with one page jsp do a JSF jdbc connection.
    When try and deploy the error-free webapp (tested in tomcat) using both frontend and autodeploy,a cryptic error occur: could not read mime.types.
    I have never see this error before in my life. its in oracle.oc4j.admin.internal.ApplicationDeployer.addApplication
    This error happened after I configure my webapp to do phreakin orion-application.xml disable toplink, orion-webapp xml prefer local class file. If I don't get this resolve within couple days, I'll put my career on the line with full force and request we do not use OC4J anywhere in this group.
    A M$FT .NET project looks very promising and efficient compare this deployment hell they call OC4J
    2007-06-20 13:22:50.500 NOTIFICATION Application Deployer for norm STARTS.
    2007-06-20 13:22:50.546 NOTIFICATION Copy the archive to C:\oc4j101320_SA\j2ee\home\applications\norm.ear
    2007-06-20 13:22:50.890 NOTIFICATION Initialize C:\oc4j101320_SA\j2ee\home\applications\norm.ear begins...
    2007-06-20 13:22:50.890 NOTIFICATION Auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm.ear...
    2007-06-20 13:22:50.890 NOTIFICATION Unpacking norm.ear
    2007-06-20 13:22:50.890 NOTIFICATION Unjar C:\oc4j101320_SA\j2ee\home\applications\norm.ear in C:\oc4j101320_SA\j2ee\home\applications\norm
    2007-06-20 13:22:53.625 NOTIFICATION Done unpacking norm.ear
    2007-06-20 13:22:53.625 NOTIFICATION Finished auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm.ear
    2007-06-20 13:22:53.640 NOTIFICATION Auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war...
    2007-06-20 13:22:53.640 NOTIFICATION Unpacking norm.war
    2007-06-20 13:22:53.640 NOTIFICATION Unjar C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war in C:\oc4j101320_SA\j2ee\home\applications\norm\norm
    2007-06-20 13:22:59.828 NOTIFICATION Done unpacking norm.war
    2007-06-20 13:22:59.828 NOTIFICATION Finished auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war
    2007-06-20 13:22:59.906 NOTIFICATION Initialize C:\oc4j101320_SA\j2ee\home\applications\norm.ear ends...
    2007-06-20 13:22:59.906 NOTIFICATION Starting application : norm
    2007-06-20 13:22:59.906 NOTIFICATION Initializing ClassLoader(s)
    2007-06-20 13:22:59.906 NOTIFICATION Initializing EJB container
    2007-06-20 13:22:59.906 NOTIFICATION Loading connector(s)
    2007-06-20 13:23:00.062 NOTIFICATION Starting up resource adapters
    2007-06-20 13:23:00.078 NOTIFICATION Initializing EJB sessions
    2007-06-20 13:23:00.078 NOTIFICATION Committing ClassLoader(s)
    2007-06-20 13:23:00.078 NOTIFICATION Initialize norm begins...
    2007-06-20 13:23:00.187 NOTIFICATION application : norm is in failed state
    07/06/20 13:23:00 WARNING: Application.setConfig Application: norm is in failed state as initialization failed.
    java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
    07/06/20 13:23:00 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
    07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
    07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    07/06/20 13:23:00 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/06/20 13:23:00 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/06/20 13:23:00 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/06/20 13:23:00 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/06/20 13:23:00 at java.lang.Thread.run(Thread.java:595)
    07/06/20 13:23:00 Caused by: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
    07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:497)
    07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:340)
    07/06/20 13:23:00 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
    07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    07/06/20 13:23:00 ... 6 more
    07/06/20 13:23:00 Caused by: java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
    07/06/20 13:23:00 at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:155)
    07/06/20 13:23:00 at com.evermind.server.Application.getHttpApplicationConfig(Application.java:593)
    07/06/20 13:23:00 at com.evermind.server.Application.initHttp(Application.java:1345)
    07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:451)
    07/06/20 13:23:00 ... 9 more
    2007-06-20 13:23:00.218 NOTIFICATION Application Deployer for norm FAILED.
    2007-06-20 13:23:00.218 NOTIFICATION Application UnDeployer for norm STARTS.
    2007-06-20 13:23:00.281 NOTIFICATION Removing all web binding(s) for application norm from all web site(s)
    07/06/20 13:23:00 SEVERE: ProgressObjectImpl.reportError java.lang.InstantiationException: Application: norm is in failed state as initialization failedoracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
    at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
    at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    Caused by: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
    at com.evermind.server.Application.setConfig(Application.java:497)
    at com.evermind.server.Application.setConfig(Application.java:340)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    ... 6 more
    Caused by: java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
    at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:155)
    at com.evermind.server.Application.getHttpApplicationConfig(Application.java:593)
    at com.evermind.server.Application.initHttp(Application.java:1345)
    at com.evermind.server.Application.setConfig(Application.java:451)
    ... 9 more

    Thank you Steve for your help. I really do appreciate ppl taking the time to answer questions from n00b like me.
    I tried and disable global.libraries and global.tag.libraries when deploy, and at one point the login page (its Spring 1.2.8 + hibernate 3.1.3 + Myface 1.1.4 + acegi 1.0.1 ) came out, but cannot login and without exceptions, so I was guessing acegi poblem. But the spring and hibernate is working, I can see the conn and other activities. And after a couple tries, cannot even get the login page display now in MyFace, with exceptions:
    include(java.lang.String) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.String,boolean)
    And then after some googling found out there will be code change for this webapp as well.
    - change webapp.listener for double instantiation in OC4J (Code Change)
    - create new class OrionSessionListener implements HttpSessionListener for session invalidation (Code Change) NEW JAVA CLASS
    - acegi j_security_check URL reference change (Code Change, but minor)
    I think the container has great performance, but I just wish they can look more to the compatabilities/common practices issues
    full stacktrace:
    2007-06-22 14:12:04.437 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: Errors compiling:C:\oc4j101320_SA\j2ee\home\application-deployments\norm\norm\persistence\_pages\\_login.java
    [jsp src:line #:13] include(java.lang.String) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.String,boolean)
    pageContext.include( __url,false);
         at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
         at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
         at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)

  • Java.lang.Unsatisfiedlink Error while invoking dbca

    Hi All,
    I am Darshan..... need help from all of you.
    While invoking dbca(Oracle 10g) on HP UX I am getting following error.
    java.lang.unsatisfiedLink Error : no Osutils in java.library.path
    Pls let me know how to set LD_LIBRARY_PATH. I have been stuck up here
    since 1 wk.
    Regards,
    Darshan
    India

    hI Ugonic,
    How are you???
    hope you are well n fine.......... but I am not bcoz of this error.
    I will try option given by u, Mean while pls see my dbca script. I know I am taking your much time, But Pls help to run dbca and emca..... I got stuck up bcoz of this problem sice last 1wk, and i think you are the only person who can help me out.
    looking for your reply, Thanks bye
    #!/bin/sh -f
    # $Header: dbca.sh 21-nov-2003.17:29:23 spanchum Exp $
    # dbca.sh
    # Copyright (c) 1997, 2003, Oracle Corporation. All rights reserved.
    # NAME
    # dbassist - Shell script to run Database Creation Assistant
    # DESCRIPTION
    # Runs Database Creation Assistion java application
    # Run this script with -h or -help option to get the help.
    # MODIFIED (MMDD/YY)
    # npamnani 10/23/02 - add 1.3.1. java flag
    # npamnani 10/09/02 - run with java instead jre
    # dkapoor 07/05/2000 - Created
    # Variables set by Oracle Universal Installer for dependent components.
    # Define ORACLE_HOME -> OH
    OH=/oraback/orahome/OraHome_2
    PLATFORM=HP_UX
    ORACLE_HOME=$OH
    export ORACLE_HOME;
    # Version specific JAR files
    JRE_FILE=rt.jar
    I18_FILE=i18n.jar
    EWT_FILE=ewt3.jar
    JEWT_FILE=jewt4.jar
    EWT_COMP_FILE=ewtcompat-3_3_15.jar
    SHARE_FILE=share.jar
    HELP_FILE=help4.jar
    #ICE_BROWSER_FILE=oracle_ice5.jar
    ICE_BROWSER5_FILE=oracle_ice5.jar
    KODIAK_FILE=kodiak.jar
    SWING_FILE=swingall-1_1_1.jar
    XMLPARSER_FILE=xmlparserv2.jar
    JDBC_FILE=classes12.zip
    VISI_ORB_FILE=vbjorb.jar
    VISI_TOOLS_FILE=vbjtools.jar
    VISI_APP_FILE=vbjapp.jar
    GSS_FILE=orai18n.jar
    NETCFG_FILE=netcfg.jar
    OJMISC_FILE=ojmisc.jar
    PKI_FILE=oraclepki103.jar
    LDAP_FILE=ldapjclnt10.jar
    OPM_FILE=opm.jar
    SRVM_FILE=srvm.jar
    SRVMHAS_FILE=srvmhas.jar
    SRVMASM_FILE=srvmasm.jar
    ASSISTANTS_COMMON_FILE=assistantsCommon.jar
    DBCA_FILE=dbca.jar
    EMLITE_JAR=oemlt-10_1_0.jar
    INSTALLER_FILE=OraInstaller.jar
    # Directory Variables
    SRVM_JLIB_DIR=/oraback/orahome/OraHome_2/jlib
    JRE_DIR=/oraback/orahome/OraHome_2/jdk/jre
    LIB_DIR=$OH/lib
    VISI_LIB_DIR=$OH/lib
    LIB32_DIR=$OH/lib32
    JLIB_DIR=$OH/jlib
    DBCA_JLIB_DIR=$OH/assistants/dbca/jlib
    ASSISTANTS_JLIB_DIR=$OH/assistants/jlib
    INSTALLER_JLIB_DIR=/oraback/orahome/OraHome_2/oui/jlib
    # Classpath
    JRE_CLASSPATH=$JRE_DIR/lib/$JRE_FILE
    I18_CLASSPATH=$JRE_DIR/lib/$I18_FILE
    EWT_CLASSPATH=$JLIB_DIR/$EWT_FILE:$JLIB_DIR/$EWT_COMP_FILE
    SHARE_CLASSPATH=$JLIB_DIR/$SHARE_FILE
    HELP_CLASSPATH=$JLIB_DIR/$HELP_FILE:$JLIB_DIR/$JEWT_FILE
    ICE_BROWSER_CLASSPATH=$JLIB_DIR/$ICE_BROWSER5_FILE
    KODIAK_CLASSPATH=$JLIB_DIR/$KODIAK_FILE
    SWING_CLASSPATH=$JLIB_DIR/$SWING_FILE
    XMLPARSER_CLASSPATH=/oraback/orahome/OraHome_2/lib/$XMLPARSER_FILE
    JDBC_CLASSPATH=$OH/jdbc/lib/$JDBC_FILE
    VISI_CLASSPATH=$VISI_LIB_DIR/$VISI_ORB_FILE:$VISI_LIB_DIR/$VISI_TOOLS_FILE:$VISI_LIB_DIR/$VISI_APP_FILE
    GSS_CLASSPATH=/oraback/orahome/OraHome_2/jlib/$GSS_FILE
    NETCFG_CLASSPATH=$JLIB_DIR/$NETCFG_FILE:$JLIB_DIR/$OJMISC_FILE:$JLIB_DIR/$PKI_FILE:$JLIB_DIR/$LDAP_FILE:$JLIB_DIR/$OPM_FILE
    SRVM_CLASSPATH=$SRVM_JLIB_DIR/$SRVM_FILE:$SRVM_JLIB_DIR/$SRVMHAS_FILE:$SRVM_JLIB_DIR/$SRVMASM_FILE
    EM_CLASSPATH=$OH/classes:$JLIB_DIR/$EMLITE_JAR:$JLIB_DIR/emca.jar:$OH/oc4j/j2ee/home/oc4j.jar:$OH/oc4j/j2ee/home/db_oc4j_deploy.jar:$JLIB_DIR/emConfigInstall.jar
    ASSISTANTS_COMMON_CLASSPATH=$ASSISTANTS_JLIB_DIR/$ASSISTANTS_COMMON_FILE
    DBCA_CLASSPATH=$DBCA_JLIB_DIR/$DBCA_FILE
    INSTALLER_CLASSPATH=$INSTALLER_JLIB_DIR/$INSTALLER_FILE
    # Check for silent or help
    SILENT="false"
    for i in $*
    do
    if [ $i = "-silent"  ] || [ $i = "-help"  ] || [ $i = "-h"  ]; then
    SILENT="true"
    break
    fi
    done
    # Check for DISPLAY
    if [ $SILENT = "false"  ]; then
    case $DISPLAY in
    echo "DISPLAY not set."
    echo "Set DISPLAY environment variable, then re-run."
    exit;
    esac
    fi
    # The environment variable $TWO_TASK cannot be set during the installation
    unset TWO_TASK
    # The environment variable $JAVA_HOME cannot be set during the installation
    unset JAVA_HOME
    # Basic error checking
    case $OH in
    "") echo "*** ORACLE_HOME Not Set!"
    echo " Set and export ORACLE_HOME, then re-run"
    echo " ORACLE_HOME points to the main directory that"
    echo " contains all Oracle products."
    exit 1;;
    esac
    # Set the LD_LIBRARY_PATH to set the path for shared objects
    # Do not set it on AIX
    if [ $PLATFORM != IBM_AIX ]; then
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib:/usr/lib:/usr/dt/lib:/usr/ccs/lib:$LIB_DIR:$LIB32_DIR:$OH/network/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    fi
    # Set SHLIB_PATH for HP to use 32bit native libraries
    SHLIB_PATH=$ORACLE_HOME/jdk/jre/lib:$LIB_DIR:$LIB32_DIR:$ORACLE_HOME/network/lib32:$SHLIB_PATH
    export SHLIB_PATH
    # Set LIBPATH for AIX to use 32bit native libraries
    LIBPATH=$LIB32_DIR:$ORACLE_HOME/network/lib32:$LIBPATH
    export LIBPATH
    # Set the TNS_ADMIN
    TNS_ADMIN=$OH/network/admin
    export TNS_ADMIN;
    # Set Classpath for Database Creation Assistant
    CLASSPATH=$JRE_CLASSPATH:$I18_CLASSPATH:$DBCA_CLASSPATH:$ASSISTANTS_COMMON_CLASSPATH:$EWT_CLASSPATH:$SHARE_CLASSPATH:$HELP_CLASSPATH:$ICE_BROWSER_CLASSPATH:$KODIAK_CLASSPATH:$SWING_CLASSPATH:$XMLPARSER_CLASSPATH:$GSS_CLASSPATH:$VISI_CLASSPATH:$NETCFG_CLASSPATH:$JDBC_CLASSPATH:$SRVM_CLASSPATH:$EM_CLASSPATH:$INSTALLER_CLASSPATH
    ARGUMENTS=""
    NUMBER_OF_ARGUMENTS=$#
    if [ $NUMBER_OF_ARGUMENTS -gt 0 ]; then
    ARGUMENTS=$*
    fi
    # Run DBCA
    $JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    Regards,
    Darshan

  • Java.lang.NullPointerException during MySQL 5.0 migration

    The error occurs at the end of the migration process of 150 tables and 4,917 columns. The error occurs with either "Quick Migrate" or "Capture Schema".
    Additional error;
    oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
    Any ideas as to the issue?
    Source DB - MySQL5.0, 150 tables, approx 4,900 columns.
    Target DB - 10.2.0.3 Ent
    sqldeveloper -
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.6.0_07
    Oracle IDE     1.5.1.54.40
    Versioning Support     1.5.1.54.40
    Thanks in advance,
    Tim
    Addtional details for sqldeveloper
    About
    Oracle SQL Developer 1.5.1
    Version 1.5.1
    Build MAIN-5440
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.42
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.54.40
    Version
    Component     Version
    =========     =======
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.6.0_07
    Oracle IDE     1.5.1.54.40
    Versioning Support     1.5.1.54.40
    Properties
    Name     Value
    ====     =====
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     13479365579083
    ide.build     MAIN-5440
    ide.conf     C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     false
    ide.java.minversion     1.5.0
    ide.launcherProcessId     4684
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Documents and Settings\Administrator\Application Data\SQL Developer
    ide.pref.dir.base     C:\Documents and Settings\Administrator\Application Data
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\sqldeveloper
    ide.user.dir     C:\Documents and Settings\Administrator\Application Data\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     C:\Documents and Settings\Administrator\My Documents\SQL Developer
    ide.work.dir.base     C:\Documents and Settings\Administrator\My Documents
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Java\jdk1.6.0_07\jre\lib\endorsed
    java.ext.dirs     C:\Java\jdk1.6.0_07\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
    java.home     C:\Java\jdk1.6.0_07\jre
    java.io.tmpdir     c:\temp\
    java.library.path     C:\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Universal Extractor\bin;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\Diskeeper Corporation\Diskeeper\;c:\Embarcadero\PerformanceCenter
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_07-b06
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_07
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     10.0-b23
    jdbc.driver.home     /C:/oracle/product/10.2.0/client_1/
    jdbc.library     /C:/oracle/product/10.2.0/client_1/jdbc/lib/ojdbc14.jar
    line.separator     \r\n
    oracle.home     C:\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/oracle/product/10.2.0/client_1/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows XP
    os.version     5.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sun.arch.data.model     32
    sun.boot.class.path     C:\Java\jdk1.6.0_07\jre\lib\resources.jar;C:\Java\jdk1.6.0_07\jre\lib\rt.jar;C:\Java\jdk1.6.0_07\jre\lib\sunrsasign.jar;C:\Java\jdk1.6.0_07\jre\lib\jsse.jar;C:\Java\jdk1.6.0_07\jre\lib\jce.jar;C:\Java\jdk1.6.0_07\jre\lib\charsets.jar;C:\Java\jdk1.6.0_07\jre\classes
    sun.boot.library.path     C:\Java\jdk1.6.0_07\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 3
    user.country     US
    user.dir     C:\sqldeveloper\sqldeveloper\bin
    user.home     C:\Documents and Settings\Administrator
    user.language     en
    user.name     zsysadmin
    user.timezone     America/Los_Angeles
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.0.22.49.42     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.0.22.49.42     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.0.22.49.42     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.0.22.49.42     Loaded
    Database UI     oracle.ide.db     11.1.1.0.22.49.42     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.0.22.49.42     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.0.22.49.42     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.0.22.49.42     Loaded
    Feedback     oracle.ide.feedback     11.1.1.0.22.49.42     Loaded
    File Support     oracle.ide.files     11.1.1.0.22.49.42     Loaded
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.54.40     Loaded
    Help System     oracle.ide.help     11.1.1.0.22.49.42     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.0.22.49.42     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.0.22.49.42     Loaded
    JTDS JDBC Driver     oracle.sqldeveloper.thirdparty.drivers.sqlserver     11.1.1.54.11     Loaded
    Log Window     oracle.ide.log     11.1.1.0.22.49.42     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.0.22.49.42     Loaded
    MySQL JDBC Driver     oracle.sqldeveloper.thirdparty.drivers.mysql     11.1.1.54.11     Loaded
    Navigator     oracle.ide.navigator     11.1.1.0.22.49.42     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.0.22.49.42     Loaded
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.54.40     Loaded
    Oracle IDE     oracle.ide     11.1.1.0.22.49.42     Loaded
    Oracle Microsoft Access Browser     oracle.sqldeveloper.thirdparty.access     11.1.1.54.40     Loaded
    Oracle Migration Workbench     oracle.sqldeveloper.migration     11.1.1.54.40     Loaded
    Oracle Migration Workbench - MS Access     oracle.sqldeveloper.migration.msaccess     11.1.1.54.40     Loaded
    Oracle Migration Workbench - MySQL     oracle.sqldeveloper.migration.mysql5     11.1.1.54.40     Loaded
    Oracle Migration Workbench - SQLServer     oracle.sqldeveloper.migration.sqlserver2005     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.54.44     Loaded
    Oracle Migration Workbench - Translation MS Access     oracle.sqldeveloper.migration.translation.msaccess     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation MS SQL Server     oracle.sqldeveloper.migration.translation.sqlserver     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation MySQL     oracle.sqldeveloper.migration.translation.mysql     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation Sybase     oracle.sqldeveloper.migration.translation.sybase     11.1.1.54.44     Loaded
    Oracle Migration Workbench - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.54.40     Loaded
    Oracle MySQL Browser     oracle.sqldeveloper.thirdparty.mysql     11.1.1.54.40     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.54.40     Loaded
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     11.1.1.54.40     Loaded
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.54.40     Loaded
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.54.40     Loaded
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     1.5.1.1.2     Loaded
    Oracle SQL Server Browser     oracle.sqldeveloper.thirdparty.sqlserver     11.1.1.54.40     Loaded
    Oracle Sybase Browser     oracle.sqldeveloper.thirdparty.sybase     1.2.1.54.40     Loaded
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.54.40     Loaded
    OrindaBuild Java Service Generator (Demo)     com.orindasoft.app.procbuilder.sqldeveloper     5.1.20081208     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.0.22.49.42     Loaded
    Peek     oracle.ide.peek     1.0     Loaded
    Replace With     oracle.ide.replace     11.1.1.0.22.49.42     Loaded
    Runner     oracle.ide.runner     11.1.1.0.22.49.42     Loaded
    SQL Worksheet Window     oracle.sqldeveloper.sqlworksheet     11.1.1.54.40     Loaded
    Search Bar     oracle.ide.searchbar     11.1.1.0.0     Loaded
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.54.40     Loaded
    Sybase 12     oracle.sqldeveloper.migration.sybase12     11.1.1.54.40     Loaded
    Sybase 15     oracle.sqldeveloper.migration.sybase15     11.1.1.54.40     Loaded
    Tuning     oracle.sqldeveloper.tuning     11.1.1.54.40     Loaded
    VHV     oracle.ide.vhv     11.1.1.0.22.49.42     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.0.22.49.42     Loaded
    Versioning Support for CVS     oracle.jdeveloper.cvs     11.1.1.0.22.49.42     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.0.22.49.42     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.0.22.49.42     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.0.22.49.42     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.0.22.49.42     Loaded
    Edited by: user518195 on Nov 9, 2008 3:59 PM

    Mireille,
    Thanks for the input. I did both steps you suggested and same result, with the 11.1.0.6 client as well. The stack trace and environment is noted below.
    Still looking for a solution.
    Cheers,
    Tim
    oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
    Stack trace;
    java.lang.Exception: java.lang.NullPointerException
         at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
         at oracle.dbtools.migration.workbench.core.CaptureInitiator.launch(CaptureInitiator.java:93)
         at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:146)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.lang.NullPointerException
         at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureColumnDetails(MySQL5Capturer.java:405)
         at oracle.dbtools.migration.workbench.plugin.MySQLCapturer.captureObjects(MySQLCapturer.java:176)
         at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureObjects(MySQL5Capturer.java:134)
         at oracle.dbtools.migration.capture.OnlineCaptureWorker.capturePerTableImpl(OnlineCaptureWorker.java:188)
         at oracle.dbtools.migration.capture.CaptureWorker.capturePerTable(CaptureWorker.java:526)
         at oracle.dbtools.migration.capture.CaptureWorker.captureType(CaptureWorker.java:283)
         at oracle.dbtools.migration.capture.CaptureWorker.runCapture(CaptureWorker.java:231)
         at oracle.dbtools.migration.workbench.core.ui.CaptureRunner.doWork(CaptureRunner.java:65)
         at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.run(AbstractMigrationProgressRunnable.java:161)
         at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(MigrationProgressBar.java:569)
         at java.lang.Thread.run(Thread.java:619)
    java.lang.NullPointerException
    Stack trace;
    java.lang.Exception: java.lang.NullPointerException
         at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
         at oracle.dbtools.migration.workbench.core.CaptureInitiator.launch(CaptureInitiator.java:93)
         at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:146)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.lang.NullPointerException
         at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureColumnDetails(MySQL5Capturer.java:405)
         at oracle.dbtools.migration.workbench.plugin.MySQLCapturer.captureObjects(MySQLCapturer.java:176)
         at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureObjects(MySQL5Capturer.java:134)
         at oracle.dbtools.migration.capture.OnlineCaptureWorker.capturePerTableImpl(OnlineCaptureWorker.java:188)
         at oracle.dbtools.migration.capture.CaptureWorker.capturePerTable(CaptureWorker.java:526)
         at oracle.dbtools.migration.capture.CaptureWorker.captureType(CaptureWorker.java:283)
         at oracle.dbtools.migration.capture.CaptureWorker.runCapture(CaptureWorker.java:231)
         at oracle.dbtools.migration.workbench.core.ui.CaptureRunner.doWork(CaptureRunner.java:65)
         at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.run(AbstractMigrationProgressRunnable.java:161)
         at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(MigrationProgressBar.java:569)
         at java.lang.Thread.run(Thread.java:619)
    About
    Oracle SQL Developer 1.5.1
    Version 1.5.1
    Build MAIN-5440
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.42
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.54.40
    Version
    Component     Version
    =========     =======
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.6.0_07
    Oracle IDE     1.5.1.54.40
    Versioning Support     1.5.1.54.40
    Properties
    Name     Value
    ====     =====
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     453697421257
    ide.build     MAIN-5440
    ide.conf     C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     false
    ide.java.minversion     1.5.0
    ide.launcherProcessId     5044
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Documents and Settings\Administrator\Application Data\SQL Developer
    ide.pref.dir.base     C:\Documents and Settings\Administrator\Application Data
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\sqldeveloper
    ide.user.dir     C:\Documents and Settings\Administrator\Application Data\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     C:\Documents and Settings\Administrator\My Documents\SQL Developer
    ide.work.dir.base     C:\Documents and Settings\Administrator\My Documents
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Java\jdk1.6.0_07\jre\lib\endorsed
    java.ext.dirs     C:\Java\jdk1.6.0_07\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
    java.home     C:\Java\jdk1.6.0_07\jre
    java.io.tmpdir     c:\temp\
    java.library.path     C:\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\11.1.0\client_1\bin;C:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Universal Extractor\bin;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\Diskeeper Corporation\Diskeeper\;c:\Embarcadero\PerformanceCenter
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_07-b06
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_07
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     10.0-b23
    jdbc.driver.home     /C:/oracle/product/11.1.0/client_1/
    jdbc.library     /C:/oracle/product/11.1.0/client_1/jdbc/lib/ojdbc5.jar
    line.separator     \r\n
    oracle.home     C:\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/oracle/product/11.1.0/client_1/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows XP
    os.version     5.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sun.arch.data.model     32
    sun.boot.class.path     C:\Java\jdk1.6.0_07\jre\lib\resources.jar;C:\Java\jdk1.6.0_07\jre\lib\rt.jar;C:\Java\jdk1.6.0_07\jre\lib\sunrsasign.jar;C:\Java\jdk1.6.0_07\jre\lib\jsse.jar;C:\Java\jdk1.6.0_07\jre\lib\jce.jar;C:\Java\jdk1.6.0_07\jre\lib\charsets.jar;C:\Java\jdk1.6.0_07\jre\classes
    sun.boot.library.path     C:\Java\jdk1.6.0_07\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 3
    user.country     US
    user.dir     C:\sqldeveloper\sqldeveloper\bin
    user.home     C:\Documents and Settings\Administrator
    user.language     en
    user.name     zsysadmin
    user.timezone     America/Los_Angeles
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.0.22.49.42     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.0.22.49.42     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.0.22.49.42     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.0.22.49.42     Loaded
    Database UI     oracle.ide.db     11.1.1.0.22.49.42     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.0.22.49.42     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.0.22.49.42     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.0.22.49.42     Loaded
    Feedback     oracle.ide.feedback     11.1.1.0.22.49.42     Loaded
    File Support     oracle.ide.files     11.1.1.0.22.49.42     Loaded
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.54.40     Loaded
    Help System     oracle.ide.help     11.1.1.0.22.49.42     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.0.22.49.42     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.0.22.49.42     Loaded
    JTDS JDBC Driver     oracle.sqldeveloper.thirdparty.drivers.sqlserver     11.1.1.54.11     Loaded
    Log Window     oracle.ide.log     11.1.1.0.22.49.42     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.0.22.49.42     Loaded
    MySQL JDBC Driver     oracle.sqldeveloper.thirdparty.drivers.mysql     11.1.1.54.11     Loaded
    Navigator     oracle.ide.navigator     11.1.1.0.22.49.42     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.0.22.49.42     Loaded
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.54.40     Loaded
    Oracle IDE     oracle.ide     11.1.1.0.22.49.42     Loaded
    Oracle Microsoft Access Browser     oracle.sqldeveloper.thirdparty.access     11.1.1.54.40     Loaded
    Oracle Migration Workbench     oracle.sqldeveloper.migration     11.1.1.54.40     Loaded
    Oracle Migration Workbench - MS Access     oracle.sqldeveloper.migration.msaccess     11.1.1.54.40     Loaded
    Oracle Migration Workbench - MySQL     oracle.sqldeveloper.migration.mysql5     11.1.1.54.40     Loaded
    Oracle Migration Workbench - SQLServer     oracle.sqldeveloper.migration.sqlserver2005     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.54.44     Loaded
    Oracle Migration Workbench - Translation MS Access     oracle.sqldeveloper.migration.translation.msaccess     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation MS SQL Server     oracle.sqldeveloper.migration.translation.sqlserver     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation MySQL     oracle.sqldeveloper.migration.translation.mysql     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation Sybase     oracle.sqldeveloper.migration.translation.sybase     11.1.1.54.44     Loaded
    Oracle Migration Workbench - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.54.40     Loaded
    Oracle MySQL Browser     oracle.sqldeveloper.thirdparty.mysql     11.1.1.54.40     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.54.40     Loaded
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     11.1.1.54.40     Loaded
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.54.40     Loaded
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.54.40     Loaded
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     1.5.1.1.2     Loaded
    Oracle SQL Server Browser     oracle.sqldeveloper.thirdparty.sqlserver     11.1.1.54.40     Loaded
    Oracle Sybase Browser     oracle.sqldeveloper.thirdparty.sybase     1.2.1.54.40     Loaded
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.54.40     Loaded
    OrindaBuild Java Service Generator (Demo)     com.orindasoft.app.procbuilder.sqldeveloper     5.1.20081208     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.0.22.49.42     Loaded
    Peek     oracle.ide.peek     1.0     Loaded
    Replace With     oracle.ide.replace     11.1.1.0.22.49.42     Loaded
    Runner     oracle.ide.runner     11.1.1.0.22.49.42     Loaded
    SQL Worksheet Window     oracle.sqldeveloper.sqlworksheet     11.1.1.54.40     Loaded
    Search Bar     oracle.ide.searchbar     11.1.1.0.0     Loaded
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.54.40     Loaded
    Sybase 12     oracle.sqldeveloper.migration.sybase12     11.1.1.54.40     Loaded
    Sybase 15     oracle.sqldeveloper.migration.sybase15     11.1.1.54.40     Loaded
    Tuning     oracle.sqldeveloper.tuning     11.1.1.54.40     Loaded
    VHV     oracle.ide.vhv     11.1.1.0.22.49.42     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.0.22.49.42     Loaded
    Versioning Support for CVS     oracle.jdeveloper.cvs     11.1.1.0.22.49.42     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.0.22.49.42     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.0.22.49.42     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.0.22.49.42     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.0.22.49.42     Loaded

Maybe you are looking for

  • Login to the SAP System and opening a new modus takes too long

    Hello friends I have a problem on my SAP ECC 6.0 system. When some users (but not all users) try to login (via SAPGUI) or open new modi this takes within 5 minutes to happen. I have allready excluded local hardware problems on the client PCs (You can

  • What is the contact email for customer complaints?

    I have an issue I doubt mac can or would be willing to resolve, therefore going into the shop, I believe, would be unproductive. My charger recently failed, and it was replaced in store (and for the hassle-free experience, I am rather appreciative of

  • LSO Content Player error

    Hi all, I have a problem when I started a WBT course in SAP Learning Portal. We are using the ECC 600. The Content Player  shows the error 404 Not Found. I don't know how to check a log of this issue. I was checking the config in the IMG, I was tryin

  • Problem for displaying values

    Hi, Iam using struts and hibernate, am inserting values into database successfully. But am facing some problem for displaying values in VIEW page.. Am maintainig Session in action servlet..In jsp page only first row displayed numbertimes(depends on n

  • Is it possible to put property node inside for loop?

    I have created three separate property nodes (plot color) for my 3 XY graphs. Is it possible to have one property node, say plot_color_i and put this inside the for loop where i runs from 1 to N, where plot_color_1 would update XY Graph 1, plot_color