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 198874 - GlassFish v3.0 - not able to start
Summary: GlassFish v3.0 - not able to start
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 02:42 UTC by srinivas1985
Modified: 2011-05-27 02:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
server.log (185.98 KB, application/octet-stream)
2011-05-25 02:42 UTC, srinivas1985
Details
Messages.lgo (38.79 KB, application/octet-stream)
2011-05-25 12:14 UTC, srinivas1985
Details
Server.log from domain1\log\ folder (1.05 MB, application/octet-stream)
2011-05-25 12:16 UTC, srinivas1985
Details

Note You need to log in before you can comment on or make changes to this bug.
Description srinivas1985 2011-05-25 02:42:41 UTC
Created attachment 108492 [details]
server.log

When trying to start the GF server, the server is not getting started.

Only solution is to uninstall the Netbeans,delete all the netbeans related folder  and install it again .After this the glass fish server runs only once.Then from next time onwards it is getting failed.

I have attached the detail logs but i could find only the below error message .
Couldnt able to resolve the problem and also the error message is not helpful.
In fact this message appears only in ALL level traces.

java.io.IOException: An existing connection was forcibly closed by the remote host
	at sun.nio.ch.SocketDispatcher.read0(Native Method)
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:202)
	at sun.nio.ch.IOUtil.read(IOUtil.java:175)
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
	at com.sun.grizzly.filter.ReadFilter.execute(ReadFilter.java:165)
	at com.sun.grizzly.filter.ReadFilter.execute(ReadFilter.java:107)
	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
	at java.lang.Thread.run(Thread.java:662)
Comment 1 Vince Kraemer 2011-05-25 05:15:13 UTC
are you able to start the domain using asadmin start-domain?

Please attach the IDE log (messages.log) and the output from the ant window...

Are you starting GF 3.0 or GF 3.1? It looks like the log is for GF 3.1.

Please attach the actual server log file... not the output that appears in the IDE.   The data in the IDE window is usually enough to resolve issues in a user's app while the user is working on it, but does not contain additional that helps diagnose situations like this.

Please include the data from the successful start and the failed start, since there may be an issue in your app that contributes to the problem.

Did you install NB and GF in c:\Program Files\?

It looks like you are using jdk 6 update 24... correct?

Note: I just installed NB 7.0 with GF 3.1.  I was able to start the server.  I was able to stop the server. I was able to restart the server.

I stopped NB and restarted it.

I was able to start the server after NB completed restarting.

I am using Windows 7 and JDK 6 update 25.

This makes me think that the app that you are deploying may be contributing to the issue.  Please attach the app project that you are deploying.  If you cannot attach the project, please provide more info about the application so we can try to create a project which triggers a similar fault.

Marking as incomplete. Please reopen the issue with the additional info that I have requested.
Comment 2 srinivas1985 2011-05-25 12:14:34 UTC
Created attachment 108500 [details]
Messages.lgo

Yes.I am using Glassfish 3.1 and the netbeans 7 with Java update 24.
I am attaching the messages.log file and server.log that i found in C:\Users\<username>\.netbeans\7.0 directory
Infact I dont have projects opened.I am trying to start just the glassfish.
One more thing that i have noticed is that if i work on a project in a different machine with netbeans 6.8, everything is fine.
But I am facing this problem in windows 7 and its a recurring problem.

Can you explain how to start the domain through asadmin start-domain? and also how to get the ant output window?
Comment 3 srinivas1985 2011-05-25 12:16:08 UTC
Created attachment 108501 [details]
Server.log from domain1\log\ folder
Comment 4 Vince Kraemer 2011-05-25 14:14:11 UTC
in your case, the asadmin command to start the domain would be

C:\Program Files\glassfish-3.1\bin\asadmin --domaindir C:\Users\srini\.netbeans\7.0\config\GF3 domain1
Comment 5 Vince Kraemer 2011-05-25 14:16:19 UTC
You may want to try the following...

reinstall nb and gf with the GF installed in c:\Oracle\glassfish-3.1
Comment 6 srinivas1985 2011-05-26 13:57:36 UTC
The problem somehow appears.I re-installed GF in C:\Oracle.Initially it was fine.But the problem re-appeared.Even if there are no projects, the GF doesnt start.

If any more information is required,please let me know what are the details and how to get it.
So that i can help in anyways to solve this problem.
Comment 7 Vince Kraemer 2011-05-26 15:04:17 UTC
please attach the log files from the most recent install/testing...

Are you able to start the domain with asadmin?

Are you saying "there are no projects open in NB" or are you saying "There is nothing deployed onto GF"?
Comment 8 srinivas1985 2011-05-27 02:23:45 UTC
I meant no projects opened in Netbeans.

How do I check if a project is deployed or not - I mean which directory?

There is no GF3 folder in .netbeans/7.0/config after installing it in C:\Oracle\GlassFish3.1

I am very much new to Netbeans.I have been using eclipse for a long time almost 7 years.Wanted to use Netbeans and use the features available in it but it is giving me lot of problems.

Please let me know detailed procedure in installation,getting logs and configuration part.