Error 001369 ArcGIS Enterprise Linux

2251
9
02-19-2019 02:22 PM
RobertCrawford1
New Contributor II

Hey Everyone,

I'm getting the error below 

ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). Failed. Failed to execute (PublishServiceDefinition). Failed to execute (Publish Portal Service).


I've done CHOWN on the arcgis install folder to ensure permissions


Also, I have a database registered 

I'm not really sure why I'm getting this error

0 Kudos
9 Replies
JonathanQuinn
Esri Notable Contributor

Do you see anything in the Server logs? You can set the logs to DEBUG and republish if you want to get the most out of them. When publishing fails, it should log something within the Server logs.

0 Kudos
RobertCrawford1
New Contributor II

com.esri.discovery.DiscoveryException: Service Hosted/FD4_PlanningZones/MapServer not found at com.esri.discovery.DiscoveryAGSConnector.throwServiceNotFound(DiscoveryAGSConnector.java:611) at com.esri.discovery.DiscoveryAGSConnector.getServiceConfig(DiscoveryAGSConnector.java:434) at com.esri.client.featureserver.FeatureServiceClient$1.call(FeatureServiceClient.java:247) at com.esri.client.featureserver.FeatureServiceClient$1.call(FeatureServiceClient.java:244) at com.esri.client.util.ClientUtil.passThruCache(ClientUtil.java:182) at com.esri.client.featureserver.FeatureServiceClient.getAggregatedResource(FeatureServiceClient.java:244) at com.esri.client.featureserver.FeatureServiceClient.isCachingDisabled(FeatureServiceClient.java:439) at com.esri.client.app.featureserver.FeatureServerHandler.featureServer(FeatureServerHandler.java:116) at com.esri.client.app.featureserver.FeatureServerHandler.service(FeatureServerHandler.java:100) at com.esri.rf.RServlet.service(RServlet.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:613) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)

0 Kudos
JonathanQuinn
Esri Notable Contributor

Are there any other errors at the WARNING or SEVERE level about the inability to publish the service?

0 Kudos
RobertCrawford1
New Contributor II
SEVEREFeb 19, 2019, 11:43:32 PMError executing tool. PublishServiceDefinition Job ID: j126c3767253a42b6ad18aca5bb47307d : ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition).System/PublishingToolsEx.GPServer
SEVEREFeb 19, 2019, 11:43:32 PMError executing tool. Publish Portal Service Job ID: j70b06896849b41c1877a653a6feb6d16 : ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). Failed. Failed to execute (PublishServiceDefinition). Failed to execute (Publish Portal Service).System/PublishingTools.GPServer
SEVEREFeb 19, 2019, 11:43:32 PMERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). Failed. Failed to execute (PublishServiceDefinition).System/PublishingTools.GPServer
SEVEREFeb 19, 2019, 11:43:32 PMDelegate job failed.System/PublishingTools.GPServer
SEVEREFeb 19, 2019, 11:43:31 PMFailed to create the service.: ERROR: code:500, Failed to create the service 'Hosted/FD4_PlanningZones.FeatureServer'. The submitted field 'st_area(shape)' does not exist in the table 'db_0m03e.hsu_cbu2s.fd4_planningzones_fd4_planningzones_clip'., Internal server error.System/PublishingToolsEx.GPServer
SEVEREFeb 19, 2019, 11:43:29 PMCore server call to create service failed (/admin/createService).System/PublishingToolsEx.GPServer
SEVEREFeb 19, 2019, 11:43:29 PMFailed to create the service 'Hosted/FD4_PlanningZones.FeatureServer'. The submitted field 'st_area(shape)' does not exist in the table 'db_0m03e.hsu_cbu2s.fd4_planningzones_fd4_planningzones_clip'.
0 Kudos
JonathanQuinn
Esri Notable Contributor

Sounds like a bug. Do you have only default fields in the feature class you're publishing, (OID, Shape, etc)? If so, try to add another field and publish.

You may want to reach out to Tech Support and provide your data so they can check whether they can reproduce it as well.

0 Kudos
RobertCrawford1
New Contributor II

That would be correct.

0 Kudos
RobertCrawford1
New Contributor II

It would appear that adding the field resolved the issue. Should I file a bug or is it a known issue?

0 Kudos
JonathanQuinn
Esri Notable Contributor

You may be running into this:

BUG-000119454 - Publishing a line feature class to Portal from ArcGIS Pro with only the default fields in the feature class fails

If you want to confirm or be attached to the bug, contact Tech Support and they can work with you on that.

HarroldSompotan
Esri Contributor

Might want to check out theses Knowledge Articles below if you have not seen them yet:

-ERROR 001369: Failed to create the service : https://support.esri.com/en/Technical-Article/000016577 

-Service is currently being configured by another administrative operation:

https://support.esri.com/en/Technical-Article/000015549

Also to eliminate the issue coming from the Arcgis Serer side, please check to see if the Arcgis Server "Publishing Tools" is running via Arcgis Server Manager>System>. and see about testing a Service Definition (sd) file via Arcgis Server Manager? Publish a service definition in ArcGIS Server Manager—Documentation | ArcGIS Enterprise