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: | JBoss plugin doesn't recognize server status | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | JBoss | Assignee: | Anna Bolotova <abolotova> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | lkotouc, pjiricka |
Priority: | P2 | Keywords: | SPACE_IN_PATH |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Skrivanek
2005-08-17 12:06:38 UTC
This is strange, similar symptomps like in issue #61477. I think that this issue is fixed in trunk. Jirko can you try to install NB 4.1 and JBoss nbm from mentioned issue on your comp and test it? Thanks, Petr This is a different problem then issue 61477. The probem is that Jirka has the server installed in "C:\Program Files" (space in path). I can reproduce it if I copy jboss there. I will fix this for 4.2. Jirka Skrivanek confirmed that issue is caused by space in JBoss path. Changed way to get URL. release41 branch fix: http://serverplugins.netbeans.org/source/browse/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java?r1=1.11.4.2&r2=1.11.4.3 http://serverplugins.netbeans.org/source/browse/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/JBDeploymentFactory.java?r1=1.2&r2=1.2.4.1 I think a better fix would be to use the NbProcessDescriptor class, which handles spaces in path well, instead of Runtime.getRuntime().exec(). Fixed in trunk. Fix of JBStartServer (surrounding executed command with quotation marks) in release41 branch does not work on linux. NbProcessDescriptor should be used. Checking in JBDeploymentFactory.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/JBDeploymentFactory.java,v <-- JBDeploymentFactory.java new revision: 1.5; previous revision: 1.4 done Checking in ide/JBStartServer.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java,v <-- JBStartServer.java new revision: 1.19; previous revision: 1.18 done Verified in build 200509131800. |