JNDI LookUp does not work in WSAD5.0

Hi,
I have an independent java class which creates Data Source in WASD 5.0, and this works fine to get data source when the server is 4.0, but does not work for server 5.0, here is the code:
public static void main(String[] args) throws NamingException {
     javax.naming.InitialContext initialContext = null;
     java.util.Hashtable htContextEnvironment = new java.util.Hashtable();
        htContextEnvironment.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
        htContextEnvironment.put(javax.naming.Context.DNS_URL,"dns://127.0.0.1");
     htContextEnvironment.put(javax.naming.Context.PROVIDER_URL,"iiop://127.0.0.1:2809/");
        initialContext = new javax.naming.InitialContext(htContextEnvironment);
        System.out.println("Initial Context = " + initialContext.getNameInNamespace());
        Hashtable ht = initialContext.getEnvironment();
        DataSource ds = (DataSource) initialContext.lookup("jndi/abcd");
        System.out.println("Data Source = \n" + ds);
}The only change which I need to make is change the port name from 2809 [5.0] to 900[4.0], the jndi name in both server is defined as "jndi/abcd"
I always get the initial context in both cases, but can not get data source. For 5.0, I get the following exception:
javax.naming.NameNotFoundException: jndi/abcd
     at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:1445)
     at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:1129)
     at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:128)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)Is there any difference in creating inital context and data source between 4.0 and 5.0 servers.
Any help on this please.
Thanks
Rajender

This did not work dear. I assume when you say [Add ur datasource], you mean the name of the datasource, and I did as you told. I was wondering though that I have an independent java class which try to get data source from WSAD server, then how does web.xml help, may be I am not understanding the connection here.
Just to let you know, that same java class gets the datasource from 4.0 test server. I am running both servers now i.e. 4.0 test and 5.0 test server on different ports, and only data source from 4.0 workd good. Do you have any other solution, which I can try.
Is there any difference the way data source is accessed between 4.0 and 5.0 versions.
Thanks in advance.
Open web.xml, There will reference tab,, then take
Resource, Add ur datasourse on where the Cursor points
and then JNDI Name.
U need to restart ..

