Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8058

FIWARE.Request.Tech.fiware chpeus-cep maven problem.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      hello
      when i try to run this command "mvn spring-boot:run" on cepheus-cep i got

      Failed to execute goal
      org.springframework.boot:spring-boot-maven-plugin:1.2.3.RELEASE:run
      (default-cli) on project cepheus-cep: An exception occured while running.
      null: InvocationTargetException: Tomcat connector in failed state -> [Help
      1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
      goal org.springframework.boot:spring-boot-maven-plugin:1.2.3.RELEASE:run
      (default-cli) on project cepheus-cep: An exception occured while running.
      null
      at
      org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
      at
      org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at
      org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at
      org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      at
      org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      at
      org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      at
      org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at
      org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      at
      org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      at
      org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      at
      org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: org.apache.maven.plugin.MojoExecutionException: An exception
      occured while running. null
      at
      org.springframework.boot.maven.RunMojo$IsolatedThreadGroup.rethrowUncaughtException(RunMojo.java:387)
      at
      org.springframework.boot.maven.RunMojo.runWithMavenJvm(RunMojo.java:214)
      at org.springframework.boot.maven.RunMojo.run(RunMojo.java:187)
      at org.springframework.boot.maven.RunMojo.execute(RunMojo.java:144)
      at
      org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      at
      org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      ... 20 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at
      org.springframework.boot.maven.RunMojo$LaunchRunner.run(RunMojo.java:418)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalStateException: Tomcat connector in failed state
      at
      org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:157)
      at
      org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:288)
      at
      org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)
      at
      org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)
      at
      org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
      at
      org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
      at
      org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
      at
      org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
      at com.orange.cepheus.cep.Application.main(Application.java:31)
      ... 6 more
      i didnt know what should i do
      i change Tomcat to 8181 and i still have the same problem

      any help please
      regards
      ahmad

      [Created via e-mail received from: Ahmad Emad El-Deen <ahmedemad031@gmail.com>]

        Activity

        Hide
        urishani Uri Shani added a comment -

        Hi Ahmed,
        It is not clear to me what is cepheus-cep and where from you got this code to build.
        Is this indeed the PROTON CEP of FIWARE?
        In this case, I suggest to work with the Docker image option where you will use compiled war ready for use.

        Hope this helps.

        • Uri
        Show
        urishani Uri Shani added a comment - Hi Ahmed, It is not clear to me what is cepheus-cep and where from you got this code to build. Is this indeed the PROTON CEP of FIWARE? In this case, I suggest to work with the Docker image option where you will use compiled war ready for use. Hope this helps. Uri
        Hide
        fw.ext.user FW External User added a comment -

        Comment by ahmedemad031@gmail.com :

        no it's indeed the PROTON CEP of FIWARE its related to Cepheus as IoT GE
        and this command related to example found in read the docs of Fiware
        Cepheus

        On Mon, Jan 2, 2017 at 1:57 AM, Help-Desk <jira-help-desk@jira.fiware.org>
        wrote:

        >
        >

        Show
        fw.ext.user FW External User added a comment - Comment by ahmedemad031@gmail.com : no it's indeed the PROTON CEP of FIWARE its related to Cepheus as IoT GE and this command related to example found in read the docs of Fiware Cepheus On Mon, Jan 2, 2017 at 1:57 AM, Help-Desk <jira-help-desk@jira.fiware.org> wrote: > >
        Hide
        urishani Uri Shani added a comment -

        Hi,
        I am not aware of Cepheus, but would go to the PROTON CEP docs to figure out how to run this service.
        Perhaps the Cepheus docs are outdated.
        Here is our installation instructions: http://proactive-technology-online.readthedocs.io/en/latest/Proton-InstallationAndAdminGuide/index.html

        Hope this helps.

        • Uri
        Show
        urishani Uri Shani added a comment - Hi, I am not aware of Cepheus, but would go to the PROTON CEP docs to figure out how to run this service. Perhaps the Cepheus docs are outdated. Here is our installation instructions: http://proactive-technology-online.readthedocs.io/en/latest/Proton-InstallationAndAdminGuide/index.html Hope this helps. Uri
        Hide
        fw.ext.user FW External User added a comment -

        Comment by ahmedemad031@gmail.com :

        Ok thanks in advance

        best regards
        ahmad

        On Mon, Jan 2, 2017 at 1:10 PM, Help-Desk <jira-help-desk@jira.fiware.org>
        wrote:

        >
        >

        Show
        fw.ext.user FW External User added a comment - Comment by ahmedemad031@gmail.com : Ok thanks in advance best regards ahmad On Mon, Jan 2, 2017 at 1:10 PM, Help-Desk <jira-help-desk@jira.fiware.org> wrote: > >

          People

          • Assignee:
            urishani Uri Shani
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: