Sun Java System Application Server Standard and Enterprise Edition 7 2004Q2 Update 7 Release Notes

Command Line Interface (CLI)

This section describes the known command-line interface issues and associated solutions.

ID 

Summary 

4676889

CLI command overflows in single-mode if the command is more than 256 characters long.

On UNIX(R), when executing a CLI command in single-mode that contains more than 256 characters, the command fails with this error: ...Command Not Found...

This is a terminal restriction, not a CLI restriction. 

Example: 

create-jdbc-connection-pool --instance server4 --datasourceuser admin --datasourcepassword adminadmin --datasourceclassname test --datasourceurl test --minpoolsize=8 --maxpoolsize=32 --maxwait=60000 --poolresize=2 --idletimeout=300 --connectionvalidate=false --validationmethod=auto-commit --failconnection=false --description test sample_connectionpoolid)

Solution

  1. For commands that require more than 256 characters, use CLI multi-mode.

  2. If you must use single-mode, run the command using OpenWin cmdtool.