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 223806 - Glassfish does not start from netbeans
Summary: Glassfish does not start from netbeans
Status: RESOLVED DUPLICATE of bug 222122
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 20:08 UTC by everflux
Modified: 2012-12-14 07:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2012-12-13 20:08:46 UTC
[ BUILD # : 201212130001 ]
[ JDK VERSION : 1.7.0_09 ]

I have created a new web application, set it as main-project and then "run".
Expected result: Glassfish is started, application deployed.
Actual result: "run" output shows

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting GlassFish Server 3+

And progress bar is moving. Nothing else happens.

Using an already installed glassfish 3.1.2.2 as well as using Netbeans to
install glassfish yields the same results.

Output from console which was used to launch Netbeans:
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving
dependencies took: 2 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete
indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete
indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files:
0) [Adding listeners took: 0 ms]
INFO [org.netbeans.lib.profiler.infolog]: >>> Profiler agent [port=5140,
id=-1]: STATE_INACTIVE
INFO [org.glassfish.tools.ide]: [GlassFish Server 3+] Port check could not
connect to localhost:4848: Connection refused
INFO [org.glassfish.tools.ide]: [GlassFish Server 3+] Port check could not
connect to localhost:4848: Connection refused
WARNING [org.glassfish.tools.ide]: Caught GlassFishIdeException: DAS start
failed.
WARNING [org.glassfish.tools.ide]: GlassFishIdeException was caused by
java.util.concurrent.ExecutionException: java.lang.NumberFormatException: null
WARNING [org.netbeans.core.TimableEventQueue]: Still previous controller
org.netbeans.modules.sampler.InternalSampler@1fadfe08

No log files are created by glassfish.
Starting glassfish manually using
tkruse@charix:~/java/glassfish-netbeans/glassfish$ ./bin/asadmin start-domain
Waiting for domain1 to start ....
Successfully started the domain : domain1
domain  Location:
/home/tkruse/java/glassfish-netbeans/glassfish/domains/domain1
Log File:
/home/tkruse/java/glassfish-netbeans/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.

works as expected, deployment after manual start works from Netbeans as
expected.
Comment 1 Jiri Skrivanek 2012-12-14 07:49:19 UTC
I guess it is a duplicate of bug 222122. It should be already fixed. Please, try again with empty userdir (http://wiki.netbeans.org/FaqWhatIsUserdir) and let us know.

*** This bug has been marked as a duplicate of bug 222122 ***