Similar Messages

  • My LOOKUP does not work.

    Hi there,
    I have a lookup as below.
    *LOOKUP FINANCE     
    *DIM LABOR:ACCOUNT="LABOR"     
    *DIM LABOR:PROJECT="NPRJ"     
    *ENDLOOKUP     
    *LOOKUP HR     
        *DIM EMP_PC:ACCOUNTHR="AHT_PC_LABOR_EMP"     
        *DIM EMP_PC:PROJECT="NPRJ"     
    *ENDLOOKUP     
    *WHEN ACCOUNTHR
    *IS AH_PROJECT_HC
    *REC(Factor = LOOKUP(EMP_PC) * LOOKUP(LABOR_CC), ACCOUNTHR="AH_LABOR")     
    //*REC(factor = 10, ACCOUNTHR="AH_LABOR") WORKS
       *REC(factor = lookup(LABOR), ACCOUNTHR="AH_LABOR")
    *ENDWHEN
    *COMMIT     
    This  code generate zeros as values which is incorrect. Can someone there helo me with this?

    Hi Kara,
    I agree to Anis El-Mariesh.
    In your code I think there somethning wrong in line:
    *REC(Factor = LOOKUP(EMP_PC) *LOOKUP(LABOR_CC), ACCOUNTHR="AH_LABOR")
    LOOKUP(LABOR_CC)
    is not set in your LOOKUP.
    regards.
    man_noel

  • Start-mdbs-with-application does not work

    Hi,
    We have a cluster with two managed servers and a JMS server on a migratable target on WLS 10.3.2. We have some MDBs within an EAR module deployed on the cluster. When the managed servers are restarted, WLS produces the following warning:
    <The Message-Driven EJB: LogReceiver is unable to connect to the JMS destination: jms/loggingQueue. The Error was:
    javax.naming.NameNotFoundException: Unable to resolve 'jms.loggingQueue'. Resolved 'jms'; remaining name 'loggingQueue'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at weblogic.jms.common.CDS$2.run(CDS.java:222)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.jms.common.CDS.getDDMembershipInformation(CDS.java:216)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.createMDManagers(MessageDrivenBeanInfoImpl.java:1295)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.activate(MessageDrivenBeanInfoImpl.java:1092)
    at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1324)
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:480)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:415)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:75)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:67)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    We have configured a System module with a ConnectionFactory on a default targetting and a Queue deployed on the JMS Server. The jndi names for the ConnectionFactory and the Queue have been properly configured.
    Apparently, the container tries to bind the MDBs with their relative destination, but is unable to proceed due to the cluster jndi not having been loaded yet. According to the documentation, we could manage to avoid this early binding by specifying
    <wls:start-mdbs-with-application>true</wls:start-mdbs-with-application>
    in weblogic-application.xml. I tried (also using false, because the documentation is not that clear in this aspect), but without any result. Is there a reason why we cannot manage to have the mdbs connecting later with their destination?
    Also, we got a warning message in the deployment page, claming that the MDBs in the server that is not hosting the JMS server are not connected to their destination. They stuck on state "initializing". While, if we manually resume the connection, via console, the state turns to "Connected". Are these issues correlated somehow?
    Any help will be very much appreciated.
    Thanks in advance,
    - Francesco.

    Hi Francesco,
    From the link below (i.e. Oracle link for WLS-11g) it states that
    “Set to false to defer message processing until after WebLogic Server opens its listen port.”
    Search for: start-mdbs-with-application
    Link-1 http://download.oracle.com/docs/cd/E15523_01/web.1111/e15493/summary.htm
    *# Conclusion:*
    This means that “false” should have resolved your issue but it is not so this might be a bug. Similar bug was seen in WLS-9.2 version which was fixed in WLS-9.2 Mp-1 version check out the link below.
    Search for: CR293982 or CR299012
    Link-2 http://download.oracle.com/docs/cd/E13222_01/wls/docs92/issues/known_resolved.html
    However if it was fixed in WLS 9.2 Mp-1 then the same issue is most probably taken care in WLS 10.x.x version also.
    *# Suggestion:*
    - Try to set “start-mdbs-with-application” as “true” and check if that works for you.
    This is because if you read the “Link-1″ carefully it states that “With default setting of true”, however when you check the “Default” column it shows “false”. Hence cant say which one is default. It might be document bug as well. However you have tried it so you can skip this suggestion.
    *# How to solve this issue:*
    1) Create a simple test case to prove that “start-mdbs-with-application” when set as “false” does not work.
    2) Open a ticket with Oracle and provide all the details with the test case and let them do their job.
    Hope this information helps.
    Regards,
    Ravish Mody

  • The Help Link from the Application Pages Does not Work for Peoplesoft Campus Solutions 9.0

    Hi everyone.
    I have a problem, I have been trying to set up the Help Link from the Application Pages for Peoplesoft Campus Solutions 9.0 according to the instructions given in the Document: http://docs.oracle.com/cd/E17566_01/epm91pbr0/eng/psbooks/EnablingtheHelpLinkfromApplicationPages.pdf ,  (referenced in the Doc ID 1289101.1, E-PB: How to Set Up the Context Sensitive Help with Hosted PeopleBooks using Universal Linking).
    I follow the instructions of that document carefully:
    I go to: PeopleTools -> Web Profile -> Web Profile Configuration
        2. Then I choose the Web Profile: "Development".
        3. Then Change the value for the Help URL field by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5 , the ctx parameter selected is the one that correspond to  the Campus Solutions (hrcs90r5) according to the Product Line Code Table (ULinkID) especified in the mentioned document.
        4. Stop the Web Domain and Clear cache.
        5. Start the Web Domain again.
    After setting up the Web Profile Configuration I test the help links, thas is why I click in the Help link in any Peoplesoft CS 9.0 Application Page (modify a person), but the next error message appears: "We're sorry, the topic you requested was not found.".
    I tried many combinations with the ctx parameters URL but it does not work yet. 
    I did the same test, but this time using the Help URL field with a HRMS ctx parameter by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hcm92pbr5 , and It works fine !!!
    According to the previous test you realize that It works with HRMS ctx parameter but not with Campus Solutions 9.0 ctx parameter,  Does anybody know what else can I do ? Am I doing anything wrong or missing? or maybe the Oracle's ctx parameter for Campus Solutions URL It is broken simply.
    Thanks for you help and feedback.

    2799444 - The page you are testing with appears to be a Workforce Administration page. Is that correct?
    The CS PeopleBooks would only work for CS pages, e.g.: try navigating to Main Menu > Campus Community > Personal Information > Add/Update a Person
    Also, you can use multiple ctx parameters:
    E.g.: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5&ctx=hcm92pbr5&ctx=pt852pbh2
    This way the help would work for the HR related pages like Workforce Administration, Campus Solutions pages like Campus Community and also PeopleTools pages like Web Profile Configuration. Hope this clarifies your question. Thanks!

  • Internet connection does not work when Macbook wakes up from sleep

    I recently installed MAC OSX LION. After that whenever the macbook pro wakes up from sleep, the internet connection does not work. I get a message 'DNS lookup failed'. I have to Turn off the WIFI and turn it back on every time. Has anyone come across this?

    Same problem here. But I am afraid it has nothing to do with Safari because I don't even have Safari open. When it wakes from sleep, it has no internet connection and i cannot get me mail unless I shut wifi off and then back on. This happened back at the start of Snow Leopard too and it was something Apple eventually fixed.

  • Wldeploy : redeployment does not work

    Hi,
    I would like to redeploy only a specific JSP. So I tried something like this:
    <wldeploy  name="NS Lookup" verbose="true"
            user="${wls.user}" password="${wls.password}"
            action="redeploy"  debug="true"
            adminurl="t3://${wls.host}:${wls.port}"
               targets="${wls.server.name}"
            deltafiles="WebApp/nslookup.jsp">
    </wldeploy>However I don't get any error the jsp has not been deployed on the server (Timestamp remains the same).
    I use the split directory structure which looks like:
    sources/
       WebApp/
             WEB-INF/
             nslookup.jsp
    build/
    dist/
        myEar/
             WEB-INF/
             nslookup.jspTo deploy I use following task:
    <wldeploy  name="NS Lookup"
            user="${wls.user}" password="${wls.password}"
            action="deploy" source="${dist}/${ear}" 
               upload="true" stage="nostage"
              adminurl="t3://${wls.host}:${wls.port}"
               targets="${wls.server.name}" />           Moreover I would like to know if it is possible to redeploy jsp for example without loosing the http session.
    Many thanks in advance
    Best regards
    Steve
    Edited by ze_key at 01/30/2007 6:06 AM

    Hi,
    I found the solution : I had to remove upload="true" from the deploy task.
    Redeploy does not work with a remote server although I didn't find anything in the doc regarding this issue.
    Does anyone knows a workaround to be able to redeploy on a remote server ?
    Many thanks in advance
    Steve

  • Installed Premiere Pro CS4 but video display does not work?

    I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
    1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
    2) the UI is way too slow for my big beefy system.
    My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
    Any ideas how to solve this CS4 install issue?
    Ron

    I would like to thank Dan, Hunt, and Haram:
    The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
    My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
    My PC is brand new with the following "beefy" components:
    Motherboard
    nForce 790i SLI FTW
    Features:
    3x PCI Express x16 graphics support
    PCI Express 2.0
    NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
    DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
    Overclocking tools
    NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
    ESA Certified
    NVIDIA DualNet and FirstPacket Ethernet technology
    Registered
    CPU: Intel Core 2 Quad Q9550
    S-Spec: SLAWQ
    Ver: E36105-001
    Product Code: BX80569Q9550
    Made in Malaysia
    Pack Date: 09/04/08
    Features:
    Freq.: 2.83 GHz
    L2 Cache: 12 MHz Cache
    FSB: 1333 MHz (MT/s)
    Core: 45nm
    Code named: Yorkfield
    Power:95W
    Socket: LGA775
    Cooling: Liquid Cooled
    NVIDIAGeForce GTX 280 SC graphics card
    Features:
    1 GB of onboard memory
    Full Microsoft DirectX 10
    NVIDIA 2-way and 3-way SLI Ready
    NVIDIA PureVideo HD technology
    NVIDIA PhysX Ready
    NVIDI CUDA technology
    PCI Express 2.0 support
    Dual-link HDCP
    OpenGL 2.1 Capaple
    Output: DVI (2 dual-link), HDTV
    Western Digital
    2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
    Features:
    10,000 RPM, 3 Gb/sec transfer rate
    RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
    p/n: TW3X4G1333C9DHX G
    product: CM3X2048-1333C9DHX
    Features:
    XMS3 DHX Dual-Path 'heat xchange'
    2048 x 2 MB
    1333 MHz
    Latency 9-9-9-24-2T
    1.6V ver3.2

  • A2109 tablet autorotate does not work

    The autorotation on my recently purchased tablet A2109 does not work. I look in settings and the auto rotate field is not highlighted, I therefore cannot choose to turn it on.The tablet has the Android jellybean OS and I did update it but to no avail. Can anyone help?
    Thanks
    Solved!
    Go to Solution.

    Dear tdsouza
    Welcome in lenovo forums
    just a clarification , do you mean option Rotate is dimmed in setting 
    Please let me know 
    Thanks
    Alaa
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • For what reason on my tablet with OS Android 4.1 does not work flash on the sites?

    Hi! I recently bought a Google Nexus 7 tablet with Android 4.1 operating system and on my tablet does not work flash sites. Why adobe does not release a new version of flash for android 4.1? Why it was necessary to buy a company Macromedia, if adobe does not want to develop web technology? I think against Adobe can sue for violation of antitrust

    I found this for example:
    http://www.slashgear.com/adobe-no-jelly-bean-flash-flash-player-pulled-altogether-august-1 5-29236404/

  • My flash flayer does not work on my Windows 8 Surface Tablet, it also won't let me see if i already

    My flash flayer does not work on my Windows 8 Surface Tablet, it also won't let me see if i already have it installed...

    1.      Are you getting any error message?
    2.      Which browser are you using?
    3.      Were there any recent changes made on the computer prior to the issue?

  • My flash player does not work on my tablet.

    My flash player does not work on my tablet

    Your tablet uses Android OS.
    There is no more Flash Player for Android and there won't be another. Android is no longer compatible with Flash Player. Playing Flash content is very processor consumptive and it drains your battery, also shortening the life of it. Android (Google) recommends using either "Dolphin" or "Puffin" as your browser if you need to view Flash content with a mobile device running Android. They're both free in the GooglePlay store. These browsers use "server side" rendering to reduce the load on your device.

  • Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)

    Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
    If I'm in the wrong place, please do warn me.
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    ...This works obviously
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    ...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    ...This, however, does not work.
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1

    Hi Oeren,
    your steps seem basically to be correct. I have a tutorial how to do this here (in german)
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
    when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
    referencing seem to be OK.
    Here are two thought - the issue might be one of these ...
    How did you insert the dummy image into the word document - did you do it via "insert" or
    via "link to file". "Link to File" does not work - you must choose the simple "insert".
    Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
    Does this help ..?
    Regards
    -Carsten
    Cloud Computing mit APEX umsetzen. Jetzt!
    http://tinyurl.com/apexcloudde
    SQL und PL/SQL: Tipps, Tricks & Best Practice
    http://sql-plsql-de.blogspot.com

  • I have an event in my calendar that was sent by someone who does not work for the company anymore and I am reminded 2 times a week. How can I remove it?

    I have an event in my calendar that was sent by someone that does not work for the company anymore and I am reminded 2 times a week. How do I delete it?

    Tap on the event to open the event. Click the 'Edit' button in the event bubble, then press the 'Delete Event' button at the bottom of the Edit pop-up. It's a little different for events that come through Microsoft Exchange, you tap the event to bring up bubble and click the 'Details' button, and then press 'Decline' to remove the event.

  • Thanks for responding.  Since I upgraded ITUNES to IOS 6, my IPOD Touch no longer works at all.  I had numerous apps, music and videos on this touch.  It made me restore to factory reset and it still does not work!!! Nothing I do will work on this touch n

    Thanks for responding. Since I upgraded ITUNES to IOS 6, my IPOD Touch no longer works at all. I had numerous apps, music and videos on this touch. It made me restore to factory reset and it still does not work!!! Nothing I do will work on this touch now. I have so much data on this, I don't want to loose or have to restore!
    Can you help me?
    Thanks

    If you restored to factory settings/new iPod and still have the problem that indicates a hardware problem.
    Make an appointment at the Genius Bar of an Apple store..
    Apple Retail Store - Genius Bar

  • "HP laserjet professional utility" does not work in osx 10 (Yosemite)

    All the major functions of this printer work fine in Yosemite, but not the "HP laserjet professional utility"The driver shown in System Preferences/Printer for my Laserjet P1606dn is version 6.9 (I am unable to knowif this is the version provided by the latest HP printer update, which was installed via the App Store.) I note this exact issue was raised for OSX7 in November 2014, but for a diiferent model printer.  My printer is on my local wifi network, and that earlier case seemed to invove a direct USB connection. The solution offered in that thread, 4694464,may not be applicable now, so I seek advice In the panel for my 1606dn within System Preferences/Printer offers a button to launch the "HP Professional Utility", but when clicked an app launches called the "HP Professional Utility" but then nothing.  I am trying to access the printer controls that will keep it from turning itself off when idle, and the documentation says the "HP Professional Utility" will allow that change. Please advise 

    Hey , Welcome to the HP forums! I hope you enjoy your stay here. I see that you are having some issues with adjusting the power save mode settings on your Laserjet P1606dn. I can help with that. First make sure the printer is plugged directly into a wall outlet and not a surge protector. If the printer is connected with an ethernet cable to a router then you may be able to do this instead:On the printer hold down the button that looks like a sheet of paper with an arrow on it for about ten seconds. This should print out a report.On your Mac open a browser and enter the printer's IP Address in your Address bar exactly as it appears on the page. When you are finished click on enter/return.This will open the printer's Embedded Web Server. In here you may be able to find some options to adjust the power save settings.If the above does not work then this troubleshooting may assist you with the utility:Go to Applications, and if you have it open the Hewlett-Packard folder.Run HP Uninstaller to remove any existing software from you system.On the Mac go to the Apple icon and Sytem Preferences.Open Printers and Scanners.Hold down the Command key and click on the picture of your printer on the left.Click on Reset Printing System.Go to Applications and Utilities.Open Disk Utility.Click on Macintosh HD on the left.Click on Verify Disk Permissions. This should take about ten minutes.Click on Repair Disk Permissions. This should take about ten minutes.Restart your Mac.Plug in the USB cable between the printer and the router.Check for Product Updates on your Mac.Try running the tool again.If this resolves everything please let others know by clicking on Accept as Solution below my post.
    I hope this helps and I hope you have a great day! 

Maybe you are looking for