Import problems for LDAP

Dear forum members,
I'm new to Java and novell,i've downloaded the sdk from novell and have
been trying to run a piece of java code into Jdeveloper, when i open the
.java file in jDeveloper it shows red lines under all the imports & tells
me that all the imports for
com.sun.enterprise.security cannot be found.Is there a package or
classpath that i need to add somewhere ?
package com.sun.enterprise.security.auth.realm.ldap;
this is supposedly the package that we should use, i installed the sdk
from novell + added to classpath
any help would be greatly appreciated,
Thanks,
Aiman

Jim,
sorry for the late reply, i have fixed this problem...
Thanks for the help,
Greetz
Aiman
NNTP.hk - (^(oo)^)
http://www.nntp.hk/web/
"Jim Willeke" <[email protected]> wrote:
> Can you provide the code you are trying to use?
> -jim
>
> Aiman Salama wrote:
> > Dear forum members,
> > I'm new to Java and novell,i've downloaded the sdk from novell and have
> > been trying to run a piece of java code into Jdeveloper, when i open the
> > .java file in jDeveloper it shows red lines under all the imports &
> > tells me that all the imports for
> > com.sun.enterprise.security cannot be found.Is there a package or
> > classpath that i need to add somewhere ?
> > package com.sun.enterprise.security.auth.realm.ldap;
> > this is supposedly the package that we should use, i installed the sdk
> > from novell + added to classpath
> > any help would be greatly appreciated,
> > Thanks, Aiman
> >
>

