This document displays some of the common debug parameters to turn on to capture debug output from webNetwork. Some debug it available from the webNetwork relay and others from webNetwork Server. Some sample output of what to expect with the debug turned on is also included. --------------------------------------------------------------------------------------------------- Display Authentication for LoginPolicy - Set on webNetwork Server DEBUG [com.stoneware.service.public.Core.authenticate]: Authenticating user: OR_OPERATION: {cn=admin, [User.Address]=127.0.0.1, [Relay.DN]=ou=DefaultRelay,o=stoneware} DEBUG [com.stoneware.service.public.Core.authenticateUser]: Searching for user with filter: (&(|(cn=admin))(objectclass=inetOrgPerson)) DEBUG [com.stoneware.service.public.Core.authenticate]: Authentication completed (ms): 50 --------------------------------------------------------------------------------------------------- Display Authentication for normal login - Set on webNetwork Server DEBUG [com.stoneware.service.public.Core.authenticateUser]: Authenticating user: admin no context. DEBUG [com.stoneware.service.public.Core.authenticateUser]: Searching for user with filter: (&(|(cn=admin)(mail=admin))(objectclass=inetOrgPerson)) DEBUG [com.stoneware.service.public.Core.authenticateUser]: Authenticating user: cn=admin in CX: o=stoneware DEBUG [com.stoneware.service.public.Core.authenticateUser]: Authentication completed (ms): 50 DEBUG [com.stoneware.servlets.LoginServlet]: admin > authenticated: QrsnhygYbnqre1bf3d87!100f0f9eef2!-7c23 DEBUG [com.stoneware.servlets.LoginServlet]: QrsnhygYbnqre1bf3d87!100f0f9eef2!-7c23 redirect: /secure/AdminProfile/FinishLogin.html --------------------------------------------------------------------------------------------------- Display Authentication for Radius Login - Set on webNetwork Server INFO [com.stoneware.auth.WebNetworkAuthenticator]: Authenticating RADIUS user:carter DEBUG [com.stoneware.auth.WebNetworkAuthenticator]: Authenticating RADIUS password: mypassword INFO [com.stoneware.auth.WebNetworkAuthenticator]: RADUIS authentication successful. --------------------------------------------------------------------------------------------------- Display Map details - Set on webNetwork Relay INFO [com.stoneware.service.application.Relay[DefaultRelay].Proxy]: 1: Requestpath: /exchange DEBUG [com.stoneware.service.application.Relay[DefaultRelay].Proxy]: Asked to add a null cookie header. DEBUG [com.stoneware.service.application.Relay[DefaultRelay].Proxy]: Validated method: true DEBUG [com.stoneware.service.application.Relay[DefaultRelay].Proxy]: 1: Submitting request. DEBUG [com.stoneware.service.application.Relay[DefaultRelay].Proxy]: GET /exchange DEBUG [com.stoneware.service.application.Relay[DefaultRelay].Proxy]: Accept: */* Referer: http://127.0.0.1/secure/AdminProfile/jMenu.jsp Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Host: testowa.stone-ware.com DEBUG [httpclient.wire]: >> "GET /exchange HTTP/1.1[\r][\n]" DEBUG [httpclient.wire]: >> "Accept: */*[\r][\n]" DEBUG [httpclient.wire]: >> "Referer: http://127.0.0.1/secure/AdminProfile/jMenu.jsp[\r][\n]" DEBUG [httpclient.wire]: >> "Accept-Language: en-us[\r][\n]" DEBUG [httpclient.wire]: >> "Accept-Encoding: gzip, deflate[\r][\n]" DEBUG [httpclient.wire]: >> "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)[\r][\n]" DEBUG [httpclient.wire]: >> "Host: testowa.stone-ware.com[\r][\n]" --------------------------------------------------------------------------------------------------- How to check if it is a certificate problem - Set on Relay INFO [com.stoneware.service.application.Relay[DefaultRelay]]: WARN!! GET /exchange HTTP/1.1 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source) -------------------------------------------------------------------------------------------------- Watch webapps refresh - Set on Relay Turn to INFO to see it reload, turn to debug to see launch info. INFO [com.stoneware.relay.managers]: Loaded web application: cn=survey1,ou=webApps,o=stoneware DEBUG [com.stoneware.relay.managers]: cn=swMonitor,o=stoneware should launch: false INFO [com.stoneware.relay.managers]: Loaded web application: cn=swMonitor,o=stoneware DEBUG [com.stoneware.relay.managers]: cn=swMonitor,o=stoneware should launch: false INFO [com.stoneware.relay.managers]: Loaded web application: cn=swMonitor,o=stoneware DEBUG [com.stoneware.relay.managers]: cn=swMonitor,o=stoneware should launch: false INFO [com.stoneware.relay.managers]: Loaded web application: cn=swMonitor,o=stoneware ----------------------------------------------------------------------------------------------------------------------- To dump license info - Set on Relay or Server com.stoneware.service.license to info to dump license ----------------------------------------------------------------------------------------------------------------------- To dump FTP swift communication - Set on webNetwork Server Turn on Jetty debug on :8090 console, then com.stoneware.service.httpadmin To dump FTP swift communication with latest hotfix3e Turn on: com.org.mortbay.ftp.c com.org.mortbay.ftp.cmdreplystream com.org.mortbay.ftp.dataport com.org.mortbay.ftp.ftp ----------------------------------------------------------------------------------------------------------------------- Islinkallowed - Set on webNetwork Server com.stoneware.service.public.core.islinkallowed - Display info when a user clicks on a link. ----------------------------------------------------------------------------------------------------------------------- To see the status when a webapp is launched - Set on Relay com.stoneware.relay.StartWebApplication If the webapp is not set to run on the relay you will see: DEBUG [com.stoneware.relay.StartWebApplication]: webNetwork session: QrsnhygYbnqre9cbd4b!1055dd9aee8!-7854 DEBUG [com.stoneware.relay.StartWebApplication]: Path info: /cn=swMonitor,o=stoneware DEBUG [com.stoneware.relay.StartWebApplication]: Attempting to load web application: cn=swMonitor,o=stoneware DEBUG [com.stoneware.relay.StartWebApplication]: Startup URL: null DEBUG [com.stoneware.relay.StartWebApplication]: Found cached object: null DEBUG [com.stoneware.relay.StartWebApplication]: Web application returned from cache: null ERROR [com.stoneware.relay.StartWebApplication]: Unable to load web application: cn=swMonitor,o=stoneware Good launch: DEBUG [com.stoneware.relay.StartWebApplication]: webNetwork session: QrsnhygYbnqre9cbd4b!1055dd9aee8!-7e8c DEBUG [com.stoneware.relay.StartWebApplication]: Path info: /cn=swMonitor,o=stoneware DEBUG [com.stoneware.relay.StartWebApplication]: Attempting to load web application: cn=swMonitor,o=stoneware DEBUG [com.stoneware.relay.StartWebApplication]: Startup URL: null DEBUG [com.stoneware.relay.StartWebApplication]: Found cached object: com.stoneware.relay.managers.ObjectManager$ObjectInfo@1e8396e DEBUG [com.stoneware.relay.StartWebApplication]: Web application returned from cache: com.stoneware.kernel.level2.WebApplicationImpl@1127c4d DEBUG [com.stoneware.relay.StartWebApplication]: Verifying user is authenticated: QrsnhygYbnqre9cbd4b!1055dd9aee8!-7e8c DEBUG [com.stoneware.relay.StartWebApplication]: Found cached object: com.stoneware.relay.managers.ObjectManager$ObjectInfo@1e8396e DEBUG [com.stoneware.relay.StartWebApplication]: cn=swMonitor,o=stoneware> startup URL: /swmonitor ----------------------------------------------------------------------------------------------------------------------- To view the relay starting up and contacting the Loader - Set on Relay Debug Statement : com.stoneware.client.StonewareClient 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 --------------------------------------------------------------------------------------------------- To view swift/fileservice nodes starting up. ---------------------------------------------------------------------------------------------------- To view a hit to the relay login page if login policy is turned on INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT JspEngine --> /index.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT ServletPath: /index.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT PathInfo: null INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT RealPath: /usr/stoneware/webserv/index.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT RequestURI: /index.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT QueryString: null INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT Request Params: INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT JspEngine --> /LoginPolicy.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT ServletPath: /LoginPolicy.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT PathInfo: null INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT RealPath: /usr/stoneware/webserv/LoginPolicy.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT RequestURI: /LoginPolicy.jsp INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT QueryString: null INFO [com.stoneware.service.application.Relay[webnet3Relay]]: EVENT Request Params: ---------------------------------------------------------------------------------------------------- To view a connection being established through the relay. DEBUG [com.stoneware.relay.managers]: jroarg2Ybnqre1d0fafc!1066fba222c!7dd> Registering client for port: 80 DEBUG [com.stoneware.relay.managers]: jroarg2Ybnqre1d0fafc!1066fba222c!7dd> Asked to open port: 80 DEBUG [com.stoneware.relay.managers]: jroarg2Ybnqre1d0fafc!1066fba222c!7dd80> connection is valid. DEBUG [com.stoneware.relay.managers]: cn=citrixhttpproxy_wa,ou=WebApps,ou=webNetwork,o=stoneware > Locating host. Preferred: null DEBUG [com.stoneware.relay.managers]: Selected host: Host> metaframe.company.com:1494 ---------------------------------------------------------------------------------------------------- To view CIFS debug from a File Services / Swift node. Set on the loader. Edit the /stoneware/bin/webnetwork.lax Find the additional parameters line. lax.nl.java.option.additional=-server -Xms64m -Xmx256m and add -Djcifs.util.loglevel=3 to the end. ------------------------------------------------------------------------------------------------------- To see the Relay configuration on startup Set on Relay. Turn on: com.stoneware.relay.manager *** What shows when it can not find properly load the relay config from directory services. ERROR [com.stoneware.relay.managers]: Unable to load configuration. StonewareException: Missing configuration (12): Unable to load config for Relay: ou=DefaultRelay,o=stoneware *** What shows when it can load the relay config from directory services. INFO [com.stoneware.service.application.Relay[DefaultRelay]]: EVENT Loaded Relay configuration: ou=DefaultRelay,o=stoneware Address: myrelay.company.com Port: 80 SSL enabled: false Port 80>443: true Keystore: C:\stoneware\config\stoneware.keystore Temp dir: C:\stoneware\temp Server root: C:\stoneware\webserv Secure root: C:\stoneware\webserv-sec Log file: /swrelay.log Client cert: false External SSL: false Virt. host: true vhost: 127.0.0.1 vhost: 192.168.1.69 RelayCentral disabled. RADIUS authentication disabled.