quality@glassfish.java.net

Re: Re: New version of Eclipse plugin for glassfish published (v1.0.12)

From: Survivant 00 <survivant00_at_gmail.com>
Date: Mon, 20 Oct 2008 18:54:54 -0400

yet. GF doesn't release the lock when a error occur in loading the
context. when I obtain a error.. I have to manually delete the files and
after that redeploy the webapp.



2008-10-20 18:34:28 org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 656 ms
2008-10-20 18:34:28 org.apache.tiles.impl.BasicTilesContainer init
INFO: Initializing Tiles2 container. . .
2008-10-20 18:34:29 org.apache.tiles.impl.BasicTilesContainer
initializeDefinitionsFactory
INFO: Tiles2 container initialization complete.
2008-10-20 18:34:29 org.apache.tiles.access.TilesAccess setContainer
INFO: Publishing TilesContext for context:
org.apache.catalina.core.ApplicationContextFacade
2008-10-20 18:34:30
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-default.xml]
2008-10-20 18:34:30
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-plugin.xml]
2008-10-20 18:34:30
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts.xml]
2008-10-20 18:34:30 org.apache.struts2.config.Settings getLocale
ATTENTION: Settings: Could not parse struts.locale setting, substituting
default VM locale
2008-10-20 18:34:30
com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProperties
setProperty
INFO: Overriding property struts.i18n.reload - old value: false new value:
true
2008-10-20 18:34:30 org.apache.struts2.spring.StrutsSpringObjectFactory
<init>
INFO: Initializing Struts-Spring integration...
2008-10-20 18:34:30 com.opensymphony.xwork2.spring.SpringObjectFactory
setAutowireStrategy
INFO: Setting autowire strategy to name
2008-10-20 18:34:30 org.apache.struts2.spring.StrutsSpringObjectFactory
<init>
INFO: ... initialized Struts-Spring integration successfully
2008-10-20 18:34:30 org.apache.catalina.core.ApplicationContext log
GRAVE: WebModule[/GrizzlyBuilder]PWC1270: Exception starting filter struts2
Action class [example.AgeAction] not found - action -
file:/C:/glassfishv3-prelude/glassfish/domains/domain1/eclipseApps/GrizzlyBuilder/WEB-INF/classes/example2.xml:43:67
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:374)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:329)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:429)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:239)
    at
org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
    at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:152)
    at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
    at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
    at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)
    at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:375)
    at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:119)
    at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4497)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5343)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890)
    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
    at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329)
    at
com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:302)
    at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
    at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
    at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
    at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:250)
    at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:176)
    at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:147)
    at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
    at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
    at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
    at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
    at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
    at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
    at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
    at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
    at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
    at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)

2008-10-20 18:34:30 org.apache.catalina.core.StandardContext start
GRAVE: PWC1306: Startup of context /GrizzlyBuilder failed due to previous
errors
2008-10-20 18:34:30 org.apache.tiles.access.TilesAccess setContainer
INFO: Removing TilesContext for context:
org.apache.catalina.core.ApplicationContextFacade
2008-10-20 18:34:30 org.apache.catalina.core.ApplicationContext log
INFO: PWC1412: WebModule[/GrizzlyBuilder] ServletContext.log():Closing
Spring root WebApplicationContext
2008-10-20 18:34:30
org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing
org.springframework.web.context.support.XmlWebApplicationContext_at_ab4b89:
display name [Root WebApplicationContext]; startup date [Mon Oct 20 18:34:28
EDT 2008]; root of context hierarchy
2008-10-20 18:34:30
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
destroySingletons
INFO: Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory_at_3714c9:
defining beans
[flowExecutor,flowRegistry,struts2FlowAdapter,flowBuilderServices,mvcViewFactoryCreator,struts2ViewResolver];
root of factory hierarchy
2008-10-20 18:34:30 com.sun.enterprise.web.WebApplication start
INFO: Loading application GrizzlyBuilder at /GrizzlyBuilder
2008-10-20 18:34:30 org.glassfish.deployment.admin.DeployCommand execute
INFO: Deployment of GrizzlyBuilder done is 4765 ms
2008-10-20 18:35:39
INFO: classLoader = WebappClassLoader
  delegate: true
  repositories:
    WEB-INF/classes/
----------> Parent Classloader:
org.glassfish.internal.api.DelegatingClassLoader_at_1c81ac0

2008-10-20 18:35:39
INFO: SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_7c28c
2008-10-20 18:35:41 org.glassfish.apf.impl.DefaultErrorHandler error
GRAVE: Class [ javax/interceptor/InvocationContext ] not found. Error while
loading [ class
org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor ]
2008-10-20 18:35:41 com.sun.enterprise.deployment.archivist.Archivist
readAnnotations
ATTENTION: Error in annotation processing: java.lang.NoClassDefFoundError:
javax/interceptor/InvocationContext
2008-10-20 18:35:41 org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader
org.glassfish.internal.api.DelegatingClassLoader_at_1c81ac0 class
org.glassfish.internal.api.DelegatingClassLoader
2008-10-20 18:35:41 org.apache.catalina.core.ApplicationContext log
INFO: PWC1412: WebModule[/GrizzlyBuilder] ServletContext.log():Initializing
Spring root WebApplicationContext
2008-10-20 18:35:41 org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
2008-10-20 18:35:41
org.springframework.context.support.AbstractApplicationContext
prepareRefresh
INFO: Refreshing
org.springframework.web.context.support.XmlWebApplicationContext_at_d26103:
display name [Root WebApplicationContext]; startup date [Mon Oct 20 18:35:41
EDT 2008]; root of context hierarchy
2008-10-20 18:35:41
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource
[/WEB-INF/applicationContext.xml]
2008-10-20 18:35:41
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[org.springframework.web.context.support.XmlWebApplicationContext_at_d26103]:
org.springframework.beans.factory.support.DefaultListableBeanFactory_at_6258e1
2008-10-20 18:35:42
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory_at_6258e1:
defining beans
[flowExecutor,flowRegistry,struts2FlowAdapter,flowBuilderServices,mvcViewFactoryCreator,struts2ViewResolver];
root of factory hierarchy
2008-10-20 18:35:42 org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 656 ms
2008-10-20 18:35:42 org.apache.tiles.impl.BasicTilesContainer init
INFO: Initializing Tiles2 container. . .
2008-10-20 18:35:42 org.apache.tiles.impl.BasicTilesContainer
initializeDefinitionsFactory
INFO: Tiles2 container initialization complete.
2008-10-20 18:35:42 org.apache.tiles.access.TilesAccess setContainer
INFO: Publishing TilesContext for context:
org.apache.catalina.core.ApplicationContextFacade
2008-10-20 18:35:43
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-default.xml]
2008-10-20 18:35:43
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-plugin.xml]
2008-10-20 18:35:43
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts.xml]
2008-10-20 18:35:43 org.apache.struts2.config.Settings getLocale
ATTENTION: Settings: Could not parse struts.locale setting, substituting
default VM locale
2008-10-20 18:35:43
com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProperties
setProperty
INFO: Overriding property struts.i18n.reload - old value: false new value:
true
2008-10-20 18:35:43 org.apache.struts2.spring.StrutsSpringObjectFactory
<init>
INFO: Initializing Struts-Spring integration...
2008-10-20 18:35:43 com.opensymphony.xwork2.spring.SpringObjectFactory
setAutowireStrategy
INFO: Setting autowire strategy to name
2008-10-20 18:35:43 org.apache.struts2.spring.StrutsSpringObjectFactory
<init>
INFO: ... initialized Struts-Spring integration successfully
2008-10-20 18:35:44 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory
<clinit>
INFO: Setting DefaultObjectTypeDeterminer as default ...
2008-10-20 18:35:44 com.sun.enterprise.web.WebApplication start
INFO: Loading application GrizzlyBuilder at /GrizzlyBuilder
2008-10-20 18:35:44 org.glassfish.deployment.admin.DeployCommand execute
INFO: Deployment of GrizzlyBuilder done is 4687 ms








2008/10/20 dinghy <dingis_at_qq.com>

> still the bug for the no-handling locks by java.exe(tomcat) .........
> no so lucky
>
>
> ------------------ Original ------------------
> *From: * "Survivant 00"<survivant00_at_gmail.com>;
> *Date: * Tue, Oct 21, 2008 03:21 AM
> *To: * "quality"<quality_at_glassfish.dev.java.net>;
> *Subject: * Re: New version of Eclipse plugin for glassfish published
> (v1.0.12)
>
> I got a new problem.
>
>
> I delete a jar from my web-inf/lib
>
> did a refresh on the project.. did a CLEAN..
>
> and I git a nice error popup : /unable to delete file [xxxx.jar]. look
> like GF is not able to unload a jar that was used.
>
>
> and the jar in
> C:\glassfishv3-prelude\glassfish\domains\domain1\eclipseApps\GrizzlyBuilder\WEB-INF\lib
>
> is still present.
>
> I will have to stop GF.. and redeploy.
>
> can it be fixed ?
>
>
>
>
> 2008/10/20 Davis Nguyen <Davis.Nguyen_at_sun.com>
>
>> Hi Survivant/Ludo
>>
>> I tried to reproduce this problem on a fresh installation Glassfish
>> Prelude-b28b and the Glassfish Plugin 1.0.12, but I still could not.
>> One thing I notice that if I started the server from command line, the
>> status does not get updated. However, The stop server command works
>> opposite. The server status get updated?
>> -davis
>>
>> Survivant 00 wrote:
>>
>> to solve the problem is to stop GF (process tab.. STOP) and restart it..
>> it will fix it.
>>
>> not able to reproduce it either.. I had the same problem with WAS 6, but
>> it was not hard to obtain it :)
>>
>>
>>
>>
>> 2008/10/20 Ludovic Champenois <Ludovic.Champenois_at_sun.com>
>>
>>> Survivant 00 wrote:
>>>
>>>> little problem. running GFv3_preludeb28b and gfpluggins 1.12
>>>>
>>>> I started GF with the servers.. did a "clean ..." but aftert few
>>>> seconds I receive a popup : "startup failed.. something like that", but the
>>>> server didn't failed.. it was just slow. and now it's fully started, but in
>>>> the console servers: GF is stopped, but actually it's running.
>>>>
>>>>
>>>> I've seen that, but not sure how to reproduce.
>>> Does an eclipse restart solves the issue (in fact, if this is what I
>>> think, the popup message indicates to do that:-)
>>> If not, what do you see when you double click on the server node in the
>>> server editor? are the port numbers correct or not, or the domain dir?
>>> If they are incorrect, the only current workaround is to delete this
>>> server and re-register it to the IDE...
>>> Still investigating....
>>> ps: it is amazing to see Spring startup time to be so slooowwww....
>>> Ludo
>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>>
>>
>>
>