Similar Messages

  • Import problems for package

    Hi All,
    I have import one package and i got this errors.We are trying to add few Function modules into exisiting Function group.we bind the function modules in same function group to same package name.The package.function gorup name are same in both target system and destination system.
    Transport carried out with errors.
    - Individual objects could not be transported successfully.
    - The original object was not overwritten
    - A repaired object was not overwritten
    Thanks in advance.
    Madhu.

    Hi Madhu,
    Did you try this.?
    you can reimport the request with these "Option" in the "Import transport request" dialog box.
    - Overwrite orginial
    - Orverwrite objects in unconfirmed repairs
    Regards,
    Debasis.

  • On windows 8 and itunes I have importing problems the DVD is only reading the music cd from 1.5x to 4.0x for 95% of the time, it does hit speeds of 30x for the other 5% of the time. Is it a driver issue with the DVD or is it  a windows 8 issue?

    on windows 8 and itunes I have importing problems the DVD is only reading the music cd from 1.5x to 4.0x for 95% of the time, it does hit speeds of 30x for the other 5% of the time. Is it a driver issue with the DVD or is it  a windows 8 issue?

    No. You have no alternative but to plug it into a computer running iTunes and restore it.

  • Problem with XI objects transport - Unable to set import lock for SWC

    Hi guys!
    I try to import objects from dev to qa but I'm getting following error:
    Unable to set import lock for software component version SWC_xxxx , 1.0 of company.com because user OSALUDEW is currently importing data to this component Try again once user OSALUDEW has finished importing data
    The problem is, I'm not importing anything.. Well, I try to import, but something is hanging there from previous time.
    How to solve this issue?
    Thank you!
    Olain

    Well,
    I closed all the applications - repositories (dev, qa), directories (dev, qa), then started qa repository again and imported the objects successfully
    ....hmmm....
    Olian

  • İ have just got ios 5.1 for ipad but i have really important problems about charge,how could i get ios 5.0.1 without loosing my items,documents,i can't sync because my computer has problems also,thanks

    İ have just got ios 5.1 for ipad but i have really important problems about charge,how could i get ios 5.0.1 without loosing my items,documents,i can't sync because my computer has problems also,thanks

    Settings>general>reset>reset network settings
    Settings>general>reset>reset all setting

  • Problem with LDAP in BEA Portal

    Problem with LDAP in BEA Portal
    I have a list of 50 user which should be cerated in portal staging(devlopment) machine and should be transfered to
    production machine using LDAP
    Steps which i followed to create Users
    1.Create User Profile with 2 parameters branch and Role
    2.I have list user in the Xls file with Username,password ,branch and Role
    3.Write a java File which will read the Xls File
    4.The users are created in the staging machine for the portal
    Steps which i followed in LDAP to tranfer the created User form Devlopment to Production
    1.Export the created user from Devlopment (which was moved as .DAT in my local directory)
    2.import the user from local direcory to production machine
    The Users are imported in the production machine with username and password but the role and branch values are empty
    We need a solution for importing the user with role and branch corresponding to each user.
    Thanks in Adv
    Suresh

    In Portal 8.1, user name and password in stored in LDAP where as user profile values are stored in database. That is the reason you are not able to see the user profile values.
    Check once again whether you can see these values through admin tool. In case,it is not(after confirmation again),you might have to use APIs to do this for you incase you dont want to manage through Admin Tool.
    Thanks,
    Prashanth Bhat.

  • Problem in LDAP search

    I am having problem in running the below code, can someone pls help me out with it ? It either doesn't return anything or gives error code 32.
    import javax.naming.*;
    import javax.naming.ldap.*;
    import java.util.*;
    import javax.naming.directory.*;
    public class ldapdemo {
         public static void main(String[] args) {
              try {
                   Hashtable env = new Hashtable();
                   env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
                   env.put(Context.PROVIDER_URL, "LDAP://dewdfx1b1:389");
                   LdapContext ldapctx = new InitialLdapContext(env, null);
                   Attributes matchAttrs = new BasicAttributes();
                   matchAttrs.put("uid","I028949");
                   String [] attrIDs = {"cn","mail"};
                   NamingEnumeration answer = ldapctx.search("o=SAP", matchAttrs, attrIDs);
         while(answer.hasMore()) {
                   SearchResult sr = (SearchResult)answer.next();
                   Attributes resultAttrs = sr.getAttributes();
                   String username = resultAttrs.get("cn").getID();
                   String mail = resultAttrs.get("mail").getID();
                   System.out.println("username="+username);
                   System.out.println("mail="+mail);
              } catch (NamingException e) {
                   System.out.println(e.getMessage());
                   return;

    Sameer,
    First, I see no authentication in your coding. Probably it is required.
    Second, where is base DN for binding?
    Try this sample (for InitialContext info with credentials):
    http://www.sgi.nu/diary/2005/10/27/accessing-the-global-address-list-in-ms-exchange-from-java/
    Also I highly recommend to download Java LDAP browser/editor and try to perform your program task it:
    http://www-unix.mcs.anl.gov/~gawor/ldap/
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Fixed asset import problem because of validation

    Hi all,
    I have a problem caused by the validation of the import tool for fixed asset.
    Because the customer is using a depreciation method starting on the first day of the next period I cannot import the remaining life in months properly. 
    Here are the facts for my example:
    - Fiscal year from January to December
    - 36 months linear depreciation
    - Import done on Jan 1 2009
    - Asset bought in March 2008
    - Start depreciation in April 2008
    As per the validation in the import tool I need to put 26 months remaining but the reality is 27 months remaining.
    What can I do to solve this issue?

    Hi Michel,
    Post the message to SAP Business One Partner Solutions (Add-ons) Forum
    Regards
    Jambulingam.P

  • LR3.2 import problem on computer with Windows OS

    LR3.2 import problem on Windows OS
    This is a continuation of a question that I posed on August 22, 2010 in the discussion string "Cannot import CR2".  I have not been able to resolve the issue of importing an image into an existing folder location.  I had not been able to work on this issue for a number of weeks due to other circumstances, until today.   Note that the following people had attempted to provide answers and suggestions already:  ssprengel, JayS In CT.
    I use a laptop with a Windows operating system and a Macintosh desktop with Snow Leopard.  I run Lightroom on both of them.  The Windows laptop has Windows Vista Home service pack 2, version 6.0 [6002].  Around August 12th I upgraded from Lightroom 2 [481478], to Lightroom 3 on the laptop.  I left the LR2 on the laptop as well as LR3.  On September 12th I upgraded the laptop to LR3.2.  No other changes have been to the laptop or its software applications that I know of.
    My current attempts at resolving the issue reveal that when I created a new catalog "Test Catalog" in LR3 and saved that catalog to my desktop new folder labeled "Test Catalog" that I can import an image into LR3.2 to a new folder on the laptop's desktop.  I then deleted the images via LR3.2 Folders Remove function and tried to import the images into an existing folder as presented in the LR3.2 Import dialog, but get the error message "The following files were not imported because they could not be read.".   When I import images into a new folder placed on the desktop, I can use all functions in LR3 e.g. Develop module.  I cannot import images into existing folders on the laptop's hard drive - I have tried importing into the entire existing folders in the following hierarchy:  c:\users\Michael\My Documents\My Pictures\2010  but always get the same error message.
    LR3.2 does correctly backups upon exiting each time I quit the program, so I know that there isn't any issue of writing to that backup folder which is contained in an upper folder that contains the lightroom catalogs.  I have even created a new Word file, saved it into the folder with Lightroom catalogs, opened it up, modified it, saved it, and saw that it works OK, so that tells me there is no problem with a Read-Only folder attribute.
    I cannot recall if upon the upgrade from LR2.6 to LR3 that I chose to upgrade the catalog to LR3 version.  Would that matter, if yes, what do I verify, how do I manual upgrade the catalog.
    History of actions between August 10th that I have taken follows between the [[[[ and ]]]]:  
    [[[[Preference settings for Default Catalog are set to start with a specific catalog that I call "Lightroom master catalog", it is not set to the "Load most recent catalog". 
    All of the following were using my laptop:  Previously I had no problem with LR2 for any functions.  I just purchased an Epson 7000 media storage device, and in early August and practiced importing images into LR2, and those images were pulled in OK. Next, I upgraded to LR3.  I discovered that the Epson's images had been placed into a wrong folder when I opened LR3.  I used the remapping function in LR3 to move the images into the correct folder.  Next, I used a SanDisk card reader to import images into LR3 into an existing folder of images, but the following error message appeared "the following files were not imported because they could not be read" (Import Results said  'some import operations were not performed').  I tried importing a single image, and multiple images, but had the same error.  I tried switching the card reader to each of 4 different USB port on the laptop, with the same error occurring on each USB port used.
    In order to try to isolate the problem.  I took the SanDisk card reader with the memory card and successfully imported the images into LR3 on my Macintosh desktop computer; so to me the problem is not the card reader or the memory card.  I also used the SanDisk recovery disk while using my laptop to look at the files on the memory card and I could see all the images correctly while in the recovery program, but I have not copied the images to the laptop's hard disk, and have not tried an import into the laptop's LR3.  I did not import images directly from my camera to the laptop LR3 since I did not think it would help with the troubleshooting. 
    I then ran the Repair from the Adobe LR3 CD upgrade disk, on my laptop.  Then I tried doing the import using the SanDisk reader and memory card, but the same problem occurred and same error message, that the files could not be imported (I was trying to import into a folder of existing images).  I then used the Laptop's Control Panel function to remove LR3 application.  Then I did a fresh upgrade of LR3 on my laptop, but the same error message and I am unable to do any import of the memory card from the card reader.  I then tried to do an image import from the Epson 7000 into the laptop, and the same error message and I am unable to do any import into a folder with existing images.   I then tried doing an image import into LR2 on the laptop, and got the same problem to occur when trying to import into an existing folder of images.  I have a couple of  Canon EOS SLR digital cameras, and the issue occurs for any of the file types of the cameras.
    Went into LR3 Preferences, General Tab, I now checked the previously unchecked box for Import Options - "Show import dialog when a memory card is detected".
    Connected the Canon XTi directly with a cable to the laptop computer.  Note that Canon's information said that Picture Transfer Protocol is automatically used when the XTi is directly connected to a computer, so I did not need to change anything in the camera's menu for communications choices (there is no communication menu in fact).  I selected one image and copied it to the laptop desktop.  Tried to import it into LR3 into a folder of existing images but got the error message "Could not copy a file to the requested location."  While in LR3, I changed the location of where the file would be copied into - any of my existing folders of images; tried 5 different folders, but kept getting the same error message.
    With the card reader connected via USB port on the laptop, I copied one image file to the desktop, and then tried importing into LR3 into a folder of existing images.  Got the error message "Could not copy a file to the requested location."]]]]

    I am not clear if by 'import' you are trying to copy or move the files from a location to another or if you are adding the files to a catalog.  My comments may not, therefore, be too helpful.
    Firstly, with both LR2 and LR3 installed you will have both catalogs present, but if you try to open the LR2 catalog with LR3 you will be prompted to update the catalog.  You will thus know which catalog you are working on. 
    Secondly, if you are reading direct from the camera, you should connect using the 'PC connection' mode.
    Thirdly, there is an issue with reading .CR2 files directly from the early Canon DSLRs (in Europe named 300D, 350D, 400D).  While they are visible with the Canon software, they can not be seen with Windows explorer nor can they be accessed with Lightroom. 
    I suggest that you take the CF card out of the camera and copy the files using Windows Explorer in to the destination folder.  You are then sure that the files are on the PC.
    If you have the right Codec installed, you can view them with Windows photo gallery; if you don't, you can use one of the Canon software packages to view the files.  You are then sure that the files are not corrupted.
    Then import the files to your LR catalog using the normal import routine selecting 'add without moving'.  I have tried this routine  successfully using my 350D using both LR1.x and LR3.x.  If that doesn't work - I'm lost.
    Frank

  • Import Cycle for India doing first Goods Receipt

    Hi Friends,
    We are going on upgrade from 4.0B to ECC 5.0.
    We are using TAXINN .  This is regd. the  Import pricing for India.
    Our client  is using 4.0B & thier sequence is :
    0. Give advance to CHA agent for Customs clearing based on his estimation
    1. GR by 103 mov. type
    2. J1IA which is capture excise invoice (J1IEX)
    3. GR 105 mov. type
    4. Cature excise invoice through J1IB(J1IEX)
    5. Finally they do LIV / IR (commercial Invoice or Bill of entry)
    6. after making IR they knock off the advance amount.
    When I tried in the ECC 5.0 SAP std. process of LIV(commercial Invoice or Bill of entry), J1IEX_C, GR(101), J1IEX_P entries are perfect in Accounting.
    When I tried in the ECC 5.0 the same process of 4.0B. Did GR thru 103, then try J1IEX..  qty is showing , where as values showing as blank. I try to enter values manually but system didnu2019t take. I posted. Then went to GR for 105. No excise values appear even though I take ref. of excise invoice.
    Where when we do in 4.0B capture excise invoice after GR103, values are flowing. 
    I use all std. SAP conditions in ECC 5.0. They were using all Zconditions in 4.0B. I also changed all conditions to Z . (I thought there might be some link which may create problem). But there is no change.
    Client want use same sequence of operations as 4.0B. Have any one doing this sequence or tried of 4.0B. How to go about it ?
    Regards
    Sai Krishna

    Hii,
    Normally the Import Procedure is:
    1) Create the Po
    2) MIRO for Customs Vendor
    3) Capture the Excise Invoice J1IEX agaisnt the PO
    4) Goods Receipt ( In MIGO You have to select the Invoice Number i.e Bill of Entry )
    5) Post the Excise Invoice
    6) MIRO on the Imported Vendor.
    I think there is a problem in Two step procedure 103&105.
    Suggest the Change Management to the Client.
    Regards,
    Kumar

  • Change transaction using BDC-problem for large number of lines on screen

    Hi All,
    I am developing BAPI (using BDC) which creates quality notification in SAP which is entered via front end web application. Structure p_qmsm contain 3 lines of task in notification. The code is as given below. To avoid problem of large no of lines on screen,code lines starting with * is used. This actually for pagedown after entering every 2 lines and creates new line. so that 2 lines always push up on screen and there will not be problem for creating large no of lines on screen
    perform bdc_dynpro using 'SAPLIQS0' '7200'.
    perform bdc_field using 'BDC_OKCODE' '=10\TAB11'.
    LOOP AT p_qmsm INTO wa_qmsm.
    *IF wa_qmsm_cntr > 2.
           wa_qmsm_cntr = 2.
           perform bdc_dynpro  using 'SAPLIQS0'                   '7204'.
           perform bdc_field   using 'BDC_OKCODE'                 '=PEND'.
    ENDIF.
    perform bdc_dynpro using 'SAPLIQS0' '7204'.
    perform bdc_field using 'BDC_OKCODE' '/00'.
    CONCATENATE 'VIQMSM-QSMNUM(' wa_qmsm_cntr ')' INTO wm_qmsm_qsmnum.
    CONCATENATE 'VIQMSM-MNGRP(' wa_qmsm_cntr ')' INTO wm_qmsm_mngrp.
    CONCATENATE 'VIQMSM-MNCOD(' wa_qmsm_cntr ')' INTO wm_qmsm_mncod.
    CONCATENATE 'VIQMSM-MATXT(' wa_qmsm_cntr ')' INTO wm_qmsm_matxt.
    perform bdc_field using wm_qmsm_qsmnum wa_qmsm-qsmnum.
    perform bdc_field using wm_qmsm_mngrp wa_qmsm-mngrp.
    perform bdc_field using wm_qmsm_mncod wa_qmsm-mncod.
    perform bdc_field using wm_qmsm_matxt wa_qmsm-matxt.
    wa_qmsm_cntr = wa_qmsm_cntr + 01.
    ENDLOOP.
    CALL TRANSACTION 'IQS2' USING wt_bdc
    MODE 'N' UPDATE 'A'  MESSAGES INTO P_MESSTAB.
    The same code is used in modify mode also. web application is sending all 3 lines in modify mode even if single line is modified. It is already decided to send all rows back from web application to SAP in same sequence. It is working fine if i comment 5 lines which is starting with *. But in modify mode, how can i ensure that correct row is modified? and how can i achieve problem of large no of lines on screen?Please suggest?

    Hi yogesh,
    how can i ensure that correct row is modified?
    1. For this we need to know two things ;
       a) the database table in which the entries are already stored
       b) the sequence in which they are displayed in the transaction.
    2. So before changing any line, we need to compare (the primary key values / important values)
       a) as per the database table and as per the incoming data from web application (using bapi)
      b) if the match is ok, it means that particular row was not modified, else modified.
    how can i achieve problem of large no of lines on screen?
    1. For this I am  not sure about the transaction and its screen. Manytimes for appending row on the screen,
      there is a PLUS + button on the grid toolbar. So for every entry, (inspite of some empty/filled rows already visible on the screen), we should use the + button, and this new row always appears on the top i.e. row number 1.
    hope this helps.
    regards,
    amit m.

  • Excise capture in import po for free item

    Dear Friends
    I am having an issue.
    I have created an import po for free item.
    As the item is free of cost,system will hide the conditions tab item details tab.
    But we are paying the all the duties like CVD,Import Duty ,cess etc for the free item.
    The item detail tab is hidden, I cannot enter the planned delivery costs for the item
    Please advise me how can I capture Excise Invoice for the free itme in import PO
    Thnks

    The only way to do it is to assign a small notional value (like 0.01 USD) to the item, so that the conditions tab does not disappear.
    The only problem will be that the GR/IR clearing account will have an open entry, which can be cleared via MR11 with minimum accounting impact.
    Regards,
    Aroop

  • Import hangs for (very) large file

    Hi All,
    where importing a file that is converted to a single data column in the beffileimport script.
    So i have a flatfile with 250.000 rows but 4 data columns and i convert it to a file with 1.000.000 rows and 1 data column.
    In the inbox i can see this process takes about 12 minutes. Which is long but not a problem for us.
    After that the FDM web client (11.1.1.3) keeps showing processing, please wait... (even after a day).
    We saw that there was no activitiy on the server so closed the web client, logged on againg and the import action was succesfull..
    So for some reason because the import step takes so long it doesn't show a success message but keeps hanging.
    Any suggestions how to solve this?
    thanks in advance,
    Marc

    The only thing that I would be aware of that would cause this is inserting a timeout Registry key on the workstation as noted in the following microsoft KB. If you have this in place, remove it and reboot and then test the import again.
    http://support.microsoft.com/kb/181050

  • Import Procedure for Zero Value Materials (Free of cost)

    Dear all,
    Our client have business scenario that they are getting Import Materials for Rs. 0/- (Sample material), and we all know that at the time of receiving from the customs we have to clear customs duties based on the value of the material. Since for our client its free of cost, how to make process in SAP and to maintain the customs conditions.
    Normally we will make process if there is value in Purchase order.
    PO => MIRO => J1IEX => MIGO => J1IEX => MIRO.
    Kindly let me know if anybody have done this scenario.
    regards,
    Dhanu

    Dear Sir,
    I am also in Import dept and now working in SAP . hope the same problem will come to us in future.
    1. U rise the P.O for the exact value .
    2. Bill pass the customs duty in MIRO while paying duty.
    3. then amend the orderand make the value for the material in P.O as zero.
    Somasundaram

  • TS1811 Hi!! I am a user of i Pod 5g 32GB....I got the same problem for which the solution is given above....but the thing is that.......in my laptop I have a windows operating system....that is windows 7....so can you explain how to do settings in Windows

    Hi!! I am a user of i Pod 5g 32GB....I got the same problem for which the solution is given above  "
    iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
    "....but the thing is that.......in my laptop I have a windows operating system....that is windows 7....so can you explain how to do settings in Windows 4 same

    Archived - iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
    Products Affected
    iTunes 7 for Mac, iTunes 8 for Mac, iTunes 9 for Mac
    This article has been archived and is no longer updated by Apple. 
    Symptoms
    After installing the Mac OS X 10.4.9 Update, iTunes may be unable to properly authorize your computer to play your iTunes Store purchases.
    Resolution
    The following steps will delete your network preferences. Most broadband connections do not require any special settings to connect, but if your connection does or if you are not sure, please contact your ISP or network administrator for further assistance.
    Important: You must be logged in as an Administrator.
    Click the Finder icon in the Dock.
    Choose Go to Folder from the Go menu.
    Type /Library/Preferences/SystemConfiguration
    Click Go.
    In the Finder window, locate the file named NetworkInterfaces.plist.
    Drag this file to the Trash.
    Restart the computer.
    Once your computer has restarted. You will not be able to connect to the Internet. Now you will need to refresh your network settings to be able to connect again.
    Choose System Preferences from the Apple menu.
    Choose Network from the View menu.
    To refresh your network settings, from the Location pop-up menu, choose New Location.
    Type a name for your location and click OK.
    Click the Apply Now at the bottom right to accept the changes.
    If your network connection requires any special settings, you will need to put them back in at this point. Once you have made these changes you should be able to connect to the Internet again and authorize your computer to play your iTunes Store purchases.

