We are currently working on upgrading our environment from oracle 10g (oc4j) to oracle 11g. As such i am attempting to create a working environment in jDeveloper 11.1.2.1.0 (integrated weblogic server 10.3.5.0). ie7.
I am using the smartclient 8.2 evaluation build of 02-13-2012. Not having any luck integrating into our current code base, i created a new project just for this. Dispite my efforts, I am unable to create a woring application that uses the smartclient server components.
The steps i took were:
1. Create new custom application. Left everything default.
2. created a test.jsp jsut to verify server can launch and run it, aswell as have the application set up web directories.
3. run test.jsp, verifid worked.
4. copied over lib folder and isctaglib.xml from smartclientruntime to my web-inf
5. copied contents of web.xml into my web.xml in entirety, with the only addition of the xml version specification.
6. copied isomorphic directory into public_html folder.
7. copied shared directory into public_html folder
8. copied contents of classes folder to my src folder(incase jdev wanted to clear out the classes folder)
9. Refreshed jdeveloper file tree to pick up all the additions.
10. Atempted to rerun test.jsp, very long wait at deploying application... server failed to deploy with various errors.
11. considered that precache failing at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject might be due to there not being any datasources, so I copied over the shared directory to public_html.
12. refresh jdeveloper file contents.
13. attempt to run test.jsp again, however this time jdeveloper does not not compiling the included jsps.
14. noticed jdeveloper complining about being unable to resolve types, Added all the contents of the lib folder as a project library so they would be sure to be on classpath.
15. attempt to rebuild jpr. jprs still fail to compile, figure its because they are fragments, and dont compile by selves. Changed compiler properties for jsp to not compile before deploying. could probably have jsut made them jspf files.
16. attempt to run test.jsp again, deploying app to server. Same failed deployment, and looks like same server errors.
17. try adding additional libraries to the project, Servlet runtime, oracle jdbc, java EE 1.5. Same issues
18. remove the precache servlet from the web.xml because it says optional anyway.
19. attempt to run test.jsp again. successful deployment.
20. create helloworld.jsp javascript version(from quickstart) and try to run that. exception, "No tag library could be found with this URI"
21. rename iscTaglib.xml to iscTaglib.tld, modified all references in jsps... and web.xml... also notice example jsps have different uri so try that next.
22. Different error, javax.servlet.jsp.JspException: java.lang.NullPointerException at com.isomorphic.taglib.LoadTag.getIsomorphicURI(LoadTag.java:114)
23. modify the uri in taglib jsp directive to include the web-inf prefix. same issue.
24. saw DEBUG LoadISCTag - isomorphicURI not specified in tag, defaulting to: null so i tried to set isomorphicURI="isomorphic" in laodISC tag...
25. attempt to run again. this time it generated a page, but noticed SRC=isomorphicsystem/Isomorphic_SmartClient.js on the scripts... so adding a /
26. slash got added, but in reality it seems like its now pointing at a directorey with no files... and perhaps should be pointing to things in the modules directory... either way trying to request that js file directly is a 404.
At this point im just kind of frusturated and cant think of anythign else to try. Any help would be appreciated. Ive tried a few different runs through this using the sdk or the runtime, or our past release version, but did nto document in detail like this... all with nothing working.
Has anyone been able to get this working in jDeveloper 11g?
I did not include any javascript log errors because it is unabel to load any of the javascript. What will follow is various server logs.
I am using the smartclient 8.2 evaluation build of 02-13-2012. Not having any luck integrating into our current code base, i created a new project just for this. Dispite my efforts, I am unable to create a woring application that uses the smartclient server components.
The steps i took were:
1. Create new custom application. Left everything default.
2. created a test.jsp jsut to verify server can launch and run it, aswell as have the application set up web directories.
3. run test.jsp, verifid worked.
4. copied over lib folder and isctaglib.xml from smartclientruntime to my web-inf
5. copied contents of web.xml into my web.xml in entirety, with the only addition of the xml version specification.
6. copied isomorphic directory into public_html folder.
7. copied shared directory into public_html folder
8. copied contents of classes folder to my src folder(incase jdev wanted to clear out the classes folder)
9. Refreshed jdeveloper file tree to pick up all the additions.
10. Atempted to rerun test.jsp, very long wait at deploying application... server failed to deploy with various errors.
11. considered that precache failing at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject might be due to there not being any datasources, so I copied over the shared directory to public_html.
12. refresh jdeveloper file contents.
13. attempt to run test.jsp again, however this time jdeveloper does not not compiling the included jsps.
14. noticed jdeveloper complining about being unable to resolve types, Added all the contents of the lib folder as a project library so they would be sure to be on classpath.
15. attempt to rebuild jpr. jprs still fail to compile, figure its because they are fragments, and dont compile by selves. Changed compiler properties for jsp to not compile before deploying. could probably have jsut made them jspf files.
16. attempt to run test.jsp again, deploying app to server. Same failed deployment, and looks like same server errors.
17. try adding additional libraries to the project, Servlet runtime, oracle jdbc, java EE 1.5. Same issues
18. remove the precache servlet from the web.xml because it says optional anyway.
19. attempt to run test.jsp again. successful deployment.
20. create helloworld.jsp javascript version(from quickstart) and try to run that. exception, "No tag library could be found with this URI"
21. rename iscTaglib.xml to iscTaglib.tld, modified all references in jsps... and web.xml... also notice example jsps have different uri so try that next.
22. Different error, javax.servlet.jsp.JspException: java.lang.NullPointerException at com.isomorphic.taglib.LoadTag.getIsomorphicURI(LoadTag.java:114)
23. modify the uri in taglib jsp directive to include the web-inf prefix. same issue.
24. saw DEBUG LoadISCTag - isomorphicURI not specified in tag, defaulting to: null so i tried to set isomorphicURI="isomorphic" in laodISC tag...
25. attempt to run again. this time it generated a page, but noticed SRC=isomorphicsystem/Isomorphic_SmartClient.js on the scripts... so adding a /
26. slash got added, but in reality it seems like its now pointing at a directorey with no files... and perhaps should be pointing to things in the modules directory... either way trying to request that js file directly is a 404.
At this point im just kind of frusturated and cant think of anythign else to try. Any help would be appreciated. Ive tried a few different runs through this using the sdk or the runtime, or our past release version, but did nto document in detail like this... all with nothing working.
Has anyone been able to get this working in jDeveloper 11g?
I did not include any javascript log errors because it is unabel to load any of the javascript. What will follow is various server logs.
Comment