06-03-2016 10:46 AM
Hi,
I am currently try to renew the connectionData to re-register to validate a bug we are facing.
However, when I went to the registrationURL and put in our account and pwd, we got redirected to an error page attached below rather than redirected to the productCallbackUrl.
Dose anyone can help to check this or tell me the reason?
Bests,
HanWang
06-06-2016 02:07 PM
Could you re-run your app? CCFS service was down around that time. Could be the root cause. If the issue is still there, post your app logs and we can try to debug it. Thanks.
06-07-2016 02:55 AM
Still the same error. what app logs do you need?
Jun 07, 2016 10:47:01 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:alto-context-service' did not find a matching property.
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/8.0.28
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Oct 7 2015 18:25:21 UTC
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 8.0.28.0
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Mac OS X
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 10.11.4
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: x86_64
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_05-b13
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /Users/hanwang/Documents/contextservice/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /Users/hanwang/Documents/apache-tomcat-8.0.28
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/Users/hanwang/Documents/contextservice/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/Users/hanwang/Documents/apache-tomcat-8.0.28
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=/Users/hanwang/Documents/contextservice/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/Users/hanwang/Documents/apache-tomcat-8.0.28/endorsed
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=UTF-8
Jun 07, 2016 10:47:01 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/hanwang/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Jun 07, 2016 10:47:01 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Jun 07, 2016 10:47:01 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jun 07, 2016 10:47:01 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Jun 07, 2016 10:47:01 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jun 07, 2016 10:47:01 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 794 ms
Jun 07, 2016 10:47:01 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 07, 2016 10:47:01 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.28
Jun 07, 2016 10:47:03 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jun 07, 2016 10:47:03 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
com.altocloud.routes
Jun 07, 2016 10:47:03 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class com.altocloud.routes.ContextCustomer
class com.altocloud.routes.Webinar
Jun 07, 2016 10:47:03 AM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Jun 07, 2016 10:47:03 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.18 11/22/2013 03:05 AM'
initializating... ...
10:47:04.006 [localhost-startStop-1] INFO c.c.t.plugin.ConnectorFactory - Current path :/Users/hanwang/Documents/Eclipse.app/Contents/MacOS/.
10:47:04.011 [localhost-startStop-1] INFO c.c.t.plugin.ConnectorFactory - loadConfigurations path :/Users/hanwang/Documents/Eclipse.app/Contents/MacOS/connector.property
10:47:05.026 [localhost-startStop-1] INFO c.c.t.plugin.ConnectorFactory - Loading extensions from jarPath :/Users/hanwang/Documents/Eclipse.app/Contents/MacOS/plugin/context-service-sdk-extension-1.0.8.jar
10:47:05.745 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.ManagementConnectorImpl@75ac363b
10:47:05.745 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Getting cached init params and connector state
10:47:05.745 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Getting attaching update listener and setting connector state
10:47:05.766 [localhost-startStop-1] INFO c.c.t.c.u.impl.SoftwareUpdateImpl - Setting connector state from previous version
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Ignoring initializing new connector because cached parameters are empty
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Swapping versions
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Versions are swapped
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.RegisteringApplicationImpl@7a42931d
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Getting cached init params and connector state
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Getting attaching update listener and setting connector state
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Ignoring initializing new connector because cached parameters are empty
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Swapping versions
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Versions are swapped
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.client.ContextServiceClientImpl@70576a64
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Getting cached init params and connector state
10:47:05.767 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Getting attaching update listener and setting connector state
10:47:05.787 [localhost-startStop-1] INFO c.c.t.c.u.impl.SoftwareUpdateImpl - Setting connector state from previous version
10:47:05.788 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Ignoring initializing new connector because cached parameters are empty
10:47:05.788 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Swapping versions
10:47:05.788 [localhost-startStop-1] INFO c.c.t.p.ConnectorProxyInvocationHandler - Versions are swapped
10:47:05.788 [localhost-startStop-1] INFO c.c.t.plugin.ConnectorFactory - ConnectorFactory.resetPluginManager - completed oldPluginManager shutdown
10:47:05.788 [localhost-startStop-1] INFO c.c.t.plugin.ConnectorFactory - ConnectorFactory.resetPluginManager - done
*** Open This URL: https://ccfs.ciscoccservice.com/v1/authorize?callbackUrl=http%3A%2F%2Ffake&appType=altocloud
Jun 07, 2016 10:47:05 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Jun 07, 2016 10:47:05 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Jun 07, 2016 10:47:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4273 ms
06-30-2016 06:09 AM
Hi HanWang,
I was just going through old posts and came across your registration issue. Are you still having trouble with registration? Please let me know if you still require assistance to get Context Service working.
Thank you
Ankit Parikh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide