users@glassfish.java.net

Re: Insert fails in Sun AS 9.1 while read, update and delete works?

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jan 2008 02:10:34 PST

allownoncomponentcallers is an attribute of jdbc-connection-pool element. This could be added while creating the connection pool via CLI by including "--allownoncomponentcallers=true" along with the other attributes and its values. In GUI, the "Allow Non Component Callers" is found under Connection Validation section. This can be checked while creating the pool.

After creation, the value of this attribute can be set using the asadmin command as

AS_INSTALL_ROOT/bin/asadmin set domain.resources.jdbc-connection-pool.<pool-name>.allow-non-component-callers = true
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=255284