【发布时间】:2016-06-30 16:13:15
【问题描述】:
我有 JBoss EAP 6.3.0 作为 Windows 2008 服务在 Admin 组的 Active Directory 用户帐户下运行。网络打印机(型号 KONICA MINOLTA 423SeriesPS)通过 RDPing 连接到该用户,使用其帐户,然后通过其\\server\printerName 路径连接到打印机。这台打印机也被设为该用户的默认打印机。然后我启动 JBoss 服务并加载我的应用程序 EAR。它包含一个 WAR 文件,该文件使用 PrintServiceLookup.lookupPrintServices(null, null) 查找打印机。返回的唯一打印机是“Microsoft XPS Document Writer”。怎么了?
更新 我在 Windows 事件查看器中发现了这个错误。似乎不太可能相关,因为在创建该用户和打印机之前有很多这些,但它的价值:
The print spooler failed to load a plug-in module TPVMMon.dll, error code 0x7e See the event user data for context information.
【问题讨论】:
标签: java printing jboss windows-server-2008-r2