UNSUPPORTED : The way it works Apache with OC4J via AJPV13 with mod_jk

RDBMS Version: 8.1.7.x
Operating System and Version: SUSE Linux 7.2 / Win NT/2k/XP
Product (i.e., OAS, IAS, etc): 9ias 1.0.2.2 OC4J 9.0.2.0.0
Product Version:
JDK Version: 1.3.1
Error number:
UNSUPPORTED : The way it works Apache with OC4J via AJPV13 with mod_jk
We dont want to use the lame and old mod_jserv so we want to use oc4j but in connection with Apache.
This is like mod_oc4j in the Oracle 9ias Release 2
This guide is for advanced users !
Step-by-Step :
1) get Tomcat 3.3 for linux or nt with Apache module mod_jk
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/
2) add mod_jk module to httpd.conf (9ias) and comment all mod_jserv, dms, oproc, ojsp ....
LoadModule jk_module libexec/mod_jk.so
Include mod_jk.conf
3) edit mod_jk.conf
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13 JkMount /servlets/* ajp13
<Location "/WEB-INF/"> AllowOverride None
deny from all
</Location>
3) edit workers.properties
workers.tomcat_home=/opt/oracle/ias/oc4j/j2ee/home
workers.java_home=/usr/java
worker.list=ajp13
worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13
4) edit http-web-site.xml (oc4j)
<web-site host="localhost" port="8009" protocol="ajp13" display-name="Oracle9iAS Containers for J2EE HTTP Web Site">
5) start oc4j
java -verbose -jar oc4j.jar
6) start apache (look in error_log)
apachectl startssl
7) try to request a jsp page or servlet ..
http://localhost:7777/test.jsp
8) good luck it works fine .. !!
Matthias Roth
Technical Manager
Z|rich Investmentgesellschaft mbH
[email protected]

Thanks for the tip Mathias, it's always good to see people trying out experimental things with the products.
We're providing a new module (mod_oc4j) with our Oracle9iAS Release2 product to do this directly from the Oracle HTTP Server (Apache). We've re-written bits and pieces of the module to improve it's performance. Likewise, we've also integrated mod_oc4j with our HA story so it will be notified when new OC4J instances are brought online or if existing ones go down, enabling it to actively route requests around the available OC4J instances.
Thanks again!
-steve0

Similar Messages

  • Today on the way to work it was raining heavily when i got to work my coat and pocket was soaked with my i phone 5 in it i took it out and wiped the screen off when i got to work and put it in my bag the likfe was on like 50% when i go on my break like 4

      today on the way to work it was raining heavily when i got to work my coat and pocket was soaked with my i phone 5 in it i took it out and wiped the screen off when i got to work and put it in my bag the likfe was on like 50% when i go on my break like 4 hours later my phone is dead and would not turn on for a while when it did it had some writting in the top left corner ive tried resseting my phone on i tunes and nothing has helped and the phone is relatively brand new so i need HELP?

    Hi Tone96,
    Based on your description, it sounds like you may need to have your iPhone serviced. You may find the following page helpful:
    Service Answer Center - iPhone
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne
    Regards,
    - Brenden

  • Is there a way of working collaboratively on a flex project with a small project group?

    Is there a way of working collaboratively on a flex project with a small project group?
    I am part of a small group of developers who wish to work on a single flex project together. Is there a way to set up flex so that the project can be developed by multiple people at the same time. I have seen one thread out on the internet about working locally and then uploading to SVn but this is not an option in this case.
    Any ideas.
    Many thanks in advance
    Dave

    I would say that rushing into development without a source-control system will cost you more in the long-run. If your organisation is serious about developing software it then it needs to invest in the necesary infrastructure, so you should get that process kicked-off as soon as possible.
    In the interim you could set-up a source control server on one developer's machine or commandeer a spare machine to use as a temporary source control server. Just make sure you have it backed-up regularly. Or you could use one of the online source control services; many will support private repositories for a small fee.

  • Sirius - works on the way to work - doesn't work on the way home

    Looking for some help from this forum because I am getting no where with the folks at Sirius.  For the last 2 months I have not been able to get a signal on my ride home from work downtown Cincinnati to just north of the city. I have no problem with Sirius on the way into work but on the way home it doesn't want to work - I have called Sirius numerous times and they have gone through all the different options - unplugging, new antenna, etc. -and it still does want to work - does anyone have any suggestions of how to get this fixed?

    Right now - the only thing I can think of is "get more data" - Can you reproduce the problem at the same time of day on weekends?  If so, what happens if you drive your morning route in the evening on a weekend?  (To determine if the cause is vehicle orientation/route or time of day).
    And the constellation shouldn't change over a 2 month period - the Sirius orbits are chosen so that they appear in the same exact spot in the sky every day at a given time of day.  HOWEVER, a technical failure on one of the sats could have caused them to tweak the orbits, or there could be something about one of the sats your radio no longer likes.
    Have you tried sending a refresh signal to the radio?  (I assume Sirius has refresh signals like XM does.)
    *disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies.

  • I added Panorama Group Tabs and I don't like the way it works. I want to remove it but can't find or figure out a way to. Can you please tell me how it can be removed permanently? Thanks!

    I added Panorama Group Tabs and I don't like the way it works. I want to remove it but can't find or figure out a way to. Can you please tell me how it can be removed permanently? Thanks!

    That link doesn't tell you how to remove the Panoroma Tab Groups!! My main issue with it is that along my tabs at the top I no longer have the tab to open a new tab. Instead I have to click on the tab groups and then open them and click on an open area in the tab to get a new tab opened!! Is there a way to add that? I don't see that when I go to customize the tool bar as there's no icon to add it, just one to open a new window, which I don't want to do!! Thanks!!

  • Opening CS4 fIles on a second monitor, the way it worked in CS3.

    This drove me nuts for well over a year. I guess this is a "tip" of sorts for dual monitor users who recently switched from CS3 to CS4 and expect files to open on the 2nd monitor.
    With the advent of CS4, the ability to automatically open a few dozen files across my 2nd monitor became impossible unless the Application Frame was set to cover the 2nd monitor with its opaque grey background. What I missed was the ability to have a totally unencumbered view of the 2nd monitor's desktop..the way it worked in CS3 and earlier….and most importantly: to have anything I opened, appear on the 2nd monitor.
    Without the Application Frame active and positioned to cover my 2nd monitor, loading files would always appear under the Palettes on my 1st (smaller) monitor. (It's the way I work. 30" 2nd monitor on my left and main 24" in front of the keyboard).
    A couple of days ago, I accidentally clicked the yellow "Hide" button in the corner of the Application Frame. As expected, it hid the Application Frame into the Dock and left the window free.
    Here's the unexpected thing: Loading a file (or multiple files) continue to tile diagonally down the 2nd monitor, the way they do when the Application Frame was visible.
    It's almost perfect…the tiling spacing is still larger than it was in CS3 and the tiling starts where the bottom of the Application Frame's menu bar was positioned before it was hidden. But it's as close to CS3 dual monitor behavior workaround as I've found.
    It'd sure be nice if Adobe implemented a "Hide Application Frame" View Menu item in CS5.

    The screen dimensions are "right," but I don't want it to use up any more space on-screen than is in the window.

  • With OSX Lion, how use Spotlight to know the way to a file you are searching ; formerly , with Snow leopard you had only to let the arrow pointer on the name of the file , but now on Lion it didn't work, how to do ?

    How to know the way to a file you are searching in Spotlight with OSX Lion ?

    You are right, the way to the file appear down the virtual picture, near the title of the documents ; it is a little more complicated than in Snw Leopard , but it works
    Many thanks from France
    Robert

  • TP4 / AF:REGION / What is the way to work with af:region and Backing Beans?

    Hello,
    I would be able to use the "af:region" component with a Backing Bean, but all examples I can found googling are with pageDef.
    So, I have been trying with different classes the way to solve this problem and I arrive to this:
    oracle.adf.controller.internal.binding.TaskFlowRegionModel
    Some code:
    task-flow-definition.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="taskDestinationA">
        <default-activity>destinationA</default-activity>
        <view id="destinationA">
          <page>/regionDestinationA.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    adfc-config.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <managed-bean>
        <managed-bean-name>backing_regionTest</managed-bean-name>
        <managed-bean-class>backing.RegionTest</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1regionTest.jspx-->
      </managed-bean>
    </adfc-config>
    regionTest.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document binding="#{backing_regionTest.document1}" id="document1">
    <af:form binding="#{backing_regionTest.form1}" id="form1">
        <af:region binding="#{backing_regionTest.region1}" id="region1"
                   value="#{backing_regionTest.regionModel}"/>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_regionTest-->
    </jsp:root>
    RegionTest.java
    import oracle.adf.controller.internal.binding.DCTaskFlowBinding;
    import oracle.adf.controller.internal.binding.TaskFlowRegionModel;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.fragment.RichRegion;
    import oracle.adf.view.rich.model.RegionModel;
    public class RegionTest {
        private RichForm form1;
        private RichDocument document1;
        private RichRegion region1;
        private RegionModel regionModel;
        public RegionTest () {
            /*Here I try to put the same values as the constructor of TaskFlowId*/
            /*THERE IS NO DOCUMENTATION ANYWHERE :P*/
            DCTaskFlowBinding dctfb = TaskFlowRegionModel.getCurrentTaskFlowBinding("/WEB-INF/task-flow-definition.xml","taskDestinationA");
            //And here, dctfb is always NULL.
            /*I try removing the '.xml' extension of the name, but still not works*/
            //Fill the value of regionModel
            this.regionModel = new TaskFlowRegionModel(dctfb);
            /*Perhaps is better create a method to acquire the value,
              but I try in constructor first*/
        public void setForm1(RichForm form1) { this.form1 = form1; }
        public RichForm getForm1() { return form1; }
        public void setDocument1(RichDocument document1) { this.document1 = document1; }
        public RichDocument getDocument1() { return document1; }
        public void setRegion1(RichRegion region1) { this.region1 = region1; }
        public RichRegion getRegion1() { return region1; }
        public void setRegionModel(RegionModel regionModel) { this.regionModel = regionModel; }
        public RegionModel getRegionModel() { return regionModel; }
    regionDestinationA.jsff
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:outputText value="Hello World!"/>
    </jsp:root>So, my problem is in Backing Bean class (RegionTest.java). I don't know how I can acquire 'DCTaskFlowBinding' instance value; well, I don't know if that is the way to acquire the value of TaskFlowRegionModel, and even I don't know if this is the way to set the value of RegionModel. I don't know all of this because there isn't documentation yet :P
    Some oracle-java-guru can help me, please?
    JVN
    PD: Environment: JDev TP4.

    Hi,
    your biggest problem is the use of internal classes that probably will change without further notice and lead to a broken application then
    I don't think that the region model is supposed to work without ADF binding in this release. If you need a page region then the Trinidad region should be helpful (though it doesn't support you with navigation cases as the taskflow does)
    I'l check internally if there is an option to do what you are trying to do. However, as mentioned, if you need to use internal classes then the answer probably is no.
    Frank

  • Modify the way 'undo' works

    Start a fresh database, import 3 images and go the the Develop module. Move the Temperature slider of the first image far to the right, the Temperature slider of the second image far to the left and the Exposure slider of the third image far to the right. Now select the second image and press CMD/CTRL-z to 'undo'. What happens is, I believe, a bug: The Exposure of the *third* image is returned to its original position but the second image is the one being displayed.

    I tend to ignore Undo other than for undoing *immediate* actions, simply because I can't be sure of what will happen.
    In other words, if I am dragging sliders around on a specific image and realize I don't like the results, I'll use Ctrl+Z to get back to where I was quickly. But if I'm looking at an image I edited even a day ago and I want to revert past actions, I'll ALWAYS use the history so that I can see exactly what I'm doing. If I were to use Ctrl+Z, there is always the chance that I will get confused on my past sequence of events and end up undoing an edit that I didn't want to undo, without seeing its effect.
    Given this, I'd actually prefer it if Ctrl+Z only undid actions to the current selected image(s) SINCE SWITCHING TO THOSE IMAGES. This would prevent it from ever undoing actions to other images without my being aware of it. Basically, it would be a built-in safety valve, forcibly requiring me to use the more deliberative History approach when I want to undo changes to other images.
    But this is just the way I tend to work. I'm not sure anyone would agree with me, or that this would ever be a sensible default behaviour, though.
    As a more general approach (although it's not my preferred implementation), I think Undo should only work in cases where the user can see its effect. This means only undoing the current or selected set of images. Undoing "other" images means that its effect may be invisible, and I don't think that's desirable.

  • IMac Fan Revved Up All the Way - NOTHING Worked!

    Hi,
    I've had a mid-2011 27" iMac (Intel) for about a year, and I am now facing the problem of having my CPU fan constantly revved up all the way (~4000RPM). I get this even when my CPU is 97% idle and the temperatures across the board (according to iStat) are perfectly normal.
    Now, I've tried every possible solution I came across, and nothing worked. Among what I tried:
    Resetting the SMC
    Resetting the PRAM
    Sleeping, restarting, shutting down, etc.
    Re-installing Mountain Lion
    Removing all sorts of applications and killing all sorts of processes
    Using every imaginable fan control software (and I do mean /every/)
    Formatting the hard drive and doing a clean install of Lion
    Formatting the drive again and doing a clean install of Mountain Lion
    For some reason, despite all the above "solutions" the fan still insists on revving up to above 3500RPM (usually the first few minutes or hours of running the machine after each of the solutions above works, but then the fan revvs up again for no apparent reason). In fact, the minimum CPU fan speed remains stuck at 3500 (even when I manual set it to, say, 1200, regardless of which fan control software I use).
    So, do I have a hardware problem? Is it a problem with my temperature sensors? Do I need to get something replaced? My problem is that I'm currently living abroad, in a country with no Apple Store in sight, and hence no access to an Apple Genius. I really hate the idea of manually opening up my iMac and messing around with it. But is that the only option I have? Should I try to disable the fan, for example? If so, how? Check for loose wiring? What?
    One final note that could be helpful: I noticed from the first or second week of using my iMac that its power supply makes a very faint buzzing sound when the machine is off (you have to place your ear next to it to hear it). Could this be a power supply issue, which hosed the temperature sensors over time?
    Please help me with whatever suggestions you may have. Thank you.

    I even tried booting off the Lion and Mountain Lion DVDs and can't find the AHT there either.
    Since there aren't any Lion or ML DVDs provided by Apple, that's a strange comment. For the AHT failure, assuming that the machine came originally w/Snow Leopard, try this.
    Mount disc 2, run this command in the Terminal app, OPTION-click & hold Finder's Dock icon, and select RELAUNCH:
    defaults write com.apple.finder AppleShowAllFiles 1
    That unhides all hidden files/folders.
    Now, drill down to /"Applications Install Disc"/System/Library/CoreServices/ and drag the .diagnostics folder into your Lion or ML boot volume's /System/Library/CoreServices/ folder.
    Run this command to hide the normally hidden files/folders and RELAUNCH the Finder again.
    defaults write com.apple.finder AppleShowAllFiles 0
    This should allow the machine to boot into AHT when restarting and holding down the D key.

  • HT201210 I was doing an update on my iphone and it stopped short of getting it all the way done. Now my phone is stuck with an itunes icon on the screen, and will not allow me to do anything with it. I tried shutting it down and restarting it...same icon

    I tried to update my phone. The update didnt go all the way through, and ended up freezing the screen on my iphone with an itunes icon on it. I tried to reboot phone with no success...the icon stays on there with no other function of the phone available. Anybody know of a fix?

    Put your iphone in dfu mode by doing this. Turn your iphone off. When its off, hold home and power button together for exactly 10 seconds, then release the power button and keep holding home button for another 10 seconds. Then open up itunes on your pc and plug your iphone to your pc. Itunes should recognize your iphone in recovery mode and it will tell you to restore it. Click restore, and your iphone will restore. Remember that, if you do this you will lose everything that was on your iphone. You can restore from backup later on. Hope I helped. If you have any questions or problems with this tutarial, you can contact me personaly on my email [email protected]   . Hope I helped. Cheers

  • I have the ipad 4 updated all the way and when i sign in to itunes with my account it and i go to get a app it logs meout

    i cant purchase or download any of my apps becuase of this is anyone else having this problem

    You should be able to log out of the current one by tapping it on the right-hand side of Settings > Store, and you can then log in with the new one. Any apps that you downloaded with the old id will only be able to get updates via that id - apps are tied to the id that bought/downloaded them, not to the device that they are on, and they cannot be transferred to a different account.

  • Advice needed: The way to solve out of memory problem (or the way to work with big csv files)

    Hello:)
    I'm in trouble: I have a big csv file (over 5gb of web-analytics data) and my 64 bit excel (and 6gb ram)
    I cant load file to data model because of it's size. There is an error "out of memory" in power query. 
    This is the first time when I encountered such a problem.
    What options do I have to work with such a file? To increase memory in my computer? Would it solve the problem? How much do I need to work with 6gb csv? 
    Or may be I can upload my data somewhere to azure and work with it there? 
    So the problem - is there any way to deal with big files using power query? Or I need to become a developer and learn sql or other languages? 
    Thanks in advance.
    Max

    Hi Miguel!
    Thanks for your answer. 
    I've tried to load this file on virtual pc from azure cloud with this config:
    I have increased memory limit in power query settings:
    And still, the proble is the same:
    What I do wrong? 

  • Are Exchange accounts no longer the way to go for email, contacts, calendar, etc. with ios

    I have been reading around and learning that Google is not supporting Exchange accounts for ios7 any longer. I believe they still work if you previously used them. But I've also had some trouble with syncing elements of this account to my iPad.
    Is it recommended to use Google accounts instead of Exchange with the iPad/iPhone?

    Thanks. I cannot get all the calendars to sync with Google Exchange. So I double up with Google and select the calendars that won't sync.
    The down side of Google is that you cannot change colors of calendars (and I have a few that are obscuring each other). That's the main reason I am syncing to both at once (or rather to the obstinate calendars).
    I'd love to find a way to get all cals to sync via exchange, but they won't, above all my main personal google calendar. They work fine on the iPhone, just not on the iPad since I deleted the account and reinstalled it.

  • Are Exchange accounts no longer the way to go for email, contacts, calendar, etc. with iOS 7?

    I have been reading around and learning that Google is not supporting Exchange accounts for ios7 any longer. I believe they still work if you previously used them. But I've also had some trouble with syncing elements of this account to my iPad.
    Is it recommended to use Google accounts instead of Exchange with the iPad/iPhone?
    One residual advantage of Exchange, when it works, is outlined in this thread.
    thanks in advance.

    Thanks. I cannot get all the calendars to sync with Google Exchange. So I double up with Google and select the calendars that won't sync.
    The down side of Google is that you cannot change colors of calendars (and I have a few that are obscuring each other). That's the main reason I am syncing to both at once (or rather to the obstinate calendars).
    I'd love to find a way to get all cals to sync via exchange, but they won't, above all my main personal google calendar. They work fine on the iPhone, just not on the iPad since I deleted the account and reinstalled it.

Maybe you are looking for

  • How do you connect Retina to really old TV?

    I have a Retina, Mid 2012, and would like to connect it to a really old TV that only has Composite and S-Video inputs. I don't need audio just picture. I have a mini display port to DVI adapter. Can I buy a DVI to RCA cable/adapter or does the retina

  • How do I clear the screen in text mode (cls)

    How do I clear the screen in text mode (cls) Thanks,

  • SQL Developer Data Modeler Forum

    Modeler now has a dedicated forum here: SQL Developer Data Modeler -kris

  • HELP!!! MY SHUFFLE CRASHED!!

    HOW CAN THIS HAPPEN??? I delete a SINGLE SONG and POOF!! MY DRAG AND DROP SONG FEATURE IS FROZEN AS IN NOT WORKING!!! Does anyone else have this unusual problem? Or am I just a walking accident??

  • Dear Adobe, Stage3D is worthless

    I'm making this post to vent a lot of frustration and disappointment, so I'm going to start by acknowledging the fact that there are a lot of engineers and programmers at adobe who work really hard to make good products, and I appreciate your efforts