Tomcat / Oracle

No matter what I do I cannot get my application connected to an Oracle database.
I've tried classes12.jar in all the possible locations, added it to %CLASSPATH%, taken it off %CLASSPATH%, removed the javax.sql classes but nothing will work.
The error message isn't exactly telling me much either.     
<!-- Class name for JDBC driver -->
     <parameter>
     <name>driverClassName</name>
     <value>oracle.jdbc.driver.OracleDriver</value>
     </parameter>
     <!-- The JDBC connection url for connecting to your DB -->
     <parameter>
     <name>url</name>
     <value>jdbc:oracle:[email protected]:1521:luht</value>
     </parameter>
LOG FILE.
Bootstrap: Create Catalina server
Bootstrap: Starting service
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27-LE-jdk14
Bootstrap: Service started
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver', cause: oracle.jdbc.driver.OracleDriver

For what it's worth, my problem was that I had the context defined incorrectly in my server.xml. As such, the datasource manager was not finding my datasource and was throwing the error described above.
Explicitly, the problem was that I was deploying as a WAR file that was NOT being expanded. My context was missing the leading forward slash from the path name.
I decided to post my solution because it took me several hours to figure it out and nobody else seemed to propose that what I was experiencing could have been caused by Tomcat not finding the datasource.
Anyway, here is a snippet of my working server.xml file. I hope this helps somebody else.
Craig
      <!-- Define the default virtual host -->
      <Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="false" autoDeploy="true">
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="localhost." suffix=".log"
             timestamp="true"/>
        <Context path="" docBase="ROOT" debug="0" reloadable="true"/>
        <!-- Note the leading '/' here in the path. -->
        <Context path="/myapp" docBase="myapp.war" debug="0" reloadable="true">
          <Resource name="jdbc/MyDataSource" auth="Container" type="javax.sql.DataSource"/>
          <ResourceParams name="jdbc/MyDataSource">
            <parameter>
              <name>factory</name>
              <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
            </parameter>
            <parameter>
              <name>driverClassName</name>
              <value>oracle.jdbc.driver.OracleDriver</value>
            </parameter>
            <parameter>
              <name>url</name>
              <value>jdbc:oracle:thin:@server:1521:database</value>
            </parameter>
            <parameter>
              <name>username</name>
              <value>username</value>
            </parameter>
            <parameter>
              <name>password</name>
              <value>password</value>
            </parameter>
            <parameter>
              <name>maxActive</name>
              <value>15</value>
            </parameter>
            <parameter>
              <name>maxIdle</name>
              <value>10</value>
            </parameter>
            <parameter>
              <name>maxWait</name>
              <value>-1</value>
            </parameter>
            <parameter>
              <name>validationQuery</name>
              <value>select 'TEST' from dual</value>
            </parameter>
          </ResourceParams>
        </Context>
      </Host>

