8 Replies Latest reply: Feb 10, 2011 8:06 PM by 838774 RSS

    Standalone Update 2 with Windows 7

    571331
      I am wondering if someone has been able to run standalone jde on windows 7? I am having security server problems. I wonder if anybody has been able to fix it? Thanks

      Edited by: stuntman2 on Feb 11, 2010 9:45 PM
        • 1. Re: Standalone Update 2 with Windows 7
          nomoremassacre
          here are some examples of the logs if that helps

          320/5316 UNKNOWN      Sat Feb 13 23:41:00.736005     jdeksec.c768
               INITIALIZING SECURITY SERVER KERNEL

          4320/5316 UNKNOWN      Sat Feb 13 23:41:00.768004     Netpub.c975
               JDENet already initialized

          4320/5316 UNKNOWN      Sat Feb 13 23:41:00.768007     Jdb_ctl.c2890
               Net init failed or not initialized

          4320/5316 UNKNOWN      Sat Feb 13 23:41:00.851014     Odbc_u1.c901
               ODB0000163 - wSQLNumResultCols failure. rc=-1

          4320/5316 UNKNOWN      Sat Feb 13 23:41:00.851016     Odbc_u1.c901
               ODB0000164 - STMT:00 [42S02][208] [Microsoft][SQL Native Client][SQL Server]Invalid object name 'SPEC_MASTER.DBO.F98740MASTER'.

          DEBUG.LOG

          Feb 13 23:41:00.814124 - 4320/5316 UNKNOWN      Entering JDB_OpenTable(Table = F98611)
          Feb 13 23:41:00.814125 - 4320/5316 UNKNOWN      Exiting JDB_OpenTable(Table = F98611) with Success
          Feb 13 23:41:00.814126 - 4320/5316 UNKNOWN      Entering JDB_SelectKeyed
          Feb 13 23:41:00.814127 - 4320/5316 UNKNOWN      ODBC[Jdbodbc.c,4652] wSQLCloseCursor - warning: invalid cursor state failure. rc = -1
          Feb 13 23:41:00.814128 - 4320/5316 UNKNOWN      ODBC[Jdbodbc.c,4652] STMT:00 [24000][0] [Microsoft][SQL Native Client]Invalid cursor state
          Feb 13 23:41:00.814129 - 4320/5316 UNKNOWN      ODBC:X DBResetRequest req=070B1E20 con=0706CBC8 env=00498F50 dbc=04CB09F8 spid=51 XXXXX A (JDE@EnterpriseOne SSELocal)
          Feb 13 23:41:00.814130 - 4320/5316 UNKNOWN      SELECT * FROM JDESY.dbo.F98611 WHERE ( OMDATP = 'System Local ' ) ORDER BY OMDATP ASC
          Feb 13 23:41:00.814131 - 4320/5316 UNKNOWN      Entering DBPerformRequest
          Feb
          • 2. Re: Standalone Update 2 with Windows 7
            Jeff Stevenson
            From the text of the log it appears that at least one table, SPEC_MASTER.DBO.F98740MASTER, may not have been properly created during the installation.

            Be sure to run the install as a local admin and try running it with the "run as administrator" option.
            • 3. Re: Standalone Update 2 with Windows 7
              571331
              Thanks Jeff I was able to login and run the address book from the fast path on the fat client. I had to copy spec_master from another computer that worked. However, the webserver is taking forever to start.

              LOCALWEB_JDEDEBUG.LOG

              Localweb debug log file is initialized
              Feb 14 21:18:56.812 - 5308/5312     Http send request failed. Web application server may not be up
              Feb 14 21:19:57.605 - 5308/5312     Failed to open registry key for Internet Explorer. We are probably running Vista or higher Microsoft OS verion that does not have registry key for Internet Explorer
              Feb 14 21:19:57.606 - 5308/5312     Trying to launch Internet Explorer with the Internet Explorer path set to iexplore.exe
              Feb 14 21:20:18.788 - 5308/5312     Http send request failed. Web application server may not be up
              Feb 14 21:20:18.790 - 5308/5312     web application server is signaled to start.
              Feb 14 21:20:59.854 - 5308/5312     Http send request failed. Web application server may not be up
              Feb 14 21:21:23.862 - 5308/5312     Http send request failed. Web application server may not be up
              Feb 14 21:21:47.871 - 5308/5312     Http send request failed. Web application server may not be up

              also some fails in jdedebug

              Feb 14 21:18:28.908004 - 5308/5312 MAIN_THREAD      Entering JDB_OpenTable(Table = F98611)
              Feb 14 21:18:28.908005 - 5308/5312 MAIN_THREAD      Exiting JDB_OpenTable(Table = F98611) with Success
              Feb 14 21:18:28.908006 - 5308/5312 MAIN_THREAD      Entering JDB_SelectKeyed
              *Feb 14 21:18:28.908007 - 5308/5312 MAIN_THREAD                            ODBC[Jdbodbc.c,4652] wSQLCloseCursor - warning: invalid cursor state failure. rc = -1*

              *Feb 14 21:18:28.908008 - 5308/5312 MAIN_THREAD                            ODBC[Jdbodbc.c,4652] STMT:00 [24000][0] [Microsoft][SQL Native Client]Invalid cursor state*
              Feb 14 21:18:28.908009 - 5308/5312 MAIN_THREAD      ODBC:X DBResetRequest req=0C2E00C0 con=0C2EBC60 env=02808F28 dbc=04051498 spid=52 PC A (JDE@EnterpriseOne SSELocal)
              Fe

              Edited by: stuntman2 on Feb 14, 2010 7:27 PM

              Edited by: stuntman2 on Feb 14, 2010 9:25 PM
              • 4. Re: Standalone Update 2 with Windows 7
                nomoremassacre
                When trying to run oc4jstart.bat manually i get these messages


                C:\E900\system\OC4J>Startoc4j.bat

                C:\E900\system\OC4J>pushd C:\E900\system\OC4J\

                C:\E900\system\OC4J>call setenv.bat

                C:\E900\system\OC4J># Setting the environment so to find the drivers
                '#' is not recognized as an internal or external command,
                operable program or batch file.

                C:\E900\system\OC4J>SET LIBP=C:\E900\system\OC4J\..\..\MISC

                C:\E900\system\OC4J>SET CP=

                C:\E900\system\OC4J>for %i in ("C:\E900\system\OC4J\..\..\MISC\*.jar") do call setcp.bat %i

                C:\E900\system\OC4J>call setcp.bat C:\E900\system\OC4J\..\..\MISC\sqljdbc.jar

                C:\E900\system\OC4J>set _CLASSPATHCOMPONENT=C:\E900\system\OC4J\..\..\MISC\sqljdbc.jar

                C:\E900\system\OC4J>if a == a goto gotAllArgs

                C:\E900\system\OC4J>set CP=C:\E900\system\OC4J\..\..\MISC\sqljdbc.jar;

                C:\E900\system\OC4J>popd

                C:\E900\system\OC4J>pushd C:\E900\system\OC4J\j2ee\home

                C:\E900\system\OC4J\j2ee\home>set PATH=C:\E900\system\OC4J\..\JDK\bin;C:\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsP
                owerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\E
                900\system\bin32;C:\E900\DEMO\bin32;c:\Program Files\Microsoft SQL Server\90\Tools\binn\

                C:\E900\system\OC4J\j2ee\home>start "OC4J H4A" /B "..\..\..\JDK\bin\java" "-Dhttp.proxyHost=" "-Dhttp.proxyPort=" "-Dhttp.proxySet=" -Dhttp.nonProxyHosts= "-D
                https.proxyHost=" "-Dhttps.proxyPort=" "-Dhttps.proxySet=" -Dhttps.nonProxyHosts= "-Xbootclasspath/p:C:\E900\system\OC4J\..\..\MISC\sqljdbc.jar;" "-jar" "oc4
                j.jar"

                C:\E900\system\OC4J\j2ee\home>popd

                C:\E900\system\OC4J>2010-02-15 01:15:40.331 ERROR ServerFile[PersistentMap,/C:/E900/system/OC4J/j2ee/home/persistence/jms.state]: persistence file could not b
                e locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both p
                rocesses.
                10/02/15 01:15:40 *** (SEVERE) ServerFile[PersistentMap,/C:/E900/system/OC4J/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve
                the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
                2010-02-15 01:15:40.336 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/C:/E900/system/OC4J/j2ee/home/con
                fig/jms.xml]
                10/02/15 01:15:40 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/C:/E900/system/OC4J/j2ee/home/co
                nfig/jms.xml]
                2010-02-15 01:15:40.339 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServer
                Config[file:/C:/E900/system/OC4J/j2ee/home/config/jms.xml]
                2010-02-15 01:15:40.398 ERROR J2EE RMI-00002 Error starting ORMI server PC port 23,791: Address already in use: JVM_Bind
                2010-02-15 01:15:40.399 ERROR java.net.BindException: Address already in use: JVM_Bind
                at java.net.PlainSocketImpl.socketBind(Native Method)
                at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
                at java.net.ServerSocket.bind(ServerSocket.java:319)
                at java.net.ServerSocket.<init>(ServerSocket.java:185)
                at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:442)
                at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:356)
                at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:219)
                at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2401)
                at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:994)
                at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
                at java.lang.Thread.run(Thread.java:595)

                *10/02/15 01:15:40 Error starting ORMI server PC port 23,791: Address already in use: JVM_Bind*

                Edited by: stuntman on Feb 14, 2010 10:24 PM
                • 5. Re: Standalone Update 2 with Windows 7
                  Jeff Stevenson
                  You can safely ignore any cursor errors in the logs.
                  • 6. Re: Standalone Update 2 with Windows 7
                    Jeff Stevenson
                    This and this seem to indicate that the process is already started:

                    10/02/15 01:15:40 *** (SEVERE) ServerFile[PersistentMap,/C:/E900/system/OC4J/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve
                    the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.

                    10/02/15 01:15:40 Error starting ORMI server PC port 23,791: Address already in use: JVM_Bind
                    • 7. Re: Standalone Update 2 with Windows 7
                      nomoremassacre
                      I tried to restart the pc and run it again I get the same error message. Looks like problem with port 9876 but i dont know where to change it.

                      debug.log
                      Exiting JDB_CloseTable with Success
                      Feb 17 19:39:10.136016 - 848/5792 FOREIGN_THREAD      Entering JDB_FreeUser (UserHandle 0E9B3370)
                      Feb 17 19:39:10.136017 - 848/5792 FOREIGN_THREAD      Exiting JDB_FreeUser with Success(UserHandle 0E9B3370)
                      Feb 17 19:39:27.877000 - 848/3764 MAIN_THREAD      SE: Starting ERD Engine
                      Feb 17 19:39:28.895000 - 848/3224 FOREIGN_THREAD      CBPMSocket::Connect(localhost, 9876) failed
                      Feb 17 19:39:31.001000 - 848/3224 FOREIGN_THREAD      CBPMConnector::doConnect connected after 2 seconds.
                      Feb 17 19:39:31.085000 - 848/3764 MAIN_THREAD      Proxy.init(BrokerModule) succeeded
                      Feb 17 19:39:31.085001 - 848/3764 MAIN_THREAD      Attempting Invoke(getServiceInstances, BrokerService)
                      Feb 17 19:39:31.087000 - 848/3764 MAIN_THREAD      CBPMConnector::put_OutputQueue connected
                      Feb 17 19:40:21.089000 - 848/3764 MAIN_THREAD      Invoke(getServiceInstances, BrokerService) failed:
                      Feb 17 19:40:21.089001 - 848/3764 MAIN_THREAD      SE: Started the ERD Engine
                      Feb 17 19:40:21.091000 - 848/3764 MAIN_THREAD      SE: CConsoleApp::startOCME1Config - CCR Scheduler Service Oraclec_... not present. Start cancelled.
                      Feb 17 19:41:11.452000 - 848/4084 FOREIGN_THREAD      CBPMSocket::Read TSocketException
                      jde.log
                      Localweb log file is initialized
                      848/3764     Wed Feb 17 19:50:00.330          JDELocalweb.cpp548
                           Can not start Web Server. Check web error log for errors

                      jderoot.log
                      17 Feb 2010 19:41:11,436 [SEVERE] - [4608][BPM] Fail to start the broker:com.jdedwards.bpm.broker.BrokerException: Unable to create the Broker Service:com.jdedwards.bpm.connector.ConnectorException: Failed to connect the broker at localhost:9876 com.jdedwards.bpm.broker.BrokerException: Unable to create the Broker Service:com.jdedwards.bpm.connector.ConnectorException: Failed to connect the broker at localhost:9876
                      com.jdedwards.bpm.broker.BrokerException: Unable to create the Broker Service:com.jdedwards.bpm.connector.ConnectorException: Failed to connect the broker at localhost:9876
                           at com.jdedwards.bpm.broker.BrokerService.<init>(Unknown Source)
                           at com.jdedwards.bpm.broker.BPMBroker.launchBrokerService(Unknown Source)
                           at com.jdedwards.bpm.broker.BPMBroker.start(Unknown Source)
                           at com.jdedwards.bpm.broker.BPMBroker.main(Unknown Source)
                      jms.log
                      10/02/17 19:22:40.259 10.1.3.2.0 Started
                      10/02/17 19:25:43.585 10.1.3.2.0 Started
                      10/02/17 19:27:12.302 10.1.3.2.0 Started
                      10/02/17 19:27:13.69 10.1.3.2.0 Stopped (JVM termination)
                      10/02/17 19:39:30.705 10.1.3.2.0 Started
                      10/02/17 19:41:00.273 10.1.3.2.0 Started
                      10/02/17 19:41:01.49 10.1.3.2.0 Stopped (JVM termination)
                      • 8. Re: Standalone Update 2 with Windows 7
                        838774
                        Im having the same issue.
                        Get the menus fine. But then when trying to open the application get page wont display and http 500 error.

                        See the following in the diagnostic log

                        java.lang.InstantiationException: ServerFile[PersistentMap,/C:/E900/system/OC4J/j2ee/home/persistence/jms.state]: persistence file could
                        not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence
                        directory for one or both processes

                        I installed DEMO on virtual XP