Hi AN
We use Oracle 11g with Jetspeed portal on Tomcat.
1. The resource definition goes in conf/context.xml just like for any web
application. The portal does not change this.
2. You need to put Oracle's ojdbc6.jar into the /lib directory of Tomcat so
that the driver class can be loaded by
Hi AN,
On 30.7.2011 22:34, AN wrote:
(...) I'm using Liferay (the application is a portlet).
I believe that you cannot apply webapp configuration to portlets. It is
probably better if you ask your question at Liferay mailing lists.
-Ognjen
That was only a typo. The thing is that if I remove it from any of the two
places it doesn't work. I don't see anything in
$CATALINA_BASE/conf/[enginename]/[hostname]/ besides the ROOT.xml but I'm
using Liferay (the application is a portlet).
On Mon, Jul 25, 2011 at 11:18 AM, Ognjen Blagojevic
Hello,
I've following the examples in
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.htmlyo
configure a data-source for an Oracle 10g database. In the context
configuration section it mention that the resource element must be placed in
the Context and the section
On 25.7.2011 16:57, AN wrote:
I don't understand why do I have to place the Resource element in both
files.
You don't. It seems that you misconfigured something.
Resource auth=Container driverClassName=oracle.jdbc.OracleDriver
Could be the source of the problem?
If you deploy as