Applet starting to give 'No print service found' exception !!
My applet access the local default printer on the client. We moved to 1.4.2_08 recenlty and i am using the AccessController class inside the applet to access the local printer...It was working the last time we tested but today it started giving this problem ...
java.lang.RuntimeException: java.io.IOException: Unable to print: java.awt.print.PrinterException: No print service found.
at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
at org.apache.xalan.transformer.TrAXFilter.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at PrintApplet$2.run(PrintApplet.java:215)
at java.security.AccessController.doPrivileged(Native Method)
at PrintApplet.callMeSucker(PrintApplet.java:201)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
sun.plugin.javascript.invoke.JSInvoke.invoke(UMethod called from javascript?
Signing applets:
http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
second post and reply 18 for the java class file using doprivileged
http://forum.java.sun.com/thread.jsp?forum=63&thread=409341
4th post explaining how to set up your own policy with your own keystore
Still problems?
A Full trace might help us out:
http://forum.java.sun.com/thread.jspa?threadID=656028
Similar Messages
-
After turning <applet> tag into <object> tag, no print service found. How to figure out the problem? Thanks
Sorry for the other post (really bad mood).
Try to sign the applet or change the java.policy (set allpermission for all code and test it).
In IE you can change msjvm security settings and this will change the way an applet behaves.
SUN jre has a different setup, you either sign the applel or contact the sys admin
of your consumer and ask them to change java.policy for your applet.
Signing applets:
http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
second post and last post for the java class file using doprivileged -
Not able to start the remote server - class not found exception
All,
I am quite new to RMI programming, although i am an experienced java programmer. I am facing a problem in starting the remote server program which i wrote for RMI. I am getting class not found exception for "stub" class eventhough the class is in the classpath.
Following is the error console:
cmd> java -classpath "D:\Eclipse_WorkSpaces\WS2\RMITests\classes" MyServerImplementation
GetNames error: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at MyServerImplementation.main(MyServerImplementation.java:21)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: MyServerImplementation_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:434)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
... 12 morePLEASE ADVISE HOW TO RESOLVE THIS...
Following are my classes:
MyRemoteInterface.java
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface MyRemoteInterface extends Remote {
public String[] getNames() throws RemoteException;
public class MyServerImplementation extends UnicastRemoteObject implements
MyRemoteInterface {
public MyServerImplementation()throws RemoteException{
super();
public String[] getNames() throws RemoteException{
return new String[]{"Name1","Name2","Name3","Name4"};
public static void main(String args[]) {
try {
// Create an object of the HelloWorldServer class.
MyRemoteInterface obj = new MyServerImplementation();
// Bind this object instance to the name "HelloServer".
Naming.rebind("rmi://localhost:1985/GetNames", obj);
System.out.println("GetNames bound in registry");
catch (Exception e) {
System.out.println("GetNames error: " + e.getMessage());
e.printStackTrace();
public class MyRMIClient {
*@param args*
public static void main(String[] args) {
try {
MyRemoteInterface remObj = (MyRemoteInterface) Naming.lookup("rmi://localhost:1985/GetNames");
System.out.println("Names are "+remObj.getNames());
catch(Exception e) {
System.out.println("Problem encountered accessing remote object "+e);
}That's a remote exception coming from the registry. You need to learn to recognize remote exceptions and their source, it's a mjaor source of confusion in RMI.
In this case it's the registry that can't find the stub class.
The stub class needs to be in the CLASSPATH of (i) the Registry and (ii) the client as well. Ditto the remote interface; ditto any application classes it refers to, and so on until closure.
The easiest way to achieve (i) is to start it in the server's JVM, with LocateRegistry.createRegistry(). -
Printers showing up after Printer Service has been stop or printers deleted
I started setting up the Print service on one of our Mac OS X.5 Servers.
Very simple to do.
At the printer configure and disable all sharing options mDNS, AppleTalk or EtherTalk...
On the server add the printer via IP address and select the correct PPD. In my case I have a couple of the same printer and wanted to setup a print center in a lab. So I disabled all sharing protocols on the server for each printer and then created a Printer Pool...
For some reason the particle printers weren't adding correctly to the clients so I deleted the printers and the pool (not sure in what order I did this).
Now on the client I can still see the Printer Pool and one of the printers from the server even when the service is disabled. The only way they disappear is when I shut the server down or pull it offline.
I found a website that describes this and how to fix it but it's based on Mac OS X.3.x. There must be more steps on Mac OS X.5?
http://macos-x-server.com/wiki/index.php?title=Myprint_queues_behave_erratically,_how_do_I_start_over_and_clear_out_the_oldqueues%3FI observed the very same behaviour. One more reason not to use Apple's built-in print service.
Try deleting /System/Library/LaunchDaemons/com.apple.printserviceLPR_mDNSxxxxxxx.plist (where xxxxxxx is the name of the print-queue) and restart the server.
Regards
Michael -
Hello Everyone,
I am trying to print an image from from a jdialog . It compiles fine but when I try to run, the print dialog box appears from where I can choose a printer. But after that, nothing is printed. I tried to log the error and this is what I found:
java.awt.print.PrinterException: No print service found
Can anyone help me with this?
Thanks,
Riddhi.HI:
I am trying to print an image from a printDialog . It compiles fine but when I try to run, the print dialog box appears from where I can choose a printer. But after that, nothing is printed. I tried to log the error and this is what I found:
java.awt.print.PrinterException: No print service found
The console show me this error :
java.awt.print.PrinterException: No print service found.
at sun.print.RasterPrinterJob.print(Unknown Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at PrinterGUI.printMyJob(PrinterGUI.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
I found this fix BUG ID: 5024816 and Related Bugs 4930594 but my problem continue.
Can anyone help me with this? -
No Data Found: Exception in SQL inside PL/SQL block
Hi Friends
I am trying to execute an SQL SELECT stmt inside a PL/SQL block. But when i execute the procedure, it gives me No Data Found Exception.
I know it is because no row is fetched in the query, but the condition of the SELECT query i have specified is being satisfied, i have checked it by running it on the SQL prompt.
But somehow, it is not running from inside the PL/SQL procedure.Can anybody help me out on this as to why is this happening?? I am giving my code for reference and have Highlighted the Query inside it:
CREATE OR REPLACE procedure insert_sfdc_account
as
--DECLARE
CURSOR C1 IS
SELECT customer_code, name1, name2, name3, name4, phone_number, fax, web_address, industry_sector, customer_profile, customer_type,
address, city, postal_code, country_key, zzcust_type, vat_code
FROM load_cust_general
WHERE account_group = 'ZSIT';
v_cust_cur c1%ROWTYPE;
-- type sales_tab is table of load_cust_sales_area%rowtype;
v_sales_area load_cust_sales_area%ROWTYPE;
-- v_sales_area sales_tab;
v_salesorg varchar2(10);
v_sales_district varchar2(10);
v_salesoff varchar2(10);
v_custgrp varchar2(10);
v_salesgrp varchar2(10);
v_type varchar2(20);
v_nature varchar2(10);
v_partner_code varchar2(10);
v_parent_cust varchar2(20);
v_credit_blk varchar2(20);
BEGIN
open c1;
loop
fetch c1 into v_cust_cur;
exit when c1%NOTFOUND;
for i in (SELECT customer_code, salesorg from load_cust_partner
where customer_code = v_cust_cur.customer_code ) LOOP
dbms_output.put_line(v_cust_cur.customer_code );
SELECT partner_code into v_partner_code from load_cust_partner
where customer_code = i.customer_code and salesorg = i.salesorg and partner_function = 'Z1';
dbms_output.put_line(v_partner_code||i.customer_code);
SELECT salesorg, sales_district, salesoff, salesgrp, custgrp INTO v_salesorg, v_sales_district, v_salesoff, v_salesgrp, v_custgrp FROM load_cust_sales_area
WHERE customer_code = i.customer_code and salesorg = i.salesorg;
dbms_output.put_line(v_salesorg||i.salesorg);
SELECT parent_customer INTO v_parent_cust from load_cust_hierarchy
WHERE customer_code = i.customer_code and salesorg = i.salesorg and hierarchy_type = 'G'; dbms_output.put_line(v_parent_cust);
SELECT credit_block INTO v_credit_blk from load_cust_company_cod
WHERE customer_code = i.customer_code;
dbms_output.put_line(v_credit_blk);
for j in (SELECT account_group, customer_type from load_cust_general
where customer_code IN (select customer_code from load_cust_partner
where partner_code = i.customer_code and salesorg = i.salesorg and partner_function = 'ZS'))
LOOP
-- exit when j%NOTFOUND;
dbms_output.put_line(j.account_group);
if (j.account_group = 'ZDIS') THEN
v_type := 'DISAC';
v_nature := '06';
-- EXIT ;
else
v_type := 'SPACC';
v_nature := '01';
END IF;
dbms_output.put_line(v_type||' '||v_nature);
END LOOP;
INSERT INTO sfdc_account
(SAP_ACCOUNT_ID__C, NAME, TYPE, RECORDTYPEID, PARENTID, PHONE, FAX, WEBSITE, OWNERID, MARKETING_DOMAIN__C,
INDUSTRIAL_SECTOR__C, ABC_CLASSIFICATION__C, NAME_1__C, NAME_2__C, NAME_3__C, NAME_4__C, PAYMENT_STATUS__C,
CUSTOMER_GROUP__C, ADDRESS_STREET__C, CITY__C, POSTAL_CODE__C, COUNTRY__C, SALES_OFFICE__C, SALESORG__C,
SALESDISTRICT__C, SALESGROUP__C, NATURE__C, VATCODE__C)
VALUES((i.customer_code||i.salesorg), (v_cust_cur.Name1||' '||v_cust_cur.name2), ' ', v_type, v_parent_cust,
v_cust_cur.phone_number, v_cust_cur.fax, v_cust_cur.web_address, v_partner_code, SUBSTR(v_cust_cur.industry_sector,1,2),
v_cust_cur.industry_sector, v_cust_cur.customer_profile, v_cust_cur.name1, v_cust_cur.name2, v_cust_cur.name3,
v_cust_cur.name4, v_credit_blk, v_custgrp, v_cust_cur.address, v_cust_cur.city, v_cust_cur.postal_code,
v_cust_cur.country_key, v_salesoff, v_salesorg, v_sales_district,
v_salesgrp, v_nature, v_cust_cur.vat_code);
end loop;
end loop;
CLOSE c1;
-- Delete data from Load Table
-- EXECUTE IMMEDIATE 'TRUNCATE TABLE load_cust_general';
/* truncate table load_cust_partner;
truncate table load_cust_hierarhy;
truncate table load_cust_sales_area;
truncate table load_cust_company_cod;
commit;
exception
when others then
raise_application_error( -20001, substr( sqlerrm, 1, 150 ) );
END;
Kindly Help.....
Thanks and RegardsCreate the procedure again and execute it in SQL*Plus environment and paste the output:
CREATE OR REPLACE procedure insert_sfdc_account
as
--DECLARE
CURSOR C1 IS
SELECT customer_code, name1, name2, name3, name4, phone_number, fax, web_address, industry_sector, customer_profile, customer_type,
address, city, postal_code, country_key, zzcust_type, vat_code
FROM load_cust_general
WHERE account_group = 'ZSIT';
v_cust_cur c1%ROWTYPE;
-- type sales_tab is table of load_cust_sales_area%rowtype;
v_sales_area load_cust_sales_area%ROWTYPE;
-- v_sales_area sales_tab;
v_salesorg varchar2(10);
v_sales_district varchar2(10);
v_salesoff varchar2(10);
v_custgrp varchar2(10);
v_salesgrp varchar2(10);
v_type varchar2(20);
v_nature varchar2(10);
v_partner_code varchar2(10);
v_parent_cust varchar2(20);
v_credit_blk varchar2(20);
BEGIN
open c1;
loop
fetch c1 into v_cust_cur;
exit when c1%NOTFOUND;
for i in (SELECT customer_code, salesorg from load_cust_partner
where customer_code = v_cust_cur.customer_code ) LOOP
SELECT partner_code into v_partner_code from load_cust_partner
where customer_code = i.customer_code and salesorg = i.salesorg and partner_function = 'Z1';
SELECT salesorg, sales_district, salesoff, salesgrp, custgrp INTO v_salesorg, v_sales_district, v_salesoff, v_salesgrp, v_custgrp FROM load_cust_sales_area
WHERE customer_code = i.customer_code and salesorg = i.salesorg;
dbms_output.put_line('Customer_Code : '|| i.customer_code);
dbms_output.put_line('SalesOrg : '|| i.salesorg);
SELECT parent_customer INTO v_parent_cust from load_cust_hierarchy
WHERE customer_code = i.customer_code and salesorg = i.salesorg and hierarchy_type = 'G';
dbms_output.put_line('Successfully Executed SQL st. Error is somewhere else');
SELECT credit_block INTO v_credit_blk from load_cust_company_cod
WHERE customer_code = i.customer_code;
for j in (SELECT account_group, customer_type from load_cust_general
where customer_code IN (select customer_code from load_cust_partner
where partner_code = i.customer_code and salesorg = i.salesorg and partner_function = 'ZS'))
LOOP
-- exit when j%NOTFOUND;
if (j.account_group = 'ZDIS') THEN
v_type := 'DISAC';
v_nature := '06';
-- EXIT ;
else
v_type := 'SPACC';
v_nature := '01';
END IF;
END LOOP;
INSERT INTO sfdc_account
(SAP_ACCOUNT_ID__C, NAME, TYPE, RECORDTYPEID, PARENTID, PHONE, FAX, WEBSITE, OWNERID, MARKETING_DOMAIN__C,
INDUSTRIAL_SECTOR__C, ABC_CLASSIFICATION__C, NAME_1__C, NAME_2__C, NAME_3__C, NAME_4__C, PAYMENT_STATUS__C,
CUSTOMER_GROUP__C, ADDRESS_STREET__C, CITY__C, POSTAL_CODE__C, COUNTRY__C, SALES_OFFICE__C, SALESORG__C,
SALESDISTRICT__C, SALESGROUP__C, NATURE__C, VATCODE__C)
VALUES((i.customer_code||i.salesorg), (v_cust_cur.Name1||' '||v_cust_cur.name2), ' ', v_type, v_parent_cust,
v_cust_cur.phone_number, v_cust_cur.fax, v_cust_cur.web_address, v_partner_code, SUBSTR(v_cust_cur.industry_sector,1,2),
v_cust_cur.industry_sector, v_cust_cur.customer_profile, v_cust_cur.name1, v_cust_cur.name2, v_cust_cur.name3,
v_cust_cur.name4, v_credit_blk, v_custgrp, v_cust_cur.address, v_cust_cur.city, v_cust_cur.postal_code,
v_cust_cur.country_key, v_salesoff, v_salesorg, v_sales_district,
v_salesgrp, v_nature, v_cust_cur.vat_code);
end loop;
end loop;
CLOSE c1;
-- Delete data from Load Table
-- EXECUTE IMMEDIATE 'TRUNCATE TABLE load_cust_general';
/* truncate table load_cust_partner;
truncate table load_cust_hierarhy;
truncate table load_cust_sales_area;
truncate table load_cust_company_cod;
commit;
exception
when others then
raise_application_error( -20001, substr( sqlerrm, 1, 150 ) );
END;
SQL> set serveroutput on
SQL> exec insert_sfdc_account; -
Normal update of iTunes to 11.1.4 fails. Suggests installing from web site
I install from iTunes.com. Install issues the messages:
Service "Apple Mobile Device' failed to start.
Verify that you have sufficient privileges to start system services
I do have necessary privilegs. I hit ignore. See window with successful install come up and finish with launch. I get the messages:
iTunes was not installed correctly.
Please reinstall iTunes
Error 7 (Windows error 126)
Tring to start iTunes from desktop gives:
This application failed to start because MSVCR80.dll was not found
Re-installing the application may fix the problem.
Further repair or remove/reinstall does not fix the problem (including after reboot)
Thie is the first time this has happened. I'm not sure where to go from here
Thanks for any help.Earlier suggestion worked. That is, Use software add/remove to delete all 5 iTunes applications:
Apple Application Support
Apple Mobile Device Support
Aple Sortware Update
Bonjour
iTunes
Reboot and install/ -
I think am facing the same situation as in this old forum post:
Error(1042006) Network error [10048]: Unable to connect
I tried to increase the Heap size of print Server (HyS9FRPrint) in registry to Xmx - 2048 MB and Xmx 2048 MB. After this I'm not able to start the PRINT SERVICE.
PATH: HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\Hyperion Reports\HyS9FRPrint: Xmx2048m and Xms2048m.
When I modify the Heap setting to Xmx1538m and Xms1024m, I'm able to start the print service.
Messages recorded in the EVENT viewer is copied below:
======================================================================================================================
The description for Event ID ( 0 ) in Source ( HyS9FRPrint ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Could not initialize the Java Virtual Machine..
======================================================================================================================
Could you please let me know if I have missed any thing in increasing the heap size tp 2048mb. Is there any particular steps for the same?
Thanks,
Vinay.It is 32bit windows process so maximum you will provably get it to set the JVM to around 1.6GB which you have already found, setting it any bigger and it wont start.
Cheers
John
http://john-goodwin.blogspot.com/ -
Hyperion Financial Reporting-Print Service is not Starting-11.1.2.1
Hi,
We are using Hyperion 11.1.2.1 and when i look at my Hyperion Financial Reporting-Print service it shows me at stopping and when i right click to stop/start it the options are greyed out.
I have completely stopped all the hyperion services and started them again and now the HFR Print service is showing me as Starting.
Kindly help me what should i do to resolve this issue.
You can see the screen shot at my blog.
http://hyperion-consulting.blogspot.in/2012/08/hi-we-are-using-hyperion-11.html
Regards,
AS
Edited by: Don'tKnow999 on Aug 30, 2012 9:52 PMHi John,
Thanks a lot for your reply. I saw the log file however i am not able to understand where the issue lies. Can you kindly hlep me out. Below is the FRPrintLogging.log
[2012-08-31T02:42:54.565-04:00] [EPMFR] [ERROR] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vQRewCSs85njp2iZ1GG5mQ000000,0] [SRC_CLASS: com.hyperion.reporting.registry.FRSystem] [SRC_METHOD: lookupHsServer] [[
com.hyperion.reporting.util.HyperionReportException: Could not connect to the server.
Please make sure that the server is running as specified in the logon dialog (including port number if not default).
at com.hyperion.reporting.registry.FRSystem.lookupHsServer(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getFRConfig(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getString(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.initSocketFactory(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.<clinit>(Unknown Source)
at com.hyperion.reporting.util.FRRemoteObject.<init>(Unknown Source)
at com.hyperion.reporting.printserver.PrintServer.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.main(Unknown Source)
[2012-08-31T02:42:54.565-04:00] [EPMFR] [WARNING] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vQRewCSs85njp2iZ1GG5mQ000000,0] [SRC_CLASS: com.hyperion.reporting.config.FRConfig] [SRC_METHOD: getFRConfig] [[
java.lang.NullPointerException
at com.hyperion.reporting.config.FRConfig.getFRConfig(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getString(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.initSocketFactory(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.<clinit>(Unknown Source)
at com.hyperion.reporting.util.FRRemoteObject.<init>(Unknown Source)
at com.hyperion.reporting.printserver.PrintServer.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.main(Unknown Source)
[2012-08-31T03:12:21.914-04:00] [EPMFR] [NOTIFICATION] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vXVlrCSs85njp2iZ1GG6FM000000,0] [SRC_CLASS: com.hyperion.reporting.printserver.StandalonePrintServerLauncher] [SRC_METHOD: <init>] Oracle Workspace
[2012-08-31T03:12:22.198-04:00] [EPMFR] [NOTIFICATION] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vXVlrCSs85njp2iZ1GG6FM000000,0] [SRC_CLASS: com.hyperion.reporting.printserver.StandalonePrintServerLauncher] [SRC_METHOD: <init>] Copyright© 2000, 2011 Oracle and / or its affiliates.
[2012-08-31T03:12:22.198-04:00] [EPMFR] [NOTIFICATION] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vXVlrCSs85njp2iZ1GG6FM000000,0] [SRC_CLASS: com.hyperion.reporting.printserver.StandalonePrintServerLauncher] [SRC_METHOD: <init>] All Rights Reserved.
[2012-08-31T03:13:46.993-04:00] [EPMFR] [ERROR] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vXVlrCSs85njp2iZ1GG6FM000000,0] [SRC_CLASS: com.hyperion.reporting.registry.FRSystem] [SRC_METHOD: getObjectFromURL] [[
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:249)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at com.hyperion.reporting.registry.FRSystem.getObjectFromURL(Unknown Source)
at com.hyperion.reporting.registry.FRSystem.lookupHsServer(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getFRConfig(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getString(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.initSocketFactory(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.<clinit>(Unknown Source)
at com.hyperion.reporting.util.FRRemoteObject.<init>(Unknown Source)
at com.hyperion.reporting.printserver.PrintServer.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.main(Unknown Source)
[2012-08-31T03:13:47.011-04:00] [EPMFR] [ERROR] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vXVlrCSs85njp2iZ1GG6FM000000,0] [SRC_CLASS: com.hyperion.reporting.registry.FRSystem] [SRC_METHOD: lookupHsServer] [[
com.hyperion.reporting.util.HyperionReportException: Could not connect to the server.
Please make sure that the server is running as specified in the logon dialog (including port number if not default).
at com.hyperion.reporting.registry.FRSystem.lookupHsServer(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getFRConfig(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getString(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.initSocketFactory(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.<clinit>(Unknown Source)
at com.hyperion.reporting.util.FRRemoteObject.<init>(Unknown Source)
at com.hyperion.reporting.printserver.PrintServer.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.main(Unknown Source)
[2012-08-31T03:13:47.025-04:00] [EPMFR] [WARNING] [] [oracle.EPMFR.core] [tid: main] [ecid: 0000J_vXVlrCSs85njp2iZ1GG6FM000000,0] [SRC_CLASS: com.hyperion.reporting.config.FRConfig] [SRC_METHOD: getFRConfig] [[
java.lang.NullPointerException
at com.hyperion.reporting.config.FRConfig.getFRConfig(Unknown Source)
at com.hyperion.reporting.config.FRConfig.getString(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.initSocketFactory(Unknown Source)
at com.hyperion.reporting.util.HRPortAllocator.<clinit>(Unknown Source)
at com.hyperion.reporting.util.FRRemoteObject.<init>(Unknown Source)
at com.hyperion.reporting.printserver.PrintServer.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.<init>(Unknown Source)
at com.hyperion.reporting.printserver.StandalonePrintServerLauncher.main(Unknown Source)
]] -
I bought an iPhone 5 around fifteen days back and it has already started to give problem with the on/off button. I have to press it five six times to switch it on or off. I am so frustrated by the fact that if I bring it to the service centre, I am going to get a refurbished phone in place of my brand new phone which I just bought. The idea of a used phone repulses me. Any solutions ?
sumeshdua wrote:
The idea of a used phone repulses me.
Why? Your current phone is used... it has been since the instant it was removed from the shrink wrap and turned on.
sumeshdua wrote:
Any solutions ?
Live with the phone as is.
Take the device to Apple for evaluation... it may not need replacement.
Even if it does, neither you or the Apple tech should be able to tell if the replacement is new or refurbished. -
Can't start OS X 10.3.9 Print Service
Hello all.
Our file server (X Serve OS 10.3.9) has worked fine for the past year and a half. Yesterday I wanted to create new print queue, the service hung for a while and eventually quit out.
The error log reports:
Process '/usr/sbin/PrintServiceMonitor" respawning too rapidly!
I have trashed print preferences, fixed file permissions, and restarted several times, all with no luck.
Any attempt to start the print service will cause it to abruptly stop running (the print service) a second later.
Not sure where to go from here.
Any help is appreciated.
RickHi Bobert,
if you cannot boot from the install DVD you will have to bring your computer to the Apple store since booting from the DVD is required for the reinstall. -
After i installed updates for my mac mini server, the web services for the server app wont start, it gives an error massage: "Error Reading Settings"
The system logs reads:
Mar 29 22:06:25 server servermgrd[82]: servermgr_web: Error Domain=XSServerFoundationErrorDomain Code=4 "Failed to read settings: Exception:
undefined method `downcase' for nil:NilClass
." UserInfo=0x7fc547901080 {NSLocalizedDescription=Failed to read settings: Exception:
undefined method `downcase' for nil:NilClassTo check the local network for some of the common configuration problems, launch Terminal.app and issue the following diagnostic command:
sudo changeip -checkhostname
That'll report some local configuration information and then either no errors detected and no changes required, or it'll point to whatever configuration errors or issues it might detect. That doesn't catch everything, but it catches the common errors.
FWIW, 192.168.0.0/24 and 192.168.1.0/24 are poor choices for the local network, as VPNs are based on IP routing and IP routing gets tangled when the same subnet is used on both ends of the VPN. 192.168.0.0/24 and 192.168.1.0/24 are near ubiquitous in home networks and coffee shops. -
I can't go further "waiting for Printing Services" after turning on.
I have tried to reboot but it comes to the same point, The logo and spining daisy are there for 5 min. then I see the Blue bar with prompts growing at times(it takes 10 - 15 min. when it reaches "waiting for Prionting Services" stays there forever, I guess this all started when I tried to instal new updates (with no success)How can I revert the installation? or how can I get to the loging screen?
what shall I do?PLEASE HELP!!!!!I am working on a friend's Ibook, I am a PC IT, and know very little about Mac's so please bare with me in helping (1st grade Mac user).
In my Mac fixing journey, I have used:
1. Repair Disk = no repairs found to fix
2. Repair Permissions = stalls and gives a prompt disconnected quit and restart, did that same prompt
3. Booted in safe mode, gets to the same point "waiting for Printing Services" and then fades out and shuts itself down after a long period.
4. I have tried to holding down opt, apple, p & r keys to reset "pram" = no go.
5. Removed the power source and batter to reset computer.
6. Booted computer connected into the printer and not connected to the computer. Same freeze place.
After all this being done,and reading alot in here, I purchased disk warrior, it corrected a few errors, rebuilt and rebooted...only to come back to "waiting for Printing Services" and then freeze.
Anyone have anything else they can help me with, that might get me passed this problem??
Thanks in Advance for any advice!!
Sav
Ibook G4 Mac OS X (10.0.x) -
I can't go further "waiting for Printer Services" on Mac OS X 10.3 can U?
Evening, I'm a new user, and ocassionally use my iBook.I turned it on but it takes ONE HOUR to get to the prompt Waiting for Printing Services. I was advised to re boot but no success, I guess this all happened after i tried to update latest version.
I appreciate if you can help!!!I am working on a friend's Ibook, I am a PC IT, and know very little about Mac's so please bare with me in helping (1st grade Mac user).
In my Mac fixing journey, I have used:
1. Repair Disk = no repairs found to fix
2. Repair Permissions = stalls and gives a prompt disconnected quit and restart, did that same prompt
3. Booted in safe mode, gets to the same point "waiting for Printing Services" and then fades out and shuts itself down after a long period.
4. I have tried to holding down opt, apple, p & r keys to reset "pram" = no go.
5. Removed the power source and batter to reset computer.
6. Booted computer connected into the printer and not connected to the computer. Same freeze place.
After all this being done,and reading alot in here, I purchased disk warrior, it corrected a few errors, rebuilt and rebooted...only to come back to "waiting for Printing Services" and then freeze.
Anyone have anything else they can help me with, that might get me passed this problem??
Thanks in Advance for any advice!!
Sav
Ibook G4 Mac OS X (10.0.x) -
Java Print Service API in Java Stored Procedure (Linux)
Hi
We are running an Oracle 10g database on Linux and I am in the proces of developing a java stored procedure which should utilize the Java Print Service API.
I have made a simple stored procedure to list all available printers and the DocFlavors they support (se the code below).
My problem is that no printers are listed. I have made a standalone java app. with the same code and executed it directly on the OS level of the Linux box through the Sun JDK 1.4.2 and here I get two printers.
Is there any specific configuration I need to do to make it work?
I am wondering if I need to grant specific authorisations through dbms_java for it to work...?
Any help is greatlyh appreciated.
************************************** CODE BEGIN *************************************
import javax.print.DocFlavor;
import javax.print.PrintService;
import javax.print.PrintServiceLookup;
import javax.print.attribute.HashPrintRequestAttributeSet;
import javax.print.attribute.PrintRequestAttributeSet;
public class TestPrintService {
public TestPrintService() {
public static void listPrinters() {
// Get all available printers and their supported DocFlavors
PrintService[] pservices =
PrintServiceLookup.lookupPrintServices(null, null);
System.out.println("Printer services: " + pservices.length);
for (int i = 0; i < pservices.length; i++) {
PrintService pservice = pservices;
System.err.println("Printer: " + pservice);
DocFlavor[] docFlavors = pservice.getSupportedDocFlavors();
for (int j = 0; j < docFlavors.length; j++) {
DocFlavor docFlavor = docFlavors[j];
System.err.println("DocFlavor " + docFlavor.toString());
System.err.println();
************************************** CODE END *************************************
Cheers,
Jacob VennervaldFound this on Oracle support:
Cannot List Available Printers From The Database Using A Java Stored Procedure [ID 372694.1]
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.4.0
This problem can occur on any platform.
Symptoms
Able to list available printers on a machine when running Java code outside the Database.
When running the same Java code inside the Database as a Java Stored Procedure, no printers are found.
Cause
Due to security restrictions, this is expected results.
The Java Docs state:
"Services which are registered by registerService(PrintService) will not be included in lookup
results if a security manager is installed and its CheckPrintJobAccess() method denies access."
Also from the documentation it states:
"A PrintServiceLookup implementor is recommended to check for the SecurityManager.checkPrintJobAccess() to deny access to untrusted code. Following this recommended policy means that untrusted code may not be able to locate any print services. Downloaded applets are the most common example of untrusted code."
Using the checkPrintJobAccess(); call, it does produce a Security Exception when run inside the Database but not when run outside. The exception can be viewed within the log file found in the UDUMP directory.
Solution
Run the following code to confirm obtaining available __printers can not be done...__
This is the code to create the Java Stored Procedure
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "ListPrinters" AS
import javax.print.*;
public class ListPrinters {
public static String AvailablePrinters(){
String strList;
PrintService[] pservices =PrintServiceLookup.lookupPrintServices(null,null);
if (pservices.length > 0 )
strList = pservices[0].getName();
else
strList = "No printers found";
return strList;
public static String listprinters() throws Exception {
String listofprinters;
try {
SecurityManager sm = System.getSecurityManager();
if (sm != null) sm.checkPrintJobAccess();
catch (SecurityException ex) {
System.err.println("Sorry. Printing is not allowed.");
listofprinters = AvailablePrinters();
return listofprinters;
This is the PL/SQL Wrapper
CREATE OR REPLACE FUNCTION Get_Printer_Test RETURN VARCHAR2 IS
LANGUAGE JAVA
NAME 'ListPrinters.listprinters() return String';
This executes the code
SQL> SELECT Get_Printer_Test FROM DUAL;
GET_PRINTER_TEST
No printers found
This is the output found in the trace file in the UDUMP directory
*** SESSION ID:(144.28) 2006-07-08 09:02:25.518
Sorry. Printing is not allowed.
Maybe you are looking for
-
Firefox Does Not Open a Link Pointing to a .bat file on a the network drive on local website
Make and model of network drive? --HP Priliant DL580 G5 How is you network set up? --Novell Netware 6.5 What router are you using? --Cisco router c3825 What are you trying to do with the batch file? --simple program that launches a batch file that is
-
Install on SDCard/USB stick, toggle read-only filesystem - possible?
This is something I thought about while installing Arch on an SD card earlier. You know these small switches on some SD cards that make them read-only, right? Would it be possible to have a setup where Archlinux is installed on a rewritable storage d
-
How do I change headers and footers in one single document in Pages?
How do I change headers and footers in one single document in Pages? I would appreciate any help as this seems to be quite frustrating. Thanks so much!!
-
How can I delete my password in OS 10.9.
OS 10.9 Mavericks. I want delete my password. I don't need a password. I'm the only user and my Mac is allways protected in my home. Neither I want a password to change System Preference. How can I do? Thank you in advance.
-
How do I re-install my Adobe premiere Elements 9, after uninstalling for update?
I received an update notice when I opened my Adobe Premiere Elements 9. I followed the directions and un-installed the program. Now I cannot find the download update!