Following the guide for WSO2 Private PaaS, when running ./boot.sh, after the
Starting WSO2 Private PaaS server as ubuntu user...
There would be nothing going on.
Stratos version: Apache Stratos v4.0.0-wso2v1
In private-paas /install/apache-stratos-default/repository/logs directory:
the wso2carbon.log giving repeat message as:
[2015-05-06 10:27:38,573] WARN {org.wso2.carbon.core.init.CarbonServerManager} - Carbon initialization is delayed due to the following unsatisfied items:
[2015-05-06 10:27:38,574] WARN {org.wso2.carbon.core.init.CarbonServerManager} - Waiting for required OSGiAxis2Service: org.wso2.carbon.identity.provider-4.2.1
[2015-05-06 10:28:38,574] WARN {org.wso2.carbon.core.init.CarbonServerManager} - Carbon initialization is delayed due to the following unsatisfied items:
What does this mean? Any suggestions?
Apache Stratos is based on WSO2 Carbon which itself is an OSGI based framework. From the WARN messages it seems to be waiting for the identity provider OSGI bundle to be loaded. Check if the stated Jar file is available in <STRATOS_HOME>/repository/components/plugin path during server start. If there is one, check if its md5sum is the same as the one that is distributed with Private PaaS. There is a possibility that the jar file is corrupted and could not be loaded as a bundle.
Related
I am doing a migration from APIM 1.8.0 to APIM 2.1.0 and facing an issue with one of migration tools.
Naturally, I am following the steps described in migration guide: https://docs.wso2.com/display/AM210/Upgrading+from+the+Previous+Release
My OS is Windows 7 Enterprise x64, Java - Oracle JDK 7u67, DB - MySQL 5.7, user store - LDAP.
I downloaded WSO2 Identity Server 5.1.0 Migration Client (org.wso2.carbon.is.migrate.client-5.1.0-migration.zip SHA1: ece8ff9a33167751268d205293cc1404fbe4c567) from docs.wso2.com/download/attachments/50518205/org.wso2.carbon.is.migrate.client-5.1.0-migration.zip?version=2&modificationDate=1470811755000&api=v2 as described in guide metioned above (step 7).
Then I unzipped it and put necessary DB scripts into directory APIM_2.1.0_HOME/dbscripts/ (steps 7-a, 7-b) and JAR file into directory APIM_2.1.0_HOME/repository/components/dropins/ (step 7-c).
After that when I try to migrate Identity and User Store DBs (step 9) using IS migration client starting APIM instance with command
wso2server.bat -Dmigrate -DmigrateIdentityDB -Dcomponent=identity
it looks like nothing happens.
I've even configured a logger for this client in APIM_2.1.0_HOME/repository/conf/log4j.properties as
log4j.logger.org.wso2.carbon.is.migration=DEBUG
but only two DEBUG rows appear in logs telling me that migration component activated successfully:
INFO {org.wso2.carbon.databridge.core.internal.DataBridgeDS} - Successfully deployed Agent Server {org.wso2.carbon.databridge.core.internal.DataBridgeDS}
DEBUG {org.wso2.carbon.is.migration.client.internal.ISMigrationServiceComponent} - Setting RealmService to WSO2 IS Migration component {org.wso2.carbon.is.migration.client.internal.ISMigrationServiceComponent}
DEBUG {org.wso2.carbon.is.migration.client.internal.ISMigrationServiceComponent} - WSO2 IS migration bundle is activated {org.wso2.carbon.is.migration.client.internal.ISMigrationServiceComponent}
INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 63ms {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService}
Moreover, I looked at the source code of the client at github.com/wso2/product-is/tree/v5.1.0/modules/migration/migration-5.0.0_to_5.1.0/wso2-is-migration-client, especially at class org.wso2.carbon.is.migration.client.internal.ISMigrationServiceComponent and its method activate(ComponentContext context), which in fact does nothing in contrast to similar class github.com/wso2/product-apim/blob/v2.1.0/modules/distribution/resources/migration/wso2-api-migration-client/src/main/java/org/wso2/carbon/apimgt/migration/client/internal/APIMMigrationServiceComponent.java from another migration client, also provided in migration guide mentioned above (step 4).
And finally, I noticed that relevant code was removed in one of the commits: "removing the migration from pack and adding script changes" https://github.com/wso2/product-is/pull/362/files#diff-789b1c66c0ca3e073080a2b8e6c27834L49
So, my questions are:
Why were those lines of code removed?
And the main question is how to trigger migration client properly? What did I do wrong?
I would appreciate any kind of help.
It was an issue with the migration document. Documentation is now changed. you will have to do a migration to 2.0.0 from 1.8.0 and then to 2.1.0.
https://docs.wso2.com/display/AM210/Upgrading+from+the+Previous+Release#8910
I'm running WSO2 AM 1.10.0 in cluster node on two virtual machines on my PC (one acting as manager node the other is a worker node). Recently I had to re-install my PC from scratch with Windows 10, and occasionally after restart I receive the following warning messages repeating again and again:
WARN {org.wso2.carbon.application.deployer.internal.AppDeployerServiceComponent}
Waiting for required OSGi services:
org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,
org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
WARN {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}
Waiting for required OSGi services:
org.wso2.carbon.application.deployer.service.CappDeploymentService,
org.wso2.carbon.server.admin.common.IServerAdmin,
org.wso2.carbon.throttling.agent.ThrottlingAgen,
It does not happen each time, but when it happens it does not allow WSO2 to start for a long time. Any possible reason why it happens?
Turns out the visual SVN server I am using (Visual SVN on the host of the virtual boxes) sometimes not runs correctly after restart, and requires manual restart.
Hi I am doing following steps from http://wso2.com/library/articles/2014/02/cloud-to-rdbms-using-wso2-esb/
the following issue happens after installation of Data Service Hosting 4.2.0 and restarted the ESB.
[2017-03-15 11:58:30,385] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2017-03-15 11:58:30,385] WARN - CarbonServerManager Waiting for required OSGiAxis2Service: org.wso2.carbon.dataservices.task-4.4.0
how can I fix or revert it.
What is the ESB version you are using?
If you want to revert you can select it from installed features list and click uninstall
We are trying to create a WSO2 ESB cartridge to run on Openshift but haven't had much success yet. Is it even possible to run WSO2 ESB on Openshift or do we have to rely on Fuse ESB? Happy to run WSO2 either through cartridge option or just an EAR file if that's possible.
I was trying to install WSO2 ESB in an Openshift DIY cartridge. But I'm getting an port binding issue. The nasty thing is the message does not say which port it is unable to be bind into.
Please let me know if you passed this stage while trying to deploy WSO2 ESB in Openshift.
[esb3-yasas.rhcloud.com bin]> sh wso2server.sh
Starting WSO2 Carbon (in unsupported JDK) [ERROR] CARBON is
supported only on JDK 1.6 and 1.7 JAVA_HOME environment variable is
set to
/var/lib/openshift/57dca6070c1e66b48000003c/app-root/data/java/jdk1.8.0_45/
CARBON_HOME environment variable is set to
/var/lib/openshift/57dca6070c1e66b48000003c/app-root/data/esb Java
HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0 Error: Exception thrown
by the agent : java.rmi.server.ExportException: Port already in use:
0; nested exception is:
java.net.BindException: Permission denied
Snapshot
Thanks !
I downloaded binary version for WSO2 ESB 4.0.3
Now when i run wso2server.bat , it simply executes for 2-3 seconds and quits with followin output:
>wso2server.bat
JAVA_HOME environment variable is set to D:\Java\jdk1.6.0_24
CARBON_HOME environment variable is set to D:\iprint\WSO2ES~1.3\bin\..
[2012-11-08 10:02:12,250] INFO - Main Initializing system...
[2012-11-08 10:02:12,375] INFO - HttpTransport Created Connector [HTTP_11_NIO:/
/*:9763]
[2012-11-08 10:02:12,390] INFO - HttpTransport Created Connector [HTTPS_11_NIO:
//*:9443]
[2012-11-08 10:02:12,453] INFO - TomcatCarbonWebappDeployer Deployed Carbon web
app: StandardEngine[Tomcat].StandardHost[defaulthost].StandardContext[/]
[2012-11-08 10:02:12,593] INFO - TransactionFactory Starting Atomikos Transacti
on Manager 3.7.0
>
I can not find anything in the logs as well.
The documentation also seems to be poor for 4.0.3 on wso2.org site as there is no step on how to configure DB for the ESB.
Thanks
deepak
WSO2 ESB documentation clearly specifies these information. As you are working with 4.0.3 version, this is the doc location. http://docs.wso2.org/wiki/display/ESB403
And please follow up; http://docs.wso2.org/wiki/display/ESB403/Installing+ESB+on+Windows+from+Binary+Distribution to run the ESB on windows.
Adding a db:
http://docs.wso2.org/wiki/display/ESB403/Adding+a+Database
FYI: Latest WSO2 ESB can be downloaded from http://wso2.com/products/enterprise-service-bus/
ESB 4.5.1 doc: http://docs.wso2.org/wiki/display/ESB451/Enterprise+Service+Bus+Documentation
Thanks
Thilini