11 Replies Latest reply on Jan 20, 2011 3:00 PM by Sebastian Solbach -Database Community-Oracle

    Unable to Log In to Oracle VM Manager via browser

    765907
      Hi All,

      For some unknown reason, I can't login to the VM Manager via the browser anymore. I had checked, bounced the DB, listener, OC4J, and rebooted the server but I still have no luck. Does anyone has any idea of how to fix it or the change admin user...

      Please Advice me to fix this issue...


      Regards,
      vnktsh
        • 1. Re: Unable to Log In to Oracle VM Manager via browser
          Haobo Zhou-Oracle
          you can check the oc4j log (/var/log/ovs-manager/oc4j.log), and see if any error there.
          • 2. Re: Unable to Log In to Oracle VM Manager via browser
            Honza
            By can't login do you mean you get prompted for a password repeatedly and randomly? I sometimes have the same issue and it's quite annoying. I found that I am only able to login after the oc4j service is up and running for a few minutes. But the timeouts seem very random from what I can tell.

            I raised the question at a Oracle VM demonstration, but got no answer other then it might be a low memory issue. Nothing further.
            • 3. Re: Unable to Log In to Oracle VM Manager via browser
              Sebastian Solbach -Database Community-Oracle
              Hi vnktsh,

              there are 2 support notes how to reset your passwort.
              a.) If you have configured an email address for the user, the system can email the password to you (if you configured the smtp server):
              Note 739785.1: How to Configure Oracle VM Manager 'Forgot Password' Feature
              b.) If you completely fogot the password:
              Note 739785.1: How to Manually Reset Oracle VM Manager User Account Passwords

              Sebastian
              • 4. Re: Unable to Log In to Oracle VM Manager via browser
                Sebastian Solbach -Database Community-Oracle
                Hi Honza,

                have you configured SSL? Do you try to access the manager via. SSL?

                If yes try modifying the secure-web-site.xml (/opt/oc4j/j2ee/home/config) and adding the shared="true" to the following lines:
                ...
                <web-app application="default" name="jmsrouter_web" load-on-startup="true" root="/jmsrouter" shared="true" />
                <web-app application="javasso" name="javasso-web" root="/jsso" shared="true" />
                <web-app application="ascontrol" name="ascontrol" load-on-startup="true" root="/em" ohs-routing="false" shared="true" />
                <web-app application="datatags" name="webapp" load-on-startup="true" root="/webapp" shared="true" />
                <web-app application="help" name="ohw-ovs-help" load-on-startup="true" root="/help" shared="true" />
                <web-app application="OVS" name="webapp1" load-on-startup="true" root="/OVS" shared="true" />
                <web-app application="OVS" name="webservices" load-on-startup="true" root="/OVSWS" shared="true" />
                ...

                This solved my problem at least... (after restarting oc4j)
                Sebastian
                • 6. Re: Unable to Log In to Oracle VM Manager via browser
                  765907
                  Dear All,

                  Thanks for your inputs, but still I am not able to login.I was tried with all your solutions but no luck. I was tried to reset the password as NoteID:739785.1 as Sebastian suggested and also I increased the db_recovery_file_dest_size to 15G as NoteID:814624.1.When I am trying to reset the Password using Forget Password feature I am getting the below message:
                  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                  An error occured:
                  java.lang.NullPointerException
                  javax.faces.el.EvaluationException: java.lang.NullPointerException
                       at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
                       at oracle.adf.view.faces.component.UIXEditableValue.validateValue(UIXEditableValue.java:400)
                       at oracle.adf.view.faces.component.UIXEditableValue.validate(UIXEditableValue.java:206)
                       at oracle.adf.view.faces.component.UIXEditableValue._executeValidate(UIXEditableValue.java:522)
                       at oracle.adf.view.faces.component.UIXEditableValue.processValidators(UIXEditableValue.java:302)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
                       at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
                       at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
                       at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
                       at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
                       at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
                       at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
                       at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
                       at javax.faces.component.UIForm.processValidators(UIForm.java:190)
                       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:932)
                       at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:362)
                       at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
                       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
                       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
                       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
                       at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
                       at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
                       at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
                       at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
                       at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
                       at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
                       at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
                       at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
                       at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
                       at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
                       at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
                       at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
                       at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
                       at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
                       at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
                       at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
                       at java.lang.Thread.run(Thread.java:595)
                  Caused by: java.lang.NullPointerException
                       at oracle.ovs.userinterface.backing.infrastructure.OVSForgetPwd.accountNamed_validator(OVSForgetPwd.java:398)
                       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
                       ... 52 more

                  Below is oc4j.log_
                  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                  10/09/02 13:59:45 at oracle.ovs.daemon.CronDaemon$BusinessThread.run(CronDaemon.java:289)
                  2010-09-02 13:59:45.980 ERROR ServerPoolSyncDaemon.runBusiness:Failed to clear databaseSyncFlag,null
                  /opt/oc4j/bin/oc4j: line 90: 18678 Killed $JAVA_HOME/bin/java $JVMARGS -jar $OC4J_JAR $CMDARGS
                  Starting OC4J from /opt/oc4j/j2ee/home ...
                  Sep 2, 2010 2:01:41 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
                  INFO: Legacy datasource detected...attempting to convert to new syntax.
                  2010-09-02 14:01:42.233 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
                  2010-09-02 14:01:42.235 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
                  2010-09-02 14:01:45.797 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: datatags does not exist. Error creating Web application: webapp
                  WARNING: Code-source /opt/oc4j/j2ee/home/applications/help/ohw-ovs-help/WEB-INF/lib/xmlparserv2.jar (from WEB-INF/lib/ directory in /opt/oc4j/j2ee/home/applications/help/ohw-ovs-help/WEB-INF/lib) has the same filename but is not identical to /opt/oc4j/lib/xmlparserv2.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /opt/oc4j/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader help.web.ohw-ovs-help:0.0.0.
                  Note: Some input files use or override a deprecated API.
                  Note: Recompile with -Xlint:deprecation for details.
                  Note: Some input files use unchecked or unsafe operations.
                  Note: Recompile with -Xlint:unchecked for details.
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ValidatorRule end
                  WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
                  Sep 2, 2010 2:02:41 PM com.sun.faces.config.rules.ConverterRule end
                  WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
                  Sep 2, 2010 2:02:42 PM com.sun.faces.config.rules.NavigationRuleRule end
                  WARNING: [NavigationRuleRule]{faces-config/navigation-rule} Merge(/app/broker/*)
                  Sep 2, 2010 2:02:42 PM com.sun.faces.config.rules.NavigationRuleRule end
                  WARNING: [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
                  Sep 2, 2010 2:02:42 PM com.sun.faces.config.rules.NavigationRuleRule end
                  WARNING: [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
                  2010-09-02 14:02:42.855 NOTIFICATION oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
                  2010-09-02 14:02:43.511 NOTIFICATION Log Manager starts
                  2010-09-02 14:02:43.511 NOTIFICATION Toplink Log Manager starts
                  2010-09-02 14:02:43.516 NOTIFICATION OVM_DataCollector-CronDaemon.serve: interval (seconds) = 120
                  2010-09-02 14:02:43.517 NOTIFICATION DaemonManager started.
                  2010-09-02 14:02:43.858 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: datatags does not exist. Error creating Web application: webapp
                  10/09/02 14:02:43 java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory
                  10/09/02 14:02:43 at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:26)
                  10/09/02 14:02:43 at oracle.cabo.share.xml.JaxpXMLProvider.getXMLReader(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.share.xml.DefaultXMLProvider.getXMLReader(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.share.xml.TreeBuilder.parse(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.share.config.ApplicationConfigurationParser.createInstance(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.share.config.ApplicationConfiguration.getInstance(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.servlet.ui.BaseUIPageBroker.getApplicationConfiguration(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.servlet.AbstractPageBroker.init(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.servlet.ui.BaseUIPageBroker.init(Unknown Source)
                  10/09/02 14:02:43 at oracle.cabo.servlet.xml.UIXPageBroker.init(Unknown Source)
                  10/09/02 14:02:43 at oracle.help.web.uix.OHWPageBroker.init(Unknown Source)
                  10/09/02 14:02:43 at oracle.help.web.uix.UIXPageDispatcher.<init>(Unknown Source)
                  10/09/02 14:02:43 at oracle.help.web.OHWController.init(Unknown Source)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
                  10/09/02 14:02:43 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
                  10/09/02 14:02:43 at com.evermind.server.Application.getHttpApplication(Application.java:571)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
                  10/09/02 14:02:43 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
                  10/09/02 14:02:43 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2478)
                  10/09/02 14:02:43 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1032)
                  10/09/02 14:02:43 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
                  10/09/02 14:02:43 at java.lang.Thread.run(Thread.java:595)
                  [TopLink Info]: 2010.09.02 02:02:46.601--ServerSession(13622965)--Thread(Thread[OVM_DataCollector Working thread: Thread-23,5,main])--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)
                  [TopLink Config]: 2010.09.02 02:02:46.612--ServerSession(13622965)--Connection(22514809)--Thread(Thread[OVM_DataCollector Working thread: Thread-23,5,main])--connecting(DatabaseLogin(
                  platform=>Oracle10Platform
                  user name=> ""
                  connector=>JNDIConnector datasource name=>jdbc/OVSDS
                  [TopLink Severe]: 2010.09.02 02:02:49.026--ServerSession(13622965)--Thread(Thread[OVM_DataCollector Working thread: Thread-23,5,main])--Local Exception Stack:
                  Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
                  Internal Exception: java.sql.SQLException: Io exception: The Network Adapter could not establish the connectionError Code: 17002
                  at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
                  at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:115)
                  at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
                  at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
                  at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:220)
                  at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
                  at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:82)
                  at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:98)
                  at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:435)
                  at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:503)
                  at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:317)
                  at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
                  at oracle.ovs.biz.db.SessionFactory.getDatabaseSession(SessionFactory.java:231)
                  at oracle.ovs.biz.db.SessionFactory.getSharedSession(SessionFactory.java:300)
                  at oracle.ovs.biz.db.SessionFactory.getSharedSession(SessionFactory.java:279)
                  at oracle.ovs.biz.db.SessionFactory.acquireSession(SessionFactory.java:336)
                  at oracle.ovs.biz.serverPool.ServerPoolSyncDaemon.runBusiness(ServerPoolSyncDaemon.java:223)
                  at oracle.ovs.daemon.CronDaemon$BusinessThread.run(CronDaemon.java:289)
                  Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
                  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
                  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
                  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
                  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
                  at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
                  at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
                  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
                  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
                  at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:218)
                  at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:114)
                  at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:77)
                  at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1361)
                  at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:441)
                  at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:336)
                  at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:286)
                  at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:179)
                  at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
                  at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
                  at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
                  at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:208)
                  at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:167)
                  at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
                  at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
                  at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
                  at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
                  at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
                  at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
                  at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
                  at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
                  at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
                  at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:197)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
                  at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:110)
                  ... 16 more

                  Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
                  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
                  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
                  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
                  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
                  at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
                  at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:208)
                  at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:167)
                  at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
                  at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
                  at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
                  at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
                  at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
                  at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
                  at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
                  at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
                  at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
                  at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:197)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
                  at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:110)
                  ... 16 more

                  10/09/02 14:02:51 java.lang.NullPointerException
                  10/09/02 14:02:51 at oracle.ovs.biz.db.SessionFactory.acquireSession(SessionFactory.java:338)
                  10/09/02 14:02:51 at oracle.ovs.biz.serverPool.ServerPoolDAO.findAllServerPool(ServerPoolDAO.java:44)
                  10/09/02 14:02:51 at oracle.ovs.biz.serverPool.ServerPoolSyncDaemon.runBusiness(ServerPoolSyncDaemon.java:245)
                  10/09/02 14:02:51 at oracle.ovs.daemon.CronDaemon$BusinessThread.run(CronDaemon.java:289)
                  2010-09-02 14:02:51.180 ERROR ServerPoolSyncDaemon.runBusiness: Failed to get Server Pools,null
                  [TopLink Info]: 2010.09.02 02:02:51.185--ServerSession(13622965)--Thread(Thread[OVM_DataCollector Working thread: Thread-23,5,main])--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)
                  [TopLink Severe]: 2010.09.02 02:02:53.286--ServerSession(13622965)--Thread(Thread[OVM_DataCollector Working thread: Thread-23,5,main])--Local Exception Stack:
                  Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
                  Internal Exception: java.sql.SQLException: Io exception: The Network Adapter could not establish the connectionError Code: 17002
                  at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
                  at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:115)
                  at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
                  at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
                  at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:220)
                  at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
                  at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:82)
                  at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:98)
                  at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:435)
                  at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:503)
                  at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:379)
                  at oracle.ovs.biz.db.SessionFactory.getDatabaseSession(SessionFactory.java:231)
                  at oracle.ovs.biz.db.SessionFactory.getSharedSession(SessionFactory.java:300)
                  at oracle.ovs.biz.db.SessionFactory.getSharedSession(SessionFactory.java:279)
                  at oracle.ovs.biz.db.SessionFactory.acquireSession(SessionFactory.java:336)
                  at oracle.ovs.biz.serverPool.ServerPoolSyncDaemon.runBusiness(ServerPoolSyncDaemon.java:305)
                  at oracle.ovs.daemon.CronDaemon$BusinessThread.run(CronDaemon.java:289)
                  Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
                  at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:208)
                  at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:167)
                  at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
                  at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
                  at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
                  at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
                  at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
                  at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
                  at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
                  at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
                  at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
                  at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:197)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
                  at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
                  at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:110)
                  ... 15 more

                  10/09/02 14:02:53 java.lang.NullPointerException
                  10/09/02 14:02:53 at oracle.ovs.biz.db.SessionFactory.acquireSession(SessionFactory.java:338)
                  10/09/02 14:02:53 at oracle.ovs.biz.serverPool.ServerPoolSyncDaemon.runBusiness(ServerPoolSyncDaemon.java:305)
                  10/09/02 14:02:53 at oracle.ovs.daemon.CronDaemon$BusinessThread.run(CronDaemon.java:289)
                  2010-09-02 14:02:53.287 ERROR ServerPoolSyncDaemon.runBusiness:Failed to clear databaseSyncFlag,null
                  Note: Some input files use or override a deprecated API.
                  Note: Recompile with -Xlint:deprecation for details.
                  Note: Some input files use unchecked or unsafe operations.
                  Note: Recompile with -Xlint:unchecked for details.
                  2010-09-02 14:03:35.676 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp1 defined in web site OC4J 10g (10.1.3) Default Web Site. null
                  10/09/02 14:03:35 Oracle Containers for J2EE 10g (10.1.3.2.0) initialized

                  10/09/02 14:13:02 java.lang.NullPointerException
                  10/09/02 14:13:02 at oracle.ovs.biz.db.SessionFactory.acquireSession(SessionFactory.java:338)
                  10/09/02 14:13:02 at oracle.ovs.biz.serverPool.ServerPoolSyncDaemon.runBusiness(ServerPoolSyncDaemon.java:305)
                  10/09/02 14:13:02 at oracle.ovs.daemon.CronDaemon$BusinessThread.run(CronDaemon.java:289)
                  2010-09-02 14:13:02.188 ERROR ServerPoolSyncDaemon.runBusiness:Failed to clear databaseSyncFlag,null
                  2010-09-02 14:13:30.895 WARNING PRT-00003 Unable to get the binding container for Page /infrastructure/OVS_Login.jspx
                  10/09/02 14:13:30 ++++++++++OVS_Login.java/OVS/index.jspx
                  2010-09-02 14:13:32.932 WARNING Login Failure: all modules ignored
                  10/09/02 14:13:32 ++++++++++ErrorServlet.java/OVS/index.jspx

                  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                  FYI: OVM Version is 2.2

                  Thanks in Advance for all your valuble suggessions

                  Regards,
                  vnktsh
                  • 7. Re: Unable to Log In to Oracle VM Manager via browser
                    Haobo Zhou-Oracle
                    java.lang.NullPointerException
                    javax.faces.el.EvaluationException: java.lang.NullPointerException
                    A suspecting is a local manager db corruption, but may need more careful checking. If it's in production, you can engage Oracle support via Service Request if you have valid support license.

                    You may also try to re-install manager (or re-deploy the manager template), to make things work for you.
                    • 8. Re: Unable to Log In to Oracle VM Manager via browser
                      Sebastian Solbach -Database Community-Oracle
                      Hi,

                      this:
                      "Internal Exception: java.sql.SQLException: Io exception: The Network Adapter could not establish the connectionError Code: 17002"
                      says there is a problem with the connection to the repository database.

                      This seems to be a problem with network.

                      So try the following: Can you connect via. sqlplus to the repository database when using TCP/IP?

                      sqlplus system/<pwd>@sccloud:1521/XE

                      Please check:
                      - firewall settings
                      - /etc/hosts
                      - DNS resolution for the host.

                      Then restart oc4j and the database (maybe the whole management server)
                      Sebastian
                      • 9. Re: Unable to Log In to Oracle VM Manager via browser
                        765907
                        Hi All,

                        I think the repository database was not corrupted since I am able to connect the database and query the tables, found all the configuration details are exist in respective tables.

                        Might be the problem with the connection to the repository database.I was restarted the oc4j and DB also the whole machine as suggested Sebastian but no luck.
                        And I found that the oc4j is running on root user and database is running on oracle user.. is it correct.

                        And I have a doubt that which listener should be up (LISTENER or XE (the SID)). In my case I was no luck with either of listeners.

                        FYI: I have a database backup after this issue.

                        So I am planning to
                        1.Re-install the OVM again using the existing database and restore the OVS schema...Is it correct method. or
                        2.Download the latest version and upgrade the OVM. or
                        3.Using sysconfig.sh update the SMTP Server details again.

                        Please advise me which one is suitable in my case.

                        Thanks in Advance

                        Regards,
                        vnktsh
                        • 10. Re: Unable to Log In to Oracle VM Manager via browser
                          765907
                          Hi All,

                          Sorry for not update for a longtime since i was in another project.

                          I was installed the VM Manager in another machine and restored the database from from old vm manager but no luck..the same error. I have a doubt here

                          if I re-installed the VM Manager again in Production, how to populate the current running Serverpools and Virtual Machines in newly installed VM Manager.
                          if re-creating the same Serverpools and Virtual Machines will overright the current running Server pools,Virtual Machines and Configuration files in VM Server.

                          Please Advice me...

                          Thanks in Advance.

                          Regards,
                          vnktsh
                          • 11. Re: Unable to Log In to Oracle VM Manager via browser
                            Sebastian Solbach -Database Community-Oracle
                            Hi,

                            well you won't loose your VM configurations. Only the serverpool setups.
                            What you can do is:

                            • Install a new VM Manager.

                            For the next steps you will need a downtime of your VMs:

                            • Shutdown all VMs.
                            • Deregister (cleanup) the servers with:
                            /opt/ovs-agent-latest/utils/cleanup.py

                            Note: This will not delete the VMs!
                            See this Note: Post-installation Checklist For New Oracle VM Servers (Doc ID 1263293.1) for more information.

                            • On the first node readd the shared repository with
                            /opt/ovs-agent-latest/utils/repos.py -n

                            • Then register the servers and serverpool in the new VM Manager.

                            Last: Import the VMs (and other resources) back to VM Manager and start them up again.

                            Regards
                            Sebastian