Skip to main content

I cannot to run Glassfish from Eclipse

No replies
hackum
Offline
Joined: 2012-05-06
Points: 0

Hello!
Glassfish not work from Eclipse.
See the error:

LOG:

<br />
May 6, 2012 4:30:58 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info<br />
INFO: JVM invocation command line:<br />
/opt/icedtea-bin-6.1.11.1/bin/java<br />
-cp<br />
/home/system/glassfish/glassfishv3/glassfish/modules/glassfish.jar<br />
-XX:+UnlockDiagnosticVMOptions<br />
-XX:MaxPermSize=192m<br />
-XX:NewRatio=2<br />
-XX:+LogVMOutput<br />
-XX:LogFile=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/logs/jvm.log<br />
-Xmx512m<br />
-client<br />
-javaagent:/home/system/glassfish/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true<br />
-Dosgi.shell.telnet.maxconn=1<br />
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver<br />
-Dfelix.fileinstall.dir=/home/system/glassfish/glassfishv3/glassfish/modules/autostart/<br />
-Djavax.net.ssl.keyStore=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/keystore.jks<br />
-Dosgi.shell.telnet.port=6666<br />
-Djava.security.policy=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/server.policy<br />
-Dfelix.fileinstall.poll=5000<br />
-Dcom.sun.aas.instanceRoot=/home/system/glassfish/glassfishv3/glassfish/domains/domain1<br />
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory<br />
-Dosgi.shell.telnet.ip=127.0.0.1<br />
-Djava.endorsed.dirs=/home/system/glassfish/glassfishv3/glassfish/modules/endorsed:/home/system/glassfish/glassfishv3/glassfish/lib/endorsed<br />
-Dcom.sun.aas.installRoot=/home/system/glassfish/glassfishv3/glassfish<br />
-Djava.ext.dirs=/opt/icedtea-bin-6.1.11.1/lib/ext:/opt/icedtea-bin-6.1.11.1/jre/lib/ext:/home/system/glassfish/glassfishv3/glassfish/domains/domain1/lib/ext<br />
-Dfelix.fileinstall.bundles.new.start=true<br />
-Djavax.net.ssl.trustStore=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/cacerts.jks<br />
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as<br />
-Djava.security.auth.login.config=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/login.conf<br />
-DANTLR_USE_DIRECT_CLASS_LOADING=true<br />
-Dfelix.fileinstall.debug=1<br />
-Dorg.glassfish.web.rfc2109_cookie_names_enforced=false<br />
-Djava.library.path=/home/system/glassfish/glassfishv3/glassfish/lib:/opt/icedtea-bin-6.1.11.1/jre/lib/i386/server:/opt/icedtea-bin-6.1.11.1/jre/lib/i386:/opt/icedtea-bin-6.1.11.1/lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib<br />
com.sun.enterprise.glassfish.bootstrap.ASMain<br />
-domainname<br />
domain1<br />
-asadmin-args<br />
start-domain,,,--domaindir,,,/home/system/glassfish/glassfishv3/glassfish/domains,,,--debug=false,,,--verbose=false,,,domain1<br />
-instancename<br />
server<br />
-verbose<br />
false<br />
-debug<br />
false<br />
-asadmin-classpath<br />
/home/system/glassfish/glassfishv3/glassfish/modules/admin-cli.jar<br />
-asadmin-classname<br />
com.sun.enterprise.admin.cli.AsadminMain<br />
-upgrade<br />
false<br />
-domaindir<br />
/home/system/glassfish/glassfishv3/glassfish/domains/domain1<br />
-read-stdin<br />
true</p>
<p>May 6, 2012 4:34:17 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info<br />
INFO: JVM invocation command line:<br />
/opt/icedtea-bin-6.1.11.1/bin/java<br />
-cp<br />
/home/system/glassfish/glassfishv3/glassfish/modules/glassfish.jar<br />
-XX:+UnlockDiagnosticVMOptions<br />
-XX:MaxPermSize=192m<br />
-XX:NewRatio=2<br />
-XX:+LogVMOutput<br />
-XX:LogFile=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/logs/jvm.log<br />
-Xmx512m<br />
-client<br />
-javaagent:/home/system/glassfish/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true<br />
-Dosgi.shell.telnet.maxconn=1<br />
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver<br />
-Dfelix.fileinstall.dir=/home/system/glassfish/glassfishv3/glassfish/modules/autostart/<br />
-Djavax.net.ssl.keyStore=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/keystore.jks<br />
-Dosgi.shell.telnet.port=6666<br />
-Djava.security.policy=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/server.policy<br />
-Dfelix.fileinstall.poll=5000<br />
-Dcom.sun.aas.instanceRoot=/home/system/glassfish/glassfishv3/glassfish/domains/domain1<br />
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory<br />
-Dosgi.shell.telnet.ip=127.0.0.1<br />
-Djava.endorsed.dirs=/home/system/glassfish/glassfishv3/glassfish/modules/endorsed:/home/system/glassfish/glassfishv3/glassfish/lib/endorsed<br />
-Dcom.sun.aas.installRoot=/home/system/glassfish/glassfishv3/glassfish<br />
-Djava.ext.dirs=/opt/icedtea-bin-6.1.11.1/lib/ext:/opt/icedtea-bin-6.1.11.1/jre/lib/ext:/home/system/glassfish/glassfishv3/glassfish/domains/domain1/lib/ext<br />
-Dfelix.fileinstall.bundles.new.start=true<br />
-Djavax.net.ssl.trustStore=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/cacerts.jks<br />
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as<br />
-Djava.security.auth.login.config=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/login.conf<br />
-DANTLR_USE_DIRECT_CLASS_LOADING=true<br />
-Dfelix.fileinstall.debug=1<br />
-Dorg.glassfish.web.rfc2109_cookie_names_enforced=false<br />
-Djava.library.path=/home/system/glassfish/glassfishv3/glassfish/lib:/opt/icedtea-bin-6.1.11.1/jre/lib/i386/server:/opt/icedtea-bin-6.1.11.1/jre/lib/i386:/opt/icedtea-bin-6.1.11.1/lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib<br />
com.sun.enterprise.glassfish.bootstrap.ASMain<br />
-domainname<br />
domain1<br />
-asadmin-args<br />
start-domain,,,--domaindir,,,/home/system/glassfish/glassfishv3/glassfish/domains,,,--debug=false,,,--verbose=false,,,domain1<br />
-instancename<br />
server<br />
-verbose<br />
false<br />
-debug<br />
false<br />
-asadmin-classpath<br />
/home/system/glassfish/glassfishv3/glassfish/modules/admin-cli.jar<br />
-asadmin-classname<br />
com.sun.enterprise.admin.cli.AsadminMain<br />
-upgrade<br />
false<br />
-domaindir<br />
/home/system/glassfish/glassfishv3/glassfish/domains/domain1<br />
-read-stdin<br />
true</p>
<p>May 6, 2012 4:37:42 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info<br />
INFO: JVM invocation command line:<br />
/opt/icedtea-bin-6.1.11.1/bin/java<br />
-cp<br />
/home/system/glassfish/glassfishv3/glassfish/modules/glassfish.jar<br />
-XX:+UnlockDiagnosticVMOptions<br />
-XX:MaxPermSize=192m<br />
-XX:NewRatio=2<br />
-XX:+LogVMOutput<br />
-XX:LogFile=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/logs/jvm.log<br />
-Xmx512m<br />
-client<br />
-javaagent:/home/system/glassfish/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true<br />
-Dosgi.shell.telnet.maxconn=1<br />
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver<br />
-Dfelix.fileinstall.dir=/home/system/glassfish/glassfishv3/glassfish/modules/autostart/<br />
-Djavax.net.ssl.keyStore=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/keystore.jks<br />
-Dosgi.shell.telnet.port=6666<br />
-Djava.security.policy=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/server.policy<br />
-Dfelix.fileinstall.poll=5000<br />
-Dcom.sun.aas.instanceRoot=/home/system/glassfish/glassfishv3/glassfish/domains/domain1<br />
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory<br />
-Dosgi.shell.telnet.ip=127.0.0.1<br />
-Djava.endorsed.dirs=/home/system/glassfish/glassfishv3/glassfish/modules/endorsed:/home/system/glassfish/glassfishv3/glassfish/lib/endorsed<br />
-Dcom.sun.aas.installRoot=/home/system/glassfish/glassfishv3/glassfish<br />
-Djava.ext.dirs=/opt/icedtea-bin-6.1.11.1/lib/ext:/opt/icedtea-bin-6.1.11.1/jre/lib/ext:/home/system/glassfish/glassfishv3/glassfish/domains/domain1/lib/ext<br />
-Dfelix.fileinstall.bundles.new.start=true<br />
-Djavax.net.ssl.trustStore=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/cacerts.jks<br />
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as<br />
-Djava.security.auth.login.config=/home/system/glassfish/glassfishv3/glassfish/domains/domain1/config/login.conf<br />
-DANTLR_USE_DIRECT_CLASS_LOADING=true<br />
-Dfelix.fileinstall.debug=1<br />
-Dorg.glassfish.web.rfc2109_cookie_names_enforced=false<br />
-Djava.library.path=/home/system/glassfish/glassfishv3/glassfish/lib:/opt/icedtea-bin-6.1.11.1/jre/lib/i386/server:/opt/icedtea-bin-6.1.11.1/jre/lib/i386:/opt/icedtea-bin-6.1.11.1/lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib<br />
com.sun.enterprise.glassfish.bootstrap.ASMain<br />
-domainname<br />
domain1<br />
-asadmin-args<br />
start-domain,,,--domaindir,,,/home/system/glassfish/glassfishv3/glassfish/domains,,,--debug=false,,,--verbose=false,,,domain1<br />
-instancename<br />
server<br />
-verbose<br />
false<br />
-debug<br />
false<br />
-asadmin-classpath<br />
/home/system/glassfish/glassfishv3/glassfish/modules/admin-cli.jar<br />
-asadmin-classname<br />
com.sun.enterprise.admin.cli.AsadminMain<br />
-upgrade<br />
false<br />
-domaindir<br />
/home/system/glassfish/glassfishv3/glassfish/domains/domain1<br />
-read-stdin<br />
true<br />

Error
Server GlassFish Server Open Source Edition 3 (Java EE 6) at localhost failed to start.