5 Replies Latest reply on Nov 18, 2010 9:55 AM by 612024

    oracle-service-registry-10.3

    803961
      I am trying to install OSR 10.3 in weblogic 10gR3 and oracle 10g on Windows 7, but the installation always fails at 87%, below i have pasted the error log.
      any help would be greatly appreciated.


      --------ERROR LOG-------

      Expanding C:\Users\madhukarm\Downloads\OSR10300\oracle-service-registry-10.3.jar to c:\oracle\registry_10_3 ...
      Building scripts ...
      Platform is Windows
      Preparing 'admin' account ...
      Preparing account_list ...
      Preparing permission_list ...
      Preparing approval management ...
      Creating standalone configuration ...
      Preparing ports ...
      Copying data to 'c:\oracle\registry_10_3/doc/demos'...
      Preparing applicationCore ...
      Configuring Registry...
      Preparing LDAP backend ...
      Preparing database account backend ...
      Copying JDBC drivers C:\Users\madhukarm\Downloads\OSR10300\ojdbc6.jar...
      Prepare the build directory...
      Create 'env.properties' demo settings file...
      Create the Service Registry configuration file wl-servletconf.xml...
      Prepare Service Registry module...
      Copy Service Registry libraries and classes...
      Configure Systinet Registry module ..
      Configuring Registry...
      [java] [java] java.io.IOException: Cannot run program "command.com": CreateProcess error=2, The system cannot find the file specified
      [java] [java]      at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
      [java] [java]      at java.lang.Runtime.exec(Runtime.java:593)
      [java] [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [java] [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] [java]      at java.lang.reflect.Method.invoke(Method.java:597)
      [java] [java]      at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:646)
      [java] [java]      at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:416)
      [java] [java]      at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:427)
      [java] [java]      at org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Execute.java:180)
      [java] [java]      at org.apache.tools.ant.taskdefs.Execute.patchEnvironment(Execute.java:500)
      [java] [java]      at org.apache.tools.ant.taskdefs.Execute.getEnvironment(Execute.java:341)
      [java] [java]      at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:427)
      [java] [java]      at org.apache.tools.ant.taskdefs.Java.run(Java.java:497)
      [java] [java]      at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:169)
      [java] [java]      at org.apache.tools.ant.taskdefs.Java.execute(Java.java:117)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
      [java] [java]      at org.apache.tools.ant.Task.perform(Task.java:341)
      [java] [java]      at org.apache.tools.ant.Target.execute(Target.java:309)
      [java] [java]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      [java] [java]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      [java] [java]      at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      [java] [java]      at org.apache.tools.ant.Main.runBuild(Main.java:609)
      [java] [java]      at org.apache.tools.ant.Main.start(Main.java:196)
      [java] [java]      at org.apache.tools.ant.Main.main(Main.java:235)
      [java] [java] Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
      [java] [java]      at java.lang.ProcessImpl.create(Native Method)
      [java] [java]      at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
      [java] [java]      at java.lang.ProcessImpl.start(ProcessImpl.java:30)
      [java] [java]      at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
      [java] [java]      ... 67 more
      [java] [java] ERROR: database_core.com.systinet.uddi.database.ApiManager - Can not connect database.
      [java] [java] EXCEPTION: (12021) Cannot obtain new connection.
      [java] [java] com.systinet.uddi.database.DatabaseCoreException: (12021) Cannot obtain new connection.
      [java] [java]      at com.systinet.uddi.database.ConnectionPoolImpl.reinit(ConnectionPoolImpl.java:89)
      [java] [java]      at com.systinet.uddi.database.ConnectionPoolImpl.init(ConnectionPoolImpl.java:69)
      [java] [java]      at com.systinet.uddi.database.Database.init(Database.java:125)
      [java] [java]      at com.systinet.uddi.database.ApiManager.<init>(ApiManager.java:102)
      [java] [java]      at com.systinet.uddi.database.ApiManager.getApiManager(ApiManager.java:69)
      [java] [java]      at com.systinet.uddi.database.ApiManager.getApiManager(ApiManager.java:54)
      [java] [java]      at com.systinet.uddi.permission.PermissionApiImplCore.<init>(PermissionApiImplCore.java:109)
      [java] [java]      at com.systinet.uddi.permission.PermissionApiImplCore.getApiInstance(PermissionApiImplCore.java:130)
      [java] [java]      at com.systinet.uddi.permission.PermissionApiImpl.init(PermissionApiImpl.java:69)
      [java] [java]      at com.systinet.uddi.permission.PermissionApiImpl.<init>(PermissionApiImpl.java:45)
      [java] [java]      at com.systinet.uddi.permission.PermissionApiImpl.getApiInstance(PermissionApiImpl.java:58)
      [java] [java]      at com.systinet.uddi.permission.module.LoadDownDBModule.init(LoadDownDBModule.java:33)
      [java] [java]      at com.systinet.uddi.module.ModuleRepository.initModules(ModuleRepository.java:160)
      [java] [java]      at com.systinet.uddi.module.ModuleRepository.load(ModuleRepository.java:127)
      [java] [java]      at com.systinet.uddi.module.ModuleRepository.getInstance(ModuleRepository.java:46)
      [java] [java]      at com.systinet.uddi.WaspUDDI.init(WaspUDDI.java:38)
      [java] [java]      at com.systinet.uddi.admin.AdministrationUtilsTool.run(AdministrationUtilsTool.java:73)
      [java] [java]      at com.systinet.uddi.admin.AdministrationUtilsTool.main(AdministrationUtilsTool.java:146)
      [java] [java] Caused by: java.sql.SQLRecoverableException: Io exception: The Network Adapter could not establish the connection
      [java] [java]      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
      [java] [java]      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
      [java] [java]      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
      [java] [java]      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
      [java] [java]      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:458)
      [java] [java]      at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
      [java] [java]      at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
      [java] [java]      at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
      [java] [java]      at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
      [java] [java]      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
      [java] [java]      at java.sql.DriverManager.getConnection(DriverManager.java:582)
      [java] [java]      at java.sql.DriverManager.getConnection(DriverManager.java:154)
      [java] [java]      at com.systinet.uddi.database.UniversalDriver.getConnection(UniversalDriver.java:106)
      [java] [java]      at com.systinet.uddi.database.DriverManager.getConnection(DriverManager.java:37)
      [java] [java]      at com.systinet.uddi.database.UDDIDriverManager.getConnection(UDDIDriverManager.java:32)
      [java] [java]      at com.systinet.uddi.database.ConnectionPoolImpl.reinit(ConnectionPoolImpl.java:81)
      [java] [java]      ... 17 more
      [java] [java] ERROR: account.com.systinet.uddi.account.database.DBAccountApiImpl - DatabaseCoreException: (12021) Cannot obtain new connection.
      [java] [java] ERROR: account.com.systinet.uddi.account.AccountCoreApiImpl - Initialization of accounts has failed in the database. Database is not running.
      [java] [java] ERROR: group.com.systinet.uddi.group.database.DBGroupApiImpl - DatabaseCoreException: (12021) Cannot obtain new connection.
      [java] [java] ERROR: group_core.com.systinet.uddi.group.GroupCoreApiImpl - Initialization of groups has failed in the database. The database is not running.
      [java] [java] ERROR: permission.com.systinet.uddi.permission.database.DBPermissionApiImpl - DatabaseCoreException: (12021) Cannot obtain new connection.
      [java] [java] WARNING: permission.com.systinet.uddi.permission.PermissionApiImplCore - Permissions failed. Database is not running.
      [java] [java] ERROR: permission.com.systinet.uddi.permission.PermissionApiImplCore - Permissions failed. Database is not running.
      [java] [java] com.systinet.uddi.database.DatabaseCoreException: (12021) Cannot obtain new connection.
      [java] [java]      at com.systinet.uddi.database.TransactionManager.getConnectionFromPool(TransactionManager.java:125)
      [java] [java]      at com.systinet.uddi.database.TransactionManager.initTransaction(TransactionManager.java:94)
      [java] [java]      at com.systinet.uddi.database.TransactionManager.beginReadWrite(TransactionManager.java:84)
      [java] [java]      at com.systinet.uddi.database.DatabaseApi.beginReadWrite(DatabaseApi.java:91)
      [java] [java]      at com.systinet.uddi.admin.tool.DBAdministrationTool.replaceURL(DBAdministrationTool.java:31)
      [java] [java]      at com.systinet.uddi.admin.AdministrationUtilsTool.runImpl(AdministrationUtilsTool.java:99)
      [java] [java]      at com.systinet.uddi.admin.AdministrationUtilsTool.run(AdministrationUtilsTool.java:74)
      [java] [java]      at com.systinet.uddi.admin.AdministrationUtilsTool.main(AdministrationUtilsTool.java:146)

      [java] BUILD FAILED
      [java] file:C:/oracle/registry_10_3/etc/setup/setupserver.xml:519: Java returned: 1

      [java] Total time: 1 minute 12 seconds

      Java returned: 1
      Installation failed. If accessible, see "c:\oracle\registry_10_3\log\install.log".
      To correct installation parameters and resume installation click Recovery.
      .
        • 1. Re: oracle-service-registry-10.3
          702969
          Seems it's a connection to database problem ;) , have u checked the database or the network
          • 2. Re: oracle-service-registry-10.3
            803961
            Yes, I have checked the database, tables are created in the schema, but still the same error, i don't think its a DB connection problem.

            Edited by: user12209268 on Nov 16, 2010 10:12 PM
            • 3. Re: oracle-service-registry-10.3
              612024
              [java] [java] java.io.IOException: Cannot run program "command.com": CreateProcess error=2, The system cannot find the file specified
              [java] [java] Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
              [java] [java] ERROR: database_core.com.systinet.uddi.database.ApiManager - Can not connect database.
              [java] [java] EXCEPTION: (12021) Cannot obtain new connection.
              [java] [java] com.systinet.uddi.database.DatabaseCoreException: (12021) Cannot obtain new connection.

              there are various errors in the logfile you posted.

              The first is a logical one and its strange at the same time. You say you're trying to install on a Windows 7 machine. Command.com is not available on windows 7, explaining the first error. I don't know whether OSR is certified to run on a Windows 7 machine. You could try to use a Virtualbox/Vmware environment with either Windows XP or Vista as root OS.

              It is also complaining a few times about a database connection that cannot be created. What is the database you are trying to install to? Oracle XE? In that case the number of sessions or processes could be too low for OSR to create a new connection.

              HTH.
              1 person found this helpful
              • 4. Re: oracle-service-registry-10.3
                702969
                Hello, Martin

                It is also complaining a few times about a database connection that cannot be created. What is the database you are trying to install to? Oracle XE? In that case the number of sessions or processes could be too low for OSR to create a new connection.+

                Will Oracle XE really cause connection problem??

                I have oracle XE intalled on my laptop , and seems that the OSR worked just fine. I need to make sure that Oracle XE can work so that i am not going to have any problem when i show the OSR demo to the customer

                Many thanks
                Wen
                • 5. Re: oracle-service-registry-10.3
                  612024
                  Compared to a regular database XE has a lower default for the amount of available processes and sessions. You can check this:

                  Login with sqlplus to your XE database.

                  SQL: show parameters sessions;
                  SQL: show parameters processes;

                  To alter them

                  SQL: alter system set sessions=250 scope=spfile;
                  SQL: alter system set processes=200 scope=spfile;

                  Then restart your database.

                  Maybe this will fix the connection problem. If not please let us know.