On Weblogic7, how do I create an InitialContext to a Weblogic6 server and set SECURITY_CREDENTIALS?

On a Weblogic7 server I am trying to
create an InitialContext to a Weblogic6
server and set the SECURITY_CREDENTIALS.
The code is something like this:
Hashtable p = new Hashtable();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, url);
p.put(Context.SECURITY_PRINCIPAL, usr);
p.put(Context.SECURITY_CREDENTIALS, pwd);
InitialContext ctx = new InitialContext(p);
But when this code runs, I get a class cast
exception on class:
weblogic.security.acl.DefaultUserInfoImpl
How can I stop this?

Yes I wrote AspectRatioSelection to take the document orientation into consideration an use the ratio you set orientated to the documents orientation.  So an action to crop Landscape and Portraits for a 4X6 paper would be easy to record. You will notice the dialog has two numbers fields not a Width and Height fields no orientation is implied. Its companion LongSidePrintLength.jsx the let you set the correct print dpi after the aspect ratio crop.
I did create a plug-in where you could specify an absolute aspect ratio that also had an orient option to work like AspectRatioSelection.  So with that plug-in you would able to crop a landscape to a portrait and portrait to landscape. Hover the image composition changes so much when you do often you can't get an acceptable composition.  The dialog also became hard  to describe well for me.  I program better then I do English.  The orient check box made width and height meaningless and the aspect ratio not absolute and wasn't easly explained. This is what it look like.
znarkus wrote:
Thanks for these scripts!
I noticed an (for me) issue with AspectRatioSelection though: even though I set aspect ratio to 6:4 it decides to crop some images 4:6.
It works with images that are portrait, but those that are more square are cropped in 4:6.
I don't follow your more square thing.  If you have two documents one 4x6 and the other 6x4 which is more square?
The way it works biased on you documents orientation. If your document is wider then tall it landscape if it taller the wide it a Portrait. If It square the plugin defaults it to Landscape.
So it makes no difference if you set 4 and 6 or 6 and 4 or 3 and 2 or 2 and 3 
Landscape and square document will see landscape selection with a or 3:2 aspect ratio selection or path the is either rectangle or oval
Portraits documents will see a Portrait selection with a 2:3 aspect ratio selection or path the is either rectangle or oval
Message was edited by: JJMack

