Debug relay startup problems.

Debug relay startup problems.

1) If you have your loaders clustered, make sure the cluster status is in sync by using the 8090 management console and checking the cluster status.

2) Use the 8090 console on the relay to turn on com.stoneware.client.stonewareclient debug. 
When the relay starts up properly you will see output such as: 

INFO [com.stoneware.client.StonewareClient]: Step 1: Attempting registry list on host myserver.stone-ware.com:1099 
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.server.StonewareAdminServices 
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.server.StonewareSearchServices 
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.server.SwIFTServices 
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.server.DataExchangeServices
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.server.DocumentPublishingServices 
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.service.Pipeline 
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.server.StonewareReportServices 
INFO [com.stoneware.client.StonewareClient]: Object: //myserver.stone-ware.com:1099/com.stoneware.server.StonewarePortalServices 
INFO [com.stoneware.client.StonewareClient]: Step 2: Ping services 
INFO [com.stoneware.client.StonewareClient]: Ping service: com.stoneware.service.public.Portal Status: Okay 
INFO [com.stoneware.client.StonewareClient]: Ping service: com.stoneware.service.public.Admin Status: Okay 
INFO [com.stoneware.client.StonewareClient]: Ping service: com.stoneware.service.public.SwIFT Status: Okay 
INFO [com.stoneware.client.StonewareClient]: Ping service: com.stoneware.service.public.Report Status: Okay 
INFO [com.stoneware.client.StonewareClient]: Ping service: com.stoneware.service.public.Search Status: Okay 
INFO [com.stoneware.client.StonewareClient]: Ping service: com.stoneware.service.public.DataExchange Status: Okay 
INFO [com.stoneware.client.StonewareClient]: Ping service: com.stoneware.service.public.DocumentPublishing Status: Okay 

If you get an error then check to make sure that your relay is trying to load services that the loader has running. 
If no services are listed in Step 1, then the relay can not talk to the loader. 

3) Turn on com.stoneware.service.application.Relay[DefaultRelay] on the relay and view the output. 
INFO [com.stoneware.service.application.Relay[Prod Relay]]: EVENT Loaded Relay configuration: 
ou=relayConfig,ou=stoneware,o=company 
Address: null 
Port: 8080 
SSL enabled: false 
Port 80>443: false 
Keystore: null 
Temp dir: / 
Server root: / 
Secure root: null 
Log file: /swrelay.log 
Client cert: false 
External SSL: false 
Virt. host: false 
RelayCentral disabled. 
RADIUS authentication disabled. 

If your output looks like this, then the relay did not get its configuration from the loader and loaded with defaults. 

4) Go to the 8090 console on Loader and turn on: 
com.stoneware.service.public.Core.authenticate 
com.stoneware.service.public.Core.authenticateUser 
Save the debug and view the console or log window. 
Restart the relay and watch the Loader screen to verify that it can authenticate Relayuser. 

5) Verify that the loader can talk to the ldap server. 
Go to the 8090 console on loader and turn on: 
com.stoneware.service.DirectoryManager 
Save the debug and restart the loader in a console window so you can see the debug. 
When webNetwork starts it will tell you what version of directory it is connecting to and any error messages.