BookmarkSubscribeRSS Feed
rabindrakumar1
Obsidian | Level 7

Dear Team,

I am getting below error:

 

INFO  Importing 1 content item(s) for document "DQF_tool.egp"
Oct 09, 2020 4:11:51 PM com.sas.metadata.logical.project.ProjectImportListener importContent
SEVERE: Import operation failed while processing document "DQF_tool.egp"
java.lang.IllegalStateException: Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx". Check content mapping configuration.
        at com.sas.report.repository.Project.getContent(Project.java:295)
        at com.sas.report.repository.Project.getOutputStream(Project.java:213)
        at com.sas.metadata.logical.project.ProjectImportListener.importContent(ProjectImportListener.java:612)
        at com.sas.metadata.promotion.ImportHandler.importContent(ImportHandler.java:1095)
        at com.sas.metadata.promotion.ImportHandler.runImport(ImportHandler.java:723)
        at com.sas.metadata.promotion.BatchImporter.importPackage(BatchImporter.java:657)
        at com.sas.metadata.promotion.BatchImporter.main(BatchImporter.java:845)
Caused by: com.sas.report.repository.ContentException: Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx". Check content mapping configuration. [ com.sas.services.webdav.DAVException: Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx". Check content mapping configuration. ]
        at com.sas.report.repository.ContentProviderDAV.initialize(ContentProviderDAV.java:213)
        at com.sas.report.repository.ContentProviderDAV.<init>(ContentProviderDAV.java:144)
        at com.sas.report.repository.ContentFactory.initialize(ContentFactory.java:52)
        at com.sas.report.repository.ContentFactory.create(ContentFactory.java:30)
        at com.sas.report.repository.Project.getContent(Project.java:290)
        ... 6 more

 

 

 

ERROR Import operation failed while processing document "DQF_tool.egp"
java.lang.IllegalStateException: Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx".. Check content mapping configuration.
        at com.sas.report.repository.Project.getContent(Project.java:295)
        at com.sas.report.repository.Project.getOutputStream(Project.java:213)
        at com.sas.metadata.logical.project.ProjectImportListener.importContent(ProjectImportListener.java:612)
        at com.sas.metadata.promotion.ImportHandler.importContent(ImportHandler.java:1095)
        at com.sas.metadata.promotion.ImportHandler.runImport(ImportHandler.java:723)
        at com.sas.metadata.promotion.BatchImporter.importPackage(BatchImporter.java:657)
        at com.sas.metadata.promotion.BatchImporter.main(BatchImporter.java:845)
Caused by: com.sas.report.repository.ContentException: Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx".. Check content mapping configuration. [ com.sas.services.webdav.DAVException: Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx".. Check content mapping configuration. ]
        at com.sas.report.repository.ContentProviderDAV.initialize(ContentProviderDAV.java:213)
        at com.sas.report.repository.ContentProviderDAV.<init>(ContentProviderDAV.java:144)
        at com.sas.report.repository.ContentFactory.initialize(ContentFactory.java:52)
        at com.sas.report.repository.ContentFactory.create(ContentFactory.java:30)
        at com.sas.report.repository.Project.getContent(Project.java:290)
        ... 6 more
ERROR The import process has failed.  Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx". Check content mapping configuration.
INFO  The import process has finished with errors.
The import process has failed.  Content Mapping was unable to connect to host "xxx.xxx.xxxxx", port "xxxx". Check content mapping configuration.

 

 

Here are troubleshooting I have done:

1. Check the SMC SAS Content Serve, the validation is successful

2. Check all the web applications working fine

3. Check sas.servers status all the servers are up and running

4. restarted sas.servers of web client 

The error still exists.

5 REPLIES 5
Anand_V
Ammonite | Level 13

Hi @rabindrakumar1 

 

Have you validated the content server from the same client from where you are trying to do the import or is it different?

rabindrakumar1
Obsidian | Level 7

The import executed on compute server and content server is available on web server, hence I think it is not require to validate the content server on compute host. I have done the validation of SAS Content Server form SAS Management Console. Hence I think it is not require to validate Content Server from compute server.

Can you please share some direction to which area also I need to validate the SAS Content Server

Anand_V
Ammonite | Level 13

Can you check if there are any errors in log file - SASContentServer9.4.log? For the validation part I was asking to use same client that you have used to validate the content server to do the import. If you have validated content server using SMC installed on Desktop, then use the same to import.

If you have launched directly from compute server then use the same to import just to be sure.

 

Even though SAS Content server is deployed on middle-tier actual documents/files are hosted on SharedServices database which is on the compute host. 

https://go.documentation.sas.com/?cdcId=bicdc&cdcVersion=9.4&docsetId=bimtag&docsetTarget=p08mq2p1qs...

SASKiwi
PROC Star

What is DQF_tool.egp? Is that an Enterprise Guide project by any chance? If it is then it is designed be created / managed by Enterprise Guide only

rabindrakumar
Fluorite | Level 6

Hi,

When we perform import from SAS MC to create .spk file, it may contains any files which is available in metadata, this particular .spk file contains .egp project developed on SAS Enterprise Guide and saved in metadata.

If an .spk file contains images or maps or .egp then SAS Content Servers comes into picture and hence SAS WebDAV server looks to import or export files other than SAS files.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1430 views
  • 0 likes
  • 4 in conversation