Printservicelookup does not list newly added printer in OAS R2.

Hi,
We are using OAS R2 Server and JDK 1.5. In our application we have a scenario where we will display the list of printers configured to the Server. The below is the code we are using to get the list of printers configured in the server.
Code:
AttributeSet aset = new HashAttributeSet();
PrintService[] services = PrintServiceLookup.lookupPrintServices(null,aset);
The above code works fine to display the existing printers configured in the server. But when ever we add a new printer to the server, it is not listed. We have even restarted the server and the machine after adding the printer,Still it does not display the newly added printer. Any help would be greatly appreciated?
P.S: The same code works fine in OAS R3 server, after restarting the server it displays the newly added printer.
Regards,
Karthik

I have the same problem. Have you found any solution to this issue?

Similar Messages

  • LOV does not show newly added data in the same session

    Hi guys,
    I work with JDeveloper 11g Release 2. We use Oracle ADF to develop our web app.
    In a page we have a LOV (say the page name is "a"). The related data for that LOV is inserted to the db in another page ( say the page name is "b").
    When new data is added in the page "b" and goes directly to the page "a" the LOV does not show newly added data. But if the user log out and log in again
    LOV shows newly added data correctly.
    Is there a way to show the newly added data in the same session without logging out? Please help.
    Regards !
    Sameera.

    Add the following method in your ViewRowImpl base class:
    public void refreshLOVAccessorQueries() {
        List lovs = getViewDef().getListBindingDefs();
         if (lovs != null) {
             for (Object obj : lovs) {
                getListBindingRSI((ListBindingDef)obj).getRowSet().executeQuery();
                 ListBindingDef lbd = (ListBindingDef)obj;
    Export that method to the Row Client interface, add him to the pageDef, and invoke in the executables section of the pageDef:
        <executables>
    <invokeAction Binds="refreshLOVAccessorQueries" id="callRefreshLOVs"
    RefreshCondition="#{!requestContext.postback and empty bindings.exceptionList}"/>
       </executables>

  • BPM Process does not show newly added task

    I added a new task to my current BPM Process which has several tasks already built into it and they work when deployed. When I execute the workflow and get to that step, I get the following message: Details not available for this task. I am using jDeveloper 11.1.1.5. I created my page with ADF. I can see the pages for all the rest of the tasks in my process but not this newly added step. I have checked the source for this task against other tasks in the process and it looks the same. Does anyone have an idea what I might need to change or add in order to make this work?
    Edited by: user10279592 on Jan 13, 2012 7:20 AM

    If you're getting the Server 500 error and it is not an initiator task, what are you seeing at the bottom of your log file?
    If you're getting the Server 500 error and it's an initiator task, then there is a trick to figuring out the real problem (close the dialog -> refresh the worklist -> select the work item at the bottom of the list). The initiator activity makes it necessary to do this additional step to see what the issue is.
    Hope this helps,
    Dan

  • Web Analysis data layout does not reflect newly added attribute dimension

    Hi,
    We newly added one new attribute dimension. If any new report creation in Web Analysis reflect that dimension. However, the reports which are old(created before the addition of new dimension), does not show the newly added dimension.
    Please advice.
    Thanks,
    Meenakshi

    Thanks for this.
    I have tried assigning the new DB connection. However, still it did not work. Does the data layout displays dimensions according to reports. I mean, can we restrict the visibility of dimension at report level? Please advice.
    Thanks,
    Meenakshi

  • Standalone Logviewer does not display newly added subdirectories.

    We are running the logviewer daemon on our UNIX servers so the developers can monitor the logs.  We noticed that whenever a new subdirectory in our case a log4j log file subdirectory; the file does no show up in the logviewer until after you restart the log viewer daemon.
    Has anyone else noticed this?  Since developers can add new log4j log file directories at any point, restarting does not seem practical.  Refreshing the node of the tree did not appear to work either.

    Hi
    please have a lok at this guide which tell how you can integrate third party logging api 's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36085e78-0801-0010-678d-8b4e89ddff3c
    Also a sample example on integration with log 4j is given which can be downloaded
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/webas_migration_isv_certification/logging.zip
    hope this helps, please mark points for helpful answers
    regards
    rajeshkr

  • Photoshop Elements 10 does not see newly added memory

    Hi,
    I have been using PSE 10 on my MacBook Pro with 4 GB memory (RAM). Today I upgraded to 16 GB but PSE still displays available memory as 3072 MB.
    What can I do to make it use the extra memory? Thanks for reading this.

    Yes, I am seeing a problem. When merging multiple frames into a Pano, PSE tries to extrapolate the image vertically to fill the edges. That does not work at all with 4 GB.
    Besides, more the merrier. With more memory, I expect the response to be snappier even for normal edits.
    I understand that Adobe may want to push me over the edge towards the CS6 if the above really matter to me. It's like driving an economy car versus a luxury car. I only wish the price difference wouldn't have been so huge.

  • Refresh of a Report Builder Dataset does NOT show newly added field

    I'm working with Report Builder 2.0 (we don't plan on getting SQL 2008 R2 - so NO 3.0 for us!) and have found that if I have an existing report using an existing stored procedure (it has 4 existing parameters) and I add a new field to the stored procedure
    it will not refresh the
    data set.  I have gone to the DataSet properties and executed the query(SPROC) where it does show the new field (so I know the sproc will
    execute), but when I click OK and hit Refresh Fields it stops responding.  I also tried the same steps without the Refresh Fields and still stops responding.  I also tried to add the field name and it errored out as invalid.
    The only work around I've found is to
    create a new dataset referencing the updated SPROC with a different name, deleting the old dataset and then re-naming the newer dataset with the old
    one's name so all the field references are the same.  I do know that in the case of renaming
    a field in a sproc that this would end BADLY because there is no way any of the old field's references would work.  
    But it seems odd I have to go through so much to refresh for new fields, so perhaps I'm missing a step in dealing with this situation.  Any recommendations would be appreciated.

    Hi CinBH,
    I understand that the Report Builder 2.0 hangs while flush the dataset by executing the query. In that case, I think it is necessary to capture a user dump when the problem occurred. And then, you can send the dump to Microsoft CSS support. Support Professionals
    from Microsoft will assist you to solve the problem.
    I am providing the steps below for you to gather the hang dump or crash dump to further work on this issue,
    Hang dump,
    a. Open Report Builder as usual, and wait for a while.
    b. When you found that the Report Builder application hang, and was not responding, please open TaskManager by one of follws,
    - Pressing “Ctrl + Alt + Del” button and then click “Start Task Manager” item.
    - Or right-clicking your task bar, click “Start Task Manager”menu.
    c. Once the Task Manager opened, switch to Process tab, find the “Report Builder” process MSReportBuilder.exe.
    d. Right-click the item, click Create dump file.
    e. After that, it will prompt a window and let you know the location of the dump file.
    You can copy the hang dump or crash dump file to your development machine configured with symbols files, and open it in Visual Studio 2008. Next, you can analyze the error / exception, and call stacks to see why the error happens.
    Thanks,
    Eileen

  • My iMac does not find my wifi printer or my Chromecast.

    My iMac does not find my wifi printer or my Chromecast. I was able to ping the chrome cast and printer and I'm able to connect to these devices with my windows computer, iPhone and iPad. I have OS X 10.9.2. I'm able to print by setting up the printer using the IP address that was assigned by my router instead of letting my iMac do the finding. It seems that the iMac either does not like the info that is receiving or something is blocking the signal (other than the firewall, which is off). Could someone have an idea what the issue might be?

    Hi MikeMart0923,
    If you are having issues adding or connecting to your WiFi printer from your iMac, you may find the following articles helpful (apologies if you have already seen them):
    OS X Mavericks: Set up a printer
    http://support.apple.com/kb/PH14143
    OS X: Connecting a Wi-Fi printer to your Wi-Fi network
    http://support.apple.com/kb/ht3500
    Note: This is assuming you have a simple network configuration, with only a single router/WiFi access point.
    Regards,
    - Brenden

  • Adobe does not list my Epson BX305FW Plus

    Adobe does not list my Epson BX305FW Plus on available printers, it shows all the other printers and the Epson printer is shown on all other programmes such as microsoft word, excel etc but not Adobe.
    I have contacted Epson and they say it is an Adobe problem!!!
    Jamie

    Have you tried uninsalling and reinstalling the printer?

  • The software that you choose does not match the Selected Printer

    Hi Friends,
    I am trying to install a network Printer suing my Win Xp SP3 PC.
    Since there is no drivers installed in this PC, I tried to select Have Disk option in the Bonjour Printer Setup Wizard and selected the INF file provided by the Manufaturer. When i select the INF file and click ok, It prompts with message "The software that you choose does not match the Selected Printer".
    But the Manufaturer name is listed under the Manufacturer Tab and nothing on the Model Tab.
    Any idea why i am getting this error message. Please help me if anyone is aware of this.

    I haven't seen Apple use a "shared secret". and believe this must be a message from the magazine app.  I suggest asking the magazine, as this appears not to be an Apple problem.

  • Galaxy Tab does not see HP wireless printer

    My Galaxy Tab and HP D110a are both clients in my wireless network, however, when I try to print an email my Galaxy Tab does not recognize the HP printer.  Please advise.  Thanks in advance.

    Hi,
    1) Are you sending an email to the printer from Galaxy tab?
    2) If yes, What is the exact message you receive?
    3) IS the WebServices enabled on the printer so that it acquires email ID from ePrint sever?
    4) Are you able to print from computer when you send an email to printer ID?
    5) Is the printer email ID added to your account in ePrint Center Website?
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • My Canon MX 922 does not scan. My printer is connected via cable. Wireless doesn't work either.

    My Canon MX 922 does not scan. My printer is connected via cable. Wireless doesn't work either.  I get an error message with multiple suggestions but none of them apply to my situation.
    I am so dissatisfied with this printer.  I'm sorry I got it from Amazon because now it is a hassle to return it.  I will never buy another Canon.
    The printer menus are confusing.  I hate using it.  I loved my previous Canon which finally stopped working after many years, that's why I purchased a newer Canon model.  Never again.  Stick with cameras.
    Marcy Hotz

    This note won't be as angry and frustrated as the last one...
    Because I still had my old printer drivers and other applications on my hard drive, I think the application was trying to connect with the old printer.  I deleted all the old stuff.
    I also had several scanning applications on my drive which just confused me.
    When I used the actual Canon MX922 application, I was able to scan but could only save as JPG, TIF or BMP (and one more, I forget which).  So I did some research on the Canon site and found out how to save documents as PDF files using the Canon IJ Scan Utility.
    It works now.  So I'm satisfied, will keep this maching.  I just had to take some time, sit down and focus on the problem.

  • I want to transfer a movie I have downloaded from itunes to my new IPAD. I have been on the itunes help menu, it tells me to look under 'devices' tab for IPAD. BUT there is no 'devices' tab and it does not list my new IPAD. Help!

    I want to transfer a movie I have bought in itunes to my new IPAD. I have been trying to work how to do this for 3 days now. I have accessed all the itunes help and forums and wiki online. They all tell me to go to the DEVICES tab on itunes and select IPAD then sync. YUP seem simple, BUT there is not DEVICES tab listed on my itunes and it does not list IPAD. Years ago I set up my IPOD no problem and that is listed, but not the new IPAD. Can anyone help? I would love to be able to actually watch films on my IPAD!! thanks

    If you have iTunes 11 on your computer then you can enable the left-hand sidebar on it via option-command-S on a Mac, control-S on a PC - when connected (and if your computer's iTunes is up-to-date) your iPad should then appear on that sidebar under a 'Devices' heading :
    If you select the iPad on that sidebar you can then use the Movies tab on the right-hand side of the iTunes screen to select and sync that film to your iPad's Videos app.
    Has your iPad been synced to the computer before ? If not then you might find this page for syncing to a new computer useful : https://discussions.apple.com/docs/DOC-3141

  • My pull down menu above the green "back" button disappeared recenly after I intalled an update. How to I get it back so I can print since right clicking does not give me a print option?

    I used to have a tool bar at the top of the screen that had file, print, help, etc. After I recently installed something ( I can't remember what), the tool bar no longer appears. Help I need it back! I need to print screens and right clicking does not allow for a print option and my print screen button on my computer does not get me anywhere either. Please describe any help in simple terms - I'm just an average computer user! Thanks.

    In Firefox 3.6 and later on Windows you can hide the "Menu Bar" via "View > Toolbars" or via the right-click context menu on a toolbar.
    Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    Go to "View > Toolbars" or right-click the "Menu Bar" or press Alt+V T to select which toolbars to show or hide (click on an entry to toggle the state).
    See also [[Menu bar is missing]] and http://kb.mozillazine.org/Toolbar_customization

  • GUI_DOWNLOAD does not work for background printing

    Hi,
    Need some help urgently.
    Function moduel GUI_DOWNLOAD does not work for background printing. I want to know how this issue can be handled or we have to use some other function module.
    We are using this in a report and i get the error dump OBJECTS_OBJREF_NOT_ASSIGNED when we run this report in background.
    Kindly suggest.
    Best Regards,
    Abbasi

    you can not use gui_download in background.
    Try searching first, this thing has been posted a thousand times already

Maybe you are looking for