Maybe you are looking for

  • Printing issue with DeskJet 6940

    About every 20 pages or so, printing in portrait mode, the printer does a form feed after printing about 1 1/2" of text. It happens intermittently, and there is no apparent logic or pattern. I have reinstalled the driver, changed the USB cord, but to

  • Exchange rate not updated with posting date, translation date updated

    Hi, I have the follwoing problem in F110. Currency documents are posted with exchange date of the docuemnt entry date. Translation date is updated with Posting date, just exchange rate is not updated. the systems calculates according entry date. Why

  • Ability to turn on cell data for apps is not available

    So, my girlfriend and I believe that we have run into an interesting issue with which we need help.  We had updated her iPhone 5 to iOS 8.2 a few weeks back. After that, it seemed to be mostly ok as she got used to the new system.  We had updated the

  • New Mac Pro: What are You using to connect your eSATA external drives to you nMacPro?

    Hi, I have some eSATA external HDs that I would like to use with my 2013 New Mac Pro. I was just wondering what other  have been using to connect their nMPs to eSATA devices and how well it has worked.  I have seen a USB3 to eSATA cable from NewEgg..

  • Runs in JDeveloper, not after deployment (as .jar) : NoClassDefFoundError

    I created a web service proxy within JDeveloper (created from a wsdl file). I created a .java file to call the web service. It runs fine within JDeveloper. When I deploy it to a .jar file and try and run the jar file from the console (with "java -jar