Select to view content in your preferred language

Error to save the custom connector: "Invalid stream configuration: adapter uri is missing"

4537
2
Jump to solution
01-30-2015 09:03 AM
MunhwanGim
New Contributor II

On clicking SAVE button the input connector which uses 'custom transport' and 'custom adapter', I got an error message saying "Invalid stream configuration uri is missing.", and the log says very long message from the Logger: com.esri.ges.rest.stream.internal.InputRestAdminServiceImpl.

The error message is below (sorry for this long message:). Thanks for any help about this in advance.

 

 

Invalid stream configuration: adapter uri is missing. com.esri.ges.stream.StreamException: Invalid stream configuration: adapter uri is missing. at com.esri.ges.manager.stream.internal.StreamManagerImpl.validateStreamWrapper(StreamManagerImpl.java:587) at com.esri.ges.manager.stream.internal.StreamManagerImpl.updateStreamFromWrapperInternal(StreamManagerImpl.java:346) at com.esri.ges.manager.stream.internal.StreamManagerImpl.updateStreamInternal(StreamManagerImpl.java:481) at com.esri.ges.manager.stream.internal.StreamManagerImpl.updateStream(StreamManagerImpl.java:470) at Proxya0e1fe20_4dc8_4d5e_9657_b297c3d35616.updateStream(Unknown Source) at com.esri.ges.rest.stream.internal.InputRestAdminServiceImpl.createOrUpdateInput(InputRestAdminServiceImpl.java:64) at Proxy7740df7d_4f6c_4200_819b_4e3200aca206.createOrUpdateInput(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_65] at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_65] at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188)[91:org.apache.cxf.cxf-api:2.7.10] at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104)[91:org.apache.cxf.cxf-api:2.7.10] at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:205)[128:org.apache.cxf.cxf-rt-frontend-jaxrs:2.7.10] at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:102)[128:org.apache.cxf.cxf-rt-frontend-jaxrs:2.7.10] at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)[91:org.apache.cxf.cxf-api:2.7.10] at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)[91:org.apache.cxf.cxf-api:2.7.10] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[91:org.apache.cxf.cxf-api:2.7.10] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[91:org.apache.cxf.cxf-api:2.7.10] at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTPServlet.java:223)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)[99:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.2] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)[122:org.apache.cxf.cxf-rt-transports-http:2.7.10] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[110:org.eclipse.jetty.servlet:7.6.9.v20130131] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)[110:org.eclipse.jetty.servlet:7.6.9.v20130131] at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[120:org.ops4j.pax.web.pax-web-jetty:1.1.17] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556)[109:org.eclipse.jetty.security:7.6.9.v20130131] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:124)[120:org.ops4j.pax.web.pax-web-jetty:1.1.17] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)[110:org.eclipse.jetty.servlet:7.6.9.v20130131] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:81)[120:org.ops4j.pax.web.pax-web-jetty:1.1.17] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.server.Server.handle(Server.java:367)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)[104:org.eclipse.jetty.http:7.6.9.v20130131] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[104:org.eclipse.jetty.http:7.6.9.v20130131] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[108:org.eclipse.jetty.server:7.6.9.v20130131] at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)[103:org.eclipse.jetty.io:7.6.9.v20130131] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)[103:org.eclipse.jetty.io:7.6.9.v20130131] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[103:org.eclipse.jetty.io:7.6.9.v20130131] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[102:org.eclipse.jetty.util:7.6.9.v20130131] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[102:org.eclipse.jetty.util:7.6.9.v20130131] at java.lang.Thread.run(Thread.java:745)[:1.7.0_65]

0 Kudos
1 Solution

Accepted Solutions
simonuyttendaele1
New Contributor

Hello,

You MUST use the following domain as hardcoded in the samples :

public String getDomain()
{
     return "sample.adapter.inbound"; 
}

This is what I have found out with trial and errors.

Depending on your connector/adapter type, you might need to look up the corresponding sample value.

View solution in original post

2 Replies
EricBader
Regular Contributor II

Hello.

This sounds like something for the GeoEvent discussion forum.

0 Kudos
simonuyttendaele1
New Contributor

Hello,

You MUST use the following domain as hardcoded in the samples :

public String getDomain()
{
     return "sample.adapter.inbound"; 
}

This is what I have found out with trial and errors.

Depending on your connector/adapter type, you might need to look up the corresponding sample value.