How to configure Oracle Datasource in Tomcat
Hello,
My configuration of a Tomcat Datasource (oracle) appears to be wrong. Either that or my oraclejdbc.jar file is in the wrong place. Perhaps my classpath setting is wrong. Any help is appreciated.
Tomcat console error:
20070423 20:46:22.514 http-8080-Processor24(0x005878d2)
JdbcUtil#getDataSourceObject() Throw com.waveset.util.ConfigurationError: Failed to load JDBC DataSource 'java:comp/env/jdbc/wrsPool':
==> javax.naming.OperationNotSupportedException: Can't generate an absolute name for this namespace
Trace output from JdbcUtil:
XPRESS exception:
Can't call method getDataSourceObject on class com.waveset.util.JdbcUtil ==> com.waveset.util.ConfigurationError: Failed to load JDBC DataSource 'java:comp/env/jdbc/wrsPool': ==> javax.naming.OperationNotSupportedException: Can't generate an absolute name for this namespace
XPRESS exception:
Can't call method queryRecords on class com.waveset.util.JdbcUtil ==> java.lang.NullPointerException:
The express code used to call JdbcUtil follows:
<defvar name='dataSource'>
<new class='javax.sql.DataSource'/>
</defvar>
<set name='dataSource'>
<invoke name='getDataSourceObject' class='com.waveset.util.JdbcUtil'>
<null/>
<s>java:comp/env/jdbc/wrsPool</s>
<null/>
</invoke>
</set>
The Tomcat configuration *.xml file
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="wavex" path="/wavex" useNaming="false" workDir="work\Catalina\localhost\wavex">
<Resource name="jdbc/waveexPool " type="javax.sql.DataSource"/>
<Resource name="jdbc/wrsPool" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/waveexPool ">
<parameter>
<name>url</name>
<value>jdbc:sqlserver://localhost:1433;DatabaseName=WaveEx</value>
</parameter>
<parameter>
<name>password</name>
<value></value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.microsoft.sqlserver.jdbc.SQLServerDriver</value>
</parameter>
<parameter>
<name>username</name>
<value></value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
<ResourceParams name="jdbc/wrsPool">
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@vega.vf.lmco.com:1521:dev2</value>
</parameter>
<parameter>
<name>password</name>
<value></value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>username</name>
<value></value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
</Context>
Environment is:
IDM 7.0 on Windows 2000, sql server houses the repository.
Tomcat 5.0.28 with JDK 1.6
thanks for the reply, i have configured the connection pool settings in the tomcat.
I created a class with static method, which will return the connection object.
whenever i need the connection object, iam invoking the static method, once its usage is over iam closing thew connection..
is it the right way of using the connection object in the web application.
Similar Messages
-
How to configure Oracle SSO for OBIEE
Hi all
Can anyone help me saying how to configure Oracle Single Sign-on with OBIEE?
Basically I want to enable a common login for Dashboard and answers using SSO.
I am using OBIEE 10.1.3.4 on a Redhat Linux
thanks in advanceHi...
See this, hope this what you want...??
If not .. ignore...
Thanks & Regards
Kishore Guggilla -
How to configure oracle thin drivers for SUN APPLICATION SERVER
hi all,
I am working with EJB with oracle as back-end. I wants to know how to configure oracle thin drivers for the SUN APPLICATION SERVER. Please explain me breifly.
Advanced thanks to all the replies.
with regards,
/kumaraswamy.nKumaraswamy,
Did you try searching the Internet? Here are the results of my Internet search:
http://tinyurl.com/zo4gk
And one of the first hits in the list was this:
Deploying to a Sun Java System Application Server
Good Luck,
Avi. -
How to configure Oracle Enterprise Manager for ASM RAC Database ?
Dears,,
We have two databases (Primary & Standby), each database has two instances
Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
How to configure Oracle Enterprise Manager for this environment ?
I need documentation for this please.
Many thanks & Regards,,Assuming an agent is running on the servers you want to monitor,
navigate to the Agent home page (Via setup --> Agent)
When in the agent home page select 'Add Database'and press [Go]
Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
When done, press [Ok] to return to the agent home page.
Regards
Rob
http://oemgc.wordpress.com -
How to configure Oracle 10g RAC on windown sever 2003
hi all
plz tell me
how to configure Oracle 10g RAC on windown sever 2003 can any body help me , give be any link
plz it is very necessary for me
RegardsHello,
There are a good doc written by Philip Newlan at www.jobcestbon.com/oracle/RacOnWindows.pdf
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com -
How to configure Oracle jsp engine on OAS4.0.8.1
1. How to configure Oracle jsp engine on OAS4.0.8.1 for linux
2. How to set the parameter on OAS. The Ojsp document only give examples depict the syntax used when running in an Apache/JServ 1.0 environmentAnyone?
-
How to configure Oracle 10g Advanced Security to use SSL concurrently with
How to configure Oracle 10g Advanced Security to use SSL concurrently with database User names and passwords
In Oracle Advanced Security Documentation it is mentioned that i can use SSL concurrently with DB user names and passwords. But when i configure the client certificate on the client my DB connection is getting authenticated using the certificate, which out passing user id or password.
We want to connect to Oracle DB over SSL channel so that the data packets are not in clear text. Also we want the user to make a connection using user id and password.
Basically we want SSL with out authentication.
Need your expert adviceRead the documentation (I have given following links assuming you are running a 32 bit architecture)
Server installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
Client installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
You can find the required books (if not using 32 bit architecture) from
http://www.oracle.com/pls/db102/portal.portal_db?selected=3 -
How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance
Hi All,
Please let us know How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance.
Reagrds,
VikasAssuming an agent is running on the servers you want to monitor,
navigate to the Agent home page (Via setup --> Agent)
When in the agent home page select 'Add Database'and press [Go]
Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
When done, press [Ok] to return to the agent home page.
Regards
Rob
http://oemgc.wordpress.com -
How to configure connection pooling in tomcat?
how to configure connection pooling in tomcat and how to use the connection pooling in the jsp and servlets?
thanks for the reply, i have configured the connection pool settings in the tomcat.
I created a class with static method, which will return the connection object.
whenever i need the connection object, iam invoking the static method, once its usage is over iam closing thew connection..
is it the right way of using the connection object in the web application. -
How to configure oracle listener profile for multiple oracle database
Hi,
I am going to install solution manager system in the same server of ERP EHP4 on Windows. Both DB are oracle.
I'd like to know how to configure listener in this kind of envirnmonent.
a. use two listener and different ports
b. use same listener but different ports
c. use same listener and same port
Which is the correct mothed?
And, after installation, there seem three set of profiles of listten, one for ERP, one for SLM, and the other for OS?(%windir%system32), which one is functional?
Please advise.
Thanks a lot.
Regards,
AlexHi,
standard installation is creating new configs for listener for each instance.
I would recommend to use one listener per each instance.
YOU CAN NOT HAVE one port number for two differnet systems!
If you want to use one listener than you must adapt tnsnames.ora, listener.ora and ensure that both systems will use different port numbers.
For example PORT= 15<system number>
Peter -
How to configure Oracle Alerts For Sending EMail?
Hi All,
I am using Oracle Apps 12.1.1.
I am configuring Oracle Alerts to sent a email.
for that i have set
Unix send mail :/usr/lib/sendmail
Mail Database/Server Name:172.16.0.6
Mail Priority:Normal
In Accounts:
User Name:My User Name
Password:******
Anything need to configure because after submitting a request It is showing that request is successfully completed but not receiving mail.
Please Help.
Thank In Advance.
Regards,
SHDHi;
please check below links:
Alert-EBS
General EBS Discussion
Oracle Periodic Alert..
Oracle Periodic Alert..
Also see:
Oracle Alert Documentation Resources, Release 12 [ID 396315.1]
How to determine what email system is being utilized for Oracle Alert processing [ID 428193.1]
Configuring the Oracle Workflow 2.6 Java-based Notification Mailer with Oracle Applications 11i [ID 231286.1]
How to setup Email Notification from Microsoft Exchange with Oracle Alerts [IDÂ 163249.1]
Regard
Helios -
How to configure Oracle SSO for forms and apex
Hi All,
I am trying to configure oracle SSO for forms and apex using third party external authentication. Please help me how to configure. I a have tried all possible things
from web but I am not able to do it. Is there any doc or links are much appreciated.
Info: Some reason my oiddas web link is not working it used to work fine before and also the from /pls/orasso/ link I am not able to login may be because of my oiddas issue
ThanksHi Andreas,
Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
Thanks -
How to configure Oracle WebLogic NodeManager as a MS service
Hi Experts,
I installed OBIEE 11.1.1.5, and i want to configure OBIEE start/stop as windows services.
for that and after a successful configuration, Oracle configure by default two windows services: Weblogic Node Manager and FMW 11g Process Manager (OPMN).
The problem is that Weblogic Node Manager is missing as a widows service.
How can i do to create and configure it manually, please.
Thank in advance.
Best regards,
Hassan C
Edited by: 972869 on 23 nov. 2012 03:27
Edited by: 972869 on 23 nov. 2012 03:28
Edited by: 972869 on 23 nov. 2012 05:09Hi,
i see it, but that is for install Admin and manage server, what i'm asking for is Oracle weblogic NodeManager.
the windows service i need is named "oracle WebLogic NodeManager (e_obiee11_wlserver_10.3)" or somethiing like that, is the first in the page of your link:
Weblogic Node Manager
*(configured as a MS Windows Service if Custom Install route is chosen when installing Weblogic)*
I'm asking how to create it.
Thank you.
Edited by: 972869 on 23 nov. 2012 05:14 -
HOW TO configure oracle bi discoverer 11.1.3 32 bit window to oracle ebs 11
Hi all ,
How can we configure oracle bi discoverer 11.1.3(desktop and admin) installed on windows 32 bit with oracle ebs 11i with database 10g
installed on sun solaris sparc machine.
Kindly send any link which can give me step by step link for this specific scenario.
ThansHi Sirini,
I create workbook through Discoverer desktop and save in database, Now I like to give assign these workbooks
to the user through Discoverer view , so that they can view these worksheets, How can I view these workbooks
through Discoverer view in oracle ebs 11i.
Thanks -
How to configure oracle 10g with clients
Hello sir i am a database user.
I want to install an oracle 10g (Client server architecture)
As i have a licenced Oracle 10g CD Pack.
Pls help me how to install Oracle & how to configure its clients.
As i have a server(running server 2003 ) in it and corresponding clients.
Thanks
Edited by: user10439074 on Oct 30, 2008 4:03 AMRead the documentation (I have given following links assuming you are running a 32 bit architecture)
Server installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
Client installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
You can find the required books (if not using 32 bit architecture) from
http://www.oracle.com/pls/db102/portal.portal_db?selected=3
Maybe you are looking for
-
Cannot Execute Error on JES4 install
Ok, I'm starting from scratch here...I'm trying to install JES4 on an Admin/Directory server. Downloaded the install from the web but when I try to run the ./install...I get the following error: /tmp/.jes_CaChE/Solaris_sparc/installer: /tmp/.jes_CaCh
-
How do I solve error no. 1050? I can't restore my iphone! What do i do next?
-
Hi guru's the PO Automatic output determination-Print immediately is set with Z form attached in NACE the Output is printed. the Changed PO is printed. I can also have repeat output (N numebr of times) of the original PO (message line item without ch
-
Iphoto quit -- All Albums are gone
I organized all my photos into Albums. When I was working in iphoto, the program quit. I went back into iphoto and my albums are gone? Any hope of getting them back
-
Query i need Chart of account name It does not have any transactions.
hi. i need a small query.. As per my Requirement.. Normally we are creating chart of account.. Each account May or may not have transactions like Journal Entries we can pass debit and credit.. I want to put in query generator if i run the query.. It