2011-03-01 14 views
0

OC4JでCommonJを使用しようとしています。その後OC4J(10.1.2)orion-web.xml

<resource-ref> 
    <res-ref-name>tm/PublisherTimerManager</res-ref-name> 
    <res-type>commonj.timers.TimerManager</res-type> 
    <res-auth>Container</res-auth> 
    <res-sharing-scope>Unshareable</res-sharing-scope> 
</resource-ref> 

私は右クリックundestandのorion-ウェブに必要がある場合:私は、web.xmlのようなエントリを持っている場合 私は、orion-web.xmlの

で「リソース参照マッピング」を記述する必要があります.xml:

<resource-ref-mapping name="tm/PublisherTimerManager" 
         location="tm/PublisherTimerManager"> 
     <lookup-context location="commonj.timers.TimerManager"> 
       <context-attribute name="java.naming.factory.initial" 
           value="de.myfoo.commonj.timers.FooTimerManagerFactory"/> 
     </lookup-context> 
    </resource-ref-mapping> 

私は正しいですか?

答えて

0

OC4JのCommonJ? CommonJは、BEA(現在のOracle)とIBMのコラボレーションであり、いくつかのポート(JBossとは別)とは別に、WeblogicとWebsphereでのみ利用可能です。

+0

opensourceの実装について知っていますか? –

関連する問題