Hi,

I could build the product-apim after doing the following

1. build carbon-apim
2. copy encoder-1.1.jar & httpmime-4.2.5.jar jars to the
module/distribution/product/src/main/resources location

then when I run the tests, again build failed saying can't resolve the
dependency org.wso2.am.backend.service.1.7.0.jar
so I changed the dependency version to 1.7.0-SNAPSHOT

Now the problem is when starting the apim it gives following warning and
hangs

[2014-08-21 08:58:31,302]  WARN - CarbonServerManager Carbon initialization
is delayed due to the following unsatisfied items:
[2014-08-21 08:58:31,304]  WARN - CarbonServerManager Waiting for required
OSGiAxis2Service: org.wso2.carbon.apimgt.gateway-4.3.0.SNAPSHOT
[2014-08-21 08:59:31,301]  WARN - CarbonServerManager Carbon initialization
is delayed due to the following unsatisfied items:
[2014-08-21 08:59:31,302]  WARN - CarbonServerManager Waiting for required
OSGiAxis2Service: org.wso2.carbon.apimgt.gateway-4.3.0.SNAPSHOT
[2014-08-21 09:00:31,301]  WARN - CarbonServerManager Carbon initialization
is delayed due to the following unsatisfied items:
[2014-08-21 09:00:31,302]  WARN - CarbonServerManager Waiting for required
OSGiAxis2Service: org.wso2.carbon.apimgt.gateway-4.3.0.SNAPSHOT

any idea of how to resolve this?


On Thu, Aug 21, 2014 at 7:40 AM, Amalka Subasinghe <[email protected]> wrote:

> Hi Dhanushka,
>
> it's jdk 1.6_x and maven 3.0.x.
>
>
> On Thu, Aug 21, 2014 at 6:07 AM, Danushka Fernando <[email protected]>
> wrote:
>
>> Hi Amalka
>> Please check java and maven versions. They should be jdk 1.6_x and maven
>> 3.0.x.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Wed, Aug 20, 2014 at 8:46 PM, Amalka Subasinghe <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm getting the following error when trying to build the product-apim,
>>> any idea of what is missing?
>>>
>>> An error occurred while configuring the installed items
>>>  session context was:(profile=default,
>>> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
>>> --> [R]org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT,
>>> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>>>  I/O Error while copying
>>> /home/amalka/amalkas/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.3.0-SNAPSHOT/repository/components/default/../features/org.wso2.carbon.apimgt.store_4.3.0.SNAPSHOT/admin-dashboard
>>> - see details.
>>> Caused by:  java.io.IOException: Source:
>>> /home/amalka/amalkas/product-apim/modules/p2-profile/product/target/wso2carbon-core-4.3.0-SNAPSHOT/repository/components/default/../features/org.wso2.carbon.apimgt.store_4.3.0.SNAPSHOT/admin-dashboarddoes
>>> not exists
>>> Application failed, log file location:
>>> /home/amalka/amalka/maven_repo/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1408547531357.log
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] WSO2 API Manager - Aggregator Module .............. SUCCESS
>>> [0.112s]
>>> [INFO] WSO2 API Manager - Styles Parent .................. SUCCESS
>>> [0.007s]
>>> [INFO] WSO2 API Manager - Styles ......................... SUCCESS
>>> [1.499s]
>>> [INFO] WSO2 Stratos  API Manager - UI styles ............. SUCCESS
>>> [0.663s]
>>> [INFO] WSO2 Stratos  API Manager - Dashboard UI .......... SUCCESS
>>> [0.314s]
>>> [INFO] WSO2 AM - Login User Interface .................... SUCCESS
>>> [0.343s]
>>> [INFO] WSO2 API Manager - Features Parent ................ SUCCESS
>>> [0.004s]
>>> [INFO] WSO2 API Manager - Features Aggregator Module ..... SUCCESS
>>> [0.004s]
>>> [INFO] WSO2 API Manager - Styles Features ................ SUCCESS
>>> [0.222s]
>>> [INFO] WSO2 Stratos  API Manager - Style Features ........ SUCCESS
>>> [0.012s]
>>> [INFO] WSO2 Stratos  API Manager - Utils Features ........ SUCCESS
>>> [0.359s]
>>> [INFO] WSO2 Stratos  API Manager - Dashboard UI Features . SUCCESS
>>> [0.016s]
>>> [INFO] WSO2 Stratos  API Manager - Deployment Features ... SUCCESS
>>> [0.016s]
>>> [INFO] WSO2 Stratos  API Manager - Features Aggregator Module  SUCCESS
>>> [0.003s]
>>> [INFO] WSO2 API Manager - P2 Profile Generation Parent ... SUCCESS
>>> [0.003s]
>>> [INFO] WSO2 API Manager - P2 Profile Generation .......... FAILURE
>>> [34.959s]
>>> [INFO] WSO2 API Manager - BAM Toolbox .................... SKIPPED
>>> [INFO] WSO2 API Manager - Distribution Parent ............ SKIPPED
>>> [INFO] WSO2 API Manager - Distribution ................... SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 39.462s
>>> [INFO] Finished at: Wed Aug 20 20:42:20 IST 2014
>>> [INFO] Final Memory: 29M/1237M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
>>> (3-p2-profile-generation) on project am-p2-profile: P2 publisher return
>>> code was 13 -> [Help 1]
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>> execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
>>> (3-p2-profile-generation) on project am-p2-profile: P2 publisher return
>>> code was 13
>>>     at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>>>     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:84)
>>>     at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>     at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>     at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>     at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>>     at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>>     at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>>     at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: P2 publisher
>>> return code was 13
>>>     at org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:180)
>>>     at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>>     at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>>     ... 19 more
>>> Caused by: org.apache.maven.plugin.MojoFailureException: P2 publisher
>>> return code was 13
>>>     at
>>> org.wso2.maven.p2.ProfileGenMojo.installFeatures(ProfileGenMojo.java:222)
>>>     at org.wso2.maven.p2.ProfileGenMojo.execute(ProfileGenMojo.java:170)
>>>     ... 21 more
>>>
>>>
>>> Thanks
>>> Amalka
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
>
> Amalka Subasinghe
>
> Senior Software Engineer
> WSO2 Inc.
> Mobile: +94 77 9401267
>



-- 

Amalka Subasinghe

Senior Software Engineer
WSO2 Inc.
Mobile: +94 77 9401267
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to