Thanks for the reply, Andreas. I hadn't tried Payara 5 yet so I just
did and I get the same results ("GlassFish Server start failed") and
thanks for the tip about "grizzly-npn-bootstrap-X.X.jar" which I did
have to remove.

You asked about what I'm seeing in server.log. In all cases I'm seeing
something like the entries below, which are from Glassfish 4.1:

[2019-01-04T09:15:03.983-0500] [glassfish 4.1] [INFO]
[NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17
_ThreadName=RunLevelControllerThread-1546611298103] [timeMillis:
1546611303983] [levelValue: 800] [[ Grizzly Framework 2.3.15 started
in: 0ms - bound to [/0.0.0.0:7676]]]

[2019-01-04T09:15:03.985-0500] [glassfish 4.1] [INFO]
[NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1
_ThreadName=main] [timeMillis: 1546611303985] [levelValue: 800] [[
Registered 
com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@69d3cf7e
as OSGi service registration:
org.apache.felix.framework.ServiceRegistrationImpl@3069a360.]]

[2019-01-04T09:15:13.955-0500] [glassfish 4.1] [INFO] [NCLS-JMX-00005]
[javax.enterprise.system.jmx] [tid: _ThreadID=61
_ThreadName=Thread-14] [timeMillis: 1546611313955] [levelValue: 800]
[[ JMXStartupService has started JMXConnector on JMXService URL
service:jmx:rmi://10.251.93.47:8686/jndi/rmi://10.251.93.47:8686/jmxrmi]]

I should probably emphasize that that it takes a long time for the
"GlassFish Server start failed" error to appear. Let's say five
minutes or so. What is Glassfish or Netbeans doing that whole time? Is
there any debug output I can see? Is the state stored on disk
somewhere?

A few other facts and observations:

- Despite the "GlassFish Server start failed" error, Glassfish (or
Payara) are actually started. I get the usual screen at
http://localhost:8080
- Even though Glassfish is running, Netbeans doesn't seem to know it
started it. Right-clicking Glassfish under "Servers" shows "Start",
"Stop" and other menu items greyed out. If I click "Refresh" then
"Start" and "Stop" remain greyed out. The integration between Netbeans
and Glassfish isn't working.

All I want is to go back to the working combination that I've had for
a long time: Netbeans 8.2 and Glassfish 4.1. (Our app, Dataverse,
currently requires Glassfish 4.1.) I don't know how to get there. :( I
only have the one laptop and I'm considering asking my help desk to
re-image it so I can get a truly fresh start. I didn't expect Mac
operating system upgrade to cause so much havoc for me. :(

Please keep any troubleshooting suggestions coming.

Thanks,

Phil


On Mon, Jan 7, 2019 at 8:01 AM Andreas Ernst <a...@ae-online.de> wrote:
>
> Hi Phil,
>
> Am 07.01.19 um 12:48 schrieb Philip Durbin:
> > Hello! I've been using the combination of NetBeans and GlassFish on
> > Mac everyday at work for over 6 years and it has worked great
> > (including deploy on save and the NetBeans/Chrome extension) until I
> > upgraded to OS X Mojave (10.14).
> >
> > Now, when I try to start GlassFish from NetBeans, I get a "start
> > failed" error like this:
> >
> > "GlassFish Server start failed.
> > Please check server admin user name and password properties.
> > Also please check the server log file for other possible causes."
> >
> > This failure to start takes a long time (multiple minutes, I'd say)
> > and afterwards when I right-click GlassFish under "Servers" many menu
> > items such as "Start", "Stop" and "Restart" are greyed out.
> >
> > Upgrading from Mojava 10.14.0 to 10.14.2 didn't help.
> >
> > Upgrading from NetBeans 8.2 to NetBeans 10 didn't help.
> >
> > Moving ~/.gfclient aside didn't help.
> >
> > Switching to from GlassFish 4.1 to Payara 4.1.2.181 didn't help.
> >
> > Each time I'm trying to use "out of the box" settings by unzipping
> > GlassFish 4.1 before adding it as a server. Each time I'm also moving
> > aside my NetBeans settings in "~/Library/Application Support". That is
> > to say, I'm trying to start fresh each time, ruling out any software
> > but NetBeans and GlassFish. Also, this means Glassfish shouldn't have
> > a password.
> >
> > The good news is that other two other developers on my team aren't
> > having any trouble with Mojave but I haven't been able to figure out
> > the root cause of my problem.
> >
> > Can you please suggest some troubleshooting steps? I have put a lot
> > more detail and screenshots at
> > https://github.com/IQSS/dataverse/issues/5431 and I'm happy to talk
> > about this problem here, there, or in real time channels like Slack or
> > IRC.
>
> i got NB 8.2 with Payara 5.184 on macOS 10.13 and 10.14, no issues.
>
> I do not see any exception in the log in your information, lock at the
> log file at:
>
> /path-to-gf/glassfish/domains/domain1/logs/server.log
>
> If you use Payara 5.184, take a look also here:
>
> https://stackoverflow.com/questions/50835355/starting-a-payara-5-has-encountered
>
> Edit your domain.xml, remove all entries for grizzly-npn-bootstrap-X.X.jar:
>
> <jvm-options>-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar</jvm-options>
>
>
> HTH
> Andreas
> --
> ae | Andreas Ernst | IT Spektrum
> Postfach 5, 65612 Beselich
> Schupbacher Str. 32, 65614 Beselich, Germany
> Tel: +49-6484-91002 Fax: +49-6484-91003
> a...@ae-online.de | www.ae-online.de
> www.tachyon-online.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to