1


当我启动服务器时,它给了我以下错误:我无法启动服务器。

本地主机上的服务器 GlassFish Server Open Source Edition 3 (Java EE 6) 无法启动。

服务器日志如下:

2012 年 6 月 11 日晚上 8:28:23
com.sun.enterprise.admin.launcher.GFLauncherLogger
信息信息:JVM 调用命令行:C:\Program Files\Java\jdk1.7.0_04\bin\java.exe -cp C :/Java/glassfish-3.0.1/glassfishv3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:\Java \glassfish-3.0.1\glassfishv3\glassfish\domains\domain1/logs/jvm.log
-Xmx512m
-javaagent:C:/Java/glassfish-3.0.1/glassfishv3/glassfish/lib/monitor/btrace-agent.jar= unsafe=true,noServer=true
-client
-Dosgi.shell.telnet.maxconn=1
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=C:\Java\glassfish-3.0.1\glassfishv3\glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=C:\Java\glassfish-3.0.1\glassfishv3\glassfish\域\domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=C:\Java\glassfish-3.0.1\glassfishv3\glassfish\domains\domain1/config/server.policy
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=C:\Java\glassfish-3.0.1\glassfishv3\glassfish\domains\domain1 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun。 enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dosgi.shell.telnet.ip=127.0.0.1
-Djava.endorsed.dirs=C:\Java\glassfish-3.0.1\glassfishv3\glassfish/modules/endorsed;
C:\Java\glassfish-3.0.1\glassfishv3\glassfish/lib/endorsed -Dcom.sun.aas.installRoot=C:\Java\glassfish-3.0.1\glassfishv3\glassfish -Djava.ext.dirs=C: \Program Files\Java\jdk1.7.0_04/lib/ext;C:\Program Files\Java\jdk1.7.0_04/jre/lib/ext;C:\Java\glassfish-3.0.1\glassfishv3\glassfish\domains \domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=C:\Java\glassfish-3.0.1\glassfishv3\glassfish\domains\domain1/config/cacerts。 jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=C:\Java\glassfish-3.0.1\glassfishv3\glassfish\domains\domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING =true
-Dfelix.fileinstall.debug=1
-Dorg.glassfish.web.rfc2109_cookie_names_enforced=false
-Djava.library.path=C:/Java/glassfish-3.0.1/glassfishv3/glassfish/lib;C:/Program Files/Java/jdk1.7.0_04/bin;C :/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C: /Program Files/Java/jre7/lib/i386;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Java/eclipse;C:/Java/glassfish-3.0。 1/glassfishv3/glassfish com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname domain1
-asadmin-args start-domain,,,--domaindir,,,C:\Java\glassfish-3.0.1\glassfishv3\glassfish\域,,,--debug=false,,,--verbose=false,,,domain1
-instancename server
-verbose false
-debug false
-asadmin-classpath C:/Java/glassfish-3.0.1/glassfishv3/glassfish/modules/admin-cli.jar
-asadmin-classname com.sun.enterprise.admin.cli.AsadminMain
-upgrade false
-domaindir C:/Java /glassfish-3.0.1/glassfishv3/glassfish/domains/domain1
-read-stdin true

4

1 回答 1

1

我已经解决了这个问题。我已经删除了 osgi-cache 以前我无法在系统上删除。即使在关闭日食之后。然后我找到了系统上运行后台任务(Java.exe)的原因。无论如何,感谢您的指导。

于 2012-10-15T06:49:06.797 回答