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.

Bug 114341 - very slow deploying of ear
Summary: very slow deploying of ear
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-31 10:32 UTC by Radim Roska
Modified: 2007-09-03 09:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
jboss,ear and netbeans log (2.97 KB, text/plain)
2007-08-31 12:56 UTC, Radim Roska
Details
More descriptive logs. (1.28 MB, application/octet-stream)
2007-08-31 14:05 UTC, Petr Hejl
Details
more descriptive :) netbeans log (8.57 KB, text/plain)
2007-08-31 15:00 UTC, Radim Roska
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Roska 2007-08-31 10:32:51 UTC
NetBeans IDE Dev (Build 200708300000)

server version: jboss-4.2.1.GA

Create EAR project (1.4) and deploy it. It took over 1 minute to finish deployment. And you can see that it stuck for
most of that time on this:
Waiting for server to start the module http://localhost:8080/EnterpriseApplication29-war
Comment 1 Petr Hejl 2007-08-31 10:44:51 UTC
Can you provide your application and/or netbeans log file? Can you check whether you can access
"jboss.system:service=MainDeployer" through JMX console?
Comment 2 Radim Roska 2007-08-31 12:55:41 UTC
i will attach logs from jboss,ear application and netbeans...but i'm not sure if it will be helpful. I dont see any
problem in logs.

I can access MainDeployer in JMX console.
Comment 3 Radim Roska 2007-08-31 12:56:45 UTC
Created attachment 47875 [details]
jboss,ear and netbeans log
Comment 4 Petr Hejl 2007-08-31 14:04:31 UTC
Can you test the following "patch"?
Comment 5 Petr Hejl 2007-08-31 14:05:26 UTC
Created attachment 47880 [details]
More descriptive logs.
Comment 6 Radim Roska 2007-08-31 15:00:02 UTC
Created attachment 47891 [details]
more descriptive :) netbeans log
Comment 7 Petr Hejl 2007-08-31 15:35:41 UTC
Reproducible on sigle machine, exception indicating some socket trouble.
Comment 8 Petr Hejl 2007-09-01 14:59:28 UTC
JBoss does not escapes forbidden characters in url. This patch fixes the url checks.

Checking in src/org/netbeans/modules/j2ee/jboss4/JBDeployer.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/JBDeployer.java,v  <--  JBDeployer.java
new revision: 1.18; previous revision: 1.17
done
Checking in src/org/netbeans/modules/j2ee/jboss4/JBDeploymentManager.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/JBDeploymentManager.java,v  <--  JBDeploymentManager.java
new revision: 1.23; previous revision: 1.22
done
Comment 9 Petr Hejl 2007-09-01 15:03:53 UTC
I evaluated that similar behaviour occurs when the registered jboss location was entered with simlink in the path. Can
you check this suspect with build 200708300000 and with the latest one?
Comment 10 Radim Roska 2007-09-03 08:52:35 UTC
well...im stunned :). You are right...problem was in symlink in the path. I've checked this on both builds as you
wanted...and new build works even with symlinks. We can close this as fixed..
Comment 11 Petr Hejl 2007-09-03 09:02:18 UTC
Fixed.
Comment 12 Radim Roska 2007-09-03 09:07:26 UTC
VERIFIED