Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » XML URL - no authentication - no User/Password promt ?
XML URL - no authentication - no User/Password promt ? [message #778350] Thu, 12 January 2012 14:14 Go to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
Hi,

I have a strange problem with a BIRT Report. The report uses a XML DataSource URL from a web server which needs a user basic authentication.
In the past when I created such a new XML DataSource and click on the button 'Test Connection' eclipse prompted me with a username/password dialog. Also when I start my report with the menu action 'Run->view Report->in Web Viewer'.

But suddenly this is no longer working. Now I always got an HTTP Error 401 (Unauthorized response) and I got no chance to type in my username/password?

Did anybody know about that problem? I don't think that I have changed anything in my Eclipse or Server environment. And I have still designed different reports. So I know that this worked in the past.

Thanks for any help

Ralph
icon3.gif  Re: XML URL - no authentication - no User/Password promt ? [message #778396 is a reply to message #778350] Thu, 12 January 2012 18:27 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
The problem was because I was running eclise in gnome shell. I solved the problem by providing a special start script.
See: http://www-02.imixs.com/roller/ralphsjavablog/entry/eclipse_and_gnome_shell
Re: XML URL - no authentication - no User/Password promt ? [message #778412 is a reply to message #778350] Thu, 12 January 2012 16:14 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

The xml data source does not handle authentication (Unless you are using
custom code) so this must be coming from the browser?

Jason

On 1/12/2012 9:14 AM, Ralph Soika wrote:
> Hi,
>
> I have a strange problem with a BIRT Report. The report uses a XML
> DataSource URL from a web server which needs a user basic authentication.
> In the past when I created such a new XML DataSource and click on the
> button 'Test Connection' eclipse prompted me with a username/password
> dialog. Also when I start my report with the menu action 'Run->view
> Report->in Web Viewer'.
> But suddenly this is no longer working. Now I always got an HTTP Error
> 401 (Unauthorized response) and I got no chance to type in my
> username/password?
>
> Did anybody know about that problem? I don't think that I have changed
> anything in my Eclipse or Server environment. And I have still designed
> different reports. So I know that this worked in the past.
>
> Thanks for any help
> Ralph
>
Re: XML URL - no authentication - no User/Password promt ? [message #778619 is a reply to message #778412] Fri, 13 January 2012 14:35 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
Hi Jason,

thanks for your response. I have tested it on different clients. Normally when I create a new Data set with an xml url and press the button 'Test Connection' I got a login prompt from the Eclipse IDE.
But this prompt did not allways apear. This is really a strange behaivor and I can not found the reason why this is not working on some clients.
Re: XML URL - no authentication - no User/Password promt ? [message #779343 is a reply to message #778619] Sun, 15 January 2012 12:33 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
Can you take a look at this posting:
http://www.eclipse.org/forums/index.php/t/276221/
It seems to me that egit is changing the extension point org.eclipse.equinox.security.loginModule which leads into this problem?

====
Ralph
Re: XML URL - no authentication - no User/Password promt ? [message #780378 is a reply to message #779343] Tue, 17 January 2012 17:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Ralph,

I am not certain but it sounds like you may be right.

Jason

On 1/15/2012 7:33 AM, Ralph Soika wrote:
> Can you take a look at this posting:
> http://www.eclipse.org/forums/index.php/t/276221/
> It seems to me that egit is changing the extension point
> org.eclipse.equinox.security.loginModule which leads into this problem?
>
> ====
> Ralph
Re: XML URL - no authentication - no User/Password promt ? [message #780408 is a reply to message #780378] Tue, 17 January 2012 18:35 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
In the meantime I am absolutely sure that the EGit Plugin is responsible for that problem. Also my own Plugin (Imixs Workflow Modeler) is affected from the EGit behavior.
I am now activating/deactivating the Egit plugin several times a day Sad
Re: XML URL - no authentication - no User/Password promt ? [message #780410 is a reply to message #780378] Tue, 17 January 2012 18:35 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
In the meantime I am absolutely sure that the EGit Plugin is responsible for that problem. Also my own Plugin (Imixs Workflow Modeler) is affected from the EGit behavior.
I am now activating/deactivating the Egit plugin several times a day :(
Re: XML URL - no authentication - no User/Password promt ? [message #780413 is a reply to message #780378] Tue, 17 January 2012 18:35 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
In the meantime I am absolutely sure that the EGit Plugin is responsible for that problem. Also my own Plugin (Imixs Workflow Modeler) is affected from the EGit behavior.
I am now activating/deactivating the Egit plugin several times a day :(
Re: XML URL - no authentication - no User/Password promt ? [message #780416 is a reply to message #780410] Tue, 17 January 2012 18:44 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Have you logged a bug for this yet?

Jason

On 1/17/2012 1:35 PM, Ralph Soika wrote:
> In the meantime I am absolutely sure that the EGit Plugin is responsible
> for that problem. Also my own Plugin (Imixs Workflow Modeler) is
> affected from the EGit behavior. I am now activating/deactivating the
> Egit plugin several times a day :(
Re: XML URL - no authentication - no User/Password promt ? [message #780434 is a reply to message #780416] Tue, 17 January 2012 21:07 Go to previous messageGo to next message
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 192
Registered: July 2009
Senior Member
Now I have created a bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=368882

====
Ralph
Re: XML URL - no authentication - no User/Password promt ? [message #780603 is a reply to message #780434] Wed, 18 January 2012 18:12 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Thanks for posting this.

Jason

On 1/17/2012 4:07 PM, Ralph Soika wrote:
> Now I have created a bug report:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=368882
>
> ====
> Ralph
Previous Topic:Report with RunningCount Throws NullPointerException
Next Topic:Data Source shows No Available Items
Goto Forum:
  


Current Time: Thu Apr 25 09:32:51 GMT 2024

Powered by FUDForum. Page generated in 0.05631 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top