dev@glassfish.java.net

Re: InvocationException thrown when access JavaDB via JNDI

From: Jim Jiang <jim.jiang_at_sun.com>
Date: Mon, 26 Feb 2007 21:34:47 +0800

It works fine. Thanks a lot!

jim

Jagadish Prasath Ramu wrote:

>
>>>
>>I added the property Allow-NonComponent-Callers = true for DerbyPool,
>>but it doesn't work.
>>The related part in domain.xml look as below after modification:
>>/ <jdbc-connection-pool *allow-non-component-callers="fals**e" *
>>
>>
> set the attribute above "allow-non-component-callers" to true. [you
> can enable the check-box in admin-gui's connection pool page]
>
> Thanks,
> -Jagadish
>
>>connection-validation-method="auto-commit"
>>datasource-classname="org.apache.derby.jdbc.ClientDataSource"
>>fail-all-connections="false" idle-timeout-in-seconds="800"
>>is-connection-validation-required="false"
>>is-isolation-level-guaranteed="false" max-pool-size="14"
>>max-wait-time-in-millis="60000" name="DerbyPool"
>>non-transactional-connections="false" pool-resize-quantity="2"
>>res-type="javax.sql.DataSource" steady-pool-size="8">
>> <property name="PortNumber" value="1527"/>
>> <property name="Password" value="APP"/>
>> <property name="User" value="APP"/>
>> <property name="serverName" value="localhost"/>
>> <property name="DatabaseName" value="sampledb"/>
>> <property name="connectionAttributes" value=";create=true"/>
>> <property name="Allow-NonComponent-Callers" value="true"/>
>> </jdbc-connection-pool>/
>>
>>Thanks,
>>Jim
>>
>>> http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=NonComponentCallers
>>>
>>> thanks,
>>> Binod.
>>>
>>>>
>>>> Thanks,
>>>> jim
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net> For
>>>> additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net>
>>
>>
>>