Oracle 10g XE in tomcat 5.5 through JSP or Servlet

Hello iam very new user of tomcat,oracle 10g .Will you please guide how to set environment variables and any other modifications to be done to run a JSP or Servlet including JDBC(oracle 10gXE) connection in tomcat5.5 for windows Xp.
Please tell me in detail........................................

I am sure that one can set up SELinux 'properly'.
Everyone I talk to about SELinux tells me that it has become more detailed and much more 'secure' in that past years, and that probably explains why Oracle worked easily in FC3 and not so easily now. The added power also requires added configuration, which some have described to me as 'somewhat more involved than sendmail.cf'
The documentation is at http://www.nsa.gov/selinux/ for those who wish to learn about the configuration capabilities. I'm sure that Google will also provide tutorials.

Similar Messages

  • Oracle 10g connectivity with sql server 2000 through oracle transpa gateway

    dear gurus.
    i am to connecto oracle 10g with sql server 2000 through oracle transparent gateway.
    i have installed transparent gateway and proper configured. also link is created.
    but when i execute query "select * from city@inventory" , so an error displayed.
    ORA-12500: TNS:listener failed to start a dedicated server process.
    kindly suggest me what could be the cause.
    regards,

    if the listener fails to spawn a dedicated server process it is commonly indicating an issue with the listener. So posting the listener and also a listener trace including a description of the env where you installed the gateway into which directory would be helpfull. Please keep also in mind if you have for example a 10.2.0.3 database and you install into this directoty a 10.2.0.1 gateway you have to reapply the patchset again do get consistent file version.
    So please describe more detailed your env.

  • Activating Application client through jsp / html / servlet ??

    Is it possible to activate the application client in a way other then the appclient tooll via terminal window ??

    I assume you're talking about some kind of programming JSP or such?
    This forum is truly dedicated to Messaging Server, and we really aren't able to help with your issue.
    I would suggest the Developer groups.

  • Send table data through mail in oracle 10g

    Hi ,
    I am trying to send a mail through oracle 10g .
    I can send mail through utl_mail .
    The text that I need to send is data from a table .
    The table contains information about all the employees .
    Table name is person . If the employee is absent on any day without any reason there would be a row of this employee in the table person.
    There is also a column named email in this table .
    I need to write a stored procedure which will send the data about each particular employee to their respective email for all the employees in the person table .
    Can anyone please help me on this .
    Thank you.

    Try this forum thread first:
    Re: send email by procedure
    There are lots of articles on how to accomplish this taks on the web:
    -- utl_smtp example
    http://it.toolbox.com/wiki/index.php/Send_email_from_Oracle_Database
    http://www.databasejournal.com/features/oracle/article.php/3423431/Sending-e-mail-from-within-Oracle.htm
    -- From Application Express product
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_workflow.html
    HTH -- Mark D Powell --

  • Oracle 10g database download fails through IE on win98 SE

    I have been trying to download oracle 10g database for windows 32-bit through IE on windows 98SE. it takes me personal detail information page when I log on with my id "kubends", when I press "continue" button on that page, URL link fails "http://www.oracle.com/webapps/dialogue/dlgpage.jsp?p_dlg_id=2788237&src=1952635&act=26&p_doc_id=2788239&p_page_id=2788241&p_dlg_response_id=-1&p_response_id=-1&p_old_response_id=-1&p_email=null&p_resp_look_back=0.0&p_title=Oracle%20Database%2010g%20downloads&p_trust_cookie=N&p_debug=N&p_omo_code=null&p_dlg_title=Oracle%20Database%2010g%20downloads&tid=262&owner=1&p_ext=Y&p_dlg_id=2788237"
    Has anyone encountered this error?. Any help on this would be greatly appreciated
    Thanks
    Kuben

    I have been trying to download oracle 10g database for windows 32-bit through IE on windows 98SE. it takes me personal detail information page when I log on with my id "kubends", when I press "continue" button on that page, URL link fails "http://www.oracle.com/webapps/dialogue/dlgpage.jsp?p_dlg_id=2788237&src=1952635&act=26&p_doc_id=2788239&p_page_id=2788241&p_dlg_response_id=-1&p_response_id=-1&p_old_response_id=-1&p_email=null&p_resp_look_back=0.0&p_title=Oracle%20Database%2010g%20downloads&p_trust_cookie=N&p_debug=N&p_omo_code=null&p_dlg_title=Oracle%20Database%2010g%20downloads&tid=262&owner=1&p_ext=Y&p_dlg_id=2788237"
    Has anyone encountered this error?. Any help on this would be greatly appreciated
    Thanks
    Kuben

  • "In-Memory Database Cache" option for Oracle 10g Enterprise Edition

    Hi,
    In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
    databases (platform - Solaris 9i).
    TimesTen holds application information which needs to be accessed quickly
    and Oracle 9i is a master application database.
    Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
    database. While exploring about Oracle 10g features, came to know about
    "In-Memory Database Cache" option for Oracle Enterprise Edition. This made
    me to think about using Oracle 10g Enterprise Edition with "In-Memory
    Database Cache" option for our application.
    Following are the advantages that I could visualize by adopting the
    above-mentioned approach:
    1. Data reconciliation between Oracle and TimesTen is not required (i.e.
    data can be maintained only in Oracle tables and for caching "In-Memory
    Database Cache" can be used)
    2. Data maintenance is easy and gives one view access to data
    I have following queries regarding the above-mentioned solution:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    In "Options and Packs" chapter in Oracle documentation
    (http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
    #CIHJJBGA), I encountered the following statement:
    "For the purposes of licensing Oracle In-Memory Database Cache, only the
    processors on which the TimesTen In-Memory Database component of the
    In-Memory Database Cache software is installed and/or running are counted
    for the purpose of determining the number of licenses required."
    We have servers with the following configuration. Is there a way to get the
    count of processors on which the Cache software could be installed and/or
    running? Please assist.
    Production box with 12 core 2 duo processors (24 cores)
    Pre-production box with 8 core 2 duo processors (16 cores)
    Development and test box with 2 single chip processors
    Development and test box with 4 single chip processors
    Development and test box with 6 single chip processors
    Thanks & Regards,
    Vijay

    Hi Vijay,
    regarding your questions:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    ==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    ==> Seperate Installation
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    ==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
    This explains the differences.
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    ==> Please see above mentioned papers
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    ==> Again ... ;-)
    Kind regards
    Mike

  • Oracle 10g/11g - Operating system support info required

    I want to know all the operating systems supported by oracle 10g and 11g. I searched through oracle tech. center, but failed to find this information.
    I want to know if oracle (10g/11g) is supported on Linux S/390?
    Thanks
    Mac

    Did you go through the certification matrix?
    http://www.oracle.com/technology/support/metalink/index.html

  • Reports Oracle 10G

    Hi all, i´m newly in this forum, but i can see much activity, thats good !
    Well, my main question is : How can i do reports from Oracle 10G
    Additional Info:
    The server is : Solaris 10 + Oracle 10G
    And i can access it through to a remote desk (Windows XP) where i have SQL Developer.
    The main idea is to generate queries furthermore I can generate related charts (Like Excel) and the whole report should be automatic every week.
    Could any of you give some ideas ??? is my first job with oracle and i´m very nervous
    Thanks in advance.

    Could any of you give some ideas ???SQL*Net allows remote Windows client to query DB server

  • Tomcat 4.0 and Oracle 10g takes 100% CPU and grinds to a halt

    Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.
    I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.
    I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.
    We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.
    I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
    I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.
    Thanks in advance for your help
    Lizzie

    lizzie8 wrote:
    Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.Tomcat 4? We're up to Tomcat 6. The important difference is the JDK supported. What JDK are you using for Tomcat?
    >
    I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.classes12.jar is pretty old technology. The JAR should match your JDK and version of Oracle.
    I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.You don't say anything about the whether or not you're using a connection pool or what's happening to the open connections and cursors. If you find that those are drifting up over time, it's likely that the code isn't closing resources properly.
    We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.Database and app server should be separated, IMO.
    I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
    I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.You need more data. Get some tools to see where the time is being spent. Start monitoring your Oracle connections and cursors to see what's going on. Install some filters to get raw timings on your Java calls. Without data, you're guessing in the dark.
    %

  • Connect PostgreSQL to Oracle 10g through ODBC: can't read all_tables

    Oracle 10g is not able to read the database table names (all_tables and all_objects, es. select * from all_tables@hspostgresodbc) from PostgreSQL using ODBC (v. 08.01.0200). This functionality is essential to be able to use Oracle Warehouse Builder and import external database definitions (heterogeneous services).
    However, Oracle (SQL*Plus) is able to retrieve records when the table name is stated in the SQL query (es. select * from “my_table”).
    The problem seems to be specifically with the PostgreSQL ODBC because Oracle is able to read schemes from other databases through ODBC. I’ve done some tests with Access dbs just to be sure that the problem is not with my system (Windows XP SP2).
    The problem appears both with ANSI and UNICODE PostgreSQL drivers.
    Any suggestion of how workaround this problem?
    thanks in advance,
    Raoni

    Dear all,
    I’ve tried different tracing levels with out success. The log file does not seem to be created by Oracle.
    Looking closer to the debug and comm logs from the driver 8.01.0200, I’ve found out that the problem was generated after a table wasn’t found (the driver seems to search for the all_tables table, and just afterwards to query the scheme pg_catalog). In this case the all the following queries returned with the error “ERROR: current transaction is aborted, commands ignored until end of transaction block”. Maybe this problem is related with the bug [#1000641] http://pgfoundry.org/tracker/index.php?func=detail&aid=1000641&group_id=1000125&atid=538
    Following the Postgres odbc developers suggestion, I’ve installed the psqlODBC v 08.02.0002 and I’ve got a completely different result.
    As before, the simple query “select * from my_table@hsodbc” returns the result using SQL*Plus clearly faster than before.
    Doing the query “select * from all_tables@hsodbc” the result is OK (the name of 56 tables) but the process is very slow and burdensome. The file paging memory in the machine running Oracle and the SQL*Plus jumps from the normal 700 MB to 1.7 GB, and the query takes about 20 minutes to complete.
    Also the 1.7 GB remains allocated and the query process halted in PostGreSQL even after the on screen result of the query. The memory is freed and the process terminated after the logging out SQL*Plus.
    Probably as result of this memory explosion, the system runs out of memory and Oracle Warehouse Builder selecting data base link -> schema, after some minutes get an error similar to: “can’t read from memory address XXXXX”
    All those test where done with PostGreSQL 8.0.1 (on Linux Suse 9.0) and Oracle 10g (Windows XP SP2).
    To be sure that the problem was not related to the PostGreSQL version, we updated the server to the 8.1.3 (running in Linux Suse 9.0 with psqlODBC v 08.02.0002 ) and OWB couldn’t see any table as before and doing Select * from all_tables@hsodbc we’ve got the message:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]
    ORA-02063: preceding 2 lines from HSPG
    no rows selected
    On the other hand, with the same configuration as before (Oracle 10g under Windows XP SP1, psqlODBC v 08.02.0002) but with PostGreSQL 8.1.3 under Windows XP SP1, OWB can read table names (same tables imported from Linux PostgreSQL) but not all_tables (a minor problem, because what is important for us is to make OWB work with PostgreSQL).
    The encoding for all DBs is UTF8.
    Any ideas of where could be the problem?
    regards,
    R.

  • Connecting to the Oracle 10g Database through Java code

    I have a Oracle 10g database to be connected to.
    Through sql plus, I can connect to it using the following command
    sqlplus "sys@pmi as sysdba"and password is 'password'
    how do I connect to this db through my Java code?
    I tried
    _connection = DriverManager.getConnection("jdbc:oracle:thin:@10.245.4.100:1521:pmi as sysdba", "sys", "password");but it gave the exception "ExceptionIo exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))"
    I also tried
    _connection = DriverManager.getConnection("jdbc:oracle:thin:@10.245.4.100:1521:pmi", "sys", "password");but this gives the exception "ExceptionORA-28009: connection as SYS should be as SYSDBA or SYSOPER"
    Can anyone please help me in writing the line of code

    You need to use the getConnection syntax that requires a Properties object.
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#05_05
    - cafal

  • Memory Leak when TOMCAT connects to Oracle 10g RAC using JDBC Thin driver.

    We had experienced Memory leak when a Oracle 10g (10.2.0.3) RAC node was evicted. TOMCAT app server is connecting to the Oracle 10g RAC database instances using JDBC 10.2.0.3 thin driver.
    Anyone had similar experience?
    Any ideas? Any bugs reported/fixed?
    Thanks,
    Raj

    If you're doing XA, we absolutely do not support
    driver-level load-balancing OR failover. Use neither.
    For non-XA, you can use driver-level failover. For
    non-XA, you could set load-balancing, but it won't
    help because we get connections from the driver,
    and keep them indefinitely, so the driver never gets
    the chance to affect which connections the pool
    uses after that.

  • 'set scan off' or 'set define off' now working through JDBC on Oracle 10g

    Hi,
    I am using oracle 10g. I am trying to execute 'set scan off' statement through JDBC (java code) using below statement
    //get connection Connection c = this.init();  //create statement object Statement st = c.createStatement();  //execute statement st.execute("set scan off");
    but it is throwing below exception.
    'java.sql.SQLException: ORA-00922: missing or invalid option'
    I also tried 'set define off' but got same exception. But if I run these statement directly on database without using JDBC there is no exception.
    Please let me know what is the issue.

    Rajesh Panchal wrote:
    Hi,
    I am using oracle 10g. I am trying to execute 'set scan off' statement through JDBC (java code) using below statement
    //get connection
    Connection c = this.init(); 
    //create statement object
    Statement st = c.createStatement(); 
    //execute statement
    st.execute("set scan off");                              but it is throwing below exception.
    'java.sql.SQLException: ORA-00922: missing or invalid option'
    I also tried 'set define off' but got same exception. But if I run these statement directly on database without using JDBC there is no exception.
    Please let me know what is the issue.These are not SQL statements but specific Oracle commands. You would invoke them from PL/SQL through the command interpreter or by using Sqlplus on the commandline; if you try to execute this in a PL/SQL query window you'll get the same error.
    So no, you are not going to invoke them from JDBC.

  • Tomcat 5.5 DBCP with Oracle 10g

    Hi,
    I am using Tomcat 5.5 for making connection pool with Oracle 10g. My configurations in tomcat server.xml file is
    <Resource name="jdbc/csms" auth="Container" type="javax.sql.DataSource"
    maxActive="10" maxIdle="1" maxWait="5000"
    removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
    username="***********" password="**********" driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@*************:prtp"/>
    I am getting connections properly and process is also closing connections. I have 2 queries when I am not closing connections in my process.
    1. When I am not closing connections in my process, after maxActive size, why I am not getting extra connection from maxIdle (as I have defined it 1. I am expecting 1 extra connection from pool).
    2. When process is using all maxActive connections, can I create extra physical connections, by using datasource. In current configuration, I am not able to create extra connection. I am getting exception Pool Exhausted. Is my configuration correct.
    Thanks in advance for reply.

    once you get all the connections your pool defines that's it.
    Either reconfigure your pool or live with it.

  • CCX7.0 Database Integration with Oracle 10g through ODBC

    Good Day…
    We are up to integrate CCX7.0 with Oracle 10g, CCX7.0 documents show the way to integrate the CCX7.0 with SQL server, but mention nothing about Oracle 10g, anyway...
    I tried to check the ODBC options, there were many options, I tried to select any Oracle related choice, just to find out Oracle should supply the driver for it. In the forums, people say it’s an Oracle Client, but what will this client do? Am I going to connect though it to the oracle database server or is it going to query the database to my CCX server? What am I going to use in this case, user DSN or system DSN?
    If there any tips or recommendations I will be grateful, as it is my first database integration.
    Thanks
    AT

    Hi Aaron
    Thanks Aaron for the information, and yes you are right, I am not a database person.
    I have here some questions, sorry if some of them sounds silly
    1)       Is there a certain Oracle Client version? or and Oracle Client will work for me?
    2)       Do you recommend system DSN on user DSN?
    3)       “…. available to any device on the system” as you said in your reply, what do you mean by "device" and "system"? Sorry, but this will help to clear the picture to me
    4)       What will this Oracle Client exactly do? Is it going to build an SQL table on my CCX server that query the information from the Oracle Server?
    5)       My customer has already implemented database integration with IPCC3.5, how can I check the current configuration of the Oracle Client, and what things else should I check before proceeding with the integration?
    The reason I want to understand this because there is a lot of database integration is requested from us, the CCX scripts can be used to query data from SQL tables, I read a lot about this –waiting for the implementation phase- the lucky me, the first integration I faces is with Oracle.
    Anyway, who said learning is easy.
    Thanks Aaron for your time, waiting your answers.
    AT

Maybe you are looking for