Questions tagged [asadmin]

Asadmin is a tool for administrative tasks for the Oracle GlassFish Server, which is commonly used in the command line.

Asadmin is a tool for administrative tasks for the Oracle GlassFish Server, which is commonly used in the command line. It provides options for general administration, like account management, configuration and system setup.

50 questions
2
votes
1 answer

Check read writes in Aerospike using asadm

currently i found out that the read write value of each namespace will be stored in log file, is there there any commands to see these read, writes in Aerospike
Sujay_ks
  • 47
  • 7
2
votes
1 answer

new data source and connection pool are not displayed in the JDBC resources and Connection pool

I'm creating a system using netbeans IDE at some point I had to set up the data source and connection pool. I did that well but when I deploy the project the new data source and connection pool are not displayed on the JDBC resources and connection…
2
votes
1 answer

GlassFish - Admin console deploy at startup

This is a simple question: is there a way to tell GlassFish to load & deploy admin console during startup and not on-demand?
Gabor Garami
  • 1,245
  • 8
  • 26
2
votes
1 answer

JavaEE6 Web profile installation error 'The configuration has failed. Please see the output below'

I am trying to install java ee 6 web profile on windows 7. The installer gives error msg during configuration step. The error is: The configuration has failed. Please see the output below. The problem is installer fail creating admin account…
enterprize
  • 1,179
  • 8
  • 29
  • 43
2
votes
1 answer

Nodes don't get forgotten

Running ascli I get a lot of 2016-07-14 15:44:07 WARN AEROSPIKE_ERR_TIMEOUT warnings. I see that in asadm -> info network there are 13 nodes listed, but only 4 are active (which is correct; it's a 4 node cluster). Those other 9 nodes are either old…
Harmen
  • 669
  • 3
  • 8
2
votes
3 answers

TimeoutException on remote Glassfish v4.1 deployment

I have VPS on OVH, lets say it's vpsXXXX.ovh.net, with Debian 7. I've installed Java 8, Glassfish 4.1 and enabled secure admin: asadmin > change-admin-password --user admin > start-domain > enable-secure-admin # user: admin > restart-domain I've…
Radzikowski
  • 2,377
  • 4
  • 27
  • 39
1
vote
2 answers

Deploy Application Client by command line (asadmin)

Is there an option/parameter to deploy an application client with java-web-start enabled with the asadmin command? I work with GlassFish 3.1.1. I have a jar-file which works well, when I deploy it in the webgui Type: "Application Client" …
1
vote
1 answer

OutOfMemory error deploying war file in Glassfish 2.1.1 due to too much memory (-Xms -Xmx settings)

We get an error (OutOfMemory) when we deploy a war file in Glassfish 2.1.1. This is related to the memory options in the domain.xml file. We increased the -Xmx and -Xms jvm-options settings to 1024 instead of the default 512, like…
JohanKees
  • 669
  • 1
  • 12
  • 22
1
vote
2 answers

Payara 5 - Statement Wrapping should be set to true before performing this operation

In Payara 5 I am getting a "Statement Wrapping should be set to true before performing this operation" when trying to run "./asadmin set resources.jdbc-connection-pool.mysql_MY-DB-NAME_rootPool.max-wait-time-in-millis=604800" In a…
alexgrimaldi
  • 303
  • 7
  • 21
1
vote
1 answer

How to restart Glassfish with a commandline command

I would like to achieve the same restart effect as clicking on the Restart button of the glassfish admin web gui (Server->General->Restart) on picture. But I would like to do it via command line I have some strange behaviour of the app during…
simonC
  • 4,101
  • 10
  • 50
  • 78
1
vote
1 answer

Need Assistance Configuring GlassFish With asadmin

Due to project limitations, I need to configure my GlassFish installation using asadmin within a shell script (linux). I have all of my parameters configured, except one. The section I need to configure is the "network listener" section. Here is…
Brian
  • 1,726
  • 2
  • 24
  • 62
1
vote
2 answers

How to start glassfish domain from different path using command line

I'm trying to start my local domain from a command line, for some reason my domain was created in a different location so I tried the following command to start the domain: C:\Program Files (x86)\glassfish4\glassfish\bin>asadmin start-domain …
Chilis
  • 27
  • 1
  • 5
1
vote
1 answer

java.sql.SQLException: Access denied for user 'userapp'@'localhost' / glassfish

I'm trying to use a javax.sql.DataSource injected into a servlet (glassfish) @Resource (name="jdbc/MysqlDS" ) javax.sql.DataSource mysqlDS; The following statements fail, throwing "java.sql.SQLException: Access denied for user 'userapp'@'localhost'…
Pierre
  • 34,472
  • 31
  • 113
  • 192
1
vote
0 answers

glassfish asadmin CLI does not accept whitespaces

When I want to create a resource of any kind using the asadmin CLI, I run into troubles when I have whitespaces in strings. e.g.: asadmin create-jms-resource --restype javax.jms.ConnectionFactory --description "a description" jms/testFactory I get…
Thomas M.
  • 1,496
  • 1
  • 10
  • 21
1
vote
1 answer

Success message "Domain domain1 started." not logged but console is accessible when starting GlassFish

After installing Java EE6 SDK, I installed tutorial with update tool etc. As per Oracle documentation, I started glassfish using asadmin start-domain --verbose There was no error in logs but there was no success message too and the command did…
jDeveloper
  • 11
  • 1