For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 5 voices, and was last updated 18 years, 11 months ago by
amir55.
-
AuthorPosts
-
kyndalwilMemberI am Eclipse 3M3 and Workbench 3.6.2 with Oracle 9iAS J2EE Container. I point the workbench configuration tool to /oc4j9.0.3/j2ee/home. When I create a enterprise application and attempt to specify Oracle 9iAS as my application server for deployment, the workbench attempts to deploy the application to D:\eclipse\oc4j903\j2ee\home\application-autodeploy\myapp. The directory \application-autodeploy does not exist under the oc4j home directory and the workbench shows a big red “O” next to the server name. I believe it should be deployed under the /applications directory within /j2ee/home. Could someone help me/or point me in tthe right direction to get this to work.
October 21, 2003 at 1:31 pm #199363
Scott AndersonParticipantFor autodeployment to work with Oracle, you need to modify your server.xml file to enable it as it is not the default. Place something like the following in it:
<application-server application-directory="../applications" application-auto-deploy-directory="../application-autodeploy" deployment-directory="../application-deployments" connector-directory="../connectors" >Once you create the application-autodeploy directory, hot deployment in Oracle 9iAS should be fine. Sorry for the confusion.
–Scott
MyEclipse SupportOctober 21, 2003 at 3:21 pm #199366
kyndalwilMemberI should have proof read that previous post but I am glad you could understand well enough to help me.
Thanks again!
October 21, 2003 at 4:06 pm #199368
kyndalwilMemberNot really sure what I am doing wrong.
October 22, 2003 at 9:30 am #199388
Scott AndersonParticipantAre you still having problems? What specifically are you seeing? One thing I forgot to mention in my previous post is that Oracle 9iAS does NOT support exploded deployment so if you’ve chosen this deployment model, it won’t work. You’ll have to specify archive deployment in order to use Oracle. But remember, once your application is running as an archive, you can update the Java code (if using JDK 1.4.1+), but to see your JSP changes you’ll have to redeploy your application.
If you have a bit of choice as to what you develop on, you might switch to JBoss to take advantage of exploded deployment.
–Scott
MyEclipse SupportAugust 8, 2006 at 12:00 pm #256347
tvanMemberHi Scott,
Where the code<application-server application-directory=”../applications”
application-auto-deploy-directory=”../application-autodeploy”
deployment-directory=”../application-deployments”
connector-directory=”../connectors”
>should be placed in the server.xml?
I use oc4j_extended_101300 (version 10g (10.1.3)). The server does not validate the above code and I can not deploy my appli to oc4j. Why Myeclipse does not deploy appli directly to j2ee\home\applications? This will be simpler as with Tomcat or JBoss.
Anyway, please let me know it is possible and how to deploy appli to oc4j. Thanks.Thanks.
TvanAugust 8, 2006 at 5:37 pm #256387
Scott AndersonParticipantWhere the code should be placed in the server.xml?
All the code is already in there at the top of the file except:
application-auto-deploy-directory=”../application-autodeploy”
Simply adding that line where shown will enable automatic deployment.Why Myeclipse does not deploy appli directly to j2ee\home\applications?
Because that’w where deployed applications are placed. Placing an application there will not cause it to be automatically deployed. That’s what the change to server.xml does.
August 21, 2006 at 6:11 am #257232
tvanMemberHi,
I did exactly as you proposed for the server.xml. I deployed then my hello application and I saw hello.war in oc4j\j2ee\home\application-autodeploy\. I started the server and typed http://localhost:8888/hello. I have just got :”404 Not Found Resource /hello not found on this server”.
I think that Oracle server does not detect hello application.???
Thank you in advance for any help
TvanSeptember 5, 2006 at 10:45 pm #258158
virtualworld@163.netMemberIt is realy work after I follwoing your suggestion.Thanks support-scott’s help.
I use myeclipse 5.0 ,
OC4j ,10.1.3.0.0September 27, 2007 at 6:23 am #276191This message has not been recovered.
-
AuthorPosts

