OpenIotOrg / openiot

The Open Source Project for the Internet of Things
457 stars 190 forks source link

error in the installation of openiot #140

Open asad26 opened 7 years ago

asad26 commented 7 years ago

Hi, I am facing an error while running mvn clean install in openiot-develop branch. The error is in the project security.management. Find below are the details. I tried various solutions but couldn't success ed. Please tell me what should I do to resolve this issue.

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] OpenIoT ............................................ SUCCESS [ 0.917 s] [INFO] OpenIoT Common files ............................... SUCCESS [ 4.913 s] [INFO] OpenIoT Security Client ............................ SUCCESS [ 6.631 s] [INFO] OpenIoT LSM-light Client ........................... SUCCESS [ 7.755 s] [INFO] OpenIoT Security server ............................ SUCCESS [ 21.297 s] [INFO] OpenIoT security management web app ................ FAILURE [ 1.371 s] [INFO] OpenIoT LSM-light Server ........................... SKIPPED [INFO] xgsn ............................................... SKIPPED [INFO] OpenIoT sdum.core .................................. SKIPPED [INFO] OpenIoT sdum.client ................................ SKIPPED [INFO] OpenIoT Scheduler Core ............................. SKIPPED [INFO] OpenIoT Scheduler Client ........................... SKIPPED [INFO] OpenIoT ide.core ................................... SKIPPED [INFO] OpenIoT request definition/presentation commons .... SKIPPED [INFO] OpenIoT request definition web app ................. SKIPPED [INFO] OpenIoT request presentation web app ............... SKIPPED [INFO] OpenIoT RDF Sensor Schema Editor ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43.819 s [INFO] Finished at: 2017-05-12T11:00:55+03:00 [INFO] Final Memory: 55M/145M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project security.management: Could not resolve dependencies for project org.openiot:security.management:war:0.0.1: Failed to collect dependencies at org.primefaces.extensions:all-themes:pom:1.0.10: Failed to read artifact descriptor for org.primefaces.extensions:all-themes:pom:1.0.10: Could not transfer artifact org.primefaces.extensions:all-themes:pom:1.0.10 from/to prime-repo (http://repository.primefaces.org): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :security.management

premjayaraman commented 7 years ago

Please download the required dependencies and install them manually in the local maven repo. RegardsPrem -------- Original message --------From: asad26 notifications@github.com Date: 12/05/2017 6:06 PM (GMT+10:00) To: OpenIotOrg/openiot openiot@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [OpenIotOrg/openiot] error in the installation of openiot (#140) Hi,

I am facing an error while running mvn clean install in openiot-develop branch. The error is in the project security.management. Find below are the details. Please tell me what should I do to resolve this issue. [INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] OpenIoT ............................................ SUCCESS [ 0.917 s]

[INFO] OpenIoT Common files ............................... SUCCESS [ 4.913 s]

[INFO] OpenIoT Security Client ............................ SUCCESS [ 6.631 s]

[INFO] OpenIoT LSM-light Client ........................... SUCCESS [ 7.755 s]

[INFO] OpenIoT Security server ............................ SUCCESS [ 21.297 s]

[INFO] OpenIoT security management web app ................ FAILURE [ 1.371 s]

[INFO] OpenIoT LSM-light Server ........................... SKIPPED

[INFO] xgsn ............................................... SKIPPED

[INFO] OpenIoT sdum.core .................................. SKIPPED

[INFO] OpenIoT sdum.client ................................ SKIPPED

[INFO] OpenIoT Scheduler Core ............................. SKIPPED

[INFO] OpenIoT Scheduler Client ........................... SKIPPED

[INFO] OpenIoT ide.core ................................... SKIPPED

[INFO] OpenIoT request definition/presentation commons .... SKIPPED

[INFO] OpenIoT request definition web app ................. SKIPPED

[INFO] OpenIoT request presentation web app ............... SKIPPED

[INFO] OpenIoT RDF Sensor Schema Editor ................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 43.819 s

[INFO] Finished at: 2017-05-12T11:00:55+03:00

[INFO] Final Memory: 55M/145M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project security.management: Could not resolve dependencies for project org.openiot:security.management:war:0.0.1: Failed to collect dependencies at org.primefaces.extensions:all-themes:pom:1.0.10: Failed to read artifact descriptor for org.primefaces.extensions:all-themes:pom:1.0.10: Could not transfer artifact org.primefaces.extensions:all-themes:pom:1.0.10 from/to prime-repo (http://repository.primefaces.org): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :security.management

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OpenIotOrg/openiot","title":"OpenIotOrg/openiot","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/OpenIotOrg/openiot"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"error in the installation of openiot (#140)"}],"action":{"name":"View Issue","url":"https://github.com/OpenIotOrg/openiot/issues/140"}}}

asad26 commented 7 years ago

@premjayaraman Thank you Prem. The error has been resolved now.

asad26 commented 7 years ago

I am getting another error in ui.requestDefinition. Find below are the details. Which dependencies I should download now?

[INFO] Reactor Summary: [INFO] [INFO] OpenIoT ............................................ SUCCESS [ 0.551 s] [INFO] OpenIoT Common files ............................... SUCCESS [ 2.295 s] [INFO] OpenIoT Security Client ............................ SUCCESS [ 3.705 s] [INFO] OpenIoT LSM-light Client ........................... SUCCESS [ 3.623 s] [INFO] OpenIoT Security server ............................ SUCCESS [ 17.622 s] [INFO] OpenIoT security management web app ................ SUCCESS [ 10.611 s] [INFO] OpenIoT LSM-light Server ........................... SUCCESS [ 13.199 s] [INFO] xgsn ............................................... SUCCESS [ 24.725 s] [INFO] OpenIoT sdum.core .................................. SUCCESS [ 9.578 s] [INFO] OpenIoT sdum.client ................................ SUCCESS [ 7.627 s] [INFO] OpenIoT Scheduler Core ............................. SUCCESS [ 9.610 s] [INFO] OpenIoT Scheduler Client ........................... SUCCESS [ 5.044 s] [INFO] OpenIoT ide.core ................................... SUCCESS [ 1.294 s] [INFO] OpenIoT request definition/presentation commons .... SUCCESS [ 3.349 s] [INFO] OpenIoT request definition web app ................. FAILURE [ 0.805 s] [INFO] OpenIoT request presentation web app ............... SKIPPED [INFO] OpenIoT RDF Sensor Schema Editor ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:54 min [INFO] Finished at: 2017-05-12T12:02:08+03:00 [INFO] Final Memory: 159M/758M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project ui.requestDefinition: Could not resolve dependencies for project org.openiot:ui.requestDefinition:war:0.0.1: Failed to collect dependencies at org.primefaces:primefaces:jar:3.5: Failed to read artifact descriptor for org.primefaces:primefaces:jar:3.5: Could not transfer artifact org.primefaces:primefaces:pom:3.5 from/to prime-repo (http://repository.primefaces.org): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :ui.requestDefinition

premjayaraman commented 7 years ago

You need to add this to your java cert as trusted site http://repository.primefaces.org -------- Original message --------From: asad26 notifications@github.com Date: 12/05/2017 7:06 PM (GMT+10:00) To: OpenIotOrg/openiot openiot@noreply.github.com Cc: Prem Jayaraman prem.jayaraman@gmail.com, Mention mention@noreply.github.com Subject: Re: [OpenIotOrg/openiot] error in the installation of openiot (#140) I am getting another error in ui.requestDefinition. Find below are the details. Which dependencies I should download now? [INFO] Reactor Summary:

[INFO]

[INFO] OpenIoT ............................................ SUCCESS [ 0.551 s]

[INFO] OpenIoT Common files ............................... SUCCESS [ 2.295 s]

[INFO] OpenIoT Security Client ............................ SUCCESS [ 3.705 s]

[INFO] OpenIoT LSM-light Client ........................... SUCCESS [ 3.623 s]

[INFO] OpenIoT Security server ............................ SUCCESS [ 17.622 s]

[INFO] OpenIoT security management web app ................ SUCCESS [ 10.611 s]

[INFO] OpenIoT LSM-light Server ........................... SUCCESS [ 13.199 s]

[INFO] xgsn ............................................... SUCCESS [ 24.725 s]

[INFO] OpenIoT sdum.core .................................. SUCCESS [ 9.578 s]

[INFO] OpenIoT sdum.client ................................ SUCCESS [ 7.627 s]

[INFO] OpenIoT Scheduler Core ............................. SUCCESS [ 9.610 s]

[INFO] OpenIoT Scheduler Client ........................... SUCCESS [ 5.044 s]

[INFO] OpenIoT ide.core ................................... SUCCESS [ 1.294 s]

[INFO] OpenIoT request definition/presentation commons .... SUCCESS [ 3.349 s]

[INFO] OpenIoT request definition web app ................. FAILURE [ 0.805 s]

[INFO] OpenIoT request presentation web app ............... SKIPPED

[INFO] OpenIoT RDF Sensor Schema Editor ................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 01:54 min

[INFO] Finished at: 2017-05-12T12:02:08+03:00

[INFO] Final Memory: 159M/758M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project ui.requestDefinition: Could not resolve dependencies for project org.openiot:ui.requestDefinition:war:0.0.1: Failed to collect dependencies at org.primefaces:primefaces:jar:3.5: Failed to read artifact descriptor for org.primefaces:primefaces:jar:3.5: Could not transfer artifact org.primefaces:primefaces:pom:3.5 from/to prime-repo (http://repository.primefaces.org): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :ui.requestDefinition

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OpenIotOrg/openiot","title":"OpenIotOrg/openiot","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/OpenIotOrg/openiot"}},"updates":{"snippets":[{"icon":"PERSON","message":"@asad26 in #140: I am getting another error in ui.requestDefinition. Find below are the details. Which dependencies I should download now?\r\n\r\n[INFO] Reactor Summary:\r\n[INFO]\r\n[INFO] OpenIoT ............................................ SUCCESS [ 0.551 s]\r\n[INFO] OpenIoT Common files ............................... SUCCESS [ 2.295 s]\r\n[INFO] OpenIoT Security Client ............................ SUCCESS [ 3.705 s]\r\n[INFO] OpenIoT LSM-light Client ........................... SUCCESS [ 3.623 s]\r\n[INFO] OpenIoT Security server ............................ SUCCESS [ 17.622 s]\r\n[INFO] OpenIoT security management web app ................ SUCCESS [ 10.611 s]\r\n[INFO] OpenIoT LSM-light Server ........................... SUCCESS [ 13.199 s]\r\n[INFO] xgsn ............................................... SUCCESS [ 24.725 s]\r\n[INFO] OpenIoT sdum.core .................................. SUCCESS [ 9.578 s]\r\n[INFO] OpenIoT sdum.client ................................ SUCCESS [ 7.627 s]\r\n[INFO] OpenIoT Scheduler Core ............................. SUCCESS [ 9.610 s]\r\n[INFO] OpenIoT Scheduler Client ........................... SUCCESS [ 5.044 s]\r\n[INFO] OpenIoT ide.core ................................... SUCCESS [ 1.294 s]\r\n[INFO] OpenIoT request definition/presentation commons .... SUCCESS [ 3.349 s]\r\n[INFO] OpenIoT request definition web app ................. FAILURE [ 0.805 s]\r\n[INFO] OpenIoT request presentation web app ............... SKIPPED\r\n[INFO] OpenIoT RDF Sensor Schema Editor ................... SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 01:54 min\r\n[INFO] Finished at: 2017-05-12T12:02:08+03:00\r\n[INFO] Final Memory: 159M/758M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal on project ui.requestDefinition: Could not resolve dependencies for project org.openiot:ui.requestDefinition:war:0.0.1: Failed to collect dependencies at org.primefaces:primefaces:jar:3.5: Failed to read artifact descriptor for org.primefaces:primefaces:jar:3.5: Could not transfer artifact org.primefaces:primefaces:pom:3.5 from/to prime-repo (http://repository.primefaces.org): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -\u003e [Help 1]\r\n[ERROR]\r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR]\r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException\r\n[ERROR]\r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR] mvn \u003cgoals\u003e -rf :ui.requestDefinition\r\n"}],"action":{"name":"View Issue","url":"https://github.com/OpenIotOrg/openiot/issues/140#issuecomment-301024856"}}}

asad26 commented 7 years ago

Hi,

Thank you Prem for your feedback. Now, there is another issue. I have copied the following war files in JBOSS_HOME\standalone\deployments folder, as per the instructions on OpenIoT installation page. All the files are deployed except first two: lsm-light.server.war and openiot-cas.war. These two files are getting failed. What would be the problem? Please suggest me some solutions.

openiot/modules/lsm-light/lsm-light.server/target/lsm-light.server.war openiot/modules/security/security-server/target/openiot-cas.war openiot/modules/security/security-management/target/security.management.war openiot/modules/scheduler/scheduler.core/target/scheduler.core.war openiot/modules/sdum/sdum.core/target/sdum.core.war openiot/ui/ui.requestDefinition/target/ui.requestDefinition.war openiot/ui/ui.requestPresentation/target/ui.requestPresentation.war openiot/ui/ui.schemaeditor/target/ui.schemaeditor.war openiot/ui/ide/ide.core/target/ide.core.war

xiaoxihahaha commented 5 years ago

could you tell me how to install openIOT,I feel very sad,it is difficult to me

Jiasol commented 4 years ago

@xiaoxihahaha Hi Maybe you managed to install the platform without any problem?