Running both Tomcat and Oracle !

Can anyone tell me how to setup Tomcat and Oracle on the same machine so that they both can be accessed through port 80.
I am using Tomcat 5.0.24 and Oracle 9i.
I would be glad if anyone can send me links to useful resiurces !!!
Thanks !!!!

Hi,
Thank you much for your reply.
Right now I am running my Tomcat on port#7000. I want it to run on port#80 because my network admin has set firewall on port#7000.
Do u know anyway of connecting Tomcat and oracle so that they both can run on same port or is there any other way out ?????
Thanks !!!

Similar Messages

  • Running both Tomcat and JSWDK server on same win2000 server m/c

    Hi all,
    I was running Tomcat4.0.4 on my m/c which operates on WIN2000 server. Afterwards I installed the JSWDK 1.0.1 on the same m/c. I worked with it for sometime. But when I went back to starting up the tomcat again, it would not startup. The dos window comes up and vanishes within a few milliseconds. I deleted the entire JSWDK folder. Removed JSDK and Tomcat directories and re-installed everyhing other than the JSWDK, but problem persists.
    Can anybody please help out ??
    Thanks,
    vishnupriyaa

    Hi all,
    Thanks for taking the time out to answer the query. Paul's reply helped me most though Balava had also indicated the same thing ... I could see from the log file that the Catalina environment was not set properly. Earlier I had it set equal to the TOMCAT_HOME variable path which was 'I:\jakarta-tomcat-4.0.4\bin'. I now removed the '\bin' from the path and lo! tomcat was running again on the port assigned to it!!
    Thanks everybody ... I am awarding the duke points to Paul
    vishnupriyaa

  • Firefox has suddenly gone wrong. I was successfully running both Firefox and Internet Explorer 8 on Windows 7. I auto-accept upgrades including the most recent Firefox upgrade and the suggested upgrade to Adobe Flash 10.1. But after this, Firefox stopped

    Firefox has suddenly gone wrong. I was successfully running both Firefox and Internet Explorer 8 on Windows 7. My laptop is new and has plenty of RAM and HDD. I auto-accept upgrades including the most recent Firefox upgrade and the suggested upgrade to Adobe Flash 10.1. But after this, Firefox stopped working and does not work when I re-load Firefox 3.6. Also IE8 now works very slowly and does not locate major websites like Microsoft without a 'can't find the website message' and having to pressing Return a second time. When I do get to the Mozilla website and click on the button to try to download Firefox 3.6.6, I get this message "Oops! Internet Explorer could not find mozilla3.snt.utwente.nl". Can you help with what has gone wrong? As it stands, I can't use Firefox at all. Note: because Firefox did not work after the upgrade, I've downloaded the IE8 version of the Adobe Flash 10.1. What I really want is to be able to use both Firefox and IE8. But is this possible if they use different versions of Adobe Flash?
    == This happened ==
    Every time Firefox opened
    == About 2-3 days ago ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C)

    I have been having the same problem as the original poster. After upgrading to Ffx 3.6.6, the program asks you to upgrade to Flash Player Plugin 10.1. I download and installed 10.1 only to find videos weren't loading.
    In my case, the problem is the previous installation of Flash Player (9.0.47) was somehow messing things up. To fix this, because I already had Flash plugin 10.1 installed I had to uninstall 10.1 using the uninstaller from adobe and then manually remove any files related the old flash player plugin 9.0.47
    Here is a run-down of my process:
    0. To check if you have a previous installation of the Flash Plugin lurking around, in Firefox go to Tools -> Add-ons -> Plugins (tab). At this point you may seen both Flash plugins.
    1. Proceed to uninstall Flash Plugin 10.1. Adobe provides an uninstaller here: http://kb2.adobe.com/cps/141/tn_14157.html
    ( you have to make sure you have nothing running when you execute the installer).
    2. On my Mac (sorry I don't know what it is in Windows) I searched the hard drive for any files/folders with "Shockwave". I found a folder called "Shockwave 10". It wasn't removed by Adobe's uninstaller. For safety I deleted it and then emptied the trash.
    3. I then went to My HD -> Library -> Internet Plugins.
    Remove the file and folder named "Flash player.old"
    4. Restarted; ran the Adobe Flash Player 10.1 installer. Restarted again.
    5. Opened up ffx and double checked the plugins list (see step 1). Version 10.1 is installed and available. Went to problem sites to test it out and Success!
    Hope this helps.

  • Linking Access tables, creating a query with using both Access and Oracle

    Hello,
    I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
    the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
    I will appreciate if you guys help me. I look forward to hearing from you guys.
    Thanks,
    Pinar

    Pinar,
    to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
    There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    And there's also a dedicated Forum: Heterogeneous Connectivity

  • In SMO there is any option for run both ExecuteNonQuery and ExecuteWithResults.?

    In SMO there is any option for run both ExecuteNonQuery and ExecuteWithResults query at simultaneously?

    Hello,
    First, in a client session nothing can run "simultaneously", all statements are executed in sequence. And what should
    it be good for to run ExecuteNonQuery +
    ExecuteWithResults; both executes the SQL batch, the only difference is, ExecuteWithResults returns a result?
    But if you like, start one by one.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • If I run both Firefox and IE 11 which Flash Player do I download or can I download both?

    If I run both Firefox and IE 11 which Flash Player do I download or can I download both?

    Hi,
    Firefox and IE uses different plugins of Flash Player but you can install both in your system.
    Just go to http://get.adobe.com/flashplayer from IE browser and Install Flash Player -> It will install ActiveX plugin of Flash Player which is used by IE
    And if you go to http://get.adobe.com/flashplayer/ from Firefox browser and Install Flash Player -> It will install NPAPI plugin of Flash Player which is used by Firefox.
    Hope it resolves your query.

  • How do I get the Time Capsule to run both 5GHz and 2.4GHz networks at the same time.

    How do I get the Time Capsule to run both 5GHz and 2.4GHz networks at the same time.

    Thanks for digging out the facts.
    You have a 1st Generation Time Capsule.
    Your model can produce two bands....either 2.4 GHz or 5 GHz....but not both simultaneously.
    You would need a Generation 2, 3 or 4 Time Capsule for simultaneous dual band capability.

  • Java application (tomcat) and Oracle RAC 10gR2

    Hi, I have an Oracle RAC 10gR2 (10.2.0.3) on Suse Linux Enterprise Server (3 nodes).
    I have several application running on tomcat 5.X and tomcat 6.X with java 1.5 and java 1.6. Sometimes, because of hardware fail, network problems,... one of the nodes fails, and then the other 2 nodes still working and my database is up. However, the most of applications lose the connection with the database, and I must to restart the tomcat. I want to have a system more reliable and robust, and I want to prepare the tomcat's and java application for prevent it. I have read the http://drdobbs.com/java/222700353?pgno=1 and http://db360.blogspot.com/2007/01/is-your-java-application-failoverproof.html. I've been tried the example of the first url, but I don't connect with my database. However, I've probe the sample on another oracle rac (10.2.0.4) and it works. In the samples, it use the ucp.jar (11g) and ons.jar (10g) and ojdbc6.jar (11g driver).
    Anyone can help me how can I configure my application for I must not to restart the tomcats??
    Thanks you very much!!.

    The best solution for your problem is ORACLE SUPPORT.. Please raise an SR and coordinate with them.. GoodLuck!

  • How to link a OCI app for running both 8i and 9i

    Hi,
    I have an OCI application built on 9i and linked dynamically with libclntsh.so . When I run the program on system with installed 8i, library loader was looking for libclntsh.so.9.0, which oracle 8.1.7 does not have.
    Does anyone know why the library loader looks for libclntsh.so.9.0 instead of the libclntsh.so which it is linked to?
    Can anyone tell me how to build a application that will run on either 8i or 9i?
    Thanks.
    Zhigang

    Three years later, same problem with different versions ;)
    I need my application to run with Oracle9 and Oracle10.
    I link on Solaris with Oracle9, and the executable points to libclntsh.so.9.0 instead of libclntsh.so.
    # ldd myapp
    libclntsh.so.9.0 => /u01/app/oracle/product/9.2.0/lib32/libclntsh.so.9.0
    As libclntsh.so.9.0 is not delivered with Oracle10, the application won't run unless a symbolic link from libclntsh.so.9.0 to libclntsh.so is made.
    Is there a way of solwing this issue?
    Thanks in advance!
    Thomas

  • Tomcat and Oracle

    Hi. I have tomcat 6 and Oracle 10g Express edition 10.2.0.1.0 and I have to make a jsp page that would connect to my database and get data from it.
    In server.xml I added:
    <Resource name="jdbc/myoracle" auth="Container"
    type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@127.0.0.1:8080:apex"
    username="hr" password="hr" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    and in web.xml:
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/myoracle</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    I also downloaded ojdbc14.jar driver and placed it into tomcat/lib folder.
    now, I dont know how to connect to the database in my jsp page and what imports to make, I tried to search the web and couldnt find anything specific.
    Can you please help me? How would I for example list all entries from say Employees table that is already created.
    Thanks

    Hi,
    Found the solution best described in below link.
    http://wiki.apache.org/tomcat/UsingDataSources
    Im using tomcat 6.0.18 on vista and oracle 10g. Hope this Infomation might help someone.
    1. comment following line in TOMCAT_HOME\conf\context.xml
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    2. copy following in ur web applications META-INF\context.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Context>
    <Resource name="jdbc/oraclexe" auth="Container"
    type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@127.0.0.1:1521:xe" username="oracle"
    password="oracle" maxActive="20" maxIdle="10" maxWait="-1" />
    </Context>
    3. no need to edit TOMCAT_HOME\conf\server.xml or WEB-INF\web.xml.
    Hope this helps
    bye

  • Does the RCA OUTPUT ON THE cdx-gt56ui run both sub and preout? if so how do I switch it to PRE-OUT

    Does the RCA OUTPUT on the CDX-GT56UI Car Stereo have both Sub and PRE-OUT? if so how do I switch to PRE-OUT?

    Hello Richard,
    The unit has 2-channel Preamp Outputs  on the rear of the receiver, used for connecting external amps. This unit doesn't have Sub Preamp Outputs.
    The rear preamp outputs can be set in the menu to output a full range signal to the rear channels, or a filtered signal to a subwoofer. When set to subwoofer, the output typically has a selectable low-pass filter and is non-fading. You can change the rear preamp outputs by selecting REAR/SUB option under Setup menu of the unit.
    If my post answers your question, please mark it as "Accepted Solution".
    Thank you for your post.

  • Running both CS6 and CS5 bridge

    I'm running CS5 bridge but using CS6 tools from the cloud tools.  I keep CS5 on board because CS6 Bridge is really useless for getting any work done.  I face major pauses when I try to use any of the menu buttons or try to right click on anything.  Usually at least 5 seconds.
    So I just use CS5 which is very quick to respond to those kind of clicks.
    I'm seeing one problem that is apparently related to having both versions:
    In CS6 Bridge:
    When I set Edit/Camera Raw preferences/ Camera Raw Cache/ Select location
    It also sets the same place for CS5 Bridge.  And Vise versa if I set it from CS5 it changes CS6 as well.
    Somewhere they must be using the same configuration file.  Just at a guess I'd say that is not supposed to happen.
    Can someone who knows more about the internal workings give me some advice about keeping  the different versions from sharing settings?

    Curt Y wrote:
    CS6 and CS5 Bridge use different cache database.  So same location, different file.
    By the way I pretty much do he same thing.  Even though CS6 Bridge is now 64 bit, it has too many pauses to do its job.  Most are related to building cache.
    Yup, its way to aggravating and time wasting to try to use CS6. In my case, running CS5, the one draw back is that I don't have access to the PS CS6 batch processor, so if I have need of that, I have to put up with CS6 long enough to get that done.  Forutnately I don't use it all that often.. at least the recent projects I've undertaken have not necessitated it more than a few times.
    Are you able to access the PS CS6 image processor from Bridge CS5? (Tools/photoshop/ And here you see several batching sort of tools including the Image Processor).  For me; when running CS5 the Tools menu does not have a "photoshop" entry at all.
    I'm sort of jumping to a new topic here and hope you don't mind.  I wondered if you might have developed a numbered list of things one should try when having the stalling problem some users are seeing with CS6 bridge.  I would like to take one more systematic stab at getting a usable installation of CS6 bridge before resorting to the long and usually painful process of getting help from adobe.
    It would really be handy if someone with your grasp of this tool could codify and distill down a step by step list of things to try to get CS6 bridge working better.
    Your respones to me and to at least one other poster I've noticed (I'm sure there have been more) contain lots of different things to try but with my shortage of experience with this kind of troubleshooting I'm not sure what order to attempt things in.

  • Can you partition an external hard drive to run both mac and windows files

    I have an external hard drive fomated for windows NTFS. I am unable to Write mac files to this drive. I need to be able to share the files
    between both platforms. Any suggestions? Thanks

    Format it as MS-DOS from a Mac or exFAT from a PC, or install Mac OS X software which allows it to write to NTFS drives, or hook it up to a PC and make it available as a network share.
    (78564)

  • Can't run both PBG4 and Macbook on same TC network

    I am trying to connect both a pbg4 and macbook core duo to my network using newly purchased time capsule. I first used Airport Utility from macbook hard wired via ethernet and set up the network. I have an AsDsl network with an old Westell Modem that always works in bridge mode and connects to my ISP via PPPoE. I used to use an US Robotics 8054 wireless router into whose WAN port I would plug in the modem.
    I set up the TC as the main router, enabling my password at my ISP. Everything worked like a charm with the Macbook. When I tried to connect the PBG4, no luck. No matter what I did the PBG4 couldn't get the TC.
    So I attached the US robotics to the one of the TC LAN ports. Using my old network, the pbg4 can access the TC and the internet. The macbook cannot access the TC at all.
    I think this might be a DHCP problem. I think my set up doesn't allow more than one computer to be on the web. Also, something about the US robotics network makes the TC network invalid.
    Any thoughts?

    if you have two hard drives the easiest might be to install panther on the second hard drive. this way you don't have top partition anything. make sure the drive is properly formatted it should be formatted mac os extended journaled with APM partition scheme. then just boot from the Panther install disk and install panther on the second drive. note that this will only work if your mac originally came with panther. did it?
    to switch between installs you can change the startup disk in system preferences->startup disk. then reboot. alternatively, reboot normally and hold option at the chime. this will boot you into startup disk manager where you can choose which drive to boot from.

  • Can MBP run both WiFi and Ethernet connections at same time?

    I've been running my mid-2012 MBP via USB and WiFi. 
    I acquired 8-port 10/100Mbp Switch.  Can I run hardware like printers, external HD from MBP via the Ethernet switch and still keep USB connections and WiFi net for other purposes at same time? 
    (I found USB-ethernet adapters on internet)

    Macs and many PCs can keep multiple network connections going. When you look at the list of connections in the Network system preference, the one on top is the primary connection and if you want another network interface to be the primary (like Ethernet) you use Set Service Order to drag it to the top of the list.
    But when you do that, I think all services use whatever is primary. What I don't know how to do is make specific applications use specific network interfaces.

Maybe you are looking for

  • H.264 does not work well on quicktime

    hi, as the h.264 files can not be played smoothly on my mac which is a powerbook G4 running 10.3.9 with 1.5GHz cpu, 512M memory, I'm thinking is it the issue about processing power? cos I downloaded a same file in two resolutions: 480P and 720P. Alth

  • Printing passport photos in Photoshop Elements 11.

    I want to print a set of 8 passport photos on a single sheet of A4 paper. I have already sized it as 3.5cm x 4.5cm and I am having problems using Adobe Photoshop Elements 11 in Editor mode. Does anyone know how to do this?

  • Looking for a MFC, printer/scanner

    I am looking for an all in one printer scanner. I need both the printer and the scanner to work in arch linux, and I don't want to spend a week making it happen. I would prefer something that supports ethernet and both features work over the network

  • Having Problems with Location finder

    Since 4.0 update my location finder does not work on home network. Tried it on a public network and it works. Anybody else had this problem and did you find a solution.

  • ICloud Photos Gone?

    So today I turned off my iCloud Photo Sharing (something I did previously without any problems) and now that I turned it back on, all my streams/album are gone from my Shared photos! Now prior to this I did change the email address on my AppleID and