poniedziałek, 28 kwietnia 2014

enable/disable glass fish app

cd $GLASS_FISH_HOME
for example:

/u01/usr/local/glasshfish3/glassfish/bin

asadmin disable appname
asadmin enable appname

 [root@kaukaz bin]# ./asadmin enable SwdDiagnostic
Enter admin user name>  admin
Enter admin password for user "admin">
remote failure: Unknown plain text format.  A properly formatted response from a PlainTextActionReporter
always starts with one of these 2 strings: PlainTextActionReporterSUCCESS or PlainTextActionReporterFAILURE.  The response we received from the server was not understood: Signature-Version: 1.0
message: Exception while preparing the app
Exception [EclipseL
 ink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): or
 g.eclipse.persistence.exceptions.DatabaseException
Internal Exception
 : java.sql.SQLException: Error in allocating a connection. Cause: Con
 nection could not be allocated because: ORA-01017: niepoprawna nazwa
 uĹŸytkownika/hasĹo; odmowa zalogowania

 [root@kaukaz bin]# ./asadmin enable SwdDiagnostic
Enter admin user name>  admin
Enter admin password for user "admin"

Command enable executed successfully

Brak komentarzy:

Prześlij komentarz