You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Kenneth Fogel (Jira)" <ji...@apache.org> on 2020/02/11 18:26:00 UTC
[jira] [Created] (NETBEANS-3859) Deployment of war file with
glassfish-resources.xml inordinately slow
Kenneth Fogel created NETBEANS-3859:
---------------------------------------
Summary: Deployment of war file with glassfish-resources.xml inordinately slow
Key: NETBEANS-3859
URL: https://issues.apache.org/jira/browse/NETBEANS-3859
Project: NetBeans
Issue Type: Bug
Affects Versions: 11.2
Environment: Windows 10, Java 11, Payara 11.2, Jakarta 8.0, EclipseLink
Reporter: Kenneth Fogel
Fix For: Next
If a web app managed by Maven has a glassfish-resources.xml file the time to deploy is a minimum of 50 seconds to Payara. Manually deploying the war to Payara's autodeploy folder or by using the Maven Cargo plugin occurs almost instantly.
Renaming glassfish-resources.xml to payara-resources.xml resolves the problem. Changing the dtd reference from "http://glassfish.org/dtds/glassfish-resources_1_5.dtd" to "https://raw.githubusercontent.com/payara/Payara-Server-Documentation/master/schemas/payara-resources_1_6.dtd" also resolves the problem. Yet, the dtd is already in Payara at <YOUR_GLASSFISH_FOLDER>/glassfish/lib/dtds/ .
I suspect but cannot prove that something in NetBeans, possibly the Payara plugin, attempts to access the dtd file on the web where it does not exist. The URL for the server in this environment is localhost:8080.
This issue did not occur in older versions of netbeans such as 8.2
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists