geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh" <jaydmch...@gmail.com>
Subject Re: Geronimo redeploy issue.
Date Tue, 06 Dec 2011 16:58:51 GMT
Hello Ranjan,

The one hint I would offer is to stop the server using either the 
console or the shutdown script.  Simply killing the java process can 
leave the server in an unstable state.

Jay

On 12/05/2011 11:16 PM, ranbaab wrote:
> Hi,
>
> Our exploded web application is extracted in the deploy folder of geronimo
> during the time of installation.
> The application is install and launch the UI successfully.
> After stopping the server, if I manually update any jsp or any file from the
> deployed application, the server got hang after restart.
> -----------------------------------------------------------------------------------------------------------------
> The geronimo.log does not give any clue, the server got hang at
>
> 2011-12-01 14:42:46,199 INFO  [DirectoryMonitor] At startup, found
> /geronimo/deploy/ourApplication with deploy time 1322730003272 and file time
> 1322729818000
> 2011-12-01 14:42:50,423 INFO  [DirectoryHotDeployer] *Redeploying
> ourApplication*
>
> And the console output is
>
> Listening on Ports:
>      8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector
>      9999 0.0.0.0 JMX Remoting Connector
>     40080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector
>     40099 0.0.0.0 RMI Naming
>     40443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector
>
>    Started Application Modules:
>      WAR: ourapplication/xyz/application/war
>      WAR: org.apache.geronimo.configs/remote-deploy-tomcat/2.2.1/car
>
>    Web Applications:
>      /ourApplication
>      /remote-deploy
>
> Geronimo Application Server started
> -----------------------------------------------------------------------------------------------------------------
> In geronimo-web.xml, version is not a numeric
> <sys:version>application</sys:version>
>
> I am wondering whether the time stamp change of the file is causing the
> issue.
>
> According to my knowledge, the hot deploy should take care this scenerio.
>
> The geronimo server is stop by using kill -9 PID.
>
> Even I download the source code and try to build it, but due to some issue,
> I am not able to build it.
>
> The application got stuck in the file
> org.apache.geronimo.deployment.hot.DirectoryHotDeployer method fileUpdated
>
>   public String fileUpdated(File file, String configId) {
>          log.info("*Redeploying " + file.getName())*;
>          DeploymentManager mgr = null;
>
> I would really appreciate if some one throw some light about this issue.
>
>
>
> Thanks,
> Ranjan
>
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-redeploy-issue-tp3563502p3563502.html
> Sent from the Development mailing list archive at Nabble.com.

Mime
View raw message