rptdesign file cannot be preview in Eclipse - eclipse

I'm using APIs provided by Eclipse BIRT for generating BIRT reports in my application since a few days and I haven't any problem to preview the generated reports from eclipse up to now.
Since this morning it doesn't work. it doesn't show any exception. it shows a blank report without any element inside him.
Do anyone find any explanation for this?
NOTE1: I use BIRT in windows 7 OS. I hear that there are problems to preview report from eclipse on Windows 8 OS. But it isn't my case.
NOTE2: I haven't done any update in my computer recently.

birtprofi # http://developer.actuate.com/community/forum/index.php?/topic/30484-birt-report-not-running-in-eclipse-after-update-to-windows-81/page-2
Solution for workaround to use internal browser with IE 11:
Open eclipse.ini File (same path as eclipse.exe)
Insert those 2 lines at the end of the script:
-Dorg.eclipse.swt.browser.DefaultType=ie,mozilla
-Dorg.eclipse.swt.browser.IEVersion=7000
Restart Eclipse BIRT Designer. Then it should be possible to use the internal web browser with IE 11

You should set defaul browser app. If you dont have any default browser app birt will not open anything.
For Windows 10
Settings - > System - > Default Apps - Web Browser
Set default browser.
Also for windows 8 is the smilar.

Related

Eclipse Browser has problems with rest api call

I have a problem with my eclipse browser.
If i call the url of my sonarqube server (https://sonar) everthing works fine and eclipse shows me the page. But if i try to call the api (https://sonar/api/system/status) it returns with an error window which says that the page could not be opened. The same url worked for me in normal browsers.
Question
Does eclipse browser has problems with calling rest apis in general? Or is there something i could do to make it work?
System:
Windows 10 Pro (10.0.15063 Build 15063)
Eclipse Oxygen.1a Release (4.7.1a)
Ok, the problem seems to be in IE (which is used by eclipse in default). If i call the url in IE it wants to download the json answer. I changed some values in registry so IE just show me the json in browser directly. After that also eclipse could show me hte result without error.
Here is my ie_json.reg file i executed to change values in registry:
Windows Registry Editor Version 5.00;
; Tell IE 7,8,9,10 to open JSON documents in the browser on Windows XP and later.
; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" .
;
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
"CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
"Encoding"=hex:08,00,00,00
I found this solution at http://developers.de/blogs/holger_vetter/archive/2013/12/13/view-json-in-internet-explorer-7-11.aspx

How to add coldfusion server on CFEclipse

I am new to ColdFusion and just inherited a ColdFusion project that I need to debug.
So far I have installed ColdFusion 11, Eclipse (LUNA), and CFEclipse.
From CFEclipse I am able to import my project from a location like C:\Users\MyName\MyProjectName and view all the files. However, when I tried to add coldfusion server using the Servers tab, I don't see ColdFusion among the server types. I tried the "Download additional server adapters" link, no luck.
When I tried to use Browser View tab at the lower panel of the editor to see the index.cfm page, I get a "This program cannot display the webpage" error.
What have I missed? Please help.
According to the following article, I found and ran cfstart.bat under my /ColdFusion/cfusion/bin folder, and apache is up and running.
http://blog.adamcameron.me/2014/02/coldfusion-11-getting-started-server.html
I am still hazy about how the whole thing works, but at least now I can access to the ColdFusion Administrator at http://localhost/CFIDE/administrator/ with password 'admin' like the article suggests, and the 'Browser View' tab in CFEclipse is now working properly.

JSP project in RAD + Websphere, javascript changes lost

I'm working on JSP project in RAD 8.5.5 (when I tried to switch to Eclipse Kepler I've had the same issue) and WebSphere 8.0
When I change something in external JavaScript files which contain my own JavaScript functions I begin to get an error - 'function non defined' or even I lost part of code of this *.js page when I try to debug it in Chrome.
When I publish it to the server or rebuild it doesn't help. When I try to work without javascript cache in Chrome it doesn't work. Only after certain amount of time it begins to work. When I make changes in embedded JavaScript code on JSP page I haven't any problem, only I use my own function in external files.
What can it be? I lost a lot of time on this issue and it's annoying.
Thank you!
To overcome this issue you should do as following:
1.Prevent from browser to cache pages, in Chrome you can do it only developer tools are open : Disabling Chrome cache for website development
2.Perform 'Build project' from Eclipse(RAD). In some difficult case you have to do 'clean' on the server.
3.If you encounter unexpected delay while publishing try to delete all Breakpoints and Expressions from debug perspective.
4.Sometimes your server turning off and on every minutes by itself. To stop such behavior restart it in usual mode and then restart in debug mode.
Hope it will helpful to somebody.

