Article View: cn.bbs.comp.lang.java
Article #23015Re: weblogic data sources��������
From: supermaster
Date: Tue, 26 Aug 2003 05:23
Date: Tue, 26 Aug 2003 05:23
12 lines
1214 bytes
1214 bytes
add this in your code if you didn't use port 7001
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,
"t3://localhost:7001");
// Get a context for the JNDI look up
ctx = new InitialContext(ht);
--
[m
[m[1;37m�� ��Դ:���㽭��ѧ���ɰٴ�վ http://bbs.zju.edu.cn [FROM: supermaster][m
Technical Details
Message-ID:
<481ZKa$AGS@bbs.zju.edu.cn>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!nf3.bellglobal.com!sjc70.webusenet.com!news.webusenet.com!news.bylinux.net!news.zixia.net!news.happynet.org!ZJUBBSShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f6cb0,cd5abd5be010bfff,start X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-08-25 22:23:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!nf3.bellglobal.com!sjc70.webusenet.com!news.webusenet.com!news.bylinux.net!news.zixia.net!news.happynet.org!ZJUBBS From: supermaster.bbs@bbs.zju.edu.cn (supermaster) Newsgroups: cn.bbs.comp.lang.java Subject: Re: weblogic data sources�������� Date: 26 Aug 2003 05:23:48 GMT Organization: �㽭��ѧ���ɰٴ� Message-ID: <481ZKa$AGS@bbs.zju.edu.cn> X-Filename: Java/M.1061875428.A Lines: 12