8 Replies Latest reply: Jul 11, 2011 12:46 PM by 594272 RSS

    Eclipse open project wizard - OUAF SDK 4.1 install

    594272
      After installing it for the 4th time, I give up. Please help me. (I start over with a saved image in case you wonder.)

      I follow the install guide word for word:
      http://www.box.net/shared/z86acgmb57oi9lo8f312

      When I finally get Eclipse to come up to open the project Wizard, I get this error message:
      "The chosen operation is not currently available."
      http://www.box.net/shared/l09aar6q00nc52znq56p

      Can someone please tell me what I am missing here?

      I downloaded the correct version of Hibernate, renamed it, put in in the right folder, got all the other files from one location to the other. Does it have to be that complicated?

      Sorry I am so frustrated but for the last week I did not get very far.

      Any help is greatly appreciated.

      Today I tried 2 more times with the exact same result. I believe there is something missing on the install guide as some of the screen prints are clearly not matching.
      If someone has been able to successfully install this, I like to know how please.
      I have made some notes just to be sure I follow along the install guide:


      SDK install notes - Used installation Guide

      7th time:

      Micro Focus Net Express Server 5.1 already installed.
      Exploded app server folders: configenv option 3
                          initialsetup right after

      1.) Started server, checked if I can log in.

      2.) Installing jdk-1_5_0_22-windows-i586-p for Eclipse later. (Eclipse requirement)

      3.) Starting SDK setup
           Destination: C:\SPL\SPLSDK
           App Server dir: c:\ouaf\demo
           Java dir: C:\spl\jdk1.6.0_26
           Install completed

      4.) Post Client Setup
           Copied the tools folder from C:\spl\SPLSDK\SDK\4.0.0.5
                          to: C:\ouaf\DEMO\SPLSDKCommon
           
           Copied the JTA.JAR from C:\ouaf\DEMO\splapp\standalone\lib
                     to: C:\ouaf\DEMO\SPLSDKCommon\tools

           
      5.) Install Eclipse:
           Copied Eclipse folder to C:\spl\SPLSDK\SDK\4.0.0.5
           Modified Eclipse.ini:
           -vm
           C:\Java\jre1.5.0_22\bin\javaw.exe

      6.) Launch Eclipse
           Modified startEclipse.bat: (NOT IN GUIDE)
           Created SPLSDK_ECLIPSE environment variable (NOT IN GUIDE!!)
           start %SPLSDK_ECLIPSE%\%ProgName% -vm C:\Java\jre1.5.0_22\bin\javaw -data %SPLSDK_ECLIPSE_WORKSPACE%
           Eclipse Starting

      7.) Installing Eclipse Plugin
           Click on Help - Install New Software
           Uncheck all checkboxes.
           Click ADD
           UtilitiesUpdateSite
           jar:file:/C:/ouaf/DEMO/SPLSDKCommon/tools/eclipse/OracleUtilitiesUpdateSite.zip!/
           Check OUAF Eclipse feature
           Click Next
           Review items to be installed - Click Next
           Accept terms - Finish
           Security Warning - Click OK
           After installation CLICK NO and CLOSE Ecplipse - IMPORTANT NOT TO RESTART.
           File- Exit

      8.) Copy the Hibernate-3.2.5.ga.jar to: (downloaded as suggested by install guide.)
           to: C:\spl\SPLSDK\SDK\4.0.0.5\eclipse\plugins\com.oracle.utilities.eclipseTools_4.0.0.201008311124\shared\lib

      9.) Start Ecplipse and configure project.
           NEVER WORKS...

      Edited by: LodestarGuy on Jul 9, 2011 9:31 AM
        • 1. Re: Eclipse open project wizard - OUAF SDK 4.1 install
          494883
          I did not have to modify the startEclipse.bat file at all. Also, I used the JDK that is used with the OUAF product. You don't have to install a different version of JDK for Eclipse to work. Make sure JAVA_HOME is set to the Java you installed for the OUAF product. Also, I didn't have to set up the environment variable named SPLSDK_ECLIPSE. Make sure that you do have the environment variable named SPSDKROOT. This should point to the folder when you installed the OUAF SDK. This should be the folder which contains the folder named "SDK".
          • 2. Re: Eclipse open project wizard - OUAF SDK 4.1 install
            594272
            I really don't understand. This old version of Eclipse that they recommend using with this SDK does not run on the new Java that I use for the OUAF. It will not start.

            Also, if you do not use the SPLSDK_ECLIPSE variable, how would the script know where the location of your eclipse is?

            Can I see your Eclipse.ini and StartEclipse.bat file?

            What would keep that plugin from starting? I am going insane.

            Long story short, it is not working when I point to the Java version that I use with OUAF.

            Who can I hire to help me out to get this to work? I need this working ASAP and I have no idea how to.

            Any help is really appreciated and thank you for all your advise so far.

            Edited by: LodestarGuy on Jul 9, 2011 5:06 PM
            • 3. Re: Eclipse open project wizard - OUAF SDK 4.1 install
              494883
              1. What version of Eclipse are you using? I am using Helios Service Release 1

              2. Please post contents of ENVIRON.INI.

              3. Did you remove the JDK you installed just for Eclipse to work?

              The contents of startEclipse.bat I have is as follows:
              @echo off

              rem *------------------------------------------------
              rem * Set-up the Environment
              rem *------------------------------------------------
              echo Initializing tools environment...
              if not defined TOOLSENVNAME call %SPLSDKROOT%\SDK\setsplenv.bat >nul

              set ProgName=eclipse.exe
              start %SPLSDK_ECLIPSE%\%ProgName% -vm %JAVA_HOME%\jre\bin\javaw -data %SPLSDK_ECLIPSE_WORKSPACE%

              The contents of Eclipse.ini I have is as follows:
              -startup
              plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
              --launcher.library
              plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
              -product
              org.eclipse.epp.package.java.product
              --launcher.defaultAction
              openFile
              --launcher.XXMaxPermSize
              256M
              -showsplash
              org.eclipse.platform
              --launcher.XXMaxPermSize
              256m
              --launcher.defaultAction
              openFile
              -vmargs
              -Dosgi.requiredJavaVersion=1.5
              -Xms40m
              -Xmx384m
              • 4. Re: Eclipse open project wizard - OUAF SDK 4.1 install
                594272
                Thank you for your reply.

                I did not remove the JDK, I just added another version.
                I am using the Eclipse version that is mentioned in the install guide that I should use.
                http://www.eclipse.org/downloads/packages/release/galileo/sr2

                If you suggest to try your version I will. May I ask what other steps you might have taken that I not in the install guide?

                Here is my ENVIRON.ini
                # LAST MODIFIED: 2011-07-09-1136
                # THIS IS A SYSTEM MODIFIED FILE!!!
                # DO NOT EDIT MANUALLY
                ADDITIONAL_RUNTIME_CLASSPATH=
                ADDITIONAL_STOP_WEBLOGIC=
                ADF_HOME=C:\oracle\ora112
                ANT_ADDITIONAL_OPT=
                ANT_HOME=C:\ouaf\DEMO\product\apache-ant
                ANT_OPT_MAX=800
                ANT_OPT_MIN=200
                BATCHDAEMON=false
                BATCHENABLED=false
                BATCHTHREADS=5
                BATCH_DBPASS=ENC(SP6lCJnf7A1rU32MnN9YCZ1Y4vMnvBIIVEh1YO/7NxY=)
                BATCH_DBUSER=cisadm
                BATCH_MEMORY_ADDITIONAL_OPT=
                BATCH_MEMORY_OPT_MAX=1024
                BATCH_MEMORY_OPT_MIN=512
                BATCH_MODE=DISTRIBUTED
                BATCH_RMI_PORT=6600
                BSN_APP=SPLService
                BSN_JMX_RMI_PORT_PERFORMANCE=
                BSN_JMX_SYSPASS=
                BSN_JMX_SYSUSER=
                BSN_WLHOST=MDM2008
                BSN_WLS_SVRNAME=myserver
                CHILD_JVM_JAVA_HOME=
                CHILD_JVM_PATH=
                CMPDB=oracle
                COBDIR=
                COBDIR_INPUT=
                COHERENCE_CLUSTER_ADDRESS=DEV_ADD
                COHERENCE_CLUSTER_MODE=dev
                COHERENCE_CLUSTER_NAME=DEV_CL
                COHERENCE_CLUSTER_PORT=6601
                DATABASE_HOME=C:\oracle\ora112
                DBCONNECTION=jdbc:oracle:thin:@MDM2008:1521:DEMO
                DBDRIVER=oracle.jdbc.driver.OracleDriver
                DBNAME=DEMO
                DBPASS=ENC(ogPohvqXJAup6DWK+CDeWETFqrYpPiYh4qFIy+t0gWA=)
                DBPASS_MDS=
                DBPASS_ORASDPM=
                DBPASS_OSB_WLS=
                DBPASS_SOAINFRA=
                DBPORT=1521
                DBSERVER=MDM2008
                DBURL_OSB=
                DBURL_SOA=
                DBUSER=cisadm
                DBUSER_MDS=
                DBUSER_ORASDPM=
                DBUSER_OSB=
                DBUSER_SOAINFRA=
                DB_OVERRIDE_CONNECTION=
                DESC=DEMO env
                DIALECT=org.hibernate.dialect.Oracle10gDialect
                DIRSEP=\
                DOC1BILLSCRIPT=_ccbPrint.cmd
                DOC1SCRIPT=_ccbPrintDoc.cmd
                ENCODING=true
                FW_VERSION=V4.1.0
                FW_VERSION_NUM=4.1.0
                GIS=true
                GIS_URL=
                GIS_WLSYSPASS=
                GIS_WLSYSUSER=
                HIBERNATE_JAR_DIR=C:\spl\hibernate3.3.2
                HIGHVALUE=\uF8FF
                JAVAENCODING=UTF8
                JAVA_HOME=C:\spl\jdk1.6.0_26
                JNDI_OSB=wlsbjmsrpDataSource
                JVMCOMMAND=C:/ouaf/DEMO/bin/splcobjrun.cmd
                JVMMEMORYARG=512
                JVM_ADDITIONAL_OPT=
                MODULES=base,d1,d2,cm
                MPLADMINPORT=6502
                MPLSTART=false
                MPL_DBPASS=ENC(JIQRvspFjaXM+/WVJS9GI4QSOyVe6+H63vZehYXygzc=)
                MPL_DBUSER=cisadm
                NLS_LANG=AMERICAN_AMERICA.AL32UTF8
                OIM_SPML_NAME_SPACE=http://xmlns.oracle.com/OIM/provisioning
                OIM_SPML_SOAP_DEBUG_SETTING=false
                OIM_SPML_SOAP_ELEMENT=sOAPElement
                OIM_SPML_UBER_SCHEMA_NAME=F1-IDMUser
                ONLINE_DISPLAY_HOME=
                ONSCONFIG=
                ONS_JAR_DIR=
                OPEN_SPML_ENABLED_ENV=false
                OPSYS=win64
                ORACLE_CLIENT_HOME=C:\oracle\ora112client
                ORACLE_HOME=C:\oracle\ora112
                OSB_HOME=
                OSB_HOST=MDM2008
                OSB_LOG_DIR=/spl/sploutput/osb
                OSB_PASS_WLS=
                OSB_PORT_NUMBER=
                OSB_USER=
                PERL_HOME=C:\oracle\ora112client\perl
                RJVM=false
                SOA_HOME=
                SOA_HOST=MDM2008
                SOA_PORT_NUMBER=
                SPLADMIN=Administrator
                SPLADMINGROUP=cisgrp
                SPLApp=SPLApp.war
                SPLDIR=C:\ouaf
                SPLDIROUT=c:\ouaf\sploutput
                SPLEBASE=C:\ouaf\DEMO
                SPLENVIRON=DEMO
                SPLOUTPUT=C:\ouaf\sploutput\DEMO
                SPLSERVICEAPP=SPLService
                SPLWAS=WLS
                SPLWEBAPP=SPLWeb
                STRIP_HTML_COMMENTS=false
                TOP_VERSION=V2.0.1
                TOP_VERSION_NUM=2.0.1
                WEB_ADDITIONAL_OPT=
                WEB_APP=SPLWeb
                WEB_CONTEXT_ROOT=ouaf
                WEB_FORM_LOGIN_ERROR_PAGE=/formLoginError.jsp
                WEB_FORM_LOGIN_PAGE=/loginPage.jsp
                WEB_ISAPPVIEWER=true
                WEB_ISDEVELOPMENT=false
                WEB_ISEXPANDED=true
                WEB_JMX_RMI_PORT_PERFORMANCE=
                WEB_MAXAGE=28800
                WEB_MAXAGEI=28800
                WEB_MEMORY_OPT_MAX=1024
                WEB_MEMORY_OPT_MAXPERMSIZE=300
                WEB_MEMORY_OPT_MIN=1024
                WEB_PRELOADALL=false
                WEB_PRINCIPAL_NAME=cisusers
                WEB_ROLE_NAME=cisusers
                WEB_SERVER_HOME=C:\oracle\wlserver_10.3
                WEB_SPLPASS=ENC(nKmtsqF60GbiM50OoQt1T2vuhZY89tIDrytnZ7RAaLE=)
                WEB_SPLUSER=sysuser
                WEB_WLAUTHMETHOD=FORM
                WEB_WLHOST=MDM2008
                WEB_WLPAGECHECKSECONDS=43200
                WEB_WLPORT=6500
                WEB_WLSSLPORT=
                WEB_WLSYSPASS=ENC(BJWbp4JQs5VFnc9DHM1zoLp15wjn44JmfCMYHoNXUrE=)
                WEB_WLSYSUSER=sysuser
                WEB_WLS_SVRNAME=myserver
                WLS_ADMIN_PORT=
                WLS_WEB_WLSYSPASS={3DES}gEa2D33Ly9O+cgXvZgy3Ug==
                WLS_WEB_WLSYSUSER={3DES}ip2hoc3F8k4=
                WL_HOME=C:\oracle\wlserver_10.3
                XAIApp=XAIApp.war
                XAI_DBPASS=ENC(AAfsXjyhFabZ5Hpt8Jt44SCZX2sRliKWh8FiMjTx18E=)
                XAI_DBUSER=cisadm
                appViewer=appViewer.war
                help=help.war
                • 5. Re: Eclipse open project wizard - OUAF SDK 4.1 install
                  494883
                  Do you get the error when you try to open Eclipse? Or when you try to import a OUAF project? It seems like you have done everything the way it's described in the Install guide. I have installed the SDK a few times and have never had any issues. This version is much more of a smoother process in the sense lot of the installation is automated. Make sure the JAVA_HOME environment variable is pointing to the SDK used by the OUAF product.
                  • 6. Re: Eclipse open project wizard - OUAF SDK 4.1 install
                    594272
                    I took your advice last night and downloaded a different version of Eclipse. I also got the newest Java and now everything is working fine.
                    Thank you very much for all your advice, without you I would NOT have made it.

                    Now that I have everything setup, could you please point me to the next step? Maybe a sample program that I can create that can be called from the UI?
                    Id there any documentation maybe that has some sample so I can start getting a hang of all this new stuff.

                    I have been doing all the MDM 1.6 and lower implementations until now, so this is really all new to me. I hope you understand.
                    • 7. Re: Eclipse open project wizard - OUAF SDK 4.1 install
                      494883
                      I have only worked on FW and ETM/ETPM. I haven't worked with MDM. But I don't think there would be too much difference in how you would write custom code to customize the product for client needs. See the "help" folder under SDK\4.0.0.5 to get you started on writing custom code for any OUAF based product. Hope this helps and gets you started. Good luck!
                      • 8. Re: Eclipse open project wizard - OUAF SDK 4.1 install
                        594272
                        Thank you Shree.

                        I am not getting too far with that help file. Can't find any sample that call a simple Java class from the UI.
                        Do you happen to know what documentation that would be in?