| bradm wrote: |
| Thank you very much for your detailed instructions Kinjal. I'm sorry to report that following them to the letter still leads to the same problem: "Page Not Found". |
| Quote: |
| I'm going to just lobby this department against using oc4j! This one takes the cake. |
| support-scott wrote: |
| One thing we haven't covered is what port you're trying to access to see the server. See (http://www.johntopley.com/kb/oracle/0025.html) which shows the default port is 8888. So, try http://localhost:8888/... |
| developerwiz wrote: | ||
I am trying to repeat the process. While deployng the EAR file I am getting the following in the OC4J console: 05/08/15 15:07:01 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized 05/08/15 15:07:26 Auto-unpacking D:\tools\OracleAS\oc4j_extended\j2ee\home\application-autodeploy\HelloWorldEAR.ear... 05/08/15 15:07:27 Error installing applications: Unknown assembly root-tag attribute: xmlns done. 05/08/15 15:07:31 Error installing applications: Unknown assembly root-tag attribute: xmlns Any ideas? THanks |
| support-rkalla wrote: |
| Scott, go into the C:/Servers/10g_extended1012/j2ee/home/application-autodeploy/anpr2/anpr/WEB-INF/lib directory and open the standard.jar file with a zip utility like WINZIP, then go into the META-INF directory, do you see fn.tld, permittedTaglibs.tld and scriptfree.tld? |
| support-rkalla wrote: |
| Odd. Try shutting down the app server, removing your deployment, rebuilding your projects then recreating the deployment THEN restarting the server. Same thing? |
| support-rkalla wrote: |
| Would you be able to upgrade to 10.1.3 rc3 here: http://www.oracle.com/technology/tech/java/oc4j/1013/index.html
and see if the problem persists? |
| jimsong wrote: |
| I am doing a deploy packaged archive from my Enterprise Application project as suggested. It hangs at creating the war file.
The same web app deploys to Tomcat in seconds with no problem. |
| gooshy1 wrote: |
|
Having followed the instructions on this thread for setting up oc4j I have encountered the following error when accessing the initial page of the app. I get the following error message in the console window: 06/02/22 16:05:10 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized 06/02/22 16:05:49 Auto-unpacking C:\Servers\10g_extended1012\j2ee\home\application-autodeploy\anpr2.ear... done. 06/02/22 16:05:51 Auto-unpacking C:\Servers\10g_extended1012\j2ee\home\application-autodeploy\anpr2\anpr.war... done. 06/02/22 16:06:13 Auto-deploying anpr2 (Assembly had been updated)... 06/02/22 16:06:13 Auto-deploying anpr (Assembly had been updated)... 06/02/22 16:06:47 Error: null 06/02/22 16:06:47 Errors parsing jar:file:/C:/Servers/10g_extended1012/j2ee/home/application-autodeploy/anpr2/anpr/WEB-INF/lib/standard.jar!/META-INF/fn.tld 06/02/22 16:06:47 Error: null 06/02/22 16:06:47 Errors parsing jar:file:/C:/Servers/10g_extended1012/j2ee/home/application-autodeploy/anpr2/anpr/WEB-INF/lib/standard.jar!/META-INF/permittedTaglibs.tld 06/02/22 16:06:47 Error: null 06/02/22 16:06:47 Errors parsing jar:file:/C:/Servers/10g_extended1012/j2ee/home/application-autodeploy/anpr2/anpr/WEB-INF/lib/standard.jar!/META-INF/scriptfree.tld . |
| Quote: |
|
I'm trying to create and deploy an .ear file to OC4J 10.1.2 from within MyEclipse 5.0.1. I can do this successfully when I deploy to OC4J 10.1.3 unfortunately there is no option that I can see to select OC4J 10.1.2 as a target server in MyEclipse so I've deployed to v. 10.1.3 and then moved everything over to v.10.1.2 (time consuming but educational....) |
| kinjalsonpal wrote: |
| After good amount of research on OC4J deployment, I've managed to achieve true hot deployment (for both, the web content and java content). Following is a step by step procedure. I've tested this on MEI 3.8.4 with OC4J 9.0.4 and 10.1.3. The standalone OC4J installation in both the cases was a fresh install on a Windows XP (SP1) m/c. Go through and follow contents of the ReadMe in the downloaded OC4J archive. Configure OC4J in MEI as described in the tutorial.
1) modify server.xml to achive following effect. <application-server application-directory="../applications" deployment-directory="../application-deployments" connector-directory="../connectors" application-auto-deploy-directory="../application-autodeploy" check-for-updates="true"> 2) Create a directory called application-autodeploy under $OC4J_HOME\j2ee\home. 3) Start OC4J using the server launcher. Create a J2EE Enterprise Application Project and a subproject (typically a webproject), if you already do not have one. OC4J recognises only .ear files for auto-deploy. 4) Click on the Deploy button to bring up deployment dialog. Choose the Enterprise Application's project from the selection box, Click Add button, choose Oracle 9i/AS as target server, choose Packaged Archive and click Deploy. 5) Once the deployment is successful, on the OC4J console, there would be good number of informational messages regarding the deployment process. Test your newly deployed application. Now, shutdown OC4J. 6) While the server is down, again go to deployment dialog, choose the same project in the list of deployments below the project selection box. Click on Remove. Now repeat deployment with only one exception. Instead of choosing Packaged Deployment, choose Exploded Deployment option. 7) Start OC4J as usual, now it'll have a fully hot deployable application. I've observed that sometimes, changes are not HotSynched. This typically happens if MEI is restarted. If this happens, just do Exploded Deployment again. Btw, if you guys have a choice, use version 10.1.x. It comes with a pretty comprehensive admin console running on port 1810. I'm sure the MEI team will be able to refine this further and correct it if required. HTH. Regards, Kinjal |