Community
Participate
Working Groups
Build ID: agntctrl.win_ia32-TPTP-4.3.1.zip Steps To Reproduce: 0. I'm on Windows XP with Jrockit 1.5.0_10 1. I've installed agntctrl.win_ia32-TPTP-4.3.1.zip according to the provided documentation 2. Set up Agent Controller by running SetConfig.bat 3. Run ACServer.exe, I get the following error : "Error starting transport layers, Agent controller exiting. See servicelog.log for error report." 4. In the servicelog.log I've a strange execution environnement like that : D:\cygwin\home\build... and I don't have this path neither on my computer, neither in the configuration file ! More information: Hereunder is what I have in : - servicelog.log : <CommonBaseEvent creationTime="2007-05-30T12:45:49.522000Z" globalInstanceId="AE46F9257AF740AE9D7A1D9373EC4E9E" msg="Couldn't load JVM library jvm.dll" severity="30" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.2\TPTP-4.2.2-200701291553\agntctrl\src\transport\TPTPClientCompTL\java.c, line 77" instanceId="1004" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3816" subComponent="Client Compatibility TL" threadId="2640" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T12:45:49.538000Z" globalInstanceId="A028625FE0D5441BAB76109141AF0426" msg="Cannot create JVM and therefore cannot create file server" severity="30" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.2\TPTP-4.2.2-200701291553\agntctrl\src\transport\TPTPClientCompTL\ClientCTL.c, line 244" instanceId="1004" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3816" subComponent="Client Compatibility TL" threadId="2640" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T12:45:49.554000Z" globalInstanceId="AA66447DFA874AA7B07B6590E601BB59" msg="Received command for unrecognized interface: iid=org.eclipse.tptp.eventProvider, cmd=listenerAccepted" severity="50" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.2\TPTP-4.2.2-200701291553\agntctrl\src\transport\TPTPClientCompTL\Connect2AC.c, line 2199" instanceId="1004" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3816" subComponent="Client Compatibility TL" threadId="2640" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T12:45:49.554000Z" globalInstanceId="ADAE995309B7432F984CF64AE28EC50D" msg="ERROR: Cannot start Agent Controller. " severity="55" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.2\TPTP-4.2.2-200701291553\agntctrl\src\transport\TPTPAgentCompTL\AgentCTL.c, line 296" instanceId="1005" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3816" subComponent="Agent Compatibility TL" threadId="2640" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T12:45:49.554000Z" globalInstanceId="AA9FCD23E4EA4ED7844C14BFF7265A85" msg="REASON: Cannot open named pipe ramaster. Make sure the named pipe is free and no other Agent Controller is running or any LOCAL direct connections exist." severity="55" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.2\TPTP-4.2.2-200701291553\agntctrl\src\transport\TPTPAgentCompTL\AgentCTL.c, line 297" instanceId="1005" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3816" subComponent="Agent Compatibility TL" threadId="2640" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T12:45:49.554000Z" globalInstanceId="A5A8C2863B154621B784301D2E5D3111" msg="An error was returned from TransportLayer(1005)::startTransportLayer errNum = -1" severity="50" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.2.2\TPTP-4.2.2-200701291553\agntctrl\src\agentController\ConnectionManager.c, line 263" instanceId="2" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3816" subComponent="Connection Manager" threadId="2640" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> - serviceconfig.xml <?xml version="1.0" encoding="UTF-8"?> <AgentControllerConfiguration> <AgentControllerEnvironment configuration="default"> <Variable name="JAVA_PATH" position="replace" value="D:\java\jrockit1.5.0_10\bin\java.exe"/> <Variable name="RASERVER_HOME" position="replace" value="D:\java\agentctrl"/> <Variable name="TPTP_AC_HOME" position="replace" value="%RASERVER_HOME%"/> <Variable name="PLUGINS_HOME" position="replace" value="%RASERVER_HOME%\plugins"/> <Variable name="PATH" position="prepend" value="%RASERVER_HOME%\bin"/> <Variable name="SYS_TEMP_DIR" position="replace" value="d:\DOCUME~1\MOGHRA~1\LOCALS~1\Temp"/> <Variable name="LOCAL_AGENT_TEMP_DIR" position="replace" value="%SYS_TEMP_DIR%"/> <Variable name="CLASSPATH_ORG_APACHE_COMMONS_LOGGING" position="append" value="D:\java\agentctrl\plugins\org.apache.commons_logging_1.0.4.v200606131651\lib\commons-logging-1.0.4.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_CORE_COMMANDS" position="append" value="D:\java\agentctrl\plugins\org.eclipse.core.commands_3.2.0.I20060605-1400.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_CORE_RUNTIME" position="append" value="D:\java\agentctrl\plugins\org.eclipse.core.runtime_3.2.0.v20060603.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_EQUINOX_COMMON" position="append" value="D:\java\agentctrl\plugins\org.eclipse.equinox.common_3.2.0.v20060603.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_OSGI" position="append" value="D:\java\agentctrl\plugins\org.eclipse.osgi_3.2.2.R32x_v20070118.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_EMF_COMMON" position="append" value="D:\java\agentctrl\plugins\org.eclipse.emf.common_2.2.1.v200702131851.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE" position="append" value="D:\java\agentctrl\plugins\org.eclipse.emf.ecore.xmi_2.2.2.v200702131851.jar;D:\java\agentctrl\plugins\org.eclipse.emf.ecore_2.2.2.v200702131851.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE_XMI" position="append" value="D:\java\agentctrl\plugins\org.eclipse.emf.ecore.xmi_2.2.2.v200702131851.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_JFACE" position="append" value="D:\java\agentctrl\plugins\org.eclipse.jface_3.2.2.M20061214-1200.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_SWT" position="append" value="D:\java\agentctrl\plugins\swt.jar"/> <Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS" position="append" value="D:\java\agentctrl\plugins\org.eclipse.tptp.platform.models_4.2.100.v200611140100\fastxpath.jar;D:\java\agentctrl\plugins\org.eclipse.tptp.platform.models_4.2.100.v200611140100\tptp-models.jar"/> <Variable name="CLASSPATH_ORG_JUNIT" position="append" value="D:\java\agentctrl\plugins\org.junit_3.8.1\junit.jar"/> <Variable name="CLASSPATH_COM_IBM_ICU" position="append" value="D:\java\agentctrl\plugins\com.ibm.icu_3.4.5.20061213.jar"/> <Variable name="CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING" position="append" value="%CLASSPATH_ORG_APACHE_COMMONS_LOGGING%"/> <Variable name="CLASSPATH" position="append" value="D:\java\agentctrl\plugins\org.eclipse.core.runtime_3.2.0.v20060603.jar"/> <Variable name="CLASSPATH" position="append" value="D:\java\agentctrl\plugins\org.eclipse.equinox.common_3.2.0.v20060603.jar"/> <Variable name="CLASSPATH" position="append" value="D:\java\agentctrl\plugins\org.eclipse.osgi_3.2.2.R32x_v20070118.jar"/> </AgentControllerEnvironment> <ApplicationAliases> <Application configuration="default" executable="java.exe" location="%SYS_TEMP_DIR%" path="%JAVA_PATH%"> <Variable name="CLASSPATH" position="append" value="%CLASSPATH_ORG_ECLIPSE_EQUINOX_COMMON%"/> <Variable name="PATH" position="prepend" value="%RASERVER_HOME%\bin"/> </Application> </ApplicationAliases> <Plugin path="%PLUGINS_HOME%"/> <Agent path="%TPTP_AC_HOME%\agents"/> <Logging directory="%TPTP_AC_HOME%\config" format="CBE" level="INFORMATION"/> <ProcessController>%TPTP_AC_HOME%\bin\tptpProcessController.exe</ProcessController> <Connection name="Dev"> <TransportLayer loadlib="socketTL" type="TPTP_SOCKET"> <Configuration> <Port>10006</Port> </Configuration> <CommandExtractor>tptpCmdExtr</CommandExtractor> </TransportLayer> <TransportLayer loadlib="namedPipeTL" type="TPTP_LOG"> <Configuration> <PipeName>acmasterlog</PipeName> </Configuration> <CommandExtractor>tptpCmdExtr</CommandExtractor> </TransportLayer> <TransportLayer loadlib="namedPipeTL" type="TPTP_NAMEDPIPE"> <Configuration> <PipeName>acmaster</PipeName> </Configuration> <CommandExtractor>tptpCmdExtr</CommandExtractor> </TransportLayer> <TransportLayer loadlib="sharedMemTL" type="TPTP_SHAREDMEM"> <Configuration> <MemName>acbuffer</MemName> </Configuration> <CommandExtractor>tptpCmdExtr</CommandExtractor> </TransportLayer> <TransportLayer loadlib="tptpCCTL" type="TPTP_CCTL"> <Configuration> <Port>10002</Port> <SecuredPort>10003</SecuredPort> <FilePort>10005</FilePort> <IsDataMultiplexed>false</IsDataMultiplexed> <ProcessPolling>true</ProcessPolling> <Jvm>jvm.dll</Jvm> <Version>4.3.1</Version> <SecurityEnabled>false</SecurityEnabled> <Hosts configuration="default"> <Allow host="ALL"/> </Hosts> </Configuration> <CommandExtractor>tptpCmdExtr</CommandExtractor> </TransportLayer> <TransportLayer loadlib="tptpACTL" type="TPTP_ACTL"> <Configuration/> <CommandExtractor>tptpCmdExtr</CommandExtractor> </TransportLayer> </Connection> <PeerConnectionTransport>TPTP_CCTL</PeerConnectionTransport> </AgentControllerConfiguration>
Hi. Can you edit the following: <Jvm>jvm.dll</Jvm> To point to the fully qualified path of "jvm.dll" under "D:\java\jrockit1.5.0_10"? For example, using Sun JVM it should look like: <Jvm>D:\jdk1.5.0_09\jre\bin\server\jvm.dll</Jvm> The reason is that the config generator is not capable of handling JRockit JREs at the 4.3.1 release. This has been fixed in 4.4.
I've tested AgentController 4.4. Now when I launch SetConfgig.exe the jvm property is set properly to : <Jvm>D:\java\jrockit1.5.0_10\jre\bin\jrockit\jvm.dll</Jvm> But I still have the same issue. In the log I get this : <CommonBaseEvent creationTime="2007-05-30T13:51:13.698000Z" globalInstanceId="AC85F16D1BFE4EFBB39364E6032CE476" msg="Received command for unrecognized interface: iid=org.eclipse.tptp.eventProvider, cmd=listenerAccepted" severity="50" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.4.0\TPTP-4.4.0-200705080103\agntctrl\src\transport\TPTPClientCompTL\Connect2AC.c, line 2200" instanceId="1004" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3408" subComponent="Client Compatibility TL" threadId="3192" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T13:51:13.714000Z" globalInstanceId="A9A003788A494015A18B5FC8832EF611" msg="ERROR: Cannot start Agent Controller. " severity="55" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.4.0\TPTP-4.4.0-200705080103\agntctrl\src\transport\TPTPAgentCompTL\AgentCTL.c, line 296" instanceId="1005" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3408" subComponent="Agent Compatibility TL" threadId="3192" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T13:51:13.714000Z" globalInstanceId="A0EE19C006F74104970B9C4A40F6E214" msg="REASON: Cannot open named pipe ramaster. Make sure the named pipe is free and no other Agent Controller is running or any LOCAL direct connections exist." severity="55" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.4.0\TPTP-4.4.0-200705080103\agntctrl\src\transport\TPTPAgentCompTL\AgentCTL.c, line 297" instanceId="1005" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3408" subComponent="Agent Compatibility TL" threadId="3192" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> <CommonBaseEvent creationTime="2007-05-30T13:51:13.714000Z" globalInstanceId="A81CF155CCD34C00987878BF16863572" msg="An error was returned from TransportLayer(1005)::startTransportLayer errNum = -1" severity="50" version="1.0.1"> <sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="D:\cygwin\home\build\TPTP\4.4.0\TPTP-4.4.0-200705080103\agntctrl\src\agentController\ConnectionManager.c, line 263" instanceId="2" location="FX-161826.ge-admin.ad.etat-ge.ch" locationType="IPV4" processId="3408" subComponent="Connection Manager" threadId="3192" componentType="Eclipse_TPTP"/> <situation categoryName="ReportSituation"> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> The path "D:\cygwin\home\build\TPTP\4.4.0..." is amazing since I don't have this directories !
From the log it seems that there is another Agent Controller running: "REASON: Cannot open named pipe ramaster. Make sure the named pipe is free and no other Agent Controller is running or any LOCAL direct connections exist." Is it possible that there is one running as a Windows system service? Or may it be the Integrated Agent Controller (IAC, which is part of the Eclipse workbench) still running? You can do the following to make sure: 1. Open Windows service manager and check if there is an AC running. Stop it if it is. 2. Shutdown the Eclipse workbench to make sure the IAC is not running. 3. Try starting the AC again. Hope this helps.
Hi. I am testing the TPTP-4.4.0-200705310943 AC driver with BEA JRockit 1.5.0_10. I can start the AC successfully and profiled a Java application. Can you download the latest AC 4.4 driver and see if the problem still persist? Also make sure there is no other AC running on the system since the attached log indicates such a possibility.
Cannot reproduce using TPTP-4.4.0-200705310943 AC driver with BEA JRockit 1.5.0_10.
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.