This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Could not deploy Web application with Glassfish 4.1.1 and Netbeans 8.2 | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Summit |
Component: | GlassFish | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | TASK | Exception Reporter: | |
Attachments: |
Webapplication zip file followed steps in https://netbeans.org/kb/docs/web/mysql-webapp.html
Glassfish4.1.1 server log |
Description
Summit
2016-12-01 01:21:46 UTC
Created attachment 163107 [details]
Glassfish4.1.1 server log
I would like to close this bug. I think I had a bad glassfish-resources.xml file. I cleaned it up and I can deploy the webapp now. Thank you very much. Here is my updated version of glassfish-resources.xml. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd"> <resources> <jdbc-resource enabled="true" jndi-name="jdbc/IFPWAFCAD" object-type="user" pool-name="ifpwafcadPool"> <description>Access the database that provide data for the application</description> </jdbc-resource> <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="table" datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="ifpwafcadPool" non-transactional-connections="false" ping="false" pool-resize-quantity="2" pooling="true" res-type="javax.sql.ConnectionPoolDataSource" statement-cache-size="0" statement-leak-reclaim="false" statement-leak-timeout-in-seconds="0" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="true"> <property name="URL" value="jdbc:mysql://localhost:3306/mynewdatabase"/> <property name="User" value="root"/> <property name="Password" value="root"/> </jdbc-connection-pool> </resources> I tried running/deploying a Java web app. the glassfish is given an error message. see the message below n-place deployment at C:\Users\user\Documents\NetBeansProjects\WebApplication1\build\web GlassFish Server 4.1, deploy, null, false C:\Users\user\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:1048: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 55 seconds) i need your help to solve this problem |