Skip to main content

what happens when an ear application is deployed/publish on glassfish v3

2 replies [Last post]
Anonymous

each time while publishing/deploying on glassfish v3

in log each ejb (stateless bean in my case) is listed on log with its name.
it is just information.

INFO: Portable JNDI names for EJB GenerateInvoice :
[java:global/Lotus/LotusEJB/GenerateInvoice!com.fds.bo.whm.GenerateInvoice,
java:global/Lotus/LotusEJB/GenerateInvoice]
WARNING: MNTG0201:Flashlight listener registration failed for listener class
: com.sun.ejb.monitoring.stats.StatelessSessionBeanStatsProvider , will
retry later

but it takes too much time for deployment as i have many ejb's

is there any fast method of deployment from eclipse where only changed files
will be deployed etc?

there is a redeploy command in asadmin will it work?
--
View this message in context: http://old.nabble.com/what-happens-when-an-ear-application-is-deployed-p...
Sent from the java.net - glassfish users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hong Zhang

Hi, shreyasd

>each time while publishing/deploying on glassfish v3
>
>in log each ejb (stateless bean in my case) is listed on log with its name.
>it is just information.
>
>INFO: Portable JNDI names for EJB GenerateInvoice :
>[java:global/Lotus/LotusEJB/GenerateInvoice!com.fds.bo.whm.GenerateInvoice,
>java:global/Lotus/LotusEJB/GenerateInvoice]
>WARNING: MNTG0201:Flashlight listener registration failed for listener class
>: com.sun.ejb.monitoring.stats.StatelessSessionBeanStatsProvider , will
>retry later
>
>
>but it takes too much time for deployment as i have many ejb's
>
>is there any fast method of deployment from eclipse where only changed files
>will be deployed etc?
>
>
>
No, we don't currently support partially refreshing the class files. Any
class file change will need a redeployment to make change in effect.

>there is a redeploy command in asadmin will it work?
>
>
Yes, there is a redeploy command (but it does not do the optimization
like you wished, it's a full redeployment). And you can use .reload as
suggested by Dominik's reply which is essentially a directory
redeployment of the application repository directory.

- Hong

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Dominik Dorn

Try touching .reload file in your exploded directory

/index.xhtml
/.reload
/WEB-INF/
/WEB-INF/web.xml

touch .reload

works for me, app reloaded within 1-4 seconds.

If you add new features that where not loaded before (ejb, cdi, webservices) you
have to fully restart the app.

On Fri, Feb 5, 2010 at 10:35 AM, shreyasd wrote:
>
> each time while publishing/deploying on glassfish v3
>
> in log each ejb (stateless bean in my case) is listed on log with its name.
> it is just information.
>
> INFO: Portable JNDI names for EJB GenerateInvoice :
> [java:global/Lotus/LotusEJB/GenerateInvoice!com.fds.bo.whm.GenerateInvoice,
> java:global/Lotus/LotusEJB/GenerateInvoice]
> WARNING: MNTG0201:Flashlight listener registration failed for listener class
> : com.sun.ejb.monitoring.stats.StatelessSessionBeanStatsProvider , will
> retry later
>
>
> but it takes too much time for deployment as i have many ejb's
>
> is there any fast method of deployment from eclipse where only changed files
> will be deployed etc?
>
> there is a redeploy command in asadmin will it work?
> --
> View this message in context: http://old.nabble.com/what-happens-when-an-ear-application-is-deployed-p...
> Sent from the java.net - glassfish users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

--
http://dominikdorn.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net