Bug 236631 - Deployment error: 1 on glassfish server
Deployment error: 1 on glassfish server
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: GlassFish
7.4
PC Mac OS X
: P3 (vote)
: TBD
Assigned To: TomasKraus
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-02 07:15 UTC by luca86r
Modified: 2013-10-02 07:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luca86r 2013-10-02 07:15:41 UTC
After a few days of use, netbeans 7.4 (but also 7.3.1) become unable to deploy my web app on glassfish server 4. The error is the same if I use glassfish 3.
The web app use Spring 3.1.1 and Hibernate.

In glassfish log, there are no error or exception.
This is the project build output:

cd /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer; JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home "/Applications/NetBeans/NetBeans 7.4 RC2.app/Contents/Resources/NetBeans/java/maven/bin/mvn" -Dnetbeans.deploy.debugmode=true -Dnetbeans.deploy=true package
Scanning for projects...
                                                                        
------------------------------------------------------------------------
Building LRAppServer 1.0
------------------------------------------------------------------------
The POM for unknown.binary:mysql-connector-java-5.1.23-bin:jar:SNAPSHOT is missing, no dependency information available
The artifact jta:jta:pom:1.0.1b has been relocated to javax.transaction:jta:pom:1.0.1B

--- maven-dependency-plugin:2.6:copy (default) @ LRAppServer ---

--- maven-resources-plugin:2.5:resources (default-resources) @ LRAppServer ---
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
Copying 5 resources

--- yuicompressor-maven-plugin:1.1:compress (default) @ LRAppServer ---
nothing to do, /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0/resources/jQuery/css/ui-lightness/jquery-ui-1.10.3.custom-min.css is younger than original, use 'force' option or clean your target
nothing to do, /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0/resources/jQuery/css/ui-lightness/jquery-ui-1.10.3.custom.min-min.css is younger than original, use 'force' option or clean your target
nothing to do, /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0/resources/jQuery/js/jquery-1.9.1-min.js is younger than original, use 'force' option or clean your target
nothing to do, /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0/resources/jQuery/js/jquery-ui-1.10.3.custom-min.js is younger than original, use 'force' option or clean your target
nothing to do, /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0/resources/jQuery/js/jquery-ui-1.10.3.custom.min-min.js is younger than original, use 'force' option or clean your target
nb warnings: 0, nb errors: 0

--- maven-compiler-plugin:3.1:compile (default-compile) @ LRAppServer ---
Nothing to compile - all classes are up to date

--- maven-resources-plugin:2.5:testResources (default-testResources) @ LRAppServer ---
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/src/test/resources

--- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ LRAppServer ---
Nothing to compile - all classes are up to date

--- maven-surefire-plugin:2.10:test (default-test) @ LRAppServer ---
Surefire report directory: /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0


--- maven-war-plugin:2.3:war (default-war) @ LRAppServer ---
Packaging webapp
Assembling webapp [LRAppServer] in [/Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0]
Processing war project
Copying webapp resources [/Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/src/main/webapp]
Webapp assembled in [350 msecs]
Building war: /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0.war
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 6.921s
Finished at: Wed Oct 02 08:58:04 CEST 2013
Final Memory: 13M/226M
------------------------------------------------------------------------
NetBeans: Deploying on GlassFish Server 4
    profile mode: false
    debug mode: true
    force redeploy: true
In-place deployment at /Users/luca/Sviluppo/iPhone Development/lrappserver/webapp/LRAppServer/target/LRAppServer-1.0
Deployment error: 1
See the server log for details.
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:273)
	at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:205)
	at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:123)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:235)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
	at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.getChangedData(ResourceRegistrationHelper.java:195)
	at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.checkResources(ResourceRegistrationHelper.java:181)
	at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.checkUpdateServerResources(ResourceRegistrationHelper.java:155)
	at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.registerResourceDir(ResourceRegistrationHelper.java:114)
	at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.deployResources(ResourceRegistrationHelper.java:81)
	at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.deployResources(ResourceRegistrationHelper.java:75)
	at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.initialDeploy(FastDeploy.java:224)
	at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.initialDeploy(FastDeploy.java:124)
	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:670)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:225)
	... 4 more


Please help me!!


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo