Sun Microsystems 820682310 manual Issues Related to Eclipse, Description

Models: 820682310

1 48
Download 48 pages 55.33 Kb
Page 33
Image 33
Using asadmin set Command Might Produce

Issues Related to Eclipse

Using asadmin set Command Might Produce

Unexpected Results

Description

Unexpected results are returned when setting variables in a command, such as:

asadmin set name={$a-b}

In this case, name is set to b, not {$a-b} because the shell syntax ${a=b} is interpreted as “if the variable a is unset, substitute the value b, otherwise substitute the value of a.” This is standard shell behavior. For example, consider the following:

asadmin set default-config.http-service.http-listener.http-listener-1.port=

${http-listener-1-port}

In this case, default-config.http-service.http-listener.http-listener-1.port is set to

listener-1-port, which is invalid.

Issues Related to Eclipse

Eclipse GlassFish Server Adapter – Port Conflict When Starting GlassFish

Description

On Windows, the following error message is displayed when you start Enterprise Server v3 Prelude using the server adapter within Eclipse:

Please stop the server process using the same port as the one used

by the Application Server. A server process is already running on this port but we cannot determine if it’s a GlassFish

process (lack of info or credentials)

The message does not list which port is blocked by a server process, making it difficult to locate the blocking process. Obvious candidates such 4848 or 8080 are not blocked, according to TCP View.

Chapter 2 • Specific Issues

33

Page 33
Image 33
Sun Microsystems 820682310 manual Issues Related to Eclipse, Using asadmin set Command Might Produce Unexpected Results