SAS Enterprise Miner - 无法启动应用程序(Mac)
SAS Enterprise Miner - Unable to launch the application (on Mac)
我下载了 SAS Enterprise Miner.jnlp(版本 14.3),它仅在下载后立即可用。如果我关闭应用程序几个小时(例如:尝试在第二天再次打开它),则会出现“无法启动应用程序”错误并且应用程序不再打开。如果我再次下载,它确实有效(但再次关闭几个小时后,会出现同样的错误)。
我已经尝试过这些 JDK 版本:1.8.0_112-b16、1.8.0.161 和 jdk 1.8.0.181。 (我还尝试清理应用程序的 Java 缓存)。
有什么想法吗?我有一个 MacOS High Sierra,版本 10.13.6.
错误详情如下:
异常:
com.sas.svcs.security.authentication.client.TicketCreationException: Unable to acquire ticket: <404 Not Found,{Date=[Sun, 30 Sep 2018 18:41:23 GMT], Server=[Apache/2.4.6 (CentOS)], X-Frame-Options=[SAMEORIGIN], X-Content-Type-Options=[nosniff], X-UA-Compatible=[IE=edge], Content-Length=[0], Keep-Alive=[timeout=5, max=100], Connection=[Keep-Alive]}>
at com.sas.svcs.security.authentication.client.AuthenticationClient.acquireTicket(AuthenticationClient.java:303)
(…)
启动文件:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="https://odamid.oda.sas.com/SASEnterpriseMinerJWS/">
<information>
<title>SAS Enterprise Miner 14.3</title>
<vendor>SAS Institute, Inc.</vendor>
<homepage href="/SASEnterpriseMinerJWS" />
<description>SAS Enterprise Miner Java Web Start application</description>
<description kind="short">SAS Enterprise Miner JWS</description>
<icon href="images/emlogo.gif" />
<icon href="images/saslogo.gif" kind="splash" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" max-heap-size="1024m" />
(…)
SAS® OnDemand for Academics 提供的 SAS Enterprise Miner 是一个云端应用程序, 使用下载的 JNLP 在客户端启动它(反过来(可能)有一个会话控制,它在某些情况下会过期)。
实际上通过阅读 definition of JNLP 可以清楚地知道它实际上不是一个应用程序,而只是一个启动协议:
"You use the Java Web Start Wizard to create the XML-based JNLP (Java Network Launching Protocol) definition file that the Java Web Start software uses to download and run Java applications and applets on client machines."
总而言之,每次您想在您的机器上启动它时,您都需要一个更新的启动器,因此 SAS® Enterprise Miner™ link 上的 clink 可以下载一个新的 JNLP 和启动云端应用程序的新会话。
我下载了 SAS Enterprise Miner.jnlp(版本 14.3),它仅在下载后立即可用。如果我关闭应用程序几个小时(例如:尝试在第二天再次打开它),则会出现“无法启动应用程序”错误并且应用程序不再打开。如果我再次下载,它确实有效(但再次关闭几个小时后,会出现同样的错误)。
我已经尝试过这些 JDK 版本:1.8.0_112-b16、1.8.0.161 和 jdk 1.8.0.181。 (我还尝试清理应用程序的 Java 缓存)。
有什么想法吗?我有一个 MacOS High Sierra,版本 10.13.6.
错误详情如下:
异常:
com.sas.svcs.security.authentication.client.TicketCreationException: Unable to acquire ticket: <404 Not Found,{Date=[Sun, 30 Sep 2018 18:41:23 GMT], Server=[Apache/2.4.6 (CentOS)], X-Frame-Options=[SAMEORIGIN], X-Content-Type-Options=[nosniff], X-UA-Compatible=[IE=edge], Content-Length=[0], Keep-Alive=[timeout=5, max=100], Connection=[Keep-Alive]}>
at com.sas.svcs.security.authentication.client.AuthenticationClient.acquireTicket(AuthenticationClient.java:303)
(…)
启动文件:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="https://odamid.oda.sas.com/SASEnterpriseMinerJWS/">
<information>
<title>SAS Enterprise Miner 14.3</title>
<vendor>SAS Institute, Inc.</vendor>
<homepage href="/SASEnterpriseMinerJWS" />
<description>SAS Enterprise Miner Java Web Start application</description>
<description kind="short">SAS Enterprise Miner JWS</description>
<icon href="images/emlogo.gif" />
<icon href="images/saslogo.gif" kind="splash" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" max-heap-size="1024m" />
(…)
SAS® OnDemand for Academics 提供的 SAS Enterprise Miner 是一个云端应用程序, 使用下载的 JNLP 在客户端启动它(反过来(可能)有一个会话控制,它在某些情况下会过期)。
实际上通过阅读 definition of JNLP 可以清楚地知道它实际上不是一个应用程序,而只是一个启动协议:
"You use the Java Web Start Wizard to create the XML-based JNLP (Java Network Launching Protocol) definition file that the Java Web Start software uses to download and run Java applications and applets on client machines."
总而言之,每次您想在您的机器上启动它时,您都需要一个更新的启动器,因此 SAS® Enterprise Miner™ link 上的 clink 可以下载一个新的 JNLP 和启动云端应用程序的新会话。