Jane:
The error is basically thrown by the backend, where it treats
' ' (space character) as illegal for some reason. It should just
"trim" the input it received for the value.
FYI -- here is the log statement in server.log:
[#|.....|java.lang.IllegalArgumentException: Illegal character "' '"]
(Also, for some reason the log record is also wrongly logged. There is
no need to double-quote a character that's already quoted).
Kedar
Jane Young wrote:
> Hi Kedar,
>
> Is the P4 bug about the space or the Illegal character ".
> Keep in mind that the space between the entries are considered as
> arguments in CLI.
>
> Jane
>
>
>
> kedar wrote:
>
>> Right. Sorry about it. You should get rid of the spaces.
>>
>> Can you please file a P4 bug to track this?
>>
>> Thanks,
>> Kedar
>>
>> reuven damir wrote:
>>
>>> Thanks Lloyd.
>>>
>>> Fyi Kedar Version still fails:
>>>
>>> asadmin> set "server.java-config.native-library-path-prefix =
>>> c:/testcli"
>>> Illegal character "' '"
>>> CLI137 Command set failed.
>>>
>>>
>>> Lloyd L Chambers wrote:
>>>
>>>> Or leave out the spaces.
>>>>
>>>> On May 31, 2007, at 3:44 PM, kedar wrote:
>>>>
>>>>> Please quote the value, thus:
>>>>> set "server.java-config.native-library-path-prefix = c:/testcli"
>>>>>
>>>>> I just tried it and it works.
>>>>>
>>>>> Thanks,
>>>>> Kedar
>>>>>
>>>>> reuven damir wrote:
>>>>>
>>>>>> Hi Jane,
>>>>>>
>>>>>> See attachment (trying to set the circled value/s from cli).
>>>>>>
>>>>>> trying to use the same logic for the native library fails
>>>>>>
>>>>>> asadmin> set server.java-config.native-library-path-prefix =
>>>>>> c:/testcli
>>>>>>
>>>>>> ERROR (server.java-config.native-library-path-prefix):
>>>>>> Dotted-name must have at least one part ()
>>>>>> ERROR (=): No value name specified = c:/testcli
>>>>>> ERROR (c:/testcli): Illegal to specify null as an attribute value
>>>>>> asadmin>
>>>>>>
>>>>>> Jane Young wrote:
>>>>>>
>>>>>>> Hi Reuven,
>>>>>>>
>>>>>>> I'm not sure what do you mean by native library path.
>>>>>>> But you can set the server's java classpath prefix/suffix by
>>>>>>> using the "asadmin set" command:
>>>>>>>
>>>>>>> asadmin set server.java-config.classpath-prefix=<classpath-prefix>
>>>>>>> asadmin set server.java-config.classpath-suffix=<classpath-suffix>
>>>>>>>
>>>>>>> Jane
>>>>>>>
>>>>>>>
>>>>>>> reuven damir wrote:
>>>>>>>
>>>>>>>> What is the command I need to use to set the native library
>>>>>>>> path prefix/suffix?
>>>>>>>>
>>>>>>>> 10Q.
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>