Skip to content

Glassfish 8 does not start from local installation #9220

Description

@helper14

Apache NetBeans version

Apache NetBeans 29

What happened

Using Glassfish 8.0.0 works fine if the server is downloaded with the "add server Instance" - Dialog (see green marker in the screenshot). If Glassfish is downloaded from the download page and then the "Installation Location" option is selected - starting the server fails and the following error occurs:

Error: Could not find or load main class com.sun.enterprise.glassfish.bootstrap.ASMain
Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.glassfish.bootstrap.ASMain

Image

Language / Project Type / NetBeans Component

Services - Servers - Add Server...

How to reproduce

Add a local Glassfish-8.0.0 from https://www.eclipse.org/downloads/download.php?file=/ee4j/glassfish/glassfish-8.0.0.zip. Move it to a local folder, add it to netbeans with the add server wizzard. Start the server.

Did this work correctly in an earlier version?

No / Don't know

Operating System

win11

JDK

OpenJDK21

Apache NetBeans packaging

Community provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions