dev@glassfish.java.net

Re: [Gfv3] Issues with use of ResourceBundle in web-container

From: Bhakti Mehta <Bhakti.Mehta_at_Sun.COM>
Date: Tue, 22 Jul 2008 14:03:45 -0700

Sahoo,
I modified my pom to use hk2-maven-plugin and added dependencies for
web-core and grizzly-module and could make progress (and run into the
next error). I was following the pom from gf-web-connector
https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/webservices/jsr109-impl/pom.xml?view=diff&rev=21364&p1=trunk/v3/webservices/jsr109-impl/pom.xml&p2=trunk/v3/webservices/jsr109-impl/pom.xml&r1=21363&r2=21364
I am not familiar with these plugins so would appreciate if you could
provide feedback. Do you think this masking the problem?
Regards,
Bhakti

Bhakti Mehta wrote:
> Sahoo this is the same problem I am running into.
> Not sure if you require these instructions now but here they are
>
> To reproduce
> cd v3/webservices
> mvn install
> copy jsr109-impl/target/jsr109impl-10.0-SNAPSHOT.jar to
> glassfish/modules of web.zip
> copy http://javaweb.sfbay/~bhakti/v3_issue/webservices*.jar to
> glassfish/modules
> deploy a war http://javaweb.sfbay/~bhakti/v3_issue/basicv3-109.war
>
> Pls can you suggest if there are changes I need to make in my pom
> Regards,
> Bhakti
>
> Sahoo wrote:
>> As decided in v3 engg. meeting, I locally changed to using
>> Import-Package for gf-web-connector (see attached
>> v3/web/gf-web-connector/pom.xml) and a simple war deployment results
>> in following exception. My workspace was updated earlier today.
>>
>> SEVERE: Cannot start container web
>> java.util.MissingResourceException: Can't find bundle for base name
>> org.apache.catalina.connector.LocalStrings, locale en_US
>> at
>> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
>>
>> at
>> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
>> at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
>> at
>> com.sun.grizzly.util.res.StringManager.<init>(StringManager.java:99)
>> at
>> com.sun.grizzly.util.res.StringManager.<init>(StringManager.java:91)
>> at
>> com.sun.grizzly.util.res.StringManager.getManager(StringManager.java:270)
>>
>> at
>> org.apache.catalina.connector.MapperListener.<init>(MapperListener.java:123)
>>
>> at
>> org.apache.catalina.connector.Connector.<init>(Connector.java:410)
>> at
>> com.sun.enterprise.web.connector.coyote.PECoyoteConnector.<init>(PECoyoteConnector.java:262)
>>
>> at
>> com.sun.enterprise.web.WebConnector.<init>(WebConnector.java:46)
>> at
>> com.sun.enterprise.web.EmbeddedWebContainer.createConnector(EmbeddedWebContainer.java:381)
>>
>> at
>> org.apache.catalina.startup.Embedded.createConnector(Embedded.java:464)
>> at
>> com.sun.enterprise.web.WebContainer.createHttpListener(WebContainer.java:732)
>>
>> at
>> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:589)
>> at
>> org.glassfish.internal.data.ContainerInfo.getContainer(ContainerInfo.java:75)
>>
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:773)
>>
>> at
>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)
>>
>> Thanks,
>> Sahoo
>>
>> ---------------------------------------------------------------------
>> 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
>
>