How to get InitialContextFactory using RMI/IIOP without using weblogic.jar
Hi Robert
I know this is an old post. but I am interested in knowing how to get the
initial context using RMI/IIOP without the use weblogic specific classes
like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
you can provide as an example, it would be just great.
thanx in advance
Daya Sharma
See comments inline...
Stewart Wachs wrote:
I would like to get an initial context to Weblogic JNDI from a client.
code snippet:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFacorty");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
try {
Context ctx = new InitialContext(ht);
catch(...) {
This works fine when I include weblogic.jar (and other dependend weblogic
jar's) in the classpath.
Is there a way to access WL JNDI from a client without the weblogicclasses
in the classpath?If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
the
answer is no, you will need at least some of the weblogic classes on the
client.
If not, is there a lightweight jar available for distribution for client
JNDI connectivity?This is something in the works. In addition, a colleague and I are working
on
a white paper that describes the "Thin Client Options with WebLogic Server"
that we hope to make available in the not too distant future...
Are there any licencing issues with distributing the weblogic classes to
clients that need to access WL JNDI?No. WLS is licensed by the server so you are free to distribute
weblogic.jar
to your clients.
Hope this helps,
Robert
Take a look at the RMI/IIOP section of our whitepaper "Small Footprint
Client options for BEA WebLogic Server" at:
http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
Daya Sharma wrote:
Hi Robert
I know this is an old post. but I am interested in knowing how to get the
initial context using RMI/IIOP without the use weblogic specific classes
like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
you can provide as an example, it would be just great.
thanx in advance
Daya Sharma
See comments inline...
Stewart Wachs wrote:
I would like to get an initial context to Weblogic JNDI from a client.
code snippet:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFacorty");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
try {
Context ctx = new InitialContext(ht);
catch(...) {
This works fine when I include weblogic.jar (and other dependend weblogic
jar's) in the classpath.
Is there a way to access WL JNDI from a client without the weblogic
classes
in the classpath?
If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
the
answer is no, you will need at least some of the weblogic classes on the
client.
If not, is there a lightweight jar available for distribution for client
JNDI connectivity?
This is something in the works. In addition, a colleague and I are working
on
a white paper that describes the "Thin Client Options with WebLogic Server"
that we hope to make available in the not too distant future...
Are there any licencing issues with distributing the weblogic classes to
clients that need to access WL JNDI?
No. WLS is licensed by the server so you are free to distribute
weblogic.jar
to your clients.
Hope this helps,
Robert
Similar Messages
-
How to get List Item attachments name without write any custom code or any database query?
Hi,
How to get List Items attachments name without write any custom code or any database query?You can get it from Rest,
There are 2 options,
1) create a 'Result Source' which has a search query for that List which has attachments
- Use rest query to get the 'Filename' , it will have the attachment file name
For example, if the result source id is : 73e6b573-abf8-4407-9e5f-8a85a4a95159 , then the query will be
http://[site URL]/_api/search/query?querytext='*'&selectproperties='Title,Path,FileExtension,SecondaryFileExtension,Filename'&sourceid='73e6b573-abf8-4407-9e5f-8a85a4a95159'&startrow=0&rowLimit=100
You can refine the query, be giving proper 'querytext'
2) Use the List rest api
For example if your list guid is :38d524a1-e95c-439f-befd-9ede6ecd242e
You can get he attachments for 1st item using this
http://[Site URL]/_api/lists(guid'38d524a1-e95c-439f-befd-9ede6ecd242e')/items(1)/AttachmentFiles
get2pallav
Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you. -
In ABAP HR how to get job using position
In ABAP HR how to get job using position (Using Infotype 1001)
Hi anilkumar,
1. u have the position
u want the Job
2. In hrp1001 table
OTYPE = 'S' (for position)
OBJID = POSITION (AS ABOVE)
SCLAS = 'C' (for finding job)
<b> SOBID = XXXXXX (here u will get the JOB)</b>
regards,
amit m. -
How to get current version of safari. without having safari browser?
how to get current version of safari. without having safari browser?
I don't understand the question. Safari is a browser.
Can you elaborate on what your are trying to do that initiated the question? People may be able to come up with some other option that gets you working the away you want.
When you respond, please post the version of the Mac OS and the version of Safari you currently have. Otherwise, people are guessing and the quailty of help you get plummets. -
How to get image using Http and how to save in Smulator
Hi guys,
Am working in black berry bold. i dont know how to get image using htp connection and one more thing i need to save this image in side simulator directory............. what are the specific API i should...
Guide me.........If you want the input image size you need to pass it in as parameters.
A discussion thread on this topic is:
http://forums.adobe.com/thread/29948
-- Daniel R. <[email protected]> http://danielr.neophi.com/ -
How to get Value of tree node without Reload Page
hi,
i worked with apex 4.2 and i created Tree and tabular form to retrieve the date according the value of tree select node the code of tree something like this
select case when connect_by_isleaf = 1 then 0
when level = 1 then 1
else -1
end as status,
level,
"ENAME" as title,
null as icon,
"EMPNO" as value,
null as tooltip,
'f?p=36648:34:5234984107903::::P40_SELECTED_NODE:'||empno as link
from "DEPT"."EMP"
start with "MGR" is null
connect by prior "EMPNO" = "MGR"
order siblings by "ENAME
and i put Selected Node Page Item: P40_SELECTED_NODE . the tree worked good and retrieve the data into tabular form according to tree node value
my Question :
1- i want to retrieve the data without submit the page where each time i select value from tree make page reload to update the tabular form with new value ,there is any way to pass the value of tree node to P40_SELECTED_NODE item and refresh tabular form without page reload .
2- i want when selected from tree run page process according to value of tree node i tray to create Dynamic action with *(jquery selector : div.tree li>a)* but the Value of node incorrect.
Regards
Ahmed;look at this link
Re: How to get Value of tree node without Reload Page ..! -
Hi out there. To capture a screen shot one uses: Command-Shift-3 or 4. I have done this for a long time. Now suddenly neither screen shot command works anymore. Suggestions how to get this useful function back? Thanks, Georgx
Command-Shift-3 and 4 works just fine on several Macs that I have here.
Try restarting your Mac....or post in the specific support area for your Mac model....for more advice.
https://discussions.apple.com/index.jspa -
I need to know how to get my notes onto icloud without retyping them
i need to know how to get my notes onto icloud without retyping them
First of all - allow me to provide you a link relating to security / av etc.....
http://www.thesafemac.com/mmg/
secondly - data confirm your exterminal drive is compatable with your mac
* i have a 1tb external where I have 1/2 formated for mac and 1/2 for win....on the win side I can read the file and move it but not update it...on the mac side I can do all
third - depending on how your emails area set up (pop3, imap, http) and you left them in the cloud (or on your email providers server) you simply add the mail to your mac mail -
Does anybody know how to get rid of icudt49.dll without downloading itunes. I have run norton utilities througth but it does not take care of this problem.
Try the following user tip:
Troubleshooting issues with iTunes for Windows updates -
Get server instance name without deploying weblogic.jar to client
I use wlclient.jar with my client. Using weblogic.jar instead causes the
size of the deployment package of my client to go from 4 meg to 34 meg
(roughly). I don't want full MBean functionality, all I want to do is find
out what the server instance name is. Surely there's a way to do this.Hi,
Weblogic provides you a way to create client jar files so that the complete weblogic.jar
doesn't need to be downloaded to the client. The tool is called verboseToZip.
See
http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
hope this helps, pat
"BEA" <[email protected]> wrote:
I am trying to deploy my client application on a standalone windows machine
and do not wish to deploy weblogic.jar with the client deployment. Is
there
any way of allowing my clients to use Weblogic JNDI without having to
deploy
weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
I find it hard to believe that everyone who is developing on weblogic
distributes this JAR file to their customers with their client
applications....?
Can you use something other than weblogic.jndi.WLInitialContextFactory
such
as the sun jndi provider instead....?
If anyone can shed some light on this deployment problem it would be
much
appreciated.....even if its simply 'thats just the way you have to do
it
!......will save me time trying to get other solutions to work...!
TIA -
How to get and delete questionable mail without actually opening it first.
I am new to Apple again, having bought my first Apple many years ago (an Apple 2C). Does anyone know if I can get mail and delete it without opening it first? If so, I am thinking it is somehow in Preferences but I cannot figure it out. I often get mail from unknown sources (left over from my PC days - ?able viruses on PC) that I don't wish to take the chance to open. In order to delete it, I have to open it first. Any thoughts?? Thanks in advance for your help.
Actually, there is a risk in viewing certain messages, but only if you have enabled Preferences > Viewing > Display remote images in HTML messages — see How HTML Email Messages Relate to Unsolicited Commercial Email ("spam").
As long as Display remote images in HTML messages is OFF and you don’t click on any hyperlink or image the message may contain, you can safely view any messages you receive in Mail.
That said, there are at least three ways to select a message and delete it without displaying its contents:
(1) You can hide the preview pane by dragging the separator bar between the message list and the preview pane to the bottom of the window, or by just double-clicking within the separator bar, so that the preview pane disappears and only the message list is visible. To make the preview pane visible again, drag the separator bar up from the bottom of the window, or just double-click on the separator bar again.
(2) If you select the message with the mouse, the message is displayed in the preview pane when the mouse button is released, not when it’s pressed. This allows you to drag the message to the Trash or to any other mailbox without Mail trying to display its contents.
(3) Ctrl-clicking on a message causes a contextual menu to appear, from which you can usually (but not always, don’t ask me why) choose Delete or Move To, before the contents of the message are displayed in the preview pane. -
Hi,
I have this xml file stored in operator.xml
<Operator>
<Customer>
<Name>sam</Name>
<Street>albert str.</Street>
<ZipCode>45454</ZipCode>
<City>NY</City>
<Country>USA</Country>
<EMailAddress>[email protected]</EMailAddress>
<MeterNumber>1000</MeterNumber>
<MeasuringUnit>kWh</MeasuringUnit>
<Reading>
<Month>1</Month>
<Value>900</Value>
</Reading>
<Reading>
<Month>2</Month>
<Value>725</Value>
</Reading>
<Reading>
<Month>3</Month>
<Value>950</Value>
</Reading>
</Customer>
</Operator>I have the following getter statements in my code:
String name=req.getName();
int month=req.getMonth();Now, I want to get value for particular customer (by checking name for equality with getter) and for particular month( by checking for equality with getter).
I have written the following statements:
final String filename="operator.xml";
SAXBuilder builder=new SAXBuilder(true);
Document doc=builder.build(filename);
Element root=doc.getRootElement();How to proceed further using JDOM. I am confused with getChild(), getChildText() etc.,
thanks,Obtain values with the JDom XPath class selectSingleNode and selectNodes methods.
SAXBuilder saxBuilder=new SAXBuilder("org.apache.xerces.parsers.SAXParser");
org.jdom.Document jdomDocument=saxBuilder.build(new File("c:/input.xml"));
org.jdom.Element zipcodeNode= (org.jdom.Element)(XPath.selectSingleNode(jdomDocument,"/Operator//Customer/zipCode")); -
How to get or use "kTextFrameOversetChangeMsg" as serviceid?
Hi all
I've developed a small plugin for handling textframe overflow. I've used service ids "kBeforeSaveDocSignalResponderService", "kBeforeSaveAsDocSignalResponderService". But actually I've to run it, only when overflow occurs.
Steven suggested to use "kTextFrameOversetChangeMsg". I tried, but I dont know exactly how to use it as service id. Could anyone suggest on this?
thanks in advance
A.HakkimThank u both. Pls suggest me how to get serviceid from "kTextFrameOversetChangedMsg".
-
How to get and use mouse information?
I want to write a simple program for getting mouse location, and if the location of the mouse is within an area, then a red dot show on the screen.
Could anyone please teach me how to get mouse location?
Thankshttp://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html
http://java.sun.com/docs/books/tutorial/uiswing/events/mousemotionlistener.html
http://java.sun.com/docs/books/tutorial/uiswing/events/mousewheellistener.html
Doh! Too slow!
Message was edited by:
DrLaszloJamf -
How to get only the graphics path without graphics names?
Hi All,
I need to get only the graphics path without graphics names like 'd:\Images\' instead of 'd:\Images\abc.jpg' in JS.
Thanks,
PraveenSomething like this should get you close…
#target indesign
function main() {
if (app.documents.length == 0) {
alert('Please have an "Indesign" document before running this script.');
return;
docRef = app.activeDocument;
with(docRef) {
var x = rectangles[0].allGraphics[0].itemLink.filePath;
var y = new File(x).parent.fsName;
$.writeln(y);
main();
Maybe you are looking for
-
Issue in Workflow- Field Update is not happening
Hi Friends, I am facing an issue to update a check box field Released. I have created a task having Advance with Dialog opiton,Background processing to update the Checkbox field. The BOR Object type used is BUS1006 and method is CHANGE. Everything lo
-
Different Sampling rates for different channels in Analog Input
Hi, I would like to acquire data at different sampling rates on different channels say ACH 0, ACH 1 and so on. I have a PCI 6052E board and NI DAQ 6.9.2. Also is it possible to simultaneously perform Analog output on two different channels along with
-
Hi SAP Guru, I have one question. To cancel invoice using VF11, I cannot do it if I logged in into SAP using normal user. The error log said "Document does not existed". (Actually, it is existed.) However, if I am log in using super user account, I
-
Newbie, HTML illterate (happily, resolutely so). How compose, format, etc., text in inDesign and transfer (otherwise get it into) Muse?
-
Hi all, How to apply a simple contrast stretch algorithm on grayscale Image? Image inImage = new ImageIcon(f.getAbsolutePath(), f.getName()).getImage(); int maxDim = 110; double scale = (double) maxDim / (double) inImage.get