Printer Error ..

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Printer Error ..

nachi19
Hi all,
    I am trying to take the print out of the order from the find orders screen of ordermgr part..
when i select the orders and select the print from the drop down list correspondingly in another drop down the list of printers are listed when i select the printer and press on the run action button i get a error message in the log that no printers found with the name.. all the printers are connected to the server and shared .. this is what the i got in the log..


---- exception report ----------------------------------------------------------
Invalid URI for printer [\\SERVER\HP]
Exception: java.net.URISyntaxException
Message: Illegal character in path at index 0: \\SERVER\HP
---- stack trace ---------------------------------------------------------------
java.net.URISyntaxException: Illegal character in path at index 0: \\SERVER\HP
java.net.URI$Parser.fail(Unknown Source)
java.net.URI$Parser.checkChars(Unknown Source)
java.net.URI$Parser.parseHierarchical(Unknown Source)
java.net.URI$Parser.parse(Unknown Source)
java.net.URI.<init>(Unknown Source)
org.ofbiz.content.output.OutputServices.sendPrintFromScreen(OutputServices.java:158)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:97)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:371)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:206)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2009-03-01 01:52:39,937 (default-invoker-Thread-6) [     OutputServices.java:192:ERROR] No printer found with name: \\SERVER\HP
2009-03-01 01:52:39,984 (default-invoker-Thread-6) [  ServiceDispatcher.java:510:ERROR] Error in Service [sendPrintFromScreen]: No printer found with na
2009-03-01 01:52:39,984 (default-invoker-Thread-6) [    TransactionUtil.java:259:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:240)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:514)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:206)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2009-03-01 01:52:39,984 (default-invoker-Thread-6) [    TransactionUtil.java:269:INFO ] [TransactionUtil.rollback] transaction rolled back
2009-03-01 01:52:39,984 (default-invoker-Thread-6) [  GenericServiceJob.java:117:ERROR]
---- exception report ----------------------------------------------------------
Async-Service failed.
Exception: java.lang.Exception
Message: No printer found with name: \\SERVER\HP
---- stack trace ---------------------------------------------------------------
java.lang.Exception: No printer found with name: \\SERVER\HP
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:76)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2009-03-01 01:52:39,984 (default-invoker-Thread-6) [PersistedServiceJob.java:203:WARN ] Persisted Job [10502] Failed - Max Retry Hit; not re-scheduling
2009-03-01 01:52:40,328 (default-invoker-Thread-8) [     OutputServices.java:162:WARN ]
---- exception report ----------------------------------------------------------
Invalid URI for printer [\\SERVER\HP]
Exception: java.net.URISyntaxException
Message: Illegal character in path at index 0: \\SERVER\HP
---- stack trace ---------------------------------------------------------------
java.net.URISyntaxException: Illegal character in path at index 0: \\SERVER\HP
java.net.URI$Parser.fail(Unknown Source)
java.net.URI$Parser.checkChars(Unknown Source)
java.net.URI$Parser.parseHierarchical(Unknown Source)
java.net.URI$Parser.parse(Unknown Source)
java.net.URI.<init>(Unknown Source)
org.ofbiz.content.output.OutputServices.sendPrintFromScreen(OutputServices.java:158)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:97)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:371)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:206)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2009-03-01 01:52:40,328 (default-invoker-Thread-8) [     OutputServices.java:192:ERROR] No printer found with name: \\SERVER\HP
2009-03-01 01:52:40,328 (default-invoker-Thread-8) [  ServiceDispatcher.java:510:ERROR] Error in Service [sendPrintFromScreen]: No printer found with na
2009-03-01 01:52:40,328 (default-invoker-Thread-8) [    TransactionUtil.java:259:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:240)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:514)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:206)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2009-03-01 01:52:40,328 (default-invoker-Thread-8) [    TransactionUtil.java:269:INFO ] [TransactionUtil.rollback] transaction rolled back
2009-03-01 01:52:40,328 (default-invoker-Thread-8) [  GenericServiceJob.java:117:ERROR]
---- exception report ----------------------------------------------------------
Async-Service failed.
Exception: java.lang.Exception
Message: No printer found with name: \\SERVER\HP
---- stack trace ---------------------------------------------------------------
java.lang.Exception: No printer found with name: \\SERVER\HP
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:76)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2009-03-01 01:52:40,328 (default-invoker-Thread-8) [PersistedServiceJob.java:203:WARN ] Persisted Job [10503] Failed - Max Retry Hit; not re-scheduling