블로그 이미지
평범하게 살고 싶은 월급쟁이 기술적인 토론 환영합니다.같이 이야기 하고 싶으시면 부담 말고 연락주세요:이메일-bwcho75골뱅이지메일 닷컴. 조대협


Archive»


 

'11g'에 해당되는 글 1

  1. 2009.07.23 삽질 Tomcat 6.0 + ADF(JSF)
 

삽질 Tomcat 6.0 + ADF(JSF)

프로그래밍/JSF & Oracle ADF Faces | 2009.07.23 18:14 | Posted by 조대협
Tomcat 환경에서. ADF(JSF)를 사용할 수 있는 환경을 만드려고 꽤나 많은 시간을 삽질을 했습니다. 퇴근시간 되니까는 이제야 되네요.

==
Dear all,

Now it works for me!

I was using the build-in tomcat6 which comes bundled with Ubuntu Linux and couldnt get it to work. 

But with apache-tomcat-6.0.18
downloaded from the Tomcat web site it works!

Here are the steps, which I think is much easier than what has been mentioned before:
1) Make a (simple) web app using ADF
2) In Project properties / Deployment create or edit a deployment profile.
Goto WEB-INF/lib | Contributors and simply check ALL boxes, except from 'JSP Runtime'
3) Now you can see all the required JARs in WEB-INF/lib | Filters
4) Deploy the application to a WAR file
5) Unzip the WAR file and copy all the JARs from 
WEB-INF/lib into Tomcat's lib/ directory.
6) Go to the deployment profile and uncheck all JARs from WEB-INF/lib | Filters

Tadaa, no tedious searching for files in JDeveloper diretory.

For the record, here are the JAR files I need for my project (on Linux). As some file names appear in several places in JDeveloper installation, I show also the file sizes, if you need to check that you have copied the right file.

-rw-r--r-- 1 j j 43875 2009-01-04 10:48 adf-dt-at-rt.jar
-rw-r--r-- 1 j j 1133197 2009-01-04 10:48 adfdt_common.jar
-rw-r--r-- 1 j j 5456 2009-01-04 10:48 adflogginghandler.jar
-rw-r--r-- 1 j j 7192374 2009-01-04 10:48 adfm.jar
-rw-r--r-- 1 j j 1081920 2009-01-04 10:48 adf-richclient-api-11.jar
-rw-r--r-- 1 j j 5195904 2009-01-04 10:48 adf-richclient-impl-11.jar
-rw-r--r-- 1 j j 300838 2009-01-04 10:48 adf-share-base.jar
-rw-r--r-- 1 j j 550371 2009-01-04 10:48 adf-share-ca.jar
-rw-r--r-- 1 j j 187838 2009-01-04 10:48 adf-share-support.jar
-rw-r--r-- 1 j j 3138 2009-01-04 10:49 adf-transactions-dt.jar
-rw-r--r-- 1 j j 1618653 2009-01-04 10:48 cache.jar
-rw-r--r-- 1 j j 73604 2009-01-04 10:47 com.bea.core.antlr.runtime_2.7.7.jar
-rw-r--r-- 1 j j 112307 2009-01-04 10:48 commons-el.jar
-rw-r--r-- 1 j j 52353 2009-01-04 10:48 db-ca.jar
-rw-r--r-- 1 j j 3166578 2009-01-04 10:48 dvt-faces.jar
-rw-r--r-- 1 j j 5885712 2009-01-04 10:48 dvt-jclient.jar
-rw-r--r-- 1 j j 1141790 2009-01-04 10:48 dvt-utils.jar
-rw-r--r-- 1 j j 4488218 2009-01-04 10:48 eclipselink.jar
-rw-r--r-- 1 j j 376639 2009-01-04 10:47 glassfish.jstl_1.2.0.1.jar
-rw-r--r-- 1 j j 2827517 2009-01-04 10:48 groovy-all-1.5.4.jar
-rw-r--r-- 1 j j 296940 2009-01-04 10:48 identitystore.jar
-rw-r--r-- 1 j j 364781 2009-01-04 10:48 inspect4.jar
-rw-r--r-- 1 j j 62837 2009-01-04 10:47 javax.activation_1.1.0.0_1-1.jar
-rw-r--r-- 1 j j 45264 2009-01-04 10:47 javax.persistence_1.0.0.0_1-0.jar
-rw-r--r-- 1 j j 121001 2009-01-04 10:48 jdev-cm.jar
-rw-r--r-- 1 j j 2115001 2009-01-04 10:48 jewt4.jar
-rw-r--r-- 1 j j 338644 2009-01-04 10:48 jsf-api.jar
-rw-r--r-- 1 j j 793732 2009-01-04 10:48 jsf-ri.jar
-rw-r--r-- 1 j j 3086 2009-01-04 10:48 jsp-el-api.jar
-rw-r--r-- 1 j j 280984 2004-09-03 08:02 mail.jar
-rw-r--r-- 1 j j 24609 2009-01-04 10:48 ojmisc.jar
-rw-r--r-- 1 j j 3503 2009-01-04 10:48 oracle-el.jar
-rw-r--r-- 1 j j 56420 2009-01-04 10:48 share.jar
-rw-r--r-- 1 j j 122371 2009-01-04 10:48 sun-commons-beanutils.jar
-rw-r--r-- 1 j j 177543 2009-01-04 10:48 sun-commons-collections.jar
-rw-r--r-- 1 j j 112394 2009-01-04 10:48 sun-commons-digester.jar
-rw-r--r-- 1 j j 26077 2009-01-04 10:48 sun-commons-logging.jar
-rw-r--r-- 1 j j 1052899 2009-01-04 10:48 trinidad-api.jar
-rw-r--r-- 1 j j 4216915 2009-01-04 10:48 trinidad-impl.jar
-rw-r--r-- 1 j j 1484 2009-01-04 10:48 weblogic-injection-provider.jar
-rw-r--r-- 1 j j 562059 2009-01-04 10:48 xml.jar
-rw-r--r-- 1 j j 1431960 2009-01-04 10:48 xmlparserv2.jar


Another question: I didn't buy any Oracle products, I just downloaded JDeveloper.
Are there any restrictions on what I am allowed to do with ADF Faces in this case?
(I would like to use ADF Faces in an Open Source product).

Jacob

==

http://forums.oracle.com/forums/thread.jspa?threadID=722037&start=15&tstart=0


이 순서대로 하니까는 되더군요..
내일 다시 문서랑 동영상으로 정리해봐야 쓰겄습니다.


본인은 구글 클라우드의 직원이며, 이 블로그에 있는 모든 글은 회사와 관계 없는 개인의 의견임을 알립니다.

댓글을 달아 주세요