Similar Messages

  • SetTimestamp in Tomcat + Oracle 9i ignores milliseconds

    Hi all,
    I have a problem when using setTimestamp in Tomcat + Oracle 9i becouse it ignores milliseconds in the database.
    It�s a J2EE app that runs on Tomcat and OC4J as a server and Postgres and Oracle 9i as a DDBB. It works OK with OC4J + Oracle but it ignores the milliseconds when I use Tomcat.
    I�m using setTimestamp(java.sql.Timestamp)
    Driver used is classes12.jar, jdk 1.4.1, ...
    Any Idea?
    Thanks

    1- try ojdb14.jar instead of classes12.jar
    2- add this to the context of your web app:
              <parameter>
                   <name>connectionProperties</name>
                   <value>oracle.jdbc.V8Compatible=true</value>
              </parameter>3- i don't think this is a tomcat problem:
    See http://www.databasejournal.com/features/oracle/article.php/2234501

  • I have a problem with JDBC Realm in Tomcat/Oracle/Win XP

    I have a problem with JDBC Realm in Tomcat.
    I have attached my server.xml file located in the
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
    The Problem is that when I login I get the user name and password prompt but it does not resolve.
    When I enter in the tomcat-users.xml password with memory realm uncommented it works fine.
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
    Is there a cache or something I need to reset for the JDBC Realm to work?
    I have attached my tables and contents as well...
    Did I miss something????
    Thanks
    Phil
    server.xml
    <Server port="8005" shutdown="SHUTDOWN">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@localhost:1521:orcl"
    connectionName="testName" connectionPassword="testPass"
    userTable="users"
    userNameCol="user_name"
    userCredCol="user_pass"
    userRoleTable="user_roles"
    roleNameCol="role_name" />
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    </Engine>
    </Service>
    </Server>
    Tables
    create table users
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table roles
    role_name varchar(15) not null primary key
    create table user_roles
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key( user_name, role_name )
    select * from users;
    ----------------------+
    | user_name | user_pass |
    ----------------------+
    | tomcat | tomcat |
    | user1 | tomcat |
    | user2 | tomcat |
    | user3 | tomcat |
    ----------------------+
    select * from roles;
    | role_name |
    | tomcat |
    | role1 |
    select * from user_roles;
    -----------------------+
    | role_name | user_name |
    -----------------------+
    | tomcat | user1 |
    | role1 | user2 |
    | tomcat | tomcat |
    | role1 | tomcat |
    -----------------------+

    Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 734 ms
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
    SEVERE: Exception opening database connection
    java.sql.SQLException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
         at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart

  • Need a jdbc driver for tomcat - oracle

    i have tomcat 6 and oracle forms 6i
    i need a driver
    where can i get it from & how do i install???

    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html

  • JSP Deployment:Tomcat:Oracle Prepared Statement error

    I'm deploying my BC4J JSP application to Linux/Tomcat 4.0.1.
    The html and basic jsp (Query form display) work but whenever I try to hit the database (i.e. display a browse or execute a query), I get the following in the Browser window:
    Application Error
    Return
    Error Message: oracle.jdbc.driver.OraclePreparedStatement
    There are no other messages. Everything works in the JDeveloper IDE.
    I'm sure I've done something wrong in the configuration.
    Can anyone point me in the right direction?
    TIA
    Thanks, George

    Thanks for the info Sung.
    We solved the problem late yesterday. The Tomcat documentation indicates that .jar files shared by the application and the server must reside in <Tomcat_home>/common/lib/. However, we went by the JDeveloper document which stated that most of the library files belong in <Tomcat_home>/lib/.
    When we moved classes12.jar to /common/lib/ the problem was resolved.
    In order to resolve other problems that arose, we had to move all of the indicated .jar files for JDeveloper into /common/lib/.
    One of the JDeveloper documentation folks should probably evaluate this for a change to the documentation.
    Thanks for your help!
    Thanks, George

  • Tomcat, Oracle 9i and Chinese Characters

    Dear Group,
    we are using an application based on oracle 9i and tomcat 5.0. I copied the "ojdbc14.jar" and "nls_charset12.jar" to my common/lib directory of Tomcat.
    The application works fine until I insert chinese characters via the web form from our app. If I insert the chinese characters directly with the oracle enterprise console, it works.
    NLS_NCHAR_CHARACTERSET is AL16UTF16
    Any idea?
    Thanks in advance
    Ray

    Are you inserting the Chinese characters into a VARCHAR2 column or into an NVARCHAR2 column?
    What is your NLS_CHARACTERSET?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Apache Tomcat/Oracle 9i Application server

    I have some JSP applications in tomcat but I need to move it over to mt Oracle Application Server, Please can some one tell how to do this.
    Thank you

    It should be relatively straight forward.
    If you have WAR files which you've deployed to Tomcat, then you should pretty much be able to deploy them as is to OracleAS using the application server control management console.
    The mgt console has support for WAR file deployment.
    In the documentation, the User's Guide is a good book to read to get up to speed.
    http://download-west.oracle.com/docs/cd/B10464_02/web.htm
    If you have just a collection of JSPs as your application, then I'd recommend you put them into a WAR file archive, and then deploy that.
    cheers
    -steve-

  • Connexion Problem Tomcat+Oracle

    I'm using Tomcat 5.0, Oracle 9i and JDK 1.4.2
    I'm trying to connect to a database. I have already put the class12.jar in the \common\lib folder of Tomcat. I have also configured the server.xml and web.xml as it is told in the Tomcat 5.0 Documentation. When I execute the test file I have done I have the following error:
    javax.servlet.ServletException: invalid arguments in call
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
         org.apache.jsp.test2_jsp._jspService(test2_jsp.java:59)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.sql.SQLException: invalid arguments in call
         oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
         oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
         oracle.jdbc.driver.OracleConnection.(OracleConnection.java)
         oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
         oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
         java.sql.DriverManager.getConnection(Unknown Source)
         java.sql.DriverManager.getConnection(Unknown Source)
         org.apache.jsp.test2_jsp._jspService(test2_jsp.java:49)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Can you help me finding the problem? Thank you

    You code check the arguments for the connection. The trace is indicating a problem with that.

  • 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.

  • Performance problem with Oracle

    We are currently getting a system developed in Unix/Weblogic/Tomcat/Oracle environment. We have developed a screen that contains 5 or 6 different parameters to select from. We could select multiple parameters in each of these selections. The idea behind the subsequent screens is to attach information to already existing data/ possible future data that matches the selection criteria.
    Based on these selections, existing data located within the system in a table is searched and those that match are selected. Also new rows are created in the table against combinations that do not currently have a match. Frequently multiple parameters are selected, and 2000 different combinations need to be searched in the table. Of these selections, only about 100 or 200 combinations will be available in existing data. So the system is having to insert 1800 rows. The user meanwhile waits for the system to come up with data based on their selections. The user is not willing to wait more than 30 seconds to get to the next screen. In the above mentioned scenario, the system takes more than an hour to insert the new records and bring the information up. We need suggestions to see if the performance can be improved this drastically. If not what are the alternatives? Thanks

    The #1 cause for performance problems with Oracle is not using it correctly.
    I find it hard to believe that with the small data volumes mentioned, that you can have perfornance problems.
    You need to perform a sanity check. Are you using Oracle correctly? Do you know what bind variables are? Are you using indexes correctly? Are you using PL/SQL correctly? Is the instance setup correctly? What about storage, are you using SAME (RAID10) or something else? Etc.
    Facts. Oracle peforms exceptionally well. Oracle exceptionally well.
    Simple example from a benchmark I did on this exact same subject. App-tier developers not understanding and not using Oracle correctly. Incorrect usage of Oracle doing a 100,000 SQL statements. 24+ minutes elapsed time. Doing those exact same 100,000 SQL statement correctly (using bind variables) - 8 seconds elapsed time. (benchmark using Oracle 10.1.0.3 on a Sunfire V20z server)
    But then you need to use Oracle correctly. Are you familiar with the Oracle Concepts Guide? Have you read the Oracle Application Developer Fundamentals Guide?

  • Is it possible to deploy Web Services to Tomcat?

    Good day,
    Can anybody tell me or it is possible to deploy Web Services to Tomcat 5.5.x ? It is possble for ADF, so I was wondering or it is possble for Web Services.
    I tried to deploy it with the following libraries:
    J2EE (excluding the servlet.jar using the filter, while this package is already present in Tomcat)
    Oracle SOAP
    Struts Runtime
    JSP Runtime
    and manually added as library:
    wsserver.jar
    wsdl.jar
    WebServicesHtmlXmlWizard.jar
    The situation at this moment is that after deployment, and execution by the a http browser the http request screens shows up as expected (I have been used Embedded stubs), but after sending I get a:
    28-Sep-2005 11:03:36 org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet MyWebService1 threw exception
    java.lang.NoClassDefFoundError: oracle/aurora/ncomp/java/ClassNotFound
         at oracle.j2ee.ws.StatelessJavaRpcWebService.getGenerator(StatelessJavaRpcWebService.java:28)
         at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:461)
         at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:414)
         at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:532)
         at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:631)
         at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1173)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Any sugestions? Or is there a different behaviour between Oracle en Tomcat version caused by modifications from the apache source.
    I should appreciate it to get some more details about this issue.

    JDeveloper will only directly support deployment of web services to an Apache 2.2 Web Server.

  • Bottleneck Between Oracle and Application Server

    I am connecting Tomcat to Oracle thru thin JDBC driver. The link between tomcat & oracle is now found to be the bottleneck - too many JDBC calls that could be handled by the network. What are the possible solutions I can use now?
    Some suggest to use Oracle Real Application Cluster (RAC) to scale the db tier. I am new to this. Would setting up RAC causes any change to my programs? Is it difficult to setup? Also, are there any other alternatives?

    Web servers just handle static content, like HTML pages.
    App servers have a few flavors.
    A servlet/JSP engine has a Web server built into it, too. It can handle static content, like HTML pages, and also act as a container for servlets and JSPs. You can use JDBC with servlets and JSPs, of course.
    A J2EE app server has a servlet/JSP engine and a Web server built into it. It can handle static content, like HTML pages and act as a container for servlets and JSPs. But it can also act as a container for EJBs - session, entity, and message EJBs. It has other services built in, like Java Messaging Service (queues), Java IDL (Corba), RMI, JNDI (naming services), XML parsers, JDBC (database access), and Java Transaction Service.
    Enterprise Application Integration servers (EAI), like WebMethods, using XML messaging to tie multiple J2EE app servers together.
    It's like those Russian dolls, where smaller ones fit inside larger ones. It's a hierarchy. - MOD

  • [XI 3.0]  Date Format

    Hi All,
    I have one question regarding LOV in designer. (the same problem in deski and infoview)
    Problem is with date format. When we display LOV we get data 1.1.2009 (d.m.yyyy) and we would like to have like this 01.01.2009 (dd.mm.yyyy). Data type of object is date.
    Regional settings :dd.mm.yyyy.
    Oracle: NLS_LANG => SLOVENIAN_SLOVENIA.EE8MSWIN1250
    Object formating in universe => dd.mm.yyyy
    P.S.
    The same universe works fine in 6.1.3
    Installed software:
    BOE XI 3.0 with SP1,SP2,SP3 (on tomcat)
    Oracle client 10.2
    Windows server 2003 or windows XP
    Regional settings => Slovenian
    Thank you for reply!
    Regards,
    Gregor
    Edited by: Gregor Majdic on Mar 5, 2009 9:40 AM

    Try this:
    In Designer, open the universe which has the date object.
    2. Create a new object called "new_date" with a character data type, then in the select box of this object type the following:
    to_char(EMP.HIREDATE,"DD.MM.YYYY")
    3. Open the Object properties of the original date object (for example, called "Hiredate") and replace the existing LOVs of Hiredate by new_date (Properties tab > Edit button).
    4. You can now hide the object new_date if required.
    5. Click Run > Display to view the updated list of values where the date format of the LOVs is now in the format; DD.MM.YYYY.
    Caroline

  • Is this an OpenSSL or httpd or JAVA problem ???

    Hi All.
    Problem: Netscape 6.2 will not "redirect" from http://my.first.dom to https://my.secure.dom
    Objective : from first web-site, create a link to a secure web-site in index.html using an anchor e.g. ClickMe
    Set up : Apache2 httpd + mod_ssl + Tomcat + Oracle. Tomcat holds java servlets. Apache server has applets communication with servlets.
    What works : Everything works just fine using W98+MSIE5 or Linux+Mozilla.
    What doesn't work : When I key in URL my.first.dom in Netscape 6.2, it takes me to the site. When I click on the link to my.secure.dom, it presents again my.first.dom, as if it couldn't resolve the link-URL and use the former as default.
    Error messages : in error log, only a "seemingly" unrelated entry which says SSLSessionCache not configured (this is true, I don't really want to cache anything). At some point, JAVA console prints this message :
    General Exception
    java.lang.SecurityException: illegal CRL redirect
    I cannot even begin to duplicate these Netscape6 problems in Mozilla or MSIE5.
    What's in httpd.conf :(httpd.conf)
    Listen 192.168.100.1:80
    Listen 443
    NameVirtualHost 192.168.100.1
    <VirtualHost 192.168.100.1:80>
    ServerName my.first dom
    </VirtualHost>
    # I added following redirect in the hope Netscape6 would work - didn't!
    <VirtualHost 192.168.100.1:80>
    Server my.secure.dom
    Redirect /index.html https://my.secure.dom/index.html
    </VirtualHost>
    # as far as MSIE5 and Mozilla are concerned, they only need the following lines to work properly
    <VirtualHost>
    ServerName my.secure.dom
       <IfModule mod_ssl.c> ... blablabla </IfModule>
    <VirtualHost>

    Dude - if it works for two browsers out of three, then I'd stop looking at the httpd side of the equation. See if you can find a Netscape-6-bugs board and ask what's wrong with NS6.
    Grant

  • Please advice me on reading a large file

    Hi,
    I need and advice on reading a large file using JSP. I need to read a text file which contains around 2 millions records (lines). Also some times I need to find a specific line from that.
    I have to make a small web application to generate reports on the Text files after parsing those into a database (Oracle or MySQL). I have already a small similar application which based on PHP / MySQL. But still time consumption issue is there while parsing the text file into Database.
    How will it be improve if I go for Tomcat / Oracle / Java Web Component Development?
    Please advice me.
    Thanks

    Try changing your approach - don't read it into an array, process it one line at a time. Obviously any approach where you have the whole file in memory is going to exceed memory at some size of the file.

Maybe you are looking for

  • File icons missing in File Panel

    Hi there, I have a brand new installation (demo) of Dreamweaver CS6 on a Mac and in the file panel the icons for files are not there. The icons for folders are there but where there should be an icon for a file there is empty white space. This is fru

  • "new line" in dictation not working in Outllook for Mac 14.2.4

    Today I tried using dictation and it works except when I give it the commands "new line". Again, the dictation is working in all Apple applications.

  • Copy Order Price into Purchase Order Price

    Dear SAP Experts, My client looking for third party ordering scenario where sales order pricing must forwarded to PO pricing condition value. Sales order has price components like gross price, freight, tax, commission. Most of SO price components val

  • Customized content item / type

    Hi there, I would like to know what is the best way to store a content item in my project. I'm working on a portal which need to group the course information into categories. Each course should be a content item in this case. Each course has its own

  • Problem with Huawei Webstick and lion, Problem with Huawei Webstick and lion

    My webstick Huawei has stopped functioning ever since I have uploaded Mountain Lion. Any suggestions