Printing from JBOSS (on a windows server as system account) on a mapped (shared) printer (installed as administrator)

Hi,
I have JBOSS running on a Windows Server. Our applications on JBOSS use network printers which are installed on the server for printing purposes. This works fine so far, except for one case for which I ask you for support:
If I map a printer, which is (only) conneted via USB with a PC and shared in the network, the printer is available on the server with JBOSS and can be mapped, BUT JBOSS is not able to see this particular printer and print on it, while the other installed
network printers are available and functional via JBOSS.
My researchs have led to the conclusion, that JBOSS doesn't see this printer, as JBOSS is running unter the SYSTEM account, while the printer was installed with an administrator account. Strangely network printers don't cause this issue.
If I start JBOSS with an administrator account, it can see and use the shared printer. But unfortunately this is not an option, as it causes other issues with our applications.
So the question is: Is there a way to make the printer visible for the SYSTEM account? Or any other suggestions?
Many thanks in advance and best regards,
Amir

simple solution is to install your printers locally rather than connecting to a network resource, locally installed printers have the advantage of being
visible to every user on your system including system accounts. To install a printer locally rather than connecting to a network printer start the "Add Printer Wizard" and select "Local printer attached to this computer"
Best,
Howtodo

Similar Messages

  • Unable to print from the browser, for example: in my amazon account, i am unable to print shipping lable by hitting "print" button. It worked in IE, but not now.

    I used to be able to print from the browser, specifically Amazon...hit print and I would get the print/preview from windows. In IE it worked perfectly, but IE start messing up and grinding to halt, taking MINUTES to load a page, like dial-up!
    Firefox is fast and runs great....just cant PRINT..grr.
    also... noticed that i am unable to read my online paper now. Paper will open, i can read the full page view, but when I try to hit a particular article to enlarge in another popup window, nothing happens. perhaps a security something preventing popups? but there is no option to do otherwise.
    again, was able to read articles in IE.
    Am I missing an add-on?

    I too developed the same problem about 2 weeks ago. First in Safari then Firefox. I have 2 printers, one local and one networked (different brands etc). Neither browser will print ANYTHING from the web to either printer. Jobs are not stuck in queu - goes to printer but just spits out blank paper. Not even email. No pop-ups involved (like the usps site). Not website specific. All other applications on the machine print perfectly to both printers.

  • I am unable to get print from JBoss server

    i am unable to print from JBOss server , but i am abele print from JRun , same code deployed in JBOss , i am getting this error:
    sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: : java.io.FileNotFoundException: http://devuc.corporate.ge.com/ftlt/META-INF/services/javax.print.PrintServiceLookup      at sun.misc.Service.fail(Unknown Source)      at sun.misc.Service.parse(Unknown Source)      at sun.misc.Service.access$100(Unknown Source)      at sun.misc.Service$LazyIterator.hasNext(Unknown Source)      at javax.print.PrintServiceLookup$1.run(Unknown Source)      at java.security.AccessController.doPrivileged(Native Method)      at javax.print.PrintServiceLookup.getAllLookupServices(Unknown Source)      at javax.print.PrintServiceLookup.lookupDefaultPrintService(Unknown Source)      at sun.print.RasterPrinterJob.lookupDefaultPrintService(Unknown Source)      at sun.awt.windows.WPrinterJob.getPrintService(Unknown Source)      at sun.print.RasterPrinterJob.print(Unknown Source)      at sun.print.RasterPrinterJob.print(Unknown Source)      at presentation.BaseFrame.doPrint(BaseFrame.java:1068)      at presentation.MainFrame.JMenuItemPrintDataSet_actionPerformed(MainFrame.java:1368)      at cmpresentation.CMMainFrame.access$33(CMMainFrame.java:1)      at cmpresentation.CMMainFrame$SymAction.actionPerformed(CMMainFrame.java:850)      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)      at javax.swing.AbstractButton.doClick(Unknown Source)      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)      at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)      at java.awt.Component.processMouseEvent(Unknown Source)      at java.awt.Component.processEvent(Unknown Source)      at java.awt.Container.processEvent(Unknown Source)      at java.awt.Component.dispatchEventImpl(Unknown Source)      at java.awt.Container.dispatchEventImpl(Unknown Source)      at java.awt.Component.dispatchEvent(Unknown Source)      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)      at java.awt.Container.dispatchEventImpl(Unknown Source)      at java.awt.Window.dispatchEventImpl(Unknown Source)      at java.awt.Component.dispatchEvent(Unknown Source)      at java.awt.EventQueue.dispatchEvent(Unknown Source)      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)      at java.awt.EventDispatchThread.run(Unknown Source)
    can anybody help on this
    Message was edited by:
    ravindar_reddy

    no , i am tring to print some data form swing component
    that time i am getting this error

  • Can't print from iBook G4 via Windows XP to an HP PSC 1410

    Hello,
    I realize this question is very similar to others on this discussion but I haven't been able to find an answer to my problem.
    I cannot print from my iBook via XP to an HP PSC 1410.
    I can print from my iBook via XP to an HP LaserJet 4L.
    I was able to print from my iBook via XP to an HP882C that was connected
    to the same USB port that the HP PSC 1410 is connected to now.
    I have an iBook G4 running 10.4.3
    I have a PC running XP with an HP LaserJet 4L on a parallel port and an HP PSC 1410 on a USB port.
    I installed the following from http://www.linuxprinting.org/macosx/hpijs/
    hpijs-foomatic-2.02.ppc.dmg
    espgs-7.07.1.ppc.dmg
    HP-PSC_1400-hpijs.ppd
    I think I correctly followed the instructions at:
    http://www.ifelix.co.uk/tech/3015.html
    They worked for the LaserJet printer.
    When I attempt to print from the iBook to the 1410 the HP doesn't print at all.
    I don't see any error messages on the iBook. The document gets spooled onto the Windows print spooler, the printer even starts making noises, the print heads move about a bit and then stop. The print job just sits there in the queue with a status of "Printing". The print job is then stuck and hard to delete.
    I don't need to be able to scan or check ink levels from the iBook.
    I would just like to be able to do color printing.
    What else should I try? Given the symptoms where might I be going wrong?
    Any suggestions would be appreciated.
    iBook G4   Mac OS X (10.4.3)   1 Gig RAM

    I found the answer to this problem on Linux printing provided by Steve Stuart.
    Dave
    Steve Stuart wrote at: http://www.linuxprinting.org/forums.cgigroup=linuxprinting.macosx.general;articl e=1446
    Hi all,
    I finally figured out what the issue was, Why it fixes it I can not say,
    but it does.
    On the Shared printer on the Windows side, go to the properties of the Printer.
    Go to the Ports tab, and deselect the "Enable bidirectional Support" (do not
    have it checked). Once this is done and you also do not have any firewalls
    setup on the Windows machine (Windows, MCAfee, Norton, ....). You should be
    able to print.
    Finally!!!!! I hope this helps many many people. As I have had many
    people asking for the solution if I found it.
    Thanks,
    Steven Stuart

  • Migrating from SBS 2011 to Windows Server 2012R2 Standard with 365

    Im looking to move SBS 2011 to Server 2012R2 standard and with a 365 migration as well.
    Im thinking
    BPA for AD (health check)
    Add the Server2012R2 as a DC
    Ensure replication
    Move DHCP
    Change DNS
    Now this is where I get lost, now Im lost to use either dirsync or add essentials service, I have gone for standard and 30 cals with the option  as I have 28 users and the essentials service would make everything quite nice for remote access and backups
    etc....  however I don't know whether to just use dirsync with password replication instead ?
    Currently Im aiming towards getting the dc up and running then enabling essentials on the dc but I dont know how it will effect SBS and having essentials on the same network and sync'ing people to the cloud ? So Should I use DirSync on a different server
    instead to sync up to azure ?
    Finally with 365 I have only ever done a migration involving an export of pst's from an exchange box and then on a new domain with new pc's and reimport the pst's on the user accounts in outlook.
    However I have read when migrating to 365 was using exchange 2010 there was a application
    to move everything across however you needed an ssl cert iirc ? so I dont know how it works now since the nice new dashboard upgrade (assuming the tool has been updated like dirsync)
    along with the above how does AD now know where exahcnge if you use the migration app with an ssl cert and is it a case of still running the 365 config tool to configure each user to look at their mail in the
    cloud ? Also is it a good idea to enable essentials from the start of the 2012r2 dc for replication top 365 or to use dirsync ?
    then finally when replications is all good start transferring the FSMO roles over to the new DC and demote and remove the SBS server
    I have seen (below) but i dont think it covers this scenario and I cant be the only person in this situation =\ ?
    http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
    http://social.technet.microsoft.com/Forums/en-US/f552ef12-07a9-4f7a-bf5e-24500c3e1dc3/migrate-sbs-2011-to-server-2012-standard?forum=smallbusinessserver
    http://social.technet.microsoft.com/Forums/en-US/e1d4b09f-8857-4ef6-9a80-6a906e76b688/how-to-migrate-sbs-2011-to-standard-2012-server?forum=smallbusinessserver

    Hi,
    Would you please let us know current situation of this issue? If any update, please feel free to let us know.
    à
    Currently Im aiming towards getting the dc up and running then enabling essentials on the dc but I dont know how it will effect SBS and having essentials on the same network
    and sync'ing people to the cloud?
    I’m a little confused with the description. Did you mean that set up DC (Windows Server 2012 Standard) and
    then install the Windows Server Essentials Experience role? If so, when you migrate, please refer to the article:
    Migrate from Previous Versions to Windows Server 2012 R2 Essentials or Windows Server Essentials Experience
    Regarding to migrate Exchange to Office 365, please refer to following articles.
    Migrate
    All Mailboxes to the Cloud with a Cutover Exchange Migration
    Step-By-Step:
    Migrating from Exchange 2007 to Office 365
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    Meanwhile, there is an additional article that you can refer to:
    Manage Office 365 in Windows Server Essentials. It may help us to understand Office 365 in Server Essentials clearly.
    If anything I misunderstand, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Just purchased HP 8610 printer, but it won't print from my 8.1 windows computer

    just purchased HP 8610 printer, installed it wirelessly to my network but it won't print from my 8.1 windows computer.  I can print from my cell phone and I can print using the eprint function, but even though I can see it on the network I can't get it to print a document.

    Hi,
    Have you ilstalled it software and drivers on your computer yet ? Please download and run the following tool:
        http://ftp.hp.com/pub/softlib/software12/COL50849/​mp-136589-1/HPPSdr.exe
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can I print from my iPad through my Mac Book Pro which is connected to a printer?  I was told I could do this.

    How can I print from my iPad through my Mac Book Pro which is connected to a printer?  I was told I could do this when the iPad and Mac Book Pro are synched together.

    Antique lady wrote:
    So If I download Printopia on my Mac Book Pro, do I go to iTunes to somehow connect the computer and the iPad? 
    No.
    Printopia (running on your Mac) connects the iPad to your printer.

  • Photoshop suddenly does not print to Epson 3880 - PROBLEM: Cannot print from Photoshop  After restart error message appears:  - "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopen

    PROBLEM: Cannot print from Photoshop
    After restart error message appears:
    — “There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents.”
    • All print commands are greyed out and unavailable — even to call up the printer commands cannot be done.
    The printer printed fine until about 2 weeks ago when this error message appeared.  Printing continues from Pages, I-photo, preview etc. —  only Photoshop fails.
    The printer has been turned on and off, as have open documents been closed and open etc..   Preferences reset.  Repeatedly I have read through blogs and forums and attempted to contact Adobe — all without results
    Epson support struggled to find reason and several solutions were tried and they assume this is an Adobe problem.
    Running Mac Powerbook X 10.10.2 / Photoshop CS6 13.0.6.x64
    Attempting unsuccessfully to print to Epson 3880
    What Adobe support will be of help.
    Robert Darling —  2/19, 20, 21,22,23/2015

    Probably best to ask in Photoshop General Discussion
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How come when I try to print from my iPad for example Tim Horton's WiFi to mu home Airprint printer it does not work.

    How come when I try to print from my iPad for example Tim Horton's WiFi to mu home Airprint printer it does not work.

    The Airprint printer must be on the same local network (LAN) for Airprint to work. You cannot print to your home printer using the WiFi at Tim Horton's.
    See: http://support.apple.com/kb/ht4356

  • I can print from my ipad but what prompt do I use if there's no 'print' option on page?

    I'm set up and can print from my ipad but what key do I use if there's no 'print' option on a web page?

    Use the little icon that looks like a curved arrow in a box.  That should bring up a Print menu, among other things.

  • System Center Management Pack for Windows Server Operating System not available

    Hi,
    i have problems to download the updated version of the System Center Management Pack for Windows Server Operating System.
    Here is a link that says that this MP was updated some days before but the download link is broken:
    http://www.microsoft.com/germany/technet/aktuell/news/show.aspx?id=msdn_de_56942
    http://www.microsoft.com/en-us/download/details.aspx?id=9296&WT.mc_id=rss_alldownloads_all
    If i try download this MP through the SCOM 2012 Console i get also an download error.
    Can you help me?
    Thanks

    Hi,
    Don't import the MP, there is a bug in the MP
    https://nocentdocent.wordpress.com/2015/01/13/scom-os-mp-6-0-7294-0-serious-flaw/
    http://thoughtsonopsmgr.blogspot.dk/2015/01/warning-dont-update-to-latest-windows.html
    http://kevingreeneitblog.blogspot.dk/2015/01/scom-new-windows-server-os-management.html
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Can"t print from iBook G4 to windows HP890c Printer

    I have been trying to print from an apple iBook G4 to a HP 890c Windows printer. I can see the 3 pc's in the workgroup from the apple and can file share with them but cannot print. I can install the HP 890C in windows printing using the dialog boxes but I get the NTStatus_BadName error when attempting to print.
    Which computer do you download and install the hpijs and the ESP ghostscript? I imagine its to the PC which the printers are attached but want to verify.
    Also, even though I added the iBook G4 to the workgroup, it does not show up. It does show up with servers. I cannot see the ibook from any of thje PC workgroup computers. Could this be part of my path problem.

    hpijs and ESP ghostscript are for OS X. But, you have a network-capable driver (Deskjet 890C, Gimp-Print) already included in OS X. Your problem appears to be in the Windows sharing (Samba=smb) system.
    Try adding the printer using the advanced windows printing method: After clicking add, Hold down option key and click More Printers. Select Advanced at the bottom of the first menu. Select Windows Printing via Samba (I think that's what it says). Enter the URI like this:
    smb://[IP address of server]/[printer share name from Windows]

  • Windows Server 2012 Standard - HP OfficeJet Pro 8600 Plus printer not working after promoting to Domain Controller / AD Services

    An associate and myself installed the built-in drivers for the HP OfficeJet Pro 8600 Plus multi-function (network) printer on a Windows Server 2012 Standard server installation and everything worked fine whenever I want to print anything directly from the
    Windows Server machine (there's a reason for this, so please understand that ;)  ).
    We were able to print without any problems from the Windows Server 2012 machine, using the drivers from Microsoft.  Mainly, because HP has not listed any specific support for Windows Server 2012, only Windows Server 2008 R2, however, the drivers that
    came with Windows 2012 seem to work very well.
    PROBLEM: I later had to promote the Windows Server 2012 to a Domain Controller, and created the Active Directory configurations, even enabled the Print Services.  After doing all of that, the HP printer will not print anything.  It's like all print
    requests directly from the Windows Server go to Nil.
    Has anyone encountered a problem like this before? The only thing I can think of is that after perhaps something affected printing directly once we promoted the server to being a DC, and added other features / roles.  I even tried installing the
    HP drivers for Windows Server 2008 R2, and the results are still the same...nothing prints.  Trust me, the printer is set as the Default Printer and even when choosing to print, we make sure the HP OfficeJet Pro is selected, and is on, as other Windows
    Client PC's can print to it directly.
    Does anyone have any suggestions we could try?  Thanks in advance.

    While it is quite a while since this was posted - I can concur a similar issue exists.
    We have spent the better part of a day trying to work out why other HP printers work fine but our 8620 prints are not printing and going to Nil.  The print server is hosted on a shared DC.  Comparing to the initial posters details, for some reason
    it seems to be most commonly related to the OfficeJet Pro 8600/8610/8620/8630 series printers.
    I ended up doing a print server migration from the domain controller to stand alone host and all printers now work from a single server rather than a mix.  Domain controller OSes varied from 2008, 2012, 2012 R2 (tested with multiple) and only after
    all of those failed then tried a stand alone server os machine as a last resort which worked fine.  Printing directly from Win 7 / 8 /8.1 clients to the IP always worked.

  • Send direct print to printer from client, Reports 10G, Windows environment,

    We are using windows 2003 based server. Oracle Form and Report Services . Database 10g . Reports 10G.
    Trying to send direct print to printer from client side using Destination Parameter : Printer.
    I am getting output in pdf at client side. but direct print to printer is failed.

    Make sure that the client printer is also known on the application server, since that is where the print job is generated.

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

Maybe you are looking for

  • Web Start and Web Application

    I have a scenario as given below. I have a Central Server hosting a web application(JSPs, jars) in Jetty 6.0.0. I have many branch servers having Jetty 6.0.0 installed and the web application deployed. Now, I want to update the web application on all

  • ** 911 ** Cannot connect to oracle 9i database No suitable Driver

    All: Any help rendered would be appreciated. (jdk 1.4.2_06, Tomcat 4.0, Oracle DB 9i Windows XP) I have a web app (Jasper report tool) and I cannot connect to a Oracle 9i database. 1)error received: "Apr 2, 2007 2:05:15 PM com.entDB.Enterprise_db con

  • Signing in to bt fon

    Hi, I can sign in to bt fon with no problem, what I would like to know is can sub account users sign in with their email address or is it only the main account email Solved! Go to Solution.

  • Truncated custom labels in Address Book problem

    When I create a custom label for telephone numbers in Address Book, for eg I change "mobile" to "work mobile", only the first eight or nine characters of this are displayed. The remainder of the label is truncated to ... regardless of the size of the

  • Video converter/burning software...

    What is recommended to prep MP4 to burn to DVD? I have a few MP4 movies I'd like to put on DVD for my grandsons. I have "Burn" but only works on my DVD player on the computer and a few select external DVD players. I just downloaded DVD Cloner but tha