hello !
I created simple Java ee application using File >>New Project >> Java EE >>Enterprise Application in Netbeans 7.0 using Glassfish server 3.x but when i tried to run application I had this exception
pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init: deps-jar: deps-j2ee-archive: EnterTest-ejb.init: EnterTest-ejb.deps-jar: EnterTest-ejb.compile: EnterTest-ejb.library-inclusion-in-manifest: EnterTest-ejb.dist-ear: EnterTest-war.init: EnterTest-war.deps-module-jar: EnterTest-war.deps-ear-jar: EnterTest-ejb.init: EnterTest-ejb.deps-jar: EnterTest-ejb.compile: EnterTest-ejb.library-inclusion-in-manifest: EnterTest-ejb.dist-ear: EnterTest-war.deps-jar: EnterTest-war.library-inclusion-in-archive: EnterTest-war.library-inclusion-in-manifest: EnterTest-war.compile: EnterTest-war.compile-jsps: EnterTest-war.do-ear-dist: Building jar: C:\Users\user\EnterTest\EnterTest-war\dist\EnterTest-war.war EnterTest-war.dist-ear: pre-pre-compile: pre-compile: Copying 1 file to C:\Users\user\EnterTest\build do-compile: post-compile: compile: pre-dist: post-dist: dist-directory-deploy: pre-run-deploy: C:\Users\user\EnterTest\nbproject\build-impl.xml:284: Deployment error: port out of range:453645456 See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:209) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor438.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154) Caused by: java.lang.IllegalArgumentException: port out of range:453645456 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) at org.netbeans.core.NbProxySelector.select(NbProxySelector.java:160) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:358) at java.net.Socket.connect(Socket.java:519) at org.netbeans.modules.glassfish.spi.Utils.isSecurePort(Utils.java:272) at org.netbeans.modules.glassfish.spi.Utils.isSecurePort(Utils.java:264) at org.netbeans.modules.glassfish.spi.Utils.getHttpListenerProtocol(Utils.java:229) at org.netbeans.modules.glassfish.spi.Utils.getHttpListenerProtocol(Utils.java:215) at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.constructServerUri(Hk2DeploymentManager.java:598) at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.getTargets(Hk2DeploymentManager.java:531) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:558) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:516) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._retrieveTarget(ServerInstance.java:1808) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDebugger(ServerInstance.java:973) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isSuspended(ServerInstance.java:1022) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1346) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1210) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:1087) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:512) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:164) ... 16 more BUILD FAILED (total time: 0 seconds)
thanks.