Unable to Create a new web site using admin.jar (Doc ID 330719.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 9.0.4.1.0 to 10.1.2.3.0
This problem can occur on any platform.

Symptoms

This admin.jar command does not succeed:

For example:

<j2ee\home> java -jar admin.jar ormi://localhost admin d0g -site -add -host localhost -port 80 -display-name atlas-host

Returns this error message:

Error: Unknown switch: 80

This contradicts the documentation provided by java -jar admin.jar -?

This command worked correctly in OC4J 9.0.3.x

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms