Systinet Reporting demo broken (181 Views)
Reply
Occasional Advisor
Apoorve Mohale
Posts: 13
Registered: ‎09-29-2009
Message 1 of 6 (181 Views)

Systinet Reporting demo broken

Hello,

We are running the Systinet version 3.0 We are running the systinet demos in order to verify out install of systinet. We were able to successfully run the demos for REST, RSS, SDM and Contract but we are facing issues with the Reporting Demo. The reporting demo errors out throwing the following message:


Executing task asynchronously...

DEBUG: rest.Client - url to GET: http://170.63.166.24:8080/soa/systinet/platform/restBasic/repository/taskArtifacts/ReportingDemoTask...

DEBUG: rest.Client - Received error response: statusCode: 401, contentType: text/html;charset=utf-8

DEBUG: rest.Client - Common get:

org.systinet.platform.rest.ClientException: [{http://systinet.com/2005/05/repository}http-error-401-unauthorized]: Unauthorized

Message contentType: text/html;charset=utf-8

Server Message: JBossWeb/2.0.1.GA - Error report

HTTP Status 401 -


type Status report

message

description This request requires HTTP authentication ().


JBossWeb/2.0.1.GA



Server Stack Trace:
at org.systinet.platform.rest.Client.checkStatusCode(Client.java:1904)
at org.systinet.platform.rest.Client.commonGetAsStream(Client.java:1850)
at org.systinet.platform.rest.Client.commonGetAsResource(Client.java:1770)
at org.systinet.platform.rest.Client.get(Client.java:812)
at demo.platform.reporting.task.ReportingTaskDemo.publish(ReportingTaskDemo.java:79)
at demo.platform.reporting.task.ReportingTaskDemo.main(ReportingTaskDemo.java:154)

Exception in thread "main" org.systinet.platform.rest.ClientException: [{http://systinet.com/2005/05/repository}http-error-401-unauthorized]: Unauthorized

Message contentType: text/html;charset=utf-8

Server Message: JBossWeb/2.0.1.GA - Error report

HTTP Status 401 -


type Status report

message

description This request requires HTTP authentication ().


JBossWeb/2.0.1.GA


Server Stack Trace:
at org.systinet.platform.rest.Client.checkStatusCode(Client.java:1904)
at org.systinet.platform.rest.Client.commonGetAsStream(Client.java:1850)
at org.systinet.platform.rest.Client.commonGetAsResource(Client.java:1770)
at org.systinet.platform.rest.Client.get(Client.java:812)
at demo.platform.reporting.task.ReportingTaskDemo.publish(ReportingTaskDemo.java:79)
at demo.platform.reporting.task.ReportingTaskDemo.main(ReportingTaskDemo.java:154)

All the environment variables are as it is and nothing has changed since we have changed since we ran other demos successfully.

Thanks
Apoorve Mohale
Business Analyst, ITD
Please use plain text.
Frequent Advisor
Tomas Kulhanek
Posts: 42
Registered: ‎10-02-2009
Message 2 of 6 (181 Views)

Re: Systinet Reporting demo broken

Hi,


we experienced that in some specific condition our demo didn't send mandatory properties to the API in previous version of HP SOA Systinet. Your "HTTP 401 status code" seems to be caused by this.

The problem with the demos should be fixed in most recent version 3.20 which I very recommend to use and test.

with regards

Tomas Kulhanek
Please use plain text.
Occasional Advisor
Apoorve Mohale
Posts: 13
Registered: ‎09-29-2009
Message 3 of 6 (181 Views)

Re: Systinet Reporting demo broken

Hello,

I had reported a problem with the reporting demo/funstionality in Systinet 3.0 in the forums. I was being told that it is a known problem and it is resolved in Systinet 3.2. I am trying to run the Reporting demo for Systinet 3.20 to verify that the reporting issue is resolved.

The reporting demo for Systinet 3.2 is throwing errors and is unable to complete. The error is as given below. Please let me know what is the issue here. It seems to be throwing errors due to permissions but I am the system administrator and have full access to all the folders.

[systinet@itdsai-test-systinet task]$ ./run.sh publish
Publishing...
Running demo...
Be sure that FTP Service demo is published!
Creating task...
Published: http://170.63.166.24:8080/soa/systinet/platform/restBasic/repository/taskArtifacts/ReportingDemoTask
Executing task asynchronously...
Exception in thread "main" org.systinet.platform.rest.ClientException: [{http://systinet.com/2005/05/repository}http-error-401-unauthorized]: Unauthorized
Message contentType: text/html;charset=utf-8
Server Message: JBossWeb/2.0.1.GA - Error report

HTTP Status 401 -


type Status report

message

description This request requires HTTP authentication ().


JBossWeb/2.0.1.GA


Server Stack Trace:
at org.systinet.platform.rest.Client.checkStatusCode(Client.java:1812)
at org.systinet.platform.rest.Client.commonGetAsStream(Client.java:1758)
at org.systinet.platform.rest.Client.commonGetAsResource(Client.java:1678)
at org.systinet.platform.rest.Client.get(Client.java:852)
at demo.platform.reporting.task.ReportingTaskDemo.publish(ReportingTaskDemo.java:79)
at demo.platform.reporting.task.ReportingTaskDemo.main(ReportingTaskDemo.java:154)


Thanks
Apoorve
Please use plain text.
Frequent Advisor
Tomas Kulhanek
Posts: 42
Registered: ‎10-02-2009
Message 4 of 6 (181 Views)

Re: Systinet Reporting demo broken

Hi Apoorve,

could you check that the demo properties - especially the admin password is correctly set according to your HP SOA Systinet installation in the demos/env.properties file under the property name platform.demos.user.admin.password?

Note that the properties in the mentioned file are not sorted alphabetically and platform.demos.user.admin.password isn't defined just after platform.demos.user.admin.name

regards

Tomas Kulhanek
HP SOA Systinet Support
Please use plain text.
Occasional Advisor
Apoorve Mohale
Posts: 13
Registered: ‎09-29-2009
Message 5 of 6 (181 Views)

Re: Systinet Reporting demo broken

That fixed it. Thanks for your help Tim!!

-Apoorve
Please use plain text.
Occasional Advisor
Apoorve Mohale
Posts: 13
Registered: ‎09-29-2009
Message 6 of 6 (181 Views)

Re: Systinet Reporting demo broken

This is fixed after changin Admin password.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation