Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Appendix C Troubleshooting : Running adpsft8.exe failed

Running adpsft8.exe failed
Symptom 1
When I run adpsft8.exe from a command prompt it returned an error stating "connection <n>.dat failed" as follows:
  com.tibco.sdk.MException: Operation error: connection myRepo.dat
  failed.
     at com.tibco.sdk.properties.MRepoPropertiesRegistry.<init>
     (MRepoPropertiesRegistry.java:100)
     at com.tibco.sdk.properties.MRepoPropertiesRegistry.<init>
     (MRepoPropertiesRegistry.java:51)
     at com.tibco.sdk.MApp.connectToRepo(MApp.java:363)
     at com.tibco.sdk.MDefaultApp.start(MDefaultApp.java:242)
     at com.tibco.sdk.MApp.start(MApp.java:191)
     at com.tibco.adapter.ps.PS8Adapter.main(PS8Adapter.java:37)
  Caught MException in PS8Adapter::main().
Probable Cause
The connection to the specified repository failed because the adapter could not locate the repository.
Solution
If you specified a remote repository for the tibco.repourl property in the .tra file make sure the applicable repository server is up. If you specified a local repository file in the <repositoryInstance> parameter, make sure the path is correct and the file is not corrupted.
Symptom 2
When I run adpsft8.exe from a command prompt it returned an error stating "transport is null" as follows:
  2001 Sep 20 17:16:23:922 ps8Adapter.inst Error [Adapter]   AEPS8-4001028 Stack Trace java.lang.IllegalArgumentException:   transport is null
     at com.tibco.tibrv.TibrvListener.init(TibrvListener.java:67)
     at om.tibco.tibrv.TibrvListener.<init>(TibrvListener.java:58)
     at com.tibco.tibrv.TibrvCmListener.<init>
     (TibrvCmListener.java:37)
     at com.tibco.sdk.events.pubsub.MRvcmSubscriber.listen
     (MRvcmSubscriber.java:173)
     at com.tibco.sdk.events.pubsub.MRvSubscriber.activate
     (MRvSubscriber.java:125)
     at com.tibco.sdk.events.MSubscriber.activate
     (MSubscriber.java:239)
     at com.tibco.sdk.internal.MStartup.activateComponent
     (MStartup.java:148)
     at com.tibco.sdk.MDefaultApp.activateComponents
     (MDefaultApp.java:557)
     at com.tibco.sdk.MDefaultApp.start(MDefaultApp.java:366)
     at com.tibco.sdk.MApp.start(MApp.java:191)
     at com.tibco.adapter.ps.PS8Adapter.main(PS8Adapter.java:37)
Probable Cause
The adapter failed during initialization when it was trying to set up the RVCM transport. The failure occurred because the adapter was not able to create a ledger. This happens when another adapter configuration is running and has already locked a ledger file with the same name.
Solution
If you did not intend to have more than one adapter configuration running concurrently:
1.
2.
3.
4.
If you do want to have more than one adapter configuration running concurrently, run the adapter configuration in another directory. For example, create a subdirectory under TIBCO_HOME\adapter\adpsft8\version_number\bin and call it myInstance. Copy adpsft8.exe and adpsft8.tra files. Modify the property application .args to reflect the correct path of the .tra file.
adpsft8.bat to TIBCO_HOME\adapter\adpsft8\version_number\bin\myInstance and run the adapter from that location.
Symptom 3
When I run adpsft8.exe from a command prompt it returned an error stating "Failed to Connect to Appserver with Following Parameters" as follows:
  2001 Sep 20 17:48:33:571 ps8Adapter.inst Info [Application]   AEPS8-4003002 Connecting to Application Server..
  Jolt Session Pool cannot provide a connection to the appsever.   This appears to be because there is no available application   server domain.
  Jolt Session Pool cannot provide a connection to the appsever.   This appears to be because there is no available application   server domain.
  [Thu Sep 20 17:48:36 PDT 2001] bea.jolt.ServiceException: Invalid   Session
  Application Server last connected
  2001 Sep 20 17:48:36:856 ps8Adapter.inst Error [Adapter]   AEPS8-4001028 Stack Trace com.tibco.sdk.MException: Failed to   Connect to Appserver with Following Parameters stan-dt:9050,   OprID VP1
     at com.tibco.adapter.ps.AdapterException.<init>
     (AdapterException.java:24)
     at com.tibco.adapter.ps.ComponentInterfaceAgent.<init>
     (ComponentInterfaceAgent.java:121)
     at com.tibco.adapter.ps.ComponentInterfaceAgent.getCIA
     (ComponentInterfaceAgent.java:69)
     at com.tibco.adapter.ps.JAdapterCore.onInitialization
     (JAdapterCore.java:105)
     at com.tibco.sdk.MDefaultApp.onInitialization
     (MDefaultApp.java:528)
     at com.tibco.sdk.MDefaultApp.start(MDefaultApp.java:346)
     at com.tibco.sdk.MApp.start(MApp.java:191)
     at com.tibco.adapter.ps.PS8Adapter.main(PS8Adapter.java:37)
     2001 Sep 20 17:48:36:936 ps8Adapter.inst Error [Application]      AEPS8-4001036 Caught MException in PS8Adapter::main().
