dev@glassfish.java.net

Re: doc error in add-resources?

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Thu, 13 Mar 2008 18:33:16 -0700

The content of my file is bogus... I already know that...

I am questioning the content of this page...

http://docs.sun.com/app/docs/doc/820-4046/add-resources-1?a=view

read through the doc, especially the description of xml-file-path...
then read the error message...

it seems like they message doesn't agree with the description of
xml-file-path.

vbk

Prashanth Abbagani wrote:
> Can you please share your xml file. I see the reason as missing
> 'DOCTYPE' element in it.
>
> Your xml should look like
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE resources PUBLIC
> "-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN"
>
> "*http://www.sun.com/software/appserver/dtds/sun-resources_1_2.dtd*">
> <resources>
> <jdbc-connection-pool name="SPECjPool" steady-pool-size="100"
> max-pool-size="150" max-wait-time-in-millis="60000"
>
>
> Vince Kraemer wrote:
>> I was reading the 9.1 docs on add-resources... and it looks suspect.
>>
>> My main area of concern is the description of xml_file_path...
>>
>> Is that description actually correct?
>>
>> This snippit from my terminal window seems to say NO, to me.
>>
>> > pe/6/sailfin/bin/asadmin add-resources this-name-is-unique.txt
>> Operation 'createResource' failed in 'resources' Config Mbean.
>> Target exception message: DOCTYPE is not present in xml
>> /export/home/vbk/sf/this-name-is-unique.txt. Please correct the issue.
>> CLI137 Command add-resources failed.
>>
>> Thanks,
>> vbk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>