Sun Microsystems 820682310 Server User Manual


 
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 Conict 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 dicult to locate
the blocking process. Obvious candidates such 4848 or 8080 are not blocked, according to TCP
View.
IssuesRelatedtoEclipse
Chapter2 • Specic Issues 33