Probable Cause
The system is unable to locate a PeopleSoft Application Server domain. Either the application server is down or the TIBCO Repository stored an invalid application server host name and/or port number.
Solution
Double-check all the connection parameters (operator ID, password, application server name, and port number) in the repository. Verify that the database is up by login 2 tier using a PeopleSoft client. Verify that the application server is up and that the JSL process is alive and the JSL port matches the one stored in the repository.
Symptom 4
When I run adpsft8.exe from a command prompt it returned an error stating "Failed to Connect to Appserver with Following Parameters" as follows:
  2001 Sep 20 17:58:00:346 ps8Adapter.inst Error [Adapter]   AEPS8-4001028 Stack Trace com.tibco.sdk.MException: Failed to   Connect to Appserver with Following Parameters stan-dt:9050,   OprID VP2
     at com.tibco.adapter.ps.AdapterException.<init>
     (AdapterException.ja  va:24)
     at com.tibco.adapter.ps.ComponentInterfaceAgent.<init>
     (ComponentInterfaceAgent.java:121)
     at com.tibco.adapter.ps.ComponentInterfaceAgent.getCIA
     (ComponentInterfaceAgent.java:69)
     at com.tibco.adapter.ps.JAdapterCore.onInitialization
     (JAdapterCore.java:105)
     at com.tibco.sdk.MDefaultApp.onInitialization
     (MDefaultApp.java:528)
     at com.tibco.sdk.MDefaultApp.start(MDefaultApp.java:346)
     at com.tibco.sdk.MApp.start(MApp.java:191)
     at com.tibco.adapter.ps.PS8Adapter.main(PS8Adapter.java:37)
     2001 Sep 20 17:58:00:346 ps8Adapter.inst Error [Application]      AEPS8-4001036 Caught MException in PS8Adapter::main().
Probable Cause
The operator ID or password is invalid. A second possible cause is that the database is down but the PeopleSoft Application Server is up. A third possible cause is the wrong version of the PSJOA.JAR file is used. The PSJOA.JAR should belong to the same version of PeopleTools as the file being used by the BEA Tuxedo application server.
Solution
Double-check all the connection parameters (operator ID, password, application server name, and port number) in the repository. Verify that the database is up by login 2 tier using a PeopleSoft client. Verify that the application server is up and that the JSL process is alive and the JSL port matches the one stored in the repository.
Verify that the versions of the PeopleTools libraries being used by the adapter and the application server are the same.
Symptom 5
When I run adpsft8.exe from a command prompt it returned an error stating "NoClassDefFoundError: com/tibco/tibrv/*" as follows:
  Exception in thread "main" java.lang.NoClassDefFoundError:   com/tibco/tibrv/TibrvException
     at com.tibco.sdk.MApp.<init>(MApp.java:88)
     at com.tibco.adapter.ps.JAdapterCore.<init>
     (JAdapterCore.java:72)
     at com.tibco.adapter.ps.PS8Adapter.main(PS8Adapter.java:35)
Probable Cause
The tibrvj.jar file is not correctly identified.
Solution
Add the path to tibrvj.jar to the environment variable CLASSPATH. By default this file is found in TIBCO_HOME\tra\version_number.
Symptom 6
When I run adpsft8.exe from a command prompt it returned an error stating "Substitution variable … does not exist" as follows:
  Processing /tibco/private/adapter/PeopleSoft/inst/ps8Adapter ...
com.tibco.sdk.MException: Invalid assoc key: startup.Substitution variable HawkEnabled does not exist
     at com.tibco.sdk.properties.MRepoProperties.get
     (MRepoProperties.java:242)
     at com.tibco.sdk.properties.MRepoProperties.get
     (MRepoProperties.java:232)
     at com.tibco.sdk.serializer.MPropertyBasedDeserializer.internalRead
     (MPropertyBasedDeserializer.java:147)
     at com.tibco.sdk.serializer.MPropertyBasedDeserializer.readOptional
     (MPropertyBasedDeserializer.java:235)
     at com.tibco.sdk.serializer.MPropertyBasedDeserializer.readOptional
     (MPropertyBasedDeserializer.java:226)
     at com.tibco.sdk.serializer.MConfigDeserializer.readConfig
     (MConfigDeserializer.java:49)
     at com.tibco.sdk.serializer.MConfigDeserializer.readAnySupportedType
     (MConfigDeserializer.java:33)
     at com.tibco.sdk.serializer.MPropertyBasedDeserializer.readAny
     (MPropertyBasedDeserializer.java:202)
     at com.tibco.sdk.serializer.MPropertyBasedDeserializer.deserialize
     (MPropertyBasedDeserializer.java:33)
     at com.tibco.sdk.MDefaultApp.start(MDefaultApp.java:281)
     at com.tibco.sdk.MApp.start(MApp.java:191)
     Caught MException in PS8Adapter::main().
Probable Cause
The repository is missing a Hawk Enable global variable.
Solution
Start TIBCO Designer, then open the affected repository and add the missing global variable.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved