我刚刚安装了 netbeans 7.2 并在其中创建了一个项目。但是当我尝试运行该项目时。我收到以下错误
错误是
Could not connect to admin Listener for Glass Fish server 3.1.2
Verify that Netbeans can make outbound connections to localhost:4848
我还Use IDEs Proxy Settings
通过转到玻璃鱼的属性来取消选中,但它仍然无法正常工作。知道为什么我会得到这个吗?
在线发生的错误
<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>
谢谢你。
-------------------------------------------------- - - - - - - - - - - - - 编辑
您提到的目录中有文件 server.txt 。这是文件包含的内容。
Sep 24, 2012 1:18:39 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
-XX:+UnlockDiagnosticVMOptions
-XX:PermSize=64m
-XX:MaxPermSize=192m
-XX:NewRatio=2
-Xmx512m
-client
-javaagent:C:/Program Files/glassfish-3.1.2.2/glassfish/lib/monitor/flashlight-agent.jar
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.disableConfigSave=false
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=C:\Program Files\glassfish-3.1.2.2\glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=C:\Program Files\glassfish-3.1.2.2\glassfish\domains\domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=C:\Program Files\glassfish-3.1.2.2\glassfish\domains\domain1/config/server.policy
-Djava.awt.headless=true
-Dfelix.fileinstall.log.level=2
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=C:\Program Files\glassfish-3.1.2.2\glassfish\domains\domain1
-Dosgi.shell.telnet.ip=127.0.0.1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Djava.endorsed.dirs=C:\Program Files\glassfish-3.1.2.2\glassfish/modules/endorsed;C:\Program Files\glassfish-3.1.2.2\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=C:\Program Files\glassfish-3.1.2.2\glassfish
-Dfelix.fileinstall.bundles.startTransient=true
-Djava.ext.dirs=C:\Program Files\Java\jdk1.6.0_06/lib/ext;C:\Program Files\Java\jdk1.6.0_06/jre/lib/ext;C:\Program Files\glassfish-3.1.2.2\glassfish\domains\domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=C:\Program Files\glassfish-3.1.2.2\glassfish\domains\domain1/config/cacerts.jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=C:\Program Files\glassfish-3.1.2.2\glassfish\domains\domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dgosh.args=--nointeractive
Sep 24, 2012 1:18:39 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 0 msec.