Debug: no runner specified for GlassFish

Answered

I'm using intellij Ultimate 2019.3 EAP

and have configured Glassfish 4.1.2 but am unable to put it in debug mode, post configuration I get warning, debug settings are invalid or not suitable for local debugging.

also when I ignore this and try debug I get error stating

Debug: there are no runners specified for Glassfish server: Glassfish 4.1.2

3 comments
Comment actions Permalink

Have the same. Ultimate 2019.3 but Payara 5.193.1.

Perhaps a bug in the IDEA server connector for glassfish?

0
Comment actions Permalink

When I switch the server config to JDK 8, there appeared a "FIX" button !? but the server didn´t start nevertheless 

My server.log (with Coretto 11):

[2019-12-03T20:50:10.774+0100] [] [INFORMATION] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1575402610774] [levelValue: 800] [[
JVM invocation command line:
C:\Users\myusername\opt\jdk-11-corretto\bin\java.exe
-cp
C:/Users/myusername/opt/payara5/glassfish/modules/glassfish.jar
-agentlib:jdwp=transport=dt_socket,address=*:9009,server=n,suspend=y
-XX:+UnlockDiagnosticVMOptions
--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED
--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
-XX:NewRatio=2
-Xbootclasspath/a:C:\Users\myusername\opt\payara5\glassfish/lib/grizzly-npn-api.jar
-Xmx512m
-client
-javaagent:C:\Users\myusername\.IntelliJIdea2019.3\system\captureAgent\debugger-agent.jar
-javaagent:C:/Users/myusername/opt/payara5/glassfish/lib/monitor/flashlight-agent.jar
-Djavax.xml.accessExternalSchema=all
-Djavax.net.ssl.trustStore=C:\Users\myusername\opt\payara5\glassfish\domains\domain1/config/cacerts.jks
-Djdk.tls.rejectClientInitiatedRenegotiation=true
-Djdk.corba.allowOutputStreamSubclass=true
-Dfelix.fileinstall.dir=C:\Users\myusername\opt\payara5\glassfish/modules/autostart/
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dcom.sun.aas.installRoot=C:\Users\myusername\opt\payara5\glassfish
-Dfelix.fileinstall.poll=5000
-Djava.security.policy=C:\Users\myusername\opt\payara5\glassfish\domains\domain1/config/server.policy
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.bundles.startTransient=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dfelix.fileinstall.log.level=2
-Djavax.net.ssl.keyStore=C:\Users\myusername\opt\payara5\glassfish\domains\domain1/config/keystore.jks
-Djava.security.auth.login.config=C:\Users\myusername\opt\payara5\glassfish\domains\domain1/config/login.conf
-Dfelix.fileinstall.disableConfigSave=false
-Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager
-Dfelix.fileinstall.bundles.new.start=true
-Dcom.sun.aas.instanceRoot=C:\Users\myusername\opt\payara5\glassfish\domains\domain1
-Dosgi.shell.telnet.port=6666
-Dgosh.args=--nointeractive
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false
-Dosgi.shell.telnet.ip=127.0.0.1
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Djava.awt.headless=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true
-Djava.library.path=C:/Users/myusername/opt/payara5/glassfish/lib;C:/Program Files/Amazon Corretto/jdk11.0.3_7/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/app/administrator/product/18.0.0/dbhomeXE/bin;C:/Users/myusername/opt/jdk-11-corretto/bin;C:/Program Files/Microsoft MPI/Bin;C:/app/client/product/12.1.0/client_1/bin;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files (x86)/Subversion/bin;C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common;C:/Program Files/dotnet;C:/Program Files/Microsoft SQL Server/130/Tools/Binn;C:/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0;C:/Program Files/Microsoft SQL Server/110/Tools/Binn;C:/Program Files/OpenVPN/bin;C:/HashiCorp/Vagrant/bin;C:/ProgramData/ComposerSetup/bin;C:/Users/myusername/opt/bin;C:/Program Files/nodejs;C:/Program Files (x86)/Yarn/bin;C:/Windows/System32/OpenSSH;C:/Users/myusername/opt/liquibase-3.4.2-bin;C:/Program Files/Microsoft VS Code/bin;C:/Program Files (x86)/AOMEI Backupper;C:/Program Files/Docker Toolbox;C:/ProgramData/chocolatey/bin;C:/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn;C:/Program Files/Microsoft SQL Server/140/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn;C:/Program Files/Microsoft SQL Server/140/DTS/Binn;C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn/ManagementStudio;C:/Program Files/Git/cmd;C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL;C:/Program Files/Intel/Intel(R) Management Engine Components/DAL;C:/ProgramData/chocolatey/lib/maven/apache-maven-3.6.1/bin;C:/xampp73/php;C:/xampp73/mysql/bin;C:/Program Files/Microsoft/Web Platform Installer;C:/Ruby24-x64/bin;C:/Users/myusername/AppData/Local/Microsoft/WindowsApps;C:/Program Files/Oracle/VirtualBox;C:/Users/myusername/AppData/Roaming/Composer/vendor/bin;C:/Users/myusername/AppData/Roaming/npm;C:/Users/myusername/AppData/Local/Yarn/bin;C:/tools/cmder;C:/Users/myusername/AppData/Local/Programs/Microsoft VS Code/bin;C:/Program Files/JetBrains/IntelliJ IDEA 2018.3/bin;C:/Users/myusername/AppData/Local/Polycom/RealPresence Desktop;C:/Users/myusername/opt/payara5/glassfish/bin
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
C:/Users/myusername/opt/payara5/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--extraterse=false,,,--echo=false,,,--interactive=false,,,--autoname=false,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=true,,,--domaindir,,,C:\Users\myusername\opt\payara5\glassfish\domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
C:/Users/myusername/opt/payara5/glassfish/lib/client/appserver-cli.jar
-debug
true
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain
-watchdog
false]]

 

0

Please sign in to leave a comment.