I have installed the Appfactory 2.1.0 on an instance with standard.large flavor(VCPUs 4, RAM 8GB, Size 30GB) from HP Helion public cloud (Openstack IaaS)
the system was up and running
I sshed to the instance, go the
/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/bin, issued the command
wso2server.sh --status, and got the following prompts
there were two problems:
1, Cannot locate '/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/repository/conf/etc/hector-config.xml'
2, ERROR {org.apache.directory.server.ldap.LdapServer} - ERR_171 Failed to bind an LDAP service (10,389) to the service registry.
java.net.BindException: Address already in use
please help
thanks
-----------the prompt----------------
JAVA_HOME environment variable is set to /opt/java
CARBON_HOME environment variable is set to /mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0
[2015-05-22 13:13:24,619] INFO {org.wso2.carbon.cassandra.dataaccess.internal.DataAccessServiceDSComponent} - Cannot locate '/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/repository/conf/etc/hector-config.xml'. Using the default configuration
[2015-05-22 13:13:24,712] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 3.13.0-36-generic, amd64
[2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /opt/jdk1.7.0_51/jre
[2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_51
[2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 24.51-b03,Oracle Corporation
[2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0
[2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/tmp
[2015-05-22 13:13:24,715] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : root, en-US, Etc/UTC
[2015-05-22 13:13:24,828] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2015-05-22 13:13:24,828] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Swap Memory size (MB): 0 of the system is below the recommended minimum size :2048
[2015-05-22 13:13:25,019] INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - Agent created !
[2015-05-22 13:13:25,110] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - Successfully deployed Agent Client
[2015-05-22 13:13:25,626] INFO {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} - KDC server is disabled.
[2015-05-22 13:13:25,933] INFO {org.wso2.carbon.ldap.server.DirectoryActivator} - Initializing Directory Server with working directory /mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/repository/data/org.wso2.carbon.directory and port 10389
[2015-05-22 13:13:32,641] ERROR {org.apache.directory.server.ldap.LdapServer} - ERR_171 Failed to bind an LDAP service (10,389) to the service registry.
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:251)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:48)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:523)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPollingIoAcceptor.java:65)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:407)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
well, this might be a false alarm.
it disappeared when I reboot the instance, and restart the appfactory by the following command
ubuntu#puppet:~/setup-script$ sudo ./restart.sh
Related
In order to setup analytical server for API-Manager,i followed exactly same steps as specified in below wso2 documentation.
https://docs.wso2.com/display/AM220/Configuring+APIM+Analytics.
However i am facing below issues while running the API-M And API-Analytic instance.
WSO2 API-M:
[2018-05-08 02:52:05,378] ERROR - DataEndpointConnectionWorker Error while trying to connect to the endpoint. Cannot borrow client
for ssl://localhost:7712
org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException:
Cannot borrow client for ssl://localhost:7712
at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:99)
at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724) Caused by: org.wso2.carbon.databridge.agent.exception.DataEndpointSecurityException:
Error while trying to connect to ssl://localhost:7712
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:81)
at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.makeObject(AbstractClientPoolFactory.java:39)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
at org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:91)
... 7 more Caused by: org.apache.thrift.transport.TTransportException: Could not connect to
localhost on port 7712
at org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:237)
at org.apache.thrift.transport.TSSLTransportFactory.getClientSocket(TSSLTransportFactory.java:169)
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:63)
... 10 more Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:407)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
at org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:233)
... 12 more [2018-05-08 02:52:34,371] WARN - DataEndpointGroup No receiver is reachable at reconnection, will try
to reconnect every 30 sec [2018-05-08 02:52:35,378] ERROR -
DataEndpointConnectionWorker Error while trying to connect to
ssl://localhost:7712
org.wso2.carbon.databridge.agent.exception.DataEndpointSecurityException:
Error while trying to connect to ssl://localhost:7712
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftSecureClientPoolFactory.createClient(ThriftSecureClientPoolFactory.java:81)
at org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.makeObject(AbstractClientPoolFactory.java:39)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
WSO2 API-Analytic:
JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.7.0_25 CARBON_HOME environment variable is set to
C:\WSO2AM~4\WSO2AM~1\bin.. Loading spark environment variables
[2018-05-08 02:36:02,932] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2
Carbon... [2018-05-08 02:36:02,936] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating
System : Windows Server 2008 R2 6.1, amd64 [2018-05-08 02:36:02,936]
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home
: C:\Program Files\Java\jdk1.7.0_25\jre [2018-05-08 02:36:02,936]
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java
Version : 1.7.0_25 [2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM
: Java HotSpot(TM) 64-Bit Server VM 23.25-b01,Oracle Corporation
[2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home
: C:\WSO2AM~4\WSO2AM~1\bin.. [2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir
: C:\WSO2AM~4\WSO2AM~1\bin..\tmp [2018-05-08 02:36:02,937] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - User
: wsoadm_dev_svc, en-US, America/Los_Angeles [2018-05-08 02:36:03,570]
INFO
{org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS}
- Successfully deployed the Kafka output event adapto [2018-05-08 02:36:03,887] INFO
{org.wso2.carbon.event.template.manager.core.internal.ds.TemplateDeployerServiceTrackerDS}
- Successfully deployed the execution manager [2018-05-08 02:36:15,048] INFO
{org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver}
- Started Binary SSL Transport on port : 9712 [2018-05-08 02:36:15,050] INFO
{org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver}
- Started Binary TCP Transport on port : 9612 [2018-05-08 02:36:15,207] INFO
{org.wso2.carbon.databridge.core.internal.DataBridgeDS} -
Successfully deployed Agent Server [2018-05-08 02:36:15,388] INFO
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -
Configured Registry in 64ms [2018-05-08 02:36:15,912] INFO
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}
- Registry Mode : READ-WRITE [2018-05-08 02:36:22,854] INFO {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX
reporter for Metrics with domain 'org.wso2.carbon.metrics' [2018-05-08
02:36:22,861] INFO
{org.wso2.carbon.metrics.impl.util.JDBCReporterBuilder} - Creating
JDBC reporter for Metrics with source 'SOADEVV001', data source 'jdbc/
[2018-05-08 02:36:22,862] INFO
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started
JMX reporter for Metrics [2018-05-08 02:36:22,870] INFO
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started
JDBC reporter for Metrics [2018-05-08 02:36:26,352] INFO
{org.wso2.carbon.registry.indexing.solr.SolrClient} - Default
Embedded Solr Server Initialized [2018-05-08 02:36:27,524] INFO
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon
UserStoreMgtDSComponent activated successfully.
[2018-05-08 02:37:32,134] WARN {org.wso2.carbon.core.init.CarbonServerManager} - Carbon
initialization is delayed due to the following unsatisfied items:
[2018-05-08 02:37:32,498] WARN
{org.wso2.carbon.core.init.CarbonServerManager} - Waiting for
required OSGi Service: org.apache.axis2.engine.AxisObserver
[2018-05-08 02:38:32,135] WARN
{org.wso2.carbon.core.init.CarbonServerManager} - Carbon
initialization is delayed due to the following unsatisfied items:
Note:I am using same Machine for both API-M and API API-Analytic instance.
For APIM Offset is set to 0 and for API-Analytic it is 1.
I am using default H2 DB for for both.
Any help would be appreciated.
I am deploying WSO2 API Manager 2.1 and Analytics using the Pattern as specified - https://github.com/wso2/docker-apim/tree/master/docker-compose/pattern-3
Here in all the components - nginx, Publisher, Store, Traffic Manager, Gateway Worker, Gateway Manager, Key Manager and Analytics are deployed as separate docker containers.
When I started these containers, it worked fine and by default it was using the mysql server for storing all the data.
But as per our requirement, we had to use the Oracle DB and hence, we created a user in there with all the required permissions and then run the oracle scripts and finally started all the containers one by one.
In addition for Analytics, we created two separate users for two data sources - WSO2_ANALYTICS_EVENT_STORE_DB and WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB (Didnt run any scripts for these).
And now we have a problem with the Analytics COntainer not able to start and throwing the error -
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 4.8.0-53-generic, amd64
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /mnt/jdk-7u80/jre
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_80
[2017-07-11 12:53:54,017] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 24.80-b11,Oracle Corporation
[2017-07-11 12:53:54,018] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /mnt/186.12.12.12/wso2am-analytics-2.1.0
[2017-07-11 12:53:54,018] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /mnt/186.12.12.12/wso2am-analytics-2.1.0/tmp
[2017-07-11 12:53:54,018] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : root, en-US, GMT
[2017-07-11 12:54:34,104] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234
[2017-07-11 12:54:34,235] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9444
[2017-07-11 12:54:34,235] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9764
[2017-07-11 12:54:36,547] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/analytics].File[/mnt/186.12.12.12/wso2am-analytics-2.1.0/repository/deployment/server/webapps/analytics.war]
[2017-07-11 12:54:36,593] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/inputwebsocket].File[/mnt/186.12.12.12/wso2am-analytics-2.1.0/repository/deployment/server/webapps/inputwebsocket.war]
[2017-07-11 12:54:36,622] INFO {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Deployed webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/outputwebsocket].File[/mnt/186.12.12.12/wso2am-analytics-2.1.0/repository/deployment/server/webapps/outputwebsocket.war]
[
[2017-07-11 12:54:43,116] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan deployment held back and in inactive state : APIMAnalytics-RequestSummarizer-RequestSummarizer-realtime1.siddhiql, Dependency validation exception: Stream org.wso2.apimgt.statistics.requestsPerMinPerKeyStream:1.0.0 does not exist
[2017-07-11 12:54:43,186] INFO {org.wso2.carbon.event.processor.core.EventProcessorDeployer} - Execution plan deployment held back and in inactive state : APIMAnalytics-UnusualIPAccessTemplate-UnusualIPAccessAlert-realtime1.siddhiql, Dependency validation exception: Stream org.wso2.apimgt.statistics.perMinuteRequest:1.0.0 does not exist
[2017-07-11 12:54:43,218] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift Server started at 0.0.0.0
[2017-07-11 12:54:43,246] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift SSL port : 7712
[2017-07-11 12:54:43,253] INFO {org.wso2.carbon.databridge.receiver.thrift.ThriftDataReceiver} - Thrift port : 7612
[2017-07-11 12:54:43,277] INFO {org.apache.tomcat.util.net.NioSelectorPool} - Using a shared selector for servlet write/read
[2017-07-11 12:54:43,355] INFO {org.apache.tomcat.util.net.NioSelectorPool} - Using a shared selector for servlet write/read
[2017-07-11 12:54:43,408] INFO {org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl} - Task service starting in STANDALONE mode...
[2017-07-11 12:54:44,030] ERROR {org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceComponent} - Error in activating analytics data service: null
java.lang.RuntimeException
at org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore$RDBMSResultSetIterator.next(RDBMSAnalyticsRecordStore.java:881)
at org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore$RDBMSResultSetIterator.hasNext(RDBMSAnalyticsRecordStore.java:843)
at org.apache.commons.collections.IteratorUtils.toList(IteratorUtils.java:848)
at org.apache.commons.collections.IteratorUtils.toList(IteratorUtils.java:825)
at org.wso2.carbon.analytics.datasource.core.util.GenericUtils.listRecords(GenericUtils.java:284)
[2017-07-11 12:54:55,566] INFO {org.wso2.carbon.databridge.core.DataBridge} - user admin connected
[2017-07-11 12:55:05,564] ERROR {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} - Dropping wrongly formatted event sent for -1234
org.wso2.carbon.databridge.core.exception.EventConversionException: Error when converting loganalyzer:1.0.0 of event bundle with events 1
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:181)
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:90)
at org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:73)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.carbon.databridge.core.exception.EventConversionException: No StreamDefinition for streamId loganalyzer:1.0.0 present in cache
Can someone please let me know how to resolve this issue.
You can get the newer version of jar from http://maven.wso2.org/nexus/content/groups/public/org/wso2/carbon/analytics/org.wso2.carbon.analytics.datasource.rdbms/
I have just downloaded the WSO2 Identity Server Version 5.0.0 in Windows 8.1. with jdk 1.7.0_79 set in the path.
Then I opened a windows cmd and ran wso2server.bat --run
The traces I get are:
JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.7.0_79
CARBON_HOME environment variable is set to C:\Users\Usr\Desktop\IDENTI~1\bin\..
INFO {org.wso2.carbon.server.extensions.PatchInstaller} - Patch changes detected
INFO {org.wso2.carbon.server.util.PatchUtils.console} - Patch verification started
INFO {org.wso2.carbon.server.util.PatchUtils.console} - Patch verification successfully completed.
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Windows 8.1 6.3, amd64
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : C:\Program Files\Java\jdk1.7.0_79\jre
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_79
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 24.79-b02,
Oracle Corporation
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : C:\Users\Usr\Desktop\IDENTI~1\bin\..
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : C:\Users\Usr\Desktop\IDENTI~1\bin\..\tmp
INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : Usr, es-ES, Europe/Paris
WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - The running OS : Windows 8.1 is not a tested O
perating System for running WSO2 Carbon
WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - The default keystore (wso2carbon.jks) is curre
ntly being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - Agent created !
INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - Successfully deployed Agent Client
INFO {org.wso2.carbon.identity.authenticator.iwa.ui.internal.Activator} - Integrated Windows Authenticator enabled in the
system
INFO {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} - KDC server is disabled.
INFO {org.wso2.carbon.ldap.server.DirectoryActivator} - Initializing Directory Server with working directory C:\Users\Alva
ro\Desktop\IDENTI~1\bin\..\repository\data\org.wso2.carbon.directory and port 10389
INFO {org.wso2.carbon.social.internal.SocialComponent} - Social Activity bundle is activated
INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} - LDAP connection created successfully in read-write mode
INFO {org.wso2.carbon.identity.user.store.remote.internal.CarbonRemoteUserStoreDSComponent} - Carbon Remote User Store act
ivated successfully.
INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 76ms
INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE
INFO {org.wso2.carbon.identity.application.mgt.internal.ApplicationManagementServiceComponent} - Identity ApplicationManag
ementComponent bundle is activated
INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully.
Activating org.wso2.jaggery.scxml with RealmService enabled
After that, the process keeps running at the Activating org.wso2.jaggery.scxml with RealmService enabled sentence and never ends.
Maybe this version of WSO2 Carbon is not working over Windows 8.x?
I don't think the problem is Windows 8.1. I'm running WSO2 IS 5.0.0 on it.
This is my print screen: Windows 8.1 Pro runnig WSO2 IS 5.0.0
Have you tried to install the WSO2 IS Service Pack?
Maybe it helps.
We already have WSO2 ESB 4.6 in production so I'm using ESB 4.6.0 and ELB 2.0.3.
Following the instructions at https://docs.wso2.com/pages/viewpage.action?pageId=26839403 I seem to have successfully installed the ELB. I tried setting up the ESB from scratch (as opposed to using our production instance or config) and started it up, but it isn't joining the cluster, and I'm unable to access the management console at https://mgt.esb.cloud-test.wso2.com:8243/carbon . (In order to keep everything according to the installing instructions, I added elb.wso2.com, mgt.esb.cloud-test-wso2.com, and esb.cloud-test.wso2.com to /etc/hosts as . . .
127.0.0.1 localhost localhost.localdomain elb.wso2.com mgt.esb.cloud-test.wso2.com esb.cloud-test.wso2.com
I haven't installed the ESB worker node yet, but that, the ESB management node, and the ELB will be on the same host for now. I enabled the port offset for the management node.
I confirmed the hostnames and port numbers are correct in the ELB and ESB configurations.
This is the log from starting the ESB management node:
JAVA_HOME environment variable is set to /usr/java/jre1.7.0_17
CARBON_HOME environment variable is set to /opt/app/wso2esb-4.6.0-manager
[2014-12-09 13:37:13,474] INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2014-12-09 13:37:13,476] INFO - CarbonCoreActivator Operating System : Linux 2.6.18-194.el5, amd64
[2014-12-09 13:37:13,476] INFO - CarbonCoreActivator Java Home : /usr/java/jre1.7.0_17
[2014-12-09 13:37:13,476] INFO - CarbonCoreActivator Java Version : 1.7.0_17
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 23.7-b01,Oracle Corporation
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator Carbon Home : /opt/app/wso2esb-4.6.0-manager
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator Java Temp Dir : /opt/app/wso2esb-4.6.0-manager/tmp
[2014-12-09 13:37:13,477] INFO - CarbonCoreActivator User : clowndrugs, en-US, America/Chicago
[2014-12-09 13:37:13,505] WARN - ValidationResultPrinter Open files limit :1024 of the system is below the recommended minimum count :4096
[2014-12-09 13:37:13,522] INFO - AgentHolder Agent created !
[2014-12-09 13:37:13,543] INFO - AgentDS Successfully deployed Agent Client
[2014-12-09 13:37:16,158] INFO - EmbeddedRegistryService Configured Registry in 40ms
[2014-12-09 13:37:16,260] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE
[2014-12-09 13:37:17,612] INFO - ClusterBuilder Clustering has been enabled
[2014-12-09 13:37:17,625] INFO - ClusterBuilder Running in application mode
[2014-12-09 13:37:17,626] INFO - ClusterBuilder Clustering configuration management has been enabled
[2014-12-09 13:37:17,627] INFO - ClusterBuilder Clustering state management has been disabled
[2014-12-09 13:37:17,954] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
[2014-12-09 13:37:18,049] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant}
[2014-12-09 13:37:18,237] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/server/axis2services/Echo.aar
[2014-12-09 13:37:18,324] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant}
[2014-12-09 13:37:18,344] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/server/axis2services/Version.aar
[2014-12-09 13:37:18,607] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant}
[2014-12-09 13:37:18,700] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant}
[2014-12-09 13:37:18,795] INFO - ModuleDeployer Deploying module: rampart-1.6.1-wso2v8 - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/client/modules/rampart-1.6.1-wso2v8.mar
[2014-12-09 13:37:18,798] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v7 - file:/opt/app/wso2esb-4.6.0-manager/repository/deployment/client/modules/addressing-1.6.1-wso2v7.mar
[2014-12-09 13:37:18,803] INFO - TCPTransportSender TCP Sender started
[2014-12-09 13:37:19,992] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.processor -
[2014-12-09 13:37:20,000] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.store -
[2014-12-09 13:37:21,806] INFO - DeploymentInterceptor Deploying Axis2 service: wso2carbon-sts {super-tenant}
[2014-12-09 13:37:21,959] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.sts -
[2014-12-09 13:37:22,205] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.tryit -
[2014-12-09 13:37:22,497] INFO - CarbonServerManager Repository : /opt/app/wso2esb-4.6.0-manager/repository/deployment/server/
[2014-12-09 13:37:22,743] INFO - PermissionUpdater Permission cache updated for tenant -1234
[2014-12-09 13:37:22,815] INFO - ServiceBusInitializer Starting ESB...
[2014-12-09 13:37:22,832] INFO - ServiceBusInitializer Initializing Apache Synapse...
[2014-12-09 13:37:22,836] INFO - SynapseControllerFactory Using Synapse home : /opt/app/wso2esb-4.6.0-manager/.
[2014-12-09 13:37:22,836] INFO - SynapseControllerFactory Using synapse.xml location : /opt/app/wso2esb-4.6.0-manager/././repository/deployment/server/synapse-configs/default
[2014-12-09 13:37:22,836] INFO - SynapseControllerFactory Using server name : localhost
[2014-12-09 13:37:22,839] INFO - SynapseControllerFactory The timeout handler will run every : 15s
[2014-12-09 13:37:22,845] INFO - Axis2SynapseController Initializing Synapse at : Tue Dec 09 13:37:22 CST 2014
[2014-12-09 13:37:22,845] INFO - Axis2SynapseController Loading mediator extensions...
[2014-12-09 13:37:22,848] INFO - CarbonSynapseController Loading the mediation configuration from the file system
[2014-12-09 13:37:22,850] INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at : ././repository/deployment/server/synapse-configs/default
[2014-12-09 13:37:22,850] INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration
[2014-12-09 13:37:23,075] INFO - SynapseConfigurationBuilder Loaded Synapse configuration from the artifact repository at : ././repository/deployment/server/synapse-configs/default
[2014-12-09 13:37:23,076] INFO - Axis2SynapseController Deploying the Synapse service...
[2014-12-09 13:37:23,078] INFO - Axis2SynapseController Deploying Proxy services...
[2014-12-09 13:37:23,078] INFO - Axis2SynapseController Deploying EventSources...
[2014-12-09 13:37:23,083] INFO - ServerManager Server ready for processing...
[2014-12-09 13:37:23,120] WARN - MediationStatisticsComponent Can't register an observer for mediationStatisticsStore. If you have disabled StatisticsReporter, please enable it in the Carbon.xml
[2014-12-09 13:37:23,177] INFO - RuleEngineConfigDS Successfully registered the Rule Config service
[2014-12-09 13:37:24,407] INFO - HttpsTransportListener HTTPS port : 9444
[2014-12-09 13:37:24,407] INFO - HttpTransportListener HTTP port : 9764
[2014-12-09 13:37:24,408] INFO - TribesClusteringAgent Initializing cluster...
[2014-12-09 13:37:24,423] INFO - TribesClusteringAgent Cluster domain: wso2.esb.domain
[2014-12-09 13:37:24,425] INFO - TribesClusteringAgent Using wka based membership management scheme
[2014-12-09 13:37:24,433] INFO - WkaBasedMembershipScheme Receiver Server Socket bound to:/10.221.90.92:4001
[2014-12-09 13:37:24,535] INFO - WkaBasedMembershipScheme Receiver Server Socket bound to:/10.221.90.92:4001
[2014-12-09 13:37:24,639] INFO - WkaBasedMembershipScheme Could not connect to member 127.0.0.1:4000(wso2.esb.domain)
[2014-12-09 13:37:24,653] INFO - TribesClusteringAgent Local Member 10.221.90.92:4001(wso2.esb.domain)
[2014-12-09 13:37:24,653] INFO - TribesUtil No members in current cluster
[2014-12-09 13:37:24,654] INFO - TribesClusteringAgent Cluster initialization completed.
[2014-12-09 13:37:25,828] INFO - RegistryEventingServiceComponent Successfully Initialized Eventing on Registry
[2014-12-09 13:37:25,943] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11112/jndi/rmi://localhost:10000/jmxrmi
[2014-12-09 13:37:25,943] INFO - StartupFinalizerServiceComponent Server : WSO2 Enterprise Service Bus-4.6.0
[2014-12-09 13:37:25,944] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 17 sec
[2014-12-09 13:37:26,567] INFO - CarbonUIServiceComponent Mgt Console URL : https://mgt.esb.cloud-test.wso2.com:8243/carbon/
The output from the ELB gives lots of these:
[2014-12-09 15:33:44,773] ERROR - TenantAwareLoadBalanceEndpoint No application members available
Is this expected behavior since I have yet set up any services or a worker node? From the instructions, it sounded like I should be able to see the management node's Web console at this point.
try the following changes and see
modify elb.wso2.com in ELB axis2.xml file
modify mgt.esb.cloud-test-wso2.com in ESB axis2.xml file
Whis is what I get after trying to start the wso2carbon-4.2.0
help please....
cd /barj/WSO2/wso2carbon-4.2.0/bin/
wso2server.sh
JAVA_HOME environment variable is set to /QOpenSys/QIBM/ProdData/JavaVM/jdk60/64bit
CARBON_HOME environment variable is set to /barj/WSO2/wso2carbon-4.2.0
[2014-05-19 14:43:06,951] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2014-05-19 14:43:07,036] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : OS/400 V6R1M0, PowerPC
[2014-05-19 14:43:07,037] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /QOpenSys/QIBM/ProdData/JavaVM/jdk60/64bit/jre
[2014-05-19 14:43:07,037] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.6.0
[2014-05-19 14:43:07,038] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : IBM J9 VM 2.4,IBM Corporation
[2014-05-19 14:43:07,038] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /barj/WSO2/wso2carbon-4.2.0
[2014-05-19 14:43:07,038] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /barj/WSO2/wso2carbon-4.2.0/tmp
[2014-05-19 14:43:07,039] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : barj, en-US, America/Chicago
[2014-05-19 14:43:07,407] WARN {org.wso2.carbon.core.bootup.validator.SystemValidator} - Could not validate the system for configuration parameter : swap
[2014-05-19 14:43:07,408] WARN {org.wso2.carbon.core.bootup.validator.SystemValidator} - Could not validate the system for configuration parameter : ulimit
[2014-05-19 14:43:07,622] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2014-05-19 14:43:07,623] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - The running OS : OS/400 is not a tested Operating System for running WSO2 Carbon
[2014-05-19 14:43:07,624] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - CPU speed (MHz): 0 of the system is below the recommended minimum speed :800
[2014-05-19 14:43:14,357] WARN {org.wso2.carbon.tomcat.ext.scan.CarbonTomcatJarScanner} - Failed to scan [{0}] from classloader hierarchy
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:151)
at java.util.jar.JarFile.<init>(JarFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:87)
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:84)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:60)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:95)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:119)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:86)
at org.apache.tomcat.util.scan.FileUrlJar.<init>(FileUrlJar.java:41)
at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:34)
at org.apache.catalina.startup.ContextConfig$FragmentJarScannerCallback.scan(ContextConfig.java:2625)
at org.wso2.carbon.tomcat.ext.scan.CarbonTomcatJarScanner.process(CarbonTomcatJarScanner.java:262)
at org.wso2.carbon.tomcat.ext.scan.CarbonTomcatJarScanner.scan(CarbonTomcatJarScanner.java:229)
at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1917)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1268)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
at java.util.concurrent.FutureTask.run(FutureTask.java:149)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
at java.lang.Thread.run(Thread.java:738)
[2014-05-19 14:43:14,700] ERROR {org.apache.catalina.startup.ContextConfig} - Failed to process JAR found at URL [jar:file:/barj/WSO2/wso2carbon-4.2.0/repository/components/plugins/jgroups_3.0.6.wso2v1.jar!/] for ServletContainerInitializers for context with name [/]
[2014-05-19 14:43:14,746] ERROR {org.apache.catalina.startup.ContextConfig} - Marking this application unavailable due to previous error(s)
[2014-05-19 14:43:14,787] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 268ms
[2014-05-19 14:43:15,796] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode : READ-WRITE
[2014-05-19 14:43:16,338] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully.
[2014-05-19 14:43:16,558] INFO {org.apache.catalina.startup.TaglibUriRule} - TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined
[2014-05-19 14:43:16,848] ERROR {org.apache.catalina.core.StandardContext} - Error getConfigured
[2014-05-19 14:43:16,858] ERROR {org.apache.catalina.core.StandardContext} - Context [/] startup failed due to previous errors
Can you try deleting the following jar from the plugins directory and see?
jgroups_3.0.6.wso2v1.jar