TinyMCE 1.3b8 links in Plone 4.3b1?

I'm finding myself unable to add links ("a" tags) via the version of Products.TinyMCE in Plone 4.3b1. Switching to a non-visual editor and manually adding a link works fine, but using the chainlink icon in TinyMCE brings up an insert/edit popup window that doesn't appear to have anyplace to enter the destination address. There's a "search" text field, but entering text into it does not enable the "OK" button.
Here's a screenshot of what I am seeing:
Does anyone know if this is a known issue, or if I'm just completely missing how to enter links, or have any light to shed on this? Thanks.
UPDATE:
The problem seems to be that the popup's tabs are not un-hideing the relevant divs. When I use Firebug to switch div external_panel from class="hide" to class="show" the missing material appears; I also have to use Firebug to remove a disabled="disable" from the OK button in order to press it. A screenshot showing the segments is below. I've used the tgz file of the unified installer; is it possible that there is a variation between that installer's contents and the binary installer for the Mac?
The problem is showing up on a plain vanilla fresh install performed by
- untarring the 4.3b1 unified installer tgz file,
- running the command ./install.sh --target=/home/me/P4.3b1 from the installer's dir
- going to /home/me/P4.3b1/zinstance
- running the command bin/instance fg
- going in the browser to localhost:8080,
- creating a Plone instance and logging into it as admin
- going immediately to edit the front page of the site.
Version overview from site setup page is as follows:Version Overview
- Plone 4.3b1 (4302)
- CMF 2.2.7
- Zope 2.13.19
- Python 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3]
- PIL 1.7.7 (Pillow)
I'm going to say cross browser compatibility issue. It looks like this in Firefox and works as expected:

Strange GWT behaviour in IE8

I experience a problem with GWT 1.6 in IE8 (I have enabled native XMLHTTP support).
The scenario i this: The first time I enter a page, it renders fine with no problems. But in subsequent requests, the page fails with a JavaScript error:
Message: Exception thrown and not caught
Line: 5067
Char: 237
Code: 0
URI: http://someurl/somehashcode.cache.html
It happens in both standard mode and compatibility mode. The strange thing is that I do not experience the error when I run the application on localhost through the ASP.NET dev server. Only when I run it from a Windows 2003 server.
Does anyone have an idea, why this happens?
I would appreciate any kind of help - thanks in advance.
/Henrik
You always use the last version of stable release of GWT. This kind of error is from GWT compiler and you must report it to GWT team. Maybe this problem fixed in the last version of GWT.
I've seen the same issue, my feeling its coming from cached files. When the response is not from cached files I didn't see an exception.
I'm doing SSL to IE8. Microsoft have a fix you could try:
Internet Explorer file downloads over SSL do not work with the cache control headers
http://support.microsoft.com/kb/323308
Internet Explorer 7 and Internet Explorer 8
To resolve this issue in Internet Explorer 7 and in Internet Explorer 8, follow these steps:
1. Start Registry Editor.
2. For a per-user setting, locate the following registry key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
For a per-computer setting, locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
3. On the Edit menu, click Add Value.
4. To override the directive for HTTPS connections, add the following registry value:
"BypassSSLNoCacheCheck"=Dword:00000001
To override the directive for HTTP connections, add the following registry value:
"BypassHTTPNoCacheCheck"=Dword:00000001
5. Quit Registry Editor.