Deploying an EJB application
Hi all,
I'm having a deep problem when trying to configure my application in 9iAS and I'm struggling with it for some days now. It is an application packed as WAR that I have deployed on oc4j (no problems there). All I want is to make the root URL to point to my application, so that when I hit http://server:7778/ my application will get called. I have done the following:
1. in default-web-site.xml I have mounted my web-app as follows:
<web-app application="MYAPP" name="app" root="/"/>
2. In mod_oc4j.conf I have added inside <IfModule> node:
Oc4jMount / home
Oc4jMount //* home
Note that I have deployed my WAR app in the home instance of oc4j.
When I start the server, the whole OPMN process crashes with a drwatson error window.
Also I have noticed that there is an internal HTTP request for "/" once in 10 seconds. That's probably to check the status of the HTTP server. Maybe this is causing my problems. Is there any way to configure this also? The first page of my application (the one called when "/" is hit) is rather heavy and I don't want the server to occupy its time serving this page once in 10 seconds.
If you have any idea why this is happening, please reply.
Thank you very mouch!
Florin