Hi,

It is possible that the absolute path (starting with a "/") in your web-module declaration is incorrect. I've seen relative paths in most examples. If the path is incorrect, that would explain why it complains about not finding the applications.

-Erik

Vermolen, J.C.M.C. wrote:
Hi,

Thanks for the tips you gave in your last E-mail I'd have to say I was
pretty clueless as to what directory was to be used. Though your advise has
helped me along some I still have some questions.

After reading up on deploying war files in the OC4J server I deployed the
ofx.war file into the JDeveloper embedded OC4J server by doing the
following.

I added the line:
<web-module id="oxf" path="/applications/oxf.war" />
to the file C:\jdev\jdev\system9.0.3.1035\oc4j-config\application.xml

Running the server at this point made the oxf.war file placed in
C:\jdev\jdev\system9.0.3.1035\oc4j-config\applications extract to
C:\jdev\jdev\system9.0.3.1035\oc4j-config\applications\oxf

That made me think I was on the right path

After that I saw that:
<web-app application="oxf" load-on-startup="false" max-inactivity-time="no
shutdown" name="oxf" root="/oxf"/>
was added to my
C:\jdev\jdev\system9.0.3.1035\oc4j-config\default-web-site.xml

I was convinced this would work from now on end but much to my
disappointment it didn't.
So I changed the load-on-startup="false" to "true" and I got this error
message in JDeveloper

Error initializing site
file:/C:/jdev/jdev/system9.0.3.1035/oc4j-config/default-web-site.xml: No
application named 'oxf' found in the server

I hope you could offer me some advice to help me along some more.

Thanks in advance,

Han Vermolen.





Reply via email to