Similar Messages

  • I just saved my iphoto original library to my external hard drive, now how do i create new space on my hard drive and create a new iphoto library

    i just saved my iphoto original library to my external hard drive, now how do i create new space on my hard drive and create a new iphoto library

    Trash the copy of the library you just moved. Then Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    But do you want to have two iPhoto Libraries? Why not just use the one on the External?

  • How do I create a new document in Photoshop CC and have it 300 dpi?

    How do I create a new document in Photoshop CC and have it 300 dpi? I am doing digital scrapbooking and need to have my layout in Photoshop 12 x 12 so it is a scrapbook page and 300 dpi and I hope this doesn't sound stupid but I don't even know what dpi means.
    Thank you

    File>New
    Set preset to print or US Paper
    (typing width and height values will change the preset to custom)
    Set width to 12 inches
    set height to 12 inches
    set ppi to 300 (should already be this if you used the print preset)
    Click OK

  • How do I create an unordered list with three items and link to id's

    How do I create an ordered list with three items and linl to id's on my page

    Thanks, I guess what I was really asking, Is there a n option in the insert menu or somewhere where Dreamweaver does it for you.
    I am not clear on what you are wanting DW to do for you?  Is it that you want it to insert a three item unordered list?  No - there's no such function.  You would need to click in Design view where you want the list to go, click on the bulleted list icon on the Property inspector, and then enter the three items separated by carriage returns.  Then you'd have to link each item specifically.
    To enter the named anchors to element ID values, CS5 has no way to do this.  You'd have to enter those links manually.

  • How do I create Outgoing Mail Policie,Outgoing content filters and individual content filters?

    IronPort C160.
    async OS 6.5.3
    Server 1 and server 2 are communicating through ironport.( and also scanning)
    Server 1 we have setup domain abc.lk and yy.abc.lk in same server, this reside on DMZ. same segment ironport is connected,
    Server 2: we have setup separate server int.abc.lk which is resided on internal lan.
    Server 1 and server 2 should have to communicate internally, but server2 should not communicate to outside the world (eg. [email protected])
    How do I create "Outgoing Mail Policies, Outgoing content filters and the individual content filters?
    Note: Now server 1 and server2 are communicating internal and also communicating external ([email protected]), I need server 2 not to communicate external ([email protected]) it should be block and also do not block server 2 communicating to server1
    I have attached diagram also.
    Thanks.
    sumathi.

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    Hello Sumathi,
    (Thanks for adding a diagram, that helps understanding your situation)
    I think the simplest solution is to create a filter that allows server 2 (based on it's IP) to communicate with the internal domains, and drop the messages when they are targeted to any other domain
    so:
    filter source IP = servers
    condition: message to: is NOT abc.lk or yy.abc.lk
    action: drop message
    hope this helps!
    Steven

  • How do I create a digital book that fits tablets and computer monitor sizes?

    How do I create a digital book that fits tablets and computer monitor sizes?
    Example: An 8.5 X 11, 2 column Word document with pictures, approximately 100 pages.
    Must I also publish the book in a 5X8 format or does Acrobat have something that will do that for me?

    Starting at the end:
    - When the movie or tv show does transfer onto your iphone/ipod touch you will be able to see it in the expanded view of your device in the "DEVICES" section.
    - If the files are not on your device, then:
         -- confirm you have SD or HD-SD video. HD-only content will not play and probably will not even sync. iTunes seems to reliably have SD versions with their HD distributions so this should not be an issue
         -- confirm you are synch-ing the content to the ipod device by browsing the DEVICE view's Movie or TV Show tabs to confirm the movie or episode is 'checked'
    - If the files are on the iPod and you cannot find them, check your Settings: General for Restrictions.  If you restrict, for example the movies to "G" rating. PG and higher movies will sync but you will not be able to find them on the iPod!

  • How do I create 2 Recovery partitions: one for Lion and one for Mountain Lion?

    Well that is basically the question:
    How do I create 2 recovery partitions: one for Lion and one for Mountain Lion?
    Reason is that I would like to keep the option to return to Lion, or even better, have a seperate partition for eacht?

    can I access my programs from the other partition, so I can save space ...
    No, as far as I know, each one is completely separate - especially if you're dealing with two different versions of OS's.
    is it possible to safely make an extra partion on a running drive (it is my main computer ...) The disk is large enough ...
    how large would this have to be
    I've personally never done it on a running drive - have read it's possible, but don't want to suggest it since I've never done it and wouldn't be sure about the steps. This is how I got to two partitions on my iMac:
    Originally, I had just one partition with Snow Leopard. I used CCC to clone that to an external drive. Booted into that drive and used DU to partition and erase the internal. I then cloned the new clone back. Also cloned the same thing to the other partition which I then upgraded to Lion. So I had two OS's - SL and Lion. I've now decided to clone my SL to an external drive for occasional use and installed ML on that partition - so now I have Lion and ML.
    There are two ways to get a "fresh" install: either download the OS again and install it on a partition of your choice or, as I've done as well, copy the installer to a safe place so you don't need to download it again. It does include whatever apps/software is included in the OS.  I've designated two smaller partitions on externals as my "fresh" installs of both Lion and ML for emergency or reinstall purposes (this is my way of dealing with not having install DVDs) - I took the time to install it there and then slowly add fresh installs of my important apps (either via download or install CD) - don't bother with the little/less used stuff, a current copy of that can be downloaded if and when I need it. I don't really update those two - that can also be done if/when I need it since that'll always change.
    So, yesterday, I decided I wanted to start fresh with ML - booted into my fresh install of Lion (on external), wiped the SL partition on my internal and installed Lion. Decided to download a fresh copy of the ML installer and installed that. Then ran Software Update. After that, repaired permissions. Then I methodically opened every third party app and checked for updates - installed those where necessary. After all that, I simply copied (drag 'n drop) my entire Documents folder (which contains all my important data,, photos, etc) over from another backup.
    This took a while, but mostly because of the long download times; the installs weren't all that bad. I should be running a really clean system now, especially since nothing was ported over except my Documents folder.

  • How do I create new folders in mail on IPad and IPhone for saving emails?

    How do I create new folders in mail on IPad and IPhone for saving emails?

    You can't do it on the iPad you would need to do it on your computer and the folder will be seen by your account on the iPad and iPhone only if they are IMAP and Exchange accounts. POP accounts are not supported for folders. 

  • To create a new file in application server and transfer data to ti

    i am doing the following where i have to create a new file in application server and transfer data to tht file from an internal table.but its saying file cant be opened.the path i am giving to parameter p_prefil is /tmp/prachi.txt.
    wats the prob..can anyone help.
    DATA:L_WA_FINAL TYPE TY_FINAL,
         l_wa_string type string.
    OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
    if sy-subrc <> 0.
    write: ' file cannot be opened'.
    stop.
    endif.
    LOOP AT P_I_FINAL INTO L_WA_FINAL.
    move l_wa_final to l_wa_string.
    TRANSFER l_wa_string TO P_PREFIL.
    if sy-subrc <> 0.
    write: 'file can not be written'.
    stop.
    endif.
    clear l_wa_final.
    ENDLOOP.
    CLOSE DATASET P_PREFIL.
    if sy-subrc <> 0.
    write: ' file cannot be closed'.
    stop.
    endif.

    DATA:L_WA_FINAL TYPE TY_FINAL,
    l_wa_string type string.
    OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
    if sy-subrc ne 0.
    write: ' file cannot be opened'.
    stop.
    endif.
    LOOP AT P_I_FINAL INTO L_WA_FINAL.
    move l_wa_final to l_wa_string.
    TRANSFER l_wa_string TO P_PREFIL.
    write: 'file can not be written'.
    clear l_wa_final.
    ENDLOOP.
    CLOSE DATASET P_PREFIL.
    if sy-subrc ne  0.
    write: ' file cannot be closed'.
    stop.
    endif.

  • How do I create my own custom persona to use and share?

    I would like to create my own persona and then be able to share with Firefox users. I am clueless as to how to get started. I am sure the information is somewhere in the Mozilla Help database, but have yet to locate it. I just want to create a simple persona with some photos and graphics I have on my computer. I don't really know anything about code. Thanks for your help!

    Google Search: '''firefox create a persona'''
    * '''Personas for Firefox''' | How to Create Personas<br>https://www.getpersonas.com/en-US/demo_create
    * '''Personas for Firefox''' | Frequent Questions<br>http://www.getpersonas.com/en-US/faq
    * '''Personas for Firefox''' | Getting Started<br>http://www.getpersonas.com/en-US/getting_started
    '''I think you'd have a lot more fun with Styles though''', personas tend to hide things on toolbars, styles can be more helpful (or just as bad)
    * '''Stylish''' :: Add-ons for Firefox<br>https://addons.mozilla.org/en-US/firefox/addon/stylish/
    * '''Restyle the web with Stylish!''' - userstyles.org<br>http://userstyles.org/
    * '''Scrollbar Context Menu''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/54
    * '''Scrollbar Menu''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/52
    * '''Link Warning''' - Themes and Skins for Mozilla - userstyles.org<br>http://userstyles.org/styles/1301
    * '''Tabs, Enlarge list-all-tabs button''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/18553
    * '''Tabs Bar Minimal Size''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/9043
    * '''Tab Color Underscoring active/read/unread (Fx3.6)''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/24728

  • How can I Create a Client Configuration File for RemoteApp and Desktop Connection with Server 2012?

    I have a working RDS RemoteApp site and looking to test out the feature in Windows 7 Control Panel\All Control Panel Items\RemoteApp and Desktop Connections
    I came across this link: Create a Client Configuration File for RemoteApp and Desktop Connection and I believe this is what I need to do first, but these instructions are for
    Server 2008, and I'm running 2012.
    Any suggestions or tips on how I can begin testing this with Server 2012?

    Hi,
    You can manually enter the path to the 2012 feed and it will connect and download the RemoteApps and Desktop connections.
    If you need a sample .wcx file I have posted one here a couple of times.  If you want I will look for it and post a link.
    -TP
    I tried adding my URL's below, these are sample links that work for me right now for when I log into the web page, but neither of these work.  And I'm not sure what I would need to do with or how to create a .wcx file.
    When I type in my URL of: https://connect.mydomain.org/RDWeb, I get redirected to: 
    https://connect.mydomain.org/RDWeb/Pages/en-US/login.aspx?ReturnUrl=/RDWeb/Pages/en-US/Default.aspx

  • How do I create a report of what is run and when on Crystal Server

    In crystal server, how do I create a report that will tell me the name of all of my reports and the time it is scheduled to run?
    I get the feeling it is in the Query Builder,  but I have no idea what the names of all of these tables are.
    Anyone ever done this or know of another way to do this?

    Please download https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/404170c1-59ae-2b10-b19f-c86764e759a5#rating and read the section titled "Auditing Reports".

  • How do I create a connection string to sql server?

    Hi All,
       I am currently connecting to a SQL Server via ODBC DSN connection. I am wondering how do I create a connection string directly to a sql server without a DSN connection?
    Thank you in advance.

    If you have SQL Server or client installed in your machine you can directly connect to SQL server using native connection. When you create new report you can see the option create new connection, here you can see SQL Server. Expand it and enter the connection details where you will be directly connected to SQL Server without ODBC connection.
    Regards,
    Raghavendra

  • How can i create an album with chose category list and next/previous button

    hello guys im working on a project for my uni i finished the whole website but one thing is missing
    i need to create a photo album with next and previous button, with choosing a category and inside each category i have like 5 pictures and i can change with the next/previous buttons to see another picture of the  same category.
    Please see the picture below to see what i mean.
    some told me it needs flash but i dont know how to work on it :S so plz if anyone can help me
    thank you

    Dear Mr. Murphy,
    thank you for your help.
    Actually i have tried to search for a tutorial and i found that one that was very helpful and gave me the half solution. the part i found and it worked with me is the part of the next and previous buttons and moving from an image to another.
    SO the part i still need is the list so when i click on a category i get the pictures of the chosen category, I had the idea of create a flash for each category alone and maybe i will be able to add them all together.
    But i guess it's too much work and there must be a way where i can make it all in one flash file.
    If you have any idea let me know please, thank you again for your help and i'm trying to search for the AS3 image gallery as you told me.
    Regards

  • How should I create JAR file which  contain JMF library and project classes

    Hi,
    I installed the JMF windows pack. I compiled and ran successfully myApplet (which use JMF librarie) in Internet Explorer on my machine. When I run this applet on some different machine, where JMF isn�t installed- it�s not running.
    There is an error:
    java.lang.NoClassDefFoundError: javax/media/ControllerListener
    I was trying to create jar file, which contain librarie JMF.jar and all other files which are require to run myApplet (*.jar, *.class, the files from folder �MyApplet�) and run it on the other computer. It still doesn�t work.
    Also I ran a JMF Customizer and created customize.jar but this file contains only JMF classes. I don�t know how add other files to it.
    How should I create a jar file which will contains all essential files to run myApplet on other machine (something like �All In One� J )
    I�m using Eclipse.
    Can somebody help me?.
    Thank You!
    Best regards:
    Peter

    Hi
    i want to make a jar file of application which is using JMF to play audio
    and video. it works well during compilation and execution but doesn't
    works in jar file.
    please help me how i make a jar file whic will run audio and video too
    your's truely
    abdul

Maybe you are looking for

  • Since installing 8.0.1 I cannot send an attachment in AOL mail when I could with previous versions.

    When I try to send an attachment in AOL mail I get an error message "We encountered a technical issue, please try again." This happens every time over the past few days.

  • Where did my ringtones go after iOS 6 update

    After updating to iOS 6 my ringtones are gone on my iPhone 4? Anyone else have this issue? I can honestly say that I regret upgrading to iOS 6. First my music wasn't synching and I had to manually fix that myself, thanks to a post I found on here and

  • Incomplete data on ST06

    Hello. Kindly help me on this. We have installed EP7.0 (Win2003 and Oracle DB). Then after resetting server battery, we found no data on ST06 for CPU, Filesys, etc. <b>Here's the Log File at ABAP stack:</b> Collector Versions   running               

  • Synchronization of past Outlook Calendar entries with Blackberry Q10

    Is there no option to include the synchronization of past calendar entries from my Outllok Calendar? All what I found on Blackberry Link is "Import contacts/ Calendar". However, it seems that the synchronization applies only to future Outlook Calenda

  • $1 charged for Unlimited world trial

    Hi, Last night i subscribed to Unlimited world Trial, for which i used my debit card. As now i checked the account $1 ( INR 62.08 ) has been showing as deducted. Please help.  Below are the bank statement and purchage history. Thanks, [Removed for pr