FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
FortiKoala
Staff
Staff
Article Id 189820

Description

 
This article describes how to resolve a 'No Default Portal Available' error in the Captive Portal.

 

Scope

 

FortiNAC.


Solution

 
End users may receive one of the following messages on the Network Sentry Captive Portal:

'No Default Portal Available. Unable to determine a Portal document to return. Please contact your system administrator so they can resolve the issue.'

Or:
 
HTTP Status 500 Error

java.lang.NullPointerException
com.bsc.bean.PortalContentsBean.escapeName(PortalContentsBean.java:101)
com.bsc.jsp.portal.portalCommon.openView_jsp._jspService(openView_jsp.java:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
com.bsc.jsp.portal.index_002dhub_jsp._jspService(index_002dhub_jsp.java:112)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.bsc.bean.HttpOnlyFilter.doFilter(HttpOnlyFilter.java:64)
com.bsc.bean.EncodingFilter.doFilter(EncodingFilter.java:37)

Workaround:  From the Network Sentry Application Server (NS8200/NS9200) or Network Sentry Server (NS500), restart the HTTPD and Tomcat-Portal Services. 
 
Use the following commands:
 
service httpd restart
service tomcat-portal restart



To resolve the issue, configure a portal as a default portal to prevent this from occurring in the future.
  1. Navigate to System -> Portal Configuration -> Content Editor.
  2. Select the portal selection drop-down menu on the bottom left and edit one of the portals.
  3. Select the Set as Default Portal check box.

As of Network Sentry releases 6.2.6, 7.0.4, and 7.1.1, instead of requiring the administrator to restart the tomcat-portal service in this situation, the service is restarted automatically.