Showing posts with label GlassFish. Show all posts
Showing posts with label GlassFish. Show all posts

Tuesday, 31 January 2012

GlassFish: How to deploy a war from the console

Deploy foo.war:
asadmin deploy foo.war
Re-deploy foo.war:
asadmin deploy --force=true foo.war
List deployed applications:
asadmin list-applications

Thursday, 19 May 2011

How to update GlassFish


stop GlassFish
glassfish/glassfish/bin$ ./asadmin stop-domain

glassfish/bin$ ./updatetool


The software needed for this command (updatetool) is not installed.

If you choose to install Update Tool, your system will be automatically
configured to periodically check for software updates. If you would like
to configure the tool to not check for updates, you can override the
default behavior via the tool's Preferences facility.

When this tool interacts with package repositories, some system information
such as your system's IP address and operating system type and version
is sent to the repository server. For more information please see:

http://wikis.sun.com/display/updatecenter/UsageMetricsUC2

Once installation is complete you may re-run this command.

Would you like to install Update Tool now (y/n): y

Proxy: Using system proxy settings.
Install image: glassfish
Installing pkg packages.
Installing updatetool packages.
Initialization complete.

Software successfully installed. You may now re-run this command (updatetool).


Tuesday, 17 May 2011

GlassFish administration console

Regullary you visit http://localhost:4848/ in order to visit the administration console...but I get the default index.html page...

Solution: visit http://localhost:4848/common/

Monday, 11 April 2011

jBPM + Maven + JSF + GlassFish

If you use jBPM + Maven + JSF + GlassFish then this won't work (exception thrown Undefined Method - or sth like this)