dev@glassfish.java.net

Re: V3 wouldn't build, now won't start

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 21 Feb 2008 11:38:52 -0800

I cleaned and rebuilt everything, and now it starts OK.

Lloyd

On Feb 21, 2008, at 11:17 AM, Lloyd Chambers wrote:

> No, it's NOT ok now. It builds, but doesn't start:
>
>
> [INFO] [gf:run]
> [INFO] Using existing glassfish installation image at /v3/code/
> target/glassfish
> Feb 21, 2008 11:16:15 AM
> com.sun.enterprise.module.maven.MavenProjectRepository <init>
> WARNING: No output directory /v3/code/distributions/web/target/classes
> Feb 21, 2008 11:16:15 AM
> com.sun.enterprise.module.maven.MavenProjectRepository loadModuleDefs
> INFO: Loading modules list from /v3/repo/org/glassfish/distributions/
> web/10.0-SNAPSHOT/web-10.0-SNAPSHOT.pom
> Feb 21, 2008 11:16:16 AM
> com.sun.enterprise.v3.server.AppServerStartup run
> INFO: HK2 initialized in 259 ms
> Feb 21, 2008 11:16:17 AM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 8080
> Exception in thread "Thread-6" java.lang.NoSuchFieldError:
> portUnificationFilter
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GrizzlyServiceListener.configureFilters(GrizzlyServiceListener.java:
> 150)
> at
> com
> .sun.grizzly.http.SelectorThread.initController(SelectorThread.java:
> 645)
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GrizzlyServiceListener.initController(GrizzlyServiceListener.java:
> 107)
> at
> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:
> 792)
> at com.sun.enterprise.v3.services.impl.GrizzlyProxy
> $1.run(GrizzlyProxy.java:246)
> Exception in thread "Thread-8" java.lang.NoSuchFieldError:
> portUnificationFilter
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GrizzlyServiceListener.configureFilters(GrizzlyServiceListener.java:
> 150)
> at
> com
> .sun.grizzly.http.SelectorThread.initController(SelectorThread.java:
> 645)
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GrizzlyServiceListener.initController(GrizzlyServiceListener.java:
> 107)
> at
> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:
> 792)
> at com.sun.enterprise.v3.services.impl.GrizzlyProxy
> $1.run(GrizzlyProxy.java:246)
> Feb 21, 2008 11:16:17 AM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 8181
> Feb 21, 2008 11:16:17 AM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 4848
> Exception in thread "Thread-10" java.lang.NoSuchFieldError:
> portUnificationFilter
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GrizzlyServiceListener.configureFilters(GrizzlyServiceListener.java:
> 150)
> at
> com
> .sun.grizzly.http.SelectorThread.initController(SelectorThread.java:
> 645)
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GrizzlyServiceListener.initController(GrizzlyServiceListener.java:
> 107)
> at
> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:
> 792)
> at com.sun.enterprise.v3.services.impl.GrizzlyProxy
> $1.run(GrizzlyProxy.java:246)
> Feb 21, 2008 11:16:17 AM
> com.sun.enterprise.v3.server.AppServerStartup run
> INFO: Glassfish v3 started in 1533 ms
>
>
>
>
> On Feb 21, 2008, at 11:14 AM, Lloyd Chambers wrote:
>
>> Updated needs to happen higher up than core, now it works.
>>
>> On Feb 21, 2008, at 11:10 AM, Lloyd L Chambers wrote:
>>
>>> Which file(s)?
>>>
>>> I did an svn update, no change.
>>>
>>> [INFO] [hk2:hk2-compile]
>>> [INFO] Compiling 2 source files to /v3/code/core/kernel/target/
>>> classes
>>> /v3/code/core/kernel/src/main/java/com/sun/enterprise/v3/services/
>>> impl/WebProtocolHandler.java:59:
>>> com.sun.enterprise.v3.services.impl.WebProtocolHandler is not
>>> abstract and does not override abstract method getByteBuffer() in
>>> com.sun.grizzly.portunif.ProtocolHandler
>>> public class WebProtocolHandler implements ProtocolHandler,
>>> EndpointMapper<Adapter>{
>>> ^
>>> 1 error
>>>
>>>
>>>
>>> On Feb 21, 2008, at 10:42 AM, Pramod Gopinath wrote:
>>>
>>>> The build is back to normal.
>>>> Sorry for the confusion.
>>>>
>>>> Pramod
>>>>
>>>> Pramod Gopinath wrote:
>>>>> This has been introduced by my changes. Am working on fixing
>>>>> this right now.
>>>>>
>>>>> Thanks
>>>>> Pramod
>>>>>
>>>>> Lloyd L Chambers wrote:
>>>>>> I updated and cleaned this am.
>>>>>>
>>>>>> coding to copy filtered resources.
>>>>>> [INFO] [hk2:hk2-compile]
>>>>>> [INFO] Compiling 95 source files to /v3/code/core/kernel/target/
>>>>>> classes
>>>>>> Note: /v3/code/core/kernel/src/main/java/com/sun/enterprise/v3/
>>>>>> services/impl/VsAdapter.java uses or overrides a deprecated API.
>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>> /v3/code/core/kernel/src/main/java/com/sun/enterprise/v3/
>>>>>> services/impl/WebProtocolHandler.java:59:
>>>>>> com.sun.enterprise.v3.services.impl.WebProtocolHandler is not
>>>>>> abstract and does not override abstract method getByteBuffer()
>>>>>> in com.sun.grizzly.portunif.ProtocolHandler
>>>>>> public class WebProtocolHandler implements ProtocolHandler,
>>>>>> EndpointMapper<Adapter>{
>>>>>> ^
>>>>>> Note: /v3/code/core/kernel/src/main/java/com/sun/enterprise/v3/
>>>>>> services/impl/VsAdapter.java uses or overrides a deprecated API.
>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>> Note: Some input files use unchecked or unsafe operations.
>>>>>> Note: Recompile with -Xlint:unchecked for details.
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---
>>>>>> Lloyd L Chambers
>>>>>> lloyd.chambers_at_sun.com
>>>>>> Sun Microsystems, Inc
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---
>>> Lloyd L Chambers
>>> lloyd.chambers_at_sun.com
>>> Sun Microsystems, Inc
>>>
>>>
>>>
>>
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc