I have a service with below tags
<wsp:UsingPolicy wssutil:Required=“true”/>
<wsp:Policy wssutil:Id=“IntXmlService-Policy”>
<ns0:SupportingTokens xmlns:ns0=“XML Namespace Document for WS-Security-Policy 1.2”/>
</wsp:Policy>
When i create virtual service and try to publish its not showing any error but not publishing to mediator.
Can you see any error or trace messages on logs of Mediator?
Hi Mahesh
we see these errors
[com.softwareag.centrasite.soalink.deployment.DeploymentClient] 2016-08-16 11:27:54,578 ERROR: Deployment of Service{Name=Create_TMS_TransportRequest_For_CBRLogistics, Key=uddi:694bf5f6-627f-11e6-9aea-a8d5d01a9d11} failed.StatusCode: FAILED. StatusMessage: BaseClusterDeploymentHelper.exerciseDeployer - caught this: type(java.lang.StackOverflowError), message(null)
[com.softwareag.centrasite.soalink.deployment.DeploymentClient] 2016-08-16 11:27:54,603 INFO : Consumer{Key=uddi:145ea6a7-48dc-11e6-a0cc-9e9e76e850a4} processed successfully
[com.softwareag.centrasite.soalink.deployment.DeploymentClient] 2016-08-16 11:27:54,603 INFO : Service{Name=694bf5f6-627f-11e6-9aea-a8d5d01a9d11} consumers processed successfully
[com.softwareag.centrasite.soalink.deployment.DeploymentClient] 2016-08-16 11:27:54,603 WARN : Response did not include any API Keys because no Api Keys sent in request
[com.softwareag.centrasite.soalink.deployment.DeploymentClient] 2016-08-16 11:27:54,603 WARN : Response did not include any OAuth2 Tokens because OAuth2 Tokens are not sent in request
[com.softwareag.centrasite.soalink.deployment.DeploymentClient] 2016-08-16 11:27:54,603 WARN : Response did not include any Aliases
[com.softwareag.centrasite.soalink.deployment.DeploymentClient] 2016-08-16 11:27:54,603 INFO : Response did not include any Service Alias Association
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:27:54,889 INFO : XQConnection usesLocalTransactionMode: true
[com.softwareag.xqj.taj.XQExpressionImpl] 2016-08-16 11:27:54,951 INFO : Executed the command: _process
[com.softwareag.xqj.taj.XQExpressionImpl] 2016-08-16 11:27:54,988 INFO : Executed the command: _process
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:27:55,129 INFO : XQConnection usesLocalTransactionMode: true
[com.softwareag.xqj.taj.XQExpressionImpl] 2016-08-16 11:27:55,136 INFO : Executed the command: _process
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:07,252 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:28:07,287 INFO : XQConnection usesLocalTransactionMode: true
[com.centrasite.resourceaccess.managers.ResourceAccessManagerImpl] 2016-08-16 11:28:07,359 INFO : set guest user
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:28:07,449 INFO : XQConnection usesLocalTransactionMode: true
[com.centrasite.resourceaccess.managers.ResourceAccessManagerImpl] 2016-08-16 11:28:07,504 INFO : set guest user
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:11,045 INFO : Enters BuiSessionListener.sessionDestroyed()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:11,045 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:28:11,058 INFO : XQConnection usesLocalTransactionMode: true
[com.centrasite.resourceaccess.managers.ResourceAccessManagerImpl] 2016-08-16 11:28:11,095 INFO : set guest user
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:15,097 INFO : Enters BuiSessionListener.sessionDestroyed()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:15,511 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.centrasite.bui.service.dashboard.PortletServiceImpl] 2016-08-16 11:28:15,511 ERROR: error happened in PortletServiceImpl.getVisiblePortlets():
java.lang.NullPointerException
at com.softwareag.centrasite.bui.service.dashboard.PortletSearchManager.getPortletSearch(PortletSearchManager.java:198)
at com.softwareag.centrasite.bui.service.dashboard.PortletSearchManager.getSearch(PortletSearchManager.java:80)
at com.softwareag.centrasite.bui.service.dashboard.PortletServiceManager.loadPortletResults(PortletServiceManager.java:709)
at com.softwareag.centrasite.bui.service.dashboard.PortletServiceImpl.loadPortletResults(PortletServiceImpl.java:71)
at sun.reflect.GeneratedMethodAccessor501.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.centrasite.bui.servletfilter.HTTPHeadersInjector.doFilter(HTTPHeadersInjector.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.centrasite.bui.servletfilter.SessionValidateFilter.doFilter(SessionValidateFilter.java:78)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:15,567 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:15,579 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.centrasite.bui.service.DiagnosticServiceImpl] 2016-08-16 11:28:21,945 ERROR: DiagnosticServiceImpl.onClose
com.softwareag.centrasite.bui.shared.BUIException: (TypeError) : Cannot read property ‘length’ of null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.instantiate(ServerSerializationStreamReader.java:1082)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:657)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:567)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:140)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:425)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:312)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.centrasite.bui.servletfilter.HTTPHeadersInjector.doFilter(HTTPHeadersInjector.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.softwareag.centrasite.bui.servletfilter.SessionValidateFilter.doFilter(SessionValidateFilter.java:78)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:23,059 INFO : Enters BuiSessionListener.sessionDestroyed()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:23,059 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:26,921 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:27,540 INFO : Enters BuiSessionListener.sessionDestroyed()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:27,540 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:29,311 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:29,714 INFO : Enters BuiSessionListener.sessionDestroyed()
[com.softwareag.centrasite.bui.servletfilter.BuiSessionListener] 2016-08-16 11:28:29,715 INFO : Enters BuiSessionListener.sessionCreated()
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:28:29,984 INFO : XQConnection usesLocalTransactionMode: true
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:28:30,834 INFO : XQConnection usesLocalTransactionMode: true
[com.softwareag.xqj.taj.XQConnectionImpl] 2016-08-16 11:28:32,132 INFO : XQConnection usesLocalTransactionMode: true
Hi Pallavi,
Is OAuth tokens/ APiConsumption-Key configured for virtual Service on CentraSite Server ?
Is RunTime aliases created for virtual service?
if possible , can you share the screen shot of the virtual service and wsdl file detail
last but least the user is having the Mediator-Publisher role ? Can you verify it
Thanks & Regards,
Jeevan