users@glassfish.java.net

Re: Instance is not GlassFish Server 3.

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 11 Jan 2011 19:59:27 -0500

I see this with my webapp sometimes. The workaround seems to be to do a
clean action followed by a Debug or Run action.

On 01/10/2011 06:41 AM, Edmondo Porcu wrote:
> Dear all,
> until yesterday I had no problem in running my app client in glassfish
> app container through netbeans simply by clicking "Run Main Project".
>
> Today, I get this error:
>
> Instance is not GlassFish Server 3.
> D:\Netbeans7Project\GottwareTerminal\GottwareTerminal-app-client\nbproject\build-impl.xml:795:
>
> The module has not been deployed.
> at
> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:187)
> at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> at sun.reflect.GeneratedMethodAccessor170.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:1397)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
> 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)
>
>
> Do you have any idea of where it might come from?
>
> Best Regards
> Edmondo


-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com