Error checking in web.show_document
I am working with a solution that uses web.show_document(url, '_blank')
where url is the string
'/servlets/ServletName?parameter=some_parameter'
the servlet creates a pdf document which is to be shown by web.show_document
As long as the pdf gets created correctly, everything is fine, but when the servlet fails to create the document, I get an internal server error. What I would like to do is to make sure that the execution of the servlet works and the pdf is created. If it fails, I don't want to open the browser and instead display an error message in forms.
any ideas on how to implement this?
Hi,
behind the scenes web.show_document() does generate a GET URL request, which is not stateful in that you can get status information from it. An internal server error sounds like a serious exception that I would check on the server that runs the servlet. An option to verify that the PDF was generated successfullly is to have the servlet generating a success html file that can be accessed in a subsequent request to web.show_document(). If the PDF was generated successfully this html file would do a redirect to the PDF file and if not, contain an error message
Frank
Similar Messages
-
Web.show_document using javascript in Forms6i
Dear all,
I wnat to know in forms6i , is it workable calling web.show_document with javascript?
As I face a problem that calling a url by web.show_document, but the requirement should not display the menu bar ... how can I do?
Thanks in advance.
JYjennisy wrote:
Hi,
Actually, there is a button to trigger the web.show_document.
I've tried this code, but it doesn't work. There is no any feedback and no error popup.
WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.yahoo.com"))','_blank');
Hi JY,
what happens if you actually try this
Web.Show_Document(‘http://www.yahoo.com’, ‘_blank’); -
WEB.SHOW_DOCUMENT Error
hiiii
using (Developer 10g R2, Win xpSp2)
i have created a simple report on EMP table of scott schema (select * from emp) and saved the emp_rep on(D:\reports\MODULE2.rdf)
and i have built a Form with a button that is when pressed to RUN this report
i have this error :
REP-52266: The in-process Reports Server rep_omd1 failed to start.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0.
the code used is as follow :
declare
URL_VAR varchar2(1000);
begin
URL_VAR:='http://127.0.0.1:8889/reports/rwservlet?server=rep_omd1&report=D:\reports\MODULE2.rdf&desformat=HTMLCSS&destype=cache&userid=scott/tiger@orcl';
WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
end;
***********************************************************************************************hiii
i did the folowing :
1) in (E:\Oracle\Developer10g\reports\conf\rwservlet.properties) i have changed to
SERVER_IN_PROCESS=NO
2)i have run rwserver server=rep_omd1
3)Start the OC4J
4)use this code
and got the error( REP-51002: Bind to Reports Server rep_omd1 failed)
declare
URL_VAR varchar2(1000);
rep_server_name_var varchar2(30):='rep_omd1';
path_var varchar2(100):='D:\reports\MODULE2.rdf';
source_module_name_var varchar2(20):='REP1';
desformat_var varchar2(20):='HTMLCSS';
destype_var varchar2(20):='cache';
username_var varchar2(20):='scott';
password_var varchar2(20):='tiger';
tns_var varchar2(50):='orcl';
param_full_settings varchar2(1000):='';
begin
URL_VAR:='http://127.0.0.1:8889/reports/rwservlet?server='||rep_server_name_var||'&report='||path_var||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var;
WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
end;
*************************************************************************************** -
Error opening report using WEB.SHOW_DOCUMENT
Hi
I have a report in pdf format that opens ok by itself. When I use WEB.SHOW_DOCUMENT in the when_mouse_click trigger on the item in the form the report doesnt display. Only an IE window with "The page cannot be displayed" message.
Here is the trigger code:
Web.show_document(http://nbotlaguduru.dms.local/export/||FMSLaborChargesalcs20060829132645.pdf)
where FMSLaborChargesalcs20060829132645.pdf is the name of the report I am trying to open.
Here is the URL that appears in the second window that opens:
http://nbotlaguduru.dms.local/export/FMSLaborChargesalcs20060829132645.pdf
this url generates the error message "The page cannot be displayed"
I am using Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Report Builder 10.1.2.0.2
ORACLE Server Release 10.1.0.4.2
and I running the forms and reports server on my local machine.
Any help would be greatly appreciated. ThanksThanks for answering,
I changed the URL from
http://nbotlaguduru.dms.local/export/FMSLaborChargesalcs20060829132645.pdf
to
http://nbotlaguduru.dms.local:8889/export/FMSLaborChargesalcs20060829132645.pdf
and the same problem occured
the file is located on my local C drive in:
C:\lcs\export
seems as though I am missing something else as well
any ideas? -
Web.show_document gives FRM-92020 error unknown protocol
Hi I am hoping someone can help.
I am using web.show_document in forms 10g and get an FRM-92020 unknown protocol error. The URL I am passing starts fddl:// this is a legitimate call to an Electronic Document management system image search engine. The URL works 100% outside of Forms, i.e cut and paste into an internet Explorer address bar. The problem is with web.show_document parsing for 'known' protocols.
Is there any way I can stop this validation from taking place. Incidentally I can HOST out and call iexplore with the URL and again that works (client Server), however we do not have webutil installed for me to do the webutil equivalent in our live environment!
Any help will be great, thanks in advance.
Trev.Hi Francois,
thanks for replying.
Yes I am using '_blank' as the second parameter.
The URL I am passing is dynamically genreated and held in a variable. My call is:
web.show_document(l_url,'_blank');
the url evaluates to something like below:
l_url := 'fddl://fmhsqlserv/filedirector/...........................'
I am struggling to find any documentation on web.show_document that will help with this scenario. It is frustrating as the url is 100% OK, its just the evaluation of it by the function call.
Any help or ideas are welcome.
Trev -
P1102w cannot enable "HP WEB SERVICES" for sprintConnection error" check
I have a new printer which works fine for wifi printing but I'd like to use web printing which I beleive is called eprint.
I printed the configuration page and my firmware is 20120814
I cannot see were my printers email address is.
I navigated to the printers url and clicked on the tab "hp web services" and clicked on the green button enable but I keep getting the following error message.
"connection error: check internet connection"
From the router I can see that both the laptop and printer are on the same network 192.168.0.??
Can you please advise I suspect I have a fault on the printer but cannot be certain what can I do, I have updated the software on my mac which is running mavericks 10.9.2 , I've even hit the update software and there is no further updates available whch should mean I have the latest software and firmware for the printer.
Please advise how I may overcome the error when there clearly is no network issue as I can get to the printer to print and go to its web pages without any issues at all?Hi paz_egap,
Thank you for the thorough response, I appreciate it.
Since you have set a static ip with manual DNS servers and you are still cannot enabled the web services is the firmware up-to-date on the printer. Please follow the steps in Getting the Firmware and Product Updates. Once the firmware is current and the printer still has its manual ip address and manual DNS servers you should be okay to enabled the web services on the printer.
If you are still having an issue after completing the above please call HP’s Cloud Services at 1-855-785-2777 if you live in the USA/Canada region. If you live outside the USA/Canada region please click here to find the Technical Support number for your country/region.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
Can anyone tell me what I need to do in order to enable HP Web Services on HP LaserJet Pro M1536DNF model? Everything works fine and shows it's connected to the network but I cannot enable HP Web Services. It says "Connection error Check connection" I've tried restarting everything; network, printer, computer. I've also updated firmware to latest version as well.
Hi snapry,
Welcome to the HP Support forums. I understand that you are getting an unable to connect message when trying to enable the web services for your Laserjet CP1025nw printer.
Please set a manual IP address and manual DNS servers for the printer. The instructions can be found in the document Printer Does Not Maintain Wireless Connection. There is a Windows section and a Mac section. In the Windows section you will find the instructions in the sub-section titled “Solution three: Assign the printer a static IP address”. For Mac the applicable sub-section is titled “Solution two: Assign the printer a static IP address”. When entering the information for the Manual Preferred DNS server please use 8.8.8.8 and for the Alternate Preferred DNS server please use 8.8.4.4. These are Google’s DNS servers.
After setting the manual IP address and manual DNS servers, you should have no problems enabling the web services.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
Forms 6i - web.show_document error
I am trying to use web.showdocument to open a java based internet session. I get an C++ Runtime-Error, abnormal termination in Internet Explorer.
Not sure whether Jinitiator is interfering with Java JVM or not...
WEBNOW_URL VARCHAR2(200);
WEBNOW_URL := 'http://server.is.generic.com:8080/web/index.jsp?';
WEB.SHOW_DOCUMENT(WEBNOW_URL,'_blank');
Please help me....We are trying to get this to work with a imaging product call WebNow. It is version 5.4. It is associated with ImageNow.
No Java URLS will display thru Internet Explorer with the Web.Show_Document
Any ideas are helpful...The problem you are having is likely caused as a result of conflict between JREs. You can only run one JRE/Jinitiator version per browser session. Calls to WEB.SHOW_DOCUMENT launch new browser windows using the same session as the parent. In other words, if Forms uses Jinitiator 1.3.1.22, your other application must also use Jinitiator 1.3.1.22
-
WEB.SHOW_DOCUMENT
Hello
I used this code on form, button mouse click trigger.
WEB.SHOW_DOCUMENT('http://<IAS_IP>:7778/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?','_blank');
When I clicked it open another window but it lost the port number 7778 on the URL address then it gives the error page cannot display.
http://<IAS_IP>/reports/rwservlet/getjobid38?
If I add the port # manuallly it will show the report.
But the insert/import JPG picture not appear it gives red x on the left corner.
How can i solved this problem to retain the port# when calling the report? Anyone can help me please.
IAS10gR2. OS windows server 2003R2.
Furthermore where i can set the path of the report so that no need to specify the drives/folder which reports resides? I set the path for forms but for report i dont know where.
I edited the registry but the report path is not accessible.Is there any config like the forms(Forms Edit Environment File: default.env) for report?
Thank you,
charlesHello Michael
Thank for your reply.
Im accessing the IAS on the internet public IP.I dont have now the registered domain name. im only using the IP that the internet provider company provides.
This my complete work code now..
declare
v_rep VARCHAR2(100);
v_report_server VARCHAR2 (30) := 'rep_appserv_oracleas2';
v_report_name VARCHAR2(100) := 'c:\ceor\ceor001r'; <<<<<---- HOW TO REMOVE THE DRIVES/FOLDER. WHERE I CAN SET THE REPORT PATH? I MODIFIED THE REGISTRY.
v_format VARCHAR2(12) := 'PDF'; PDF or SPREADSHEET
v_format VARCHAR2(12) := 'htmlcss';
repid REPORT_OBJECT; --- Added
rep_status VARCHAR2(100); ---added
v_ip varchar2(100) := 'IAS_IP';
begin
repid := find_report_object('report5');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_report_server); -- remove ' '
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,v_report_name);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT, v_format);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE); 'p_my_second_parameter='||:block.my_second_parameter);
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://'||v_ip||'/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?','_blank');
ELSE
message('Error when running report - '||rep_status);
END IF;
END;
If im not wrong your the one who corrected my code before.I need to check on older post.
its formseleven.
Re: security on url when calling reports on report10g
Thank you.
Charles. -
Forms 11g - web.show_document
Hi!
How can i reach the reports server with web.show_document in Forms 11g?
"opmnctl status" shows the running reportsserver but when i make a call e.g. to
http://pc1:8888/reports/rwservlet?report= ... a.s.o.
the error message: Failure of server apache bridge:
no backend server available for connections ...
is thrown.
any ideas?
thanks in advance!
MagooCan you please specify the OS you are using. Because in Windows XP and Vista, only Forms & Reports Builder and Runtime are supported, and the system components (OHS, WC) are not supported.
If you have installed in a Windows 2003 Platform and install is done with the system components, then the issue is with the OHS.
OHS seems to be down.
You can bring up the OHS, Reports Server through OPMN or start menu. And WLS_REPORTS from the start menu.
In the command prompt, cd $ORACLE_INSTANCE\bin (By default - C:\oracle\Middleware\asinst_1\bin) run the command:
opmnctl.bat status -l :- Will give the status of the components. If System components are not installed, this will not work.
opmnctl.bat restartproc ias-component=ohs1 :- Will restart the OHS.
This can be done from the Start Menu also:
StartMenu -> Oracle Classic Instance - <Instance Name> -> Stop Oracle Http Server - ohs1
StartMenu -> Oracle Classic Instance - <Instance Name> -> Start Oracle Http Server - ohs1
You can stop and start the WLS_FORMS from the start menu:
StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Stop WebLogic Server - WLS_FORMS
StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Start WebLogic Server - WLS_FORMS
Status of the WLS_FORMS can be seen from the Admin Console:
http:<hostname>:7001/console (use the pwd given during the Classic SH install).
Under Environment section, click Server.
Summary of Servers Page will show the status of the WLS_FORMS.
If you want to stop and start, select Control tab. Check the check box and press the corresponding button. -
Hi All
I installed forms 10.1.2.3 successfully under Windows Vista , i use Java Bean described in the OTN Forms document titled "Oracle Forms Services - Secure Web.Show_Document calls to Oracle Reports" ,but when the form calls the report, the following error message :
"REP-51018: Need database user authentication" is presented to the user.
note : I did this before successfully with forms 10.1.2.0.2 under windows xp
What is wrong with me please under Vista ?
Note :The Java console give this :
Java Plug-in 1.5.0_12
Using JRE version 1.5.0_12 Java HotSpot(TM) Client VM
User home directory = C:\Users\crizma1
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading proxy configuration from Internet Explorer ...
network: Done.
network: Loading direct proxy configuration ...
network: Done.
network: Proxy Configuration: No proxy
basic: Cache is enabled
basic: Location: C:\Users\crizma1\AppData\LocalLow\Sun\Java\Deployment\cache\javapi\v1.0
basic: Maximum size: unlimited
basic: Compression level: 0
basic: Plugin modality.register
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@e34726, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@7be8c2
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@e34726, refcount=2
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@e34726, refcount=1
network: Connecting http://mostafa:8889/forms/java/frmall.jar with proxy=DIRECT
basic: Loading http://mostafa:8889/forms/java/frmall.jar from cache
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://mostafa:8889/forms/java/frmall.jar is read from JAR cache
security: Loading Root CA certificates from C:\PROGRA~1\Java\JRE15~2.0_1\lib\security\cacerts
security: Loaded Root CA certificates from C:\PROGRA~1\Java\JRE15~2.0_1\lib\security\cacerts
security: Loading Deployment certificates from C:\Users\crizma1\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loaded Deployment certificates from C:\Users\crizma1\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Loaded image: jar:http://mostafa:8889/forms/java/frmall.jar!/oracle/forms/icons/splash.gif
basic: Loaded image: jar:http://mostafa:8889/forms/java/frmall.jar!/oracle/forms/icons/oracle_logo.gif
basic: Loaded image: jar:http://mostafa:8889/forms/java/frmall.jar!/oracle/forms/icons/bgnd.gif
network: Connecting http://mostafa:8889/forms/java/oracle/forms/registry/Registry.dat with proxy=DIRECT
network: Connecting http://mostafa:8889/forms/java/oracle/forms/registry/default.dat with proxy=DIRECT
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
network: Connecting http://mostafa:8889/forms/frmservlet?form=d:%5CFEMTOSOFT%5CACC%5Cmainmenu&separateframe=true&acceptLanguage=ar-eg&ifcmd=startsession with proxy=DIRECT
network: Connecting http://mostafa:8889/forms/lservlet;jsessionid=0125fc1e6334c60e076ddfdd063a1d231270ff1507db8a2efc0666273e237011?ifcmd=getinfo&ifhost=Mostafa&ifip=192.168.1.2 with proxy=DIRECT
network: Connecting http://mostafa:8889/forms/lservlet;jsessionid=0125fc1e6334c60e076ddfdd063a1d231270ff1507db8a2efc0666273e237011 with proxy=DIRECT
network: Connecting http://mostafa:8889/forms/java/frmrwinteg.jar with proxy=DIRECT
java.io.FileNotFoundException: http://mostafa:8889/forms/java/frmrwinteg.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
at sun.plugin.cache.JarCache.get(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.util.ResourceBundle.loadBundle(Unknown Source)
at java.util.ResourceBundle.findBundle(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at oracle.forms.registry.MessageManager.getMessage(Unknown Source)
at oracle.forms.registry.MessageManager.getMessage(Unknown Source)
at oracle.forms.engine.Runform.createInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: WARNING: error reading http://mostafa:8889/forms/java/frmrwinteg.jar from cache.
basic: httpCompression = true
basic: Downloading http://mostafa:8889/forms/java/frmrwinteg.jar to cache
basic: encoding = null for http://mostafa:8889/forms/java/frmrwinteg.jar
network: Connecting http://mostafa:8889/forms/java/myappicons.jar with proxy=DIRECT
basic: Loading http://mostafa:8889/forms/java/myappicons.jar from cache
basic: No certificate info, this is unsigned JAR file.
network: Connecting http://mostafa:8889/forms/java/oracle/forms/engine/RunformBundle_ar_EG.class with proxy=DIRECT
network: Connecting http://mostafa:8889/forms/java/oracle/forms/engine/RunformBundle_ar_EG.properties with proxy=DIRECT
إصدار بريمج Forms هو : 10.1.2.3
network: Connecting http://mostafa:8889/forms/lservlet;jsessionid=0125fc1e6334c60e076ddfdd063a1d231270ff1507db8a2efc0666273e237011 with proxy=DIRECT
network: Connecting http://mostafa:8889/forms/lservlet;jsessionid=0125fc1e6334c60e076ddfdd063a1d231270ff1507db8a2efc0666273e237011 with proxy=DIRECT
basic: Loaded image: jar:http://mostafa:8889/forms/java/frmall.jar!/oracle/forms/icons/frame.gif
network: Connecting http://mostafa:8889/forms/lservlet;jsessionid=0125fc1e6334c60e076ddfdd063a1d231270ff1507db8a2efc0666273e237011 with proxy=DIRECT
network: Connecting http://mostafa:8889/forms/lservlet;jsessionid=0125fc1e6334c60e076ddfdd063a1d231270ff1507db8a2efc0666273e237011 with proxy=DIRECT
Edited by: Mostafa Abolaynain on Jun 18, 2009 7:50 PMIf I am remembering correctly, some changes were necessary in order to make this work with 10.1.2.3. So, if you are using the old jar which you used in previous versions, I would recommend obtaining the one specifically updated for 10.1.2.3. Refer back to the OTN page which has the download and choose the link that references the new version:
http://www.oracle.com/technology/products/forms/techlisting10gR2.html
Be sure to clear the client Jar cache before re-testing. This is not the same as the browser cache. -
Web.show_document unknown software exception
I have this problem that occurs not in all machines. It occurs in machines with the MS Security patch that doesnt allow you to code javascript directly.
The problem I have is that when I use just plain vanilla web.show_document (URL,'_blank) I get the error
"the exception unknown software exception (0xe06d7363) occurred in the application at location 0x77e8f142"
This causes all the IE windows to close.
This happens only if the URL that I go to has some java applet that is used in the page. (It of course works if you just paste the same URL in a new IE window). A URL without any Java applet opens just fine.
Again this is only in machines with the MS Security patch.
I wonder if anyone has faced this problem at their end and if there is a workaround.
Thanks in advance
SharatFrank,
I too was convinced that the problem was with IE or Windows. After a lot of googling around I figured it out. Heres the solution for you guys out there if you ever hit upon the same problem.
Its not the MS Security patch related either.
I have a Java runtime environment installed on my machine (Sun JRE 1.5). This gets included in the IE Internet Options and is checked by default i.e
Use Sun JRE 1.5 for <applet>
This causes some conflict with the Microsoft VM causing the browser to crash. I unchecked the use Sun JRE 1.5 for <applet> and it works just fine now.
The funny thing is that it doesnt happen when you go to the URL directly. It happens only if you get there via web.show_document !! -
How can I display XSLT transformer errors on a web page ?
Hi,
I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
// instantiate the TransformerFactory.
TransformerFactory tFactory = TransformerFactory.newInstance();
// creates an error listener
XslErrorListener xel = new XslErrorListener();
// sets the error listener for the factory
tFactory.setErrorListener(xel);
// generate the transformer
Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
// transforms the XML Source and sends the output to the HTTP response
transformer.transform(new DOMSource(docXML), new StreamResult(pw));
}If an exception is thrown during the execution of this code, its error message is displayed on the web page.
This is the listener class:
public class XslErrorListener implements ErrorListener {
public XslErrorListener() {
public void warning(TransformerException ex) {
// logs on error log
System.err.println("\n\nWarning on XEL: " + ex.getMessage());
public void error(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nError on XEL: " + ex.getMessage());
// and throws it
throw ex;
public void fatalError(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
// and throws it
throw ex;
}When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
[Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
"Could not compile stylesheet".
How can I display the real cause of the error directly on the web page?
Thanks,
AndreaThis code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
(1) capture the Transformation exception on the server;
(2) extract the message from the exception and put it into a message that can be easily understood by the user;
The current error message that you have going to the web browser is not useful.
And you should not have the Transformation exception sent to the web browser either.
What you are attempting to do with the exception is not appropriate.
Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
/> -
Error import Adaptive Web Service Modal
Hi, i´m doing an tutorial of import Adaptive Web Service Modal, but when i create the model and write the link: http://www.abysal.com/soap/AbysalEmail.wsdl in the top appear "Error in loading the WSDL file. Check the error log for more details".
I see the log, but appear:
Error Mon Sep 24 13:54:37 CEST 2007 Sep 24, 2007 1:54:37 PM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[main,5,main]] Error: Internal error
Plugin name: Web Dynpro Model Editor
Plugin ID : com.sap.ide.webdynpro.modeleditor
Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS
Method : loadNameSpacesAndModelClasses
Message : Cannot load NameSpaces and ModelClasses
Class Path: C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception/lib/exception.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;
java.home: C:j2sdk1.4.2_09
proxyHost:
proxyPort:
nonProxyHosts:
Temporary Directory: C:DOCUME1vcapillaCONFIG1Temp
WSDL URL: http://www.abysal.com/soap/AbysalEmail.wsdl
Exception : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL http://www.abysal.com/soap/AbysalEmail.wsdl and service factory configuration {DynamicProxy.ClassPath=C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception/lib/exception.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:j2sdk1.4.2_09, DynamicProxy.TempDir=C:DOCUME1vcapillaCONFIG1Temp, DynamicProxy.INetProxy.Host=}
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://www.abysal.com/soap/AbysalEmail.wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception/lib/exception.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:j2sdk1.4.2_09, DynamicProxy.TempDir=C:DOCUME1vcapillaCONFIG1Temp, DynamicProxy.INetProxy.Host=}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl. java.net.SocketException: Connection reset
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1028)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1115)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 57 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:341)
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:165)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1008)
... 59 more
What happend?
Thanks,Thanks,
-
Web.Show_Document does not work with long running reports
I am using Web.Show_Document() to call reports from Forms. Everything works fine for smaller reports. However for long running reports I do not get the output instead get the page "This page cannot be displayed.". On checking the job status on the report server I find that report is still running and completes after some time but by that time my http request has already timed out. What configuration do I have to change to make my long running reports work.
ThanksSo, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....
Maybe you are looking for
-
I am trying to create an responsive HTML5 output, but images are not showing up.
When I preview my output, the images are note showing up. It is simply the blank outline of the image with the little image icon in the top left corner. As it is compiling I see the message "Warning: Image maps are not converted to relative size". Is
-
RTTI vs Compiler Type Identification (Casting?)
Given: Class Super and two subclasses of Super, SubOne and SubTwo. Super has one method, doBeDooBeDoo() SubOne has one method, doThis() SubTwo has one method, doThat() Super a = null; if(foo) { a = new SubOne(); a.doThis(); } else if(bar) {
-
How to copy the bookmarks to an other apple id
Hi, I need to copy the bookmarks from one apple-id to an other apple-id. both deviceses are NOT jailbroken and running on ios 704. any idea ? best RB
-
CpSetValue doesn't work in Firefox and Chrome?
I've made changes in CaptivateMaintimeline.as as suggested by Jim Leichliter in his blog. And I use the following simple htm: <!-- Copyright [2008] Adobe Systems Incorporated. All rights reserved --> <!-- saved from url=(0013)about:internet --> <!DO
-
Kdevelop sigseg on exit, sigalrm anytime: libc fault?
kdevelop 95% of times crashes on exit. that's kdemod version (which is different only in depending on kdemod-kdesdk). anyone else experiences this? looking at the backtrace, not the same parts are involved (here it's kate related, but kate itself is