[prev in list] [next in list] [prev in thread] [next in thread]
List: wsf-c-dev
Subject: Re: [Dev] Help required for fixing error when running wso2 5.10.0 in docker container
From: Ruwan Abeykoon <ruwana () wso2 ! com>
Date: 2020-07-23 7:38:21
Message-ID: CACi23S-JDRqAYEzfy0TLyDtL7sj-WP55zWyL_2DC5t0zZv2xng () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi Prayang,
It looks like the DB configured in "identity_db" is not properly reachable
or very slow from your container.
One way to check is by ssh to your container, then execute some query
against the DB configured in your "identity_db" from the container node,
and see if the query executes properly and fast enough.
Cheers,
Ruwan A
On Thu, Jul 23, 2020 at 12:18 PM prayag pavithran <
prayagpavithran@hotmail.com> wrote:
> Thanks Ruwan for the quick reply.
>
> User store activation is fine in docker with the said configuration ..
>
> I'm sending here with some more log information for your reference. It
> would be of great help , if you can suggest something by looking at the
> below logs.
>
>
> --------------
>
>
>
> TID: [2020-07-23 04:00:47,509] INFO {org.wso2.config.mapper.ConfigParser}
> - Applying Configurations upon new Templates
> {org.wso2.config.mapper.ConfigParser}
>
> TID: [2020-07-23 04:00:47,521] WARN {org.wso2.config.mapper.ConfigParser}
> - Overriding files in configuration directory
> /home/wso2carbon/wso2is-5.10.0 {org.wso2.config.mapper.ConfigParser}
>
> TID: [2020-07-23 04:00:48,380] INFO {org.wso2.config.mapper.ConfigParser}
> - Writing Metadata Entries... {org.wso2.config.mapper.ConfigParser}
>
> TID: [-1234] [] [2020-07-23 04:00:55,112] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2
> Carbon...
>
> TID: [-1234] [] [2020-07-23 04:00:55,122] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System :
> Linux 4.19.76-linuxkit, amd64
>
> TID: [-1234] [] [2020-07-23 04:00:55,123] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home :
> /opt/java/openjdk
>
> TID: [-1234] [] [2020-07-23 04:00:55,124] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version :
> 11.0.6
>
> TID: [-1234] [] [2020-07-23 04:00:55,124] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM :
> OpenJDK 64-Bit Server VM 11.0.6+10,AdoptOpenJDK
>
> TID: [-1234] [] [2020-07-23 04:00:55,125] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home :
> /home/wso2carbon/wso2is-5.10.0
>
> TID: [-1234] [] [2020-07-23 04:00:55,125] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir :
> /home/wso2carbon/wso2is-5.10.0/tmp
>
> TID: [-1234] [] [2020-07-23 04:00:55,126] [] INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} - User :
> wso2carbon, en-US, GMT
>
> TID: [-1] [] [2020-07-23 04:00:54,778] [] INFO
> {org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier} -
> Sending Event Admin nofification (configuration successful) to
> org/ops4j/pax/logging/Configuration
>
> TID: [-1] [] [2020-07-23 04:00:55,313] [] INFO
> {org.wso2.carbon.crypto.provider.internal.DefaultCryptoProviderComponent} -
> 'CryptoService.Secret' property has not been set.
> 'org.wso2.carbon.crypto.provider.SymmetricKeyInternalCryptoProvider' won't
> be registered as an internal crypto provider. Please set the secret if the
> provider needs to be registered.
>
> TID: [-1] [] [2020-07-23 04:00:55,489] [] INFO
> {org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS}
> - Successfully deployed the Kafka output event adaptor service
>
> TID: [-1] [] [2020-07-23 04:00:56,000] [] INFO
> {org.wso2.carbon.identity.oauth.uma.grant.internal.UMA2GrantServiceComponent}
> - Policy evaluator registered successfully: DefaultPolicyEvaluator
>
> TID: [-1] [] [2020-07-23 04:00:56,002] [] INFO
> {org.wso2.carbon.identity.oauth.uma.grant.internal.UMA2GrantServiceComponent}
> - UMA Grant component activated successfully.
>
> TID: [-1234] [] [2020-07-23 04:00:56,431] [] INFO
> {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} - KDC
> server is disabled.
>
> TID: [-1234] [] [2020-07-23 04:00:58,962] [] INFO
> {org.apache.directory.server.KERBEROS_LOG} - KeyDerivation Interceptor
> initialized
>
> TID: [-1] [] [2020-07-23 04:00:59,723] [] INFO
> {org.wso2.carbon.mex.internal.Office365SupportMexComponent} -
> Office365Support MexServiceComponent bundle activated successfully..
>
> TID: [-1] [] [2020-07-23 04:00:59,740] [] INFO
> {org.wso2.carbon.mex2.internal.DynamicCRMCustomMexComponent} -
> DynamicCRMSupport MexServiceComponent bundle activated successfully.
>
> TID: [-1234] [] [2020-07-23 04:01:01,356] [] INFO
> {org.wso2.carbon.consent.mgt.core.internal.ConsentManagerComponent} -
> ConsentManagerComponent is activated.
>
> TID: [-1] [] [2020-07-23 04:01:01,592] [] INFO
> {org.apache.jasper.servlet.TldScanner} - At least one JAR was scanned for
> TLDs yet contained no TLDs. Enable debug logging for this logger for a
> complete list of JARs that were scanned but no TLDs were found in them.
> Skipping unneeded JARs during scanning can improve startup time and JSP
> compilation time.
>
> TID: [-1234] [] [2020-07-23 04:01:02,339] [] INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured
> Registry in 198ms
>
> TID: [-1234] [] [2020-07-23 04:01:02,534] [] INFO
> {org.wso2.carbon.identity.authenticator.x509Certificate.internal.X509CertificateServiceComponent}
>
> - X509 Certificate Servlet activated successfully..
>
> TID: [-1234] [] [2020-07-23 04:01:02,772] [] INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to
> mount at configregistry in 8ms
>
> TID: [-1234] [] [2020-07-23 04:01:02,773] [] INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to
> mount at govregistry in 9ms
>
> TID: [-1234] [] [2020-07-23 04:01:02,915] [] INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to
> mount at configregistry in 2ms
>
> TID: [-1234] [] [2020-07-23 04:01:02,918] [] INFO
> {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to
> mount at govregistry in 4ms
>
> TID: [-1234] [] [2020-07-23 04:01:02,945] [] INFO
> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
> Registry Mode : READ-WRITE
>
> TID: [-1234] [] [2020-07-23 04:01:03,048] [] INFO
> {org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX
> reporter for Metrics with domain 'org.wso2.carbon.metrics'
>
> TID: [-1234] [] [2020-07-23 04:01:03,063] [] INFO
> {org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JMX
> reporter for Metrics
>
> TID: [-1234] [] [2020-07-23 04:01:04,800] [] INFO
> {org.wso2.carbon.registry.indexing.solr.SolrClient} - Default Embedded Solr
> Server Initialized
>
> TID: [-1234] [] [2020-07-23 04:01:05,348] [] INFO
> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon
> UserStoreMgtDSComponent activated successfully.
>
> TID: [-1] [] [2020-07-23 04:01:05,502] [] INFO
> {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent}
> - Initialising Attachment Server
>
> TID: [-1] [] [2020-07-23 04:01:05,866] [] INFO
> {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter}
> - [Attachment-Mgt OpenJPA] DB Dictionary: h2
>
> TID: [-1] [] [2020-07-23 04:01:05,868] [] INFO
> {org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter}
> - [Attachment-Mgt OpenJPA] Generate DDL Enabled.
>
> TID: [-1] [] [2020-07-23 04:01:06,000] [] INFO
> {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent}
> - Registering AttachmentServerService
>
> TID: [-1] [] [2020-07-23 04:01:06,016] [] INFO
> {org.wso2.carbon.bpel.core.internal.BPELServiceComponent} - Initializing
> BPEL Engine........
>
> TID: [-1] [] [2020-07-23 04:01:06,074] [] INFO
> {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo
> transaction manager
>
> TID: [-1] [] [2020-07-23 04:01:06,129] [] INFO
> {org.apache.ode.il.dbutil.Database} - ODE using external DataSource "bpsds".
>
> TID: [-1] [] [2020-07-23 04:01:06,133] [] INFO
> {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Using DAO
> Connection Factory class:
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl
>
> TID: [-1] [] [2020-07-23 04:01:06,135] [] INFO
> {org.apache.ode.il.dbutil.Database} - Using DAO Connection Factory class
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
>
> TID: [-1] [] [2020-07-23 04:01:06,310] [] INFO
> {org.apache.ode.store.jpa.DbConfStoreConnectionFactory} - ProcessStore
> initializing transaction manager using
> org.apache.ode.il.EmbeddedGeronimoFactory
>
> TID: [-1] [] [2020-07-23 04:01:06,312] [] INFO
> {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo
> transaction manager
>
> TID: [-1] [] [2020-07-23 04:01:06,354] [] INFO
> {org.apache.ode.scheduler.simple.JdbcDelegate} - Using database H2 major
> version 1
>
> TID: [-1] [] [2020-07-23 04:01:06,362] [] INFO
> {org.apache.ode.scheduler.simple.JdbcDelegate} - Using database dialect: H2
>
> TID: [-1] [] [2020-07-23 04:01:06,386] [] INFO
> {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - This node is a
> manager node
>
> TID: [-1] [] [2020-07-23 04:01:06,405] [] INFO
> {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering
> E4X Extension...
>
> TID: [-1] [] [2020-07-23 04:01:06,420] [] INFO
> {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering
> B4P Extension...
>
> TID: [-1] [] [2020-07-23 04:01:06,451] [] INFO
> {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering
> B4P Filter...
>
> TID: [-1] [] [2020-07-23 04:01:06,460] [] INFO
> {org.apache.ode.bpel.engine.BpelServerImpl} - BPEL Server Started.
>
> TID: [-1] [] [2020-07-23 04:01:06,463] [] INFO
> {org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering
> MBeans
>
> TID: [-1] [] [2020-07-23 04:01:06,510] [] INFO
> {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} -
> Initialising HumanTask Server
>
> TID: [-1] [] [2020-07-23 04:01:06,557] [] INFO
> {org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo
> transaction manager
>
> TID: [-1] [] [2020-07-23 04:01:06,585] [] INFO
> {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT
> OpenJPA] DB Dictionary: h2
>
> TID: [-1] [] [2020-07-23 04:01:06,587] [] INFO
> {org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT
> OpenJPA] Generate DDL Enabled.
>
> TID: [-1] [] [2020-07-23 04:01:06,638] [] INFO
> {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} -
> Registering Axis2ConfigurationContextObserver
>
> TID: [-1] [] [2020-07-23 04:01:06,664] [] INFO
> {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} -
> Registering HT related MBeans
>
> TID: [-1] [] [2020-07-23 04:01:06,675] [] INFO
> {org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} -
> MXBean for Human tasks registered successfully
>
> TID: [-1234] [] [2020-07-23 04:01:07,523] [] INFO
> {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer}
>
> - User Store Configuration Deployer initiated.
>
> TID: [-1234] [] [2020-07-23 04:01:07,525] [] INFO
> {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer}
>
> - User Store Configuration Deployer initiated.
>
> TID: [-1234] [] [2020-07-23 04:01:07,536] [] INFO
> {org.wso2.carbon.bpel.deployer.BPELDeployer} - Initializing BPEL Deployer
> for tenant -1234.
>
> TID: [-1234] [] [2020-07-23 04:01:07,549] [] INFO
> {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing
> HumanTask Deployer for tenant -1234.
>
> TID: [-1234] [] [2020-07-23 04:01:08,270] [] INFO
> {org.apache.axis2.transport.mail.MailTransportSender} - MAILTO Sender
> started
>
> TID: [-1234] [] [2020-07-23 04:01:08,284] [] WARN {javax.mail} - expected
> resource not found: /META-INF/javamail.default.address.map
>
> TID: [-1234] [I18nEmailMgtConfigService] [2020-07-23 04:01:09,170] []
> INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying
> Axis2 service: I18nEmailMgtConfigService {super-tenant}
>
> TID: [-1234] [AccountCredentialMgtConfigService] [2020-07-23 04:01:10,296]
> [] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} -
> Deploying Axis2 service: AccountCredentialMgtConfigService {super-tenant}
>
> TID: [-1234] [UserIdentityManagementAdminService] [2020-07-23
> 04:01:10,316] [] INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2
> service: UserIdentityManagementAdminService {super-tenant}
>
> TID: [-1234] [UserInformationRecoveryService] [2020-07-23 04:01:10,325]
> [] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} -
> Deploying Axis2 service: UserInformationRecoveryService {super-tenant}
>
> TID: [-1234] [SAMLQueryService] [2020-07-23 04:01:10,506] [] INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2
> service: SAMLQueryService {super-tenant}
>
> TID: [-1234] [] [2020-07-23 04:01:10,587] [] WARN
> {org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} - We don't
> support method overloading. Ignoring [doSingleLogout]
>
> TID: [-1234] [mex-ut] [2020-07-23 04:01:11,113] [] INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2
> service: mex-ut {super-tenant}
>
> TID: [-1234] [mex-ut2] [2020-07-23 04:01:11,136] [] INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2
> service: mex-ut2 {super-tenant}
>
> TID: [-1234] [wso2carbon-sts] [2020-07-23 04:01:12,046] [] INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2
> service: wso2carbon-sts {super-tenant}
>
> TID: [-1234] [] [2020-07-23 04:01:12,439] [] INFO
> {org.wso2.carbon.core.init.CarbonServerManager} - Repository :
> /home/wso2carbon/wso2is-5.10.0/repository/deployment/server/
>
> TID: [-1234] [] [2020-07-23 04:01:12,540] [] INFO
> {org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig} - Using
> tenant lazy loading policy...
>
> TID: [-1234] [] [2020-07-23 04:01:12,591] [] INFO
> {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
> Permission cache updated for tenant -1234
>
> TID: [-1234] [] [2020-07-23 04:01:13,414] [] INFO
> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Claim
> manager set for class org.wso2.carbon.user.core.common.DefaultRealm
>
> TID: [-1234] [] [2020-07-23 04:01:13,422] [] INFO
> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Claim
> manager set for class
> org.wso2.carbon.user.core.jdbc.UniqueIDJDBCUserStoreManager
>
> TID: [-1234] [] [2020-07-23 04:01:13,658] [] INFO
> {org.wso2.balana.ConfigurationStore} - Loading runtime configuration
>
> TID: [-1] [] [2020-07-23 04:01:13,678] [] INFO
> {org.wso2.carbon.identity.entitlement.internal.SchemaBuilder} - XACML
> policy schema loaded successfully.
>
> TID: [-1234] [] [2020-07-23 04:01:14,221] [] INFO
> {org.wso2.carbon.identity.oauth.uma.xacml.service.internal.AppUMAServiceComponents}
> - XACML UMA Handler activated successfully.
>
> TID: [-1234] [] [2020-07-23 04:01:14,469] [] INFO
> {org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration} - The
> default OAuth token issuer will be used. No custom token generator is set.
>
> TID: [-1234] [] [2020-07-23 04:01:14,547] [] INFO
> {org.wso2.identity.apps.common.internal.AppsCommonServiceComponent} -
> Identity apps common service component activated successfully.
>
> TID: [-1234] [] [2020-07-23 04:01:14,615] [] INFO
> {org.wso2.carbon.identity.oauth2.internal.OAuth2ServiceComponent} - PKCE
> Support enabled.
>
> TID: [-1234] [] [2020-07-23 04:01:15,547] [] WARN
> {org.wso2.carbon.identity.event.internal.IdentityEventServiceComponent} -
> Properties for userOperationDataDASPublisher is not configured. This event
> handler will not be activated
>
> TID: [-1234] [] [2020-07-23 04:01:48,156] [] ERROR
> {org.wso2.carbon.idp.mgt} - [SCR] Error while trying to bind reference
> Reference[name = identity.core.ConnectorConfig, interface =
> org.wso2.carbon.identity.core.ConnectorConfig, policy = dynamic,
> cardinality = 0..n, target = null, bind = setIdentityGovernanceConnector,
> unbind = unsetGovernanceConnector]
>
> Details:
>
>
> Thanks & Regards
> Prayag Pavithran
>
> ------------------------------
> *From:* Ruwan Abeykoon <ruwana@wso2.com>
> *Sent:* Thursday, July 23, 2020 9:52 AM
> *To:* WSO2 Developers' List <Dev@wso2.org>
> *Cc:* Suthin Sadanandan <suthins@increvcorp.com>; prayag pavithran <
> prayagpavithran@hotmail.com>
> *Subject:* Re: [Dev] Help required for fixing error when running wso2
> 5.10.0 in docker container
>
> Hi Prayang,
> The datasources configured are correct. I assume you configure same URL,
> username, password for local and container setup when you say "The same
> configurations work fine when we run locally but fails when we deploy the
> same in docker."
>
> If that is the case, these two cases need to be looked at.
> 1) connectivity may be slow or intermittent form container to your DB
> server
> 2) your container is given very low effective core count
>
> Cheers,
> Ruwan
>
> On Thu, Jul 23, 2020 at 9:42 AM prayag pavithran <
> prayagpavithran@hotmail.com> wrote:
>
> Thanks Ruwan.
>
> Currently in deployment.toml file we've configured the mysql connection
> strings for
>
> 1. [database.identity_db]
> 2. [database.shared_db]
>
> Could you please let me know if any other configuration need to be done in
> deplyment.toml file for pointing to mysql database (for User and Identity)
> instead of default H2 database.
> The same configurations work fine when we run locally but fails when we
> deploy the same in docker.
>
> Any help on this will be much appreciated.
>
> Thanks & Regards,
> Prayag Pavithran
>
> ------------------------------
> *From:* Ruwan Abeykoon <ruwana@wso2.com>
> *Sent:* Thursday, July 23, 2020 6:12 AM
> *To:* prayag pavithran <prayagpavithran@hotmail.com>
> *Cc:* WSO2 Developers' List <Dev@wso2.org>
> *Subject:* Re: [Dev] Help required for fixing error when running wso2
> 5.10.0 in docker container
>
> Hi @prayag pavithran <prayagpavithran@hotmail.com> ,
> The following error on the stack trace,
> " Pool empty. Unable to fetch a connection in 30 seconds, none
> available[size:100; busy:100; idle:0; lastwait:30000]."
>
> This suggests that some queries take too much time to complete in the
> containerized environment. You should be able to find out why this happens
> on your DB side by looking at the slow query logs.
>
> One possibility is that you are still using the internal H2 database(for
> User and Identity), and your container is having low core count available
> for database operations.
>
> Cheers,
> Ruwan A
>
> On Thu, Jul 23, 2020 at 12:53 AM prayag pavithran <
> prayagpavithran@hotmail.com> wrote:
>
> Hi ,
>
> When running wso2 5.10.0 inside docker container , we are getting the
> following error
>
> TID: [-1234] [] [2020-07-22 18:51:46,513] [] ERROR
> {org.wso2.carbon.idp.mgt} - [SCR] Error while trying to bind reference
> Reference[name = identity.core.ConnectorConfig, interface =
> org.wso2.carbon.identity.core.ConnectorConfig, policy = dynamic,
> cardinality = 0..n, target = null, bind = setIdentityGovernanceConnector,
> unbind = unsetGovernanceConnector]
> Details:
> Problematic reference = Reference[name = identity.core.ConnectorConfig,
> interface = org.wso2.carbon.identity.core.ConnectorConfig, policy =
> dynamic, cardinality = 0..n, target = null, bind =
> setIdentityGovernanceConnector, unbind = unsetGovernanceConnector]
> of service component = idp.mgt.dscomponent
> component implementation class =
> org.wso2.carbon.idp.mgt.internal.IdPManagementServiceComponent
> located in bundle with symbolic name = org.wso2.carbon.idp.mgt
> bundle location =
> reference:file:../plugins/org.wso2.carbon.idp.mgt_5.17.5.jar
> java.lang.reflect.InvocationTargetException
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:444)
>
> Caused by: org.wso2.carbon.identity.base.IdentityRuntimeException:
> org.apache.tomcat.jdbc.pool.PoolExhaustedException: [Framework Event
> Dispatcher: Equinox Container: a9c9b7c1-ff59-47c7-a072-e463cbe8c8e2]
> Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none
> available[size:100; busy:100; idle:0; lastwait:30000].
> at
> org.wso2.carbon.identity.base.IdentityRuntimeException.error(IdentityRuntimeException.java:71)
> at
> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.getDBConnection(JDBCPersistenceManager.java:166)
> at
> org.wso2.carbon.identity.core.util.IdentityDatabaseUtil.getDBConnection(IdentityDatabaseUtil.java:54)
> at
> org.wso2.carbon.idp.mgt.dao.IdPManagementDAO.getIDP(IdPManagementDAO.java:1541)
> at
> org.wso2.carbon.idp.mgt.dao.IdPManagementDAO.getIdPByName(IdPManagementDAO.java:1488)
> at
> org.wso2.carbon.idp.mgt.dao.CacheBackedIdPMgtDAO.getIdPByName(CacheBackedIdPMgtDAO.java:158)
> at
> org.wso2.carbon.idp.mgt.IdentityProviderManager.getResidentIdP(IdentityProviderManager.java:324)
>
> With the same configurations wso2 is runs fine locally . Could you please
> help me in solving the above said issue in docker.
>
>
> Thanks & Regards,
> Prayag Pavithran
>
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>
> --
> Ruwan Abeykoon | Director/Architect | WSO2 Inc.
> (w) +947435800 | Email: ruwana@wso2.com
>
>
>
> --
> Ruwan Abeykoon | Director/Architect | WSO2 Inc.
> (w) +947435800 | Email: ruwana@wso2.com
>
>
--
Ruwan Abeykoon | Director/Architect | WSO2 Inc.
(w) +947435800 | Email: ruwana@wso2.com
[Attachment #5 (text/html)]
<div dir="ltr">Hi Prayang,<div></div><div>It looks like the DB configured in \
"identity_db" is not properly reachable or very slow from your \
container.</div><div>One way to check is by ssh to your container, then execute some \
query against the DB configured in your "identity_db" from the container \
node, and see if the query executes properly and fast \
enough.<br></div><div><br></div><div>Cheers,</div><div>Ruwan A</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 23, 2020 at 12:18 \
PM prayag pavithran <<a \
href="mailto:prayagpavithran@hotmail.com">prayagpavithran@hotmail.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks Ruwan for the quick reply.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
User store activation is fine in docker with the said configuration ..</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I'm sending here with some more log information for your reference. It would be \
of great help , if you can suggest something by looking at the below logs.</div> <div \
style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> \
<span style="font-family:Calibri,sans-serif;font-size:11pt;color:rgb(0,0,0)"> \
</span></div> <div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
--------------</p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<u></u> <u></u></p>
<p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [2020-07-23 04:00:47,509] INFO {org.wso2.config.mapper.ConfigParser} - \
Applying Configurations upon new Templates {org.wso2.config.mapper.ConfigParser}</p> \
<p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [2020-07-23 04:00:47,521] WARN {org.wso2.config.mapper.ConfigParser} - \
Overriding files in configuration directory /home/wso2carbon/wso2is-5.10.0 \
{org.wso2.config.mapper.ConfigParser}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [2020-07-23 04:00:48,380] INFO {org.wso2.config.mapper.ConfigParser} - Writing \
Metadata Entries... {org.wso2.config.mapper.ConfigParser}</p> <p style="margin:0in \
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,112] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...</p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,122] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux \
4.19.76-linuxkit, amd64</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,123] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : \
/opt/java/openjdk</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,124] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : \
11.0.6</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,124] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : \
OpenJDK 64-Bit Server VM 11.0.6+10,AdoptOpenJDK</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,125] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : \
/home/wso2carbon/wso2is-5.10.0</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,125] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : \
/home/wso2carbon/wso2is-5.10.0/tmp</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:55,126] [] INFO \
{org.wso2.carbon.core.internal.CarbonCoreActivator} - User : \
wso2carbon, en-US, GMT</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:00:54,778] [] INFO \
{org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier} - Sending Event \
Admin nofification (configuration successful) to \
org/ops4j/pax/logging/Configuration</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:00:55,313] [] INFO \
{org.wso2.carbon.crypto.provider.internal.DefaultCryptoProviderComponent} - \
'CryptoService.Secret' property has not been set. \
'org.wso2.carbon.crypto.provider.SymmetricKeyInternalCryptoProvider' \
won't be registered as an internal crypto provider. Please set the secret if the \
provider needs to be registered.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:00:55,489] [] INFO \
{org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS} - \
Successfully deployed the Kafka output event adaptor service</p> <p style="margin:0in \
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:00:56,000] [] INFO \
{org.wso2.carbon.identity.oauth.uma.grant.internal.UMA2GrantServiceComponent} - \
Policy evaluator registered successfully: DefaultPolicyEvaluator</p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:00:56,002] [] INFO \
{org.wso2.carbon.identity.oauth.uma.grant.internal.UMA2GrantServiceComponent} - UMA \
Grant component activated successfully.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:56,431] [] INFO \
{org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} - KDC server is \
disabled.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:00:58,962] [] INFO \
{org.apache.directory.server.KERBEROS_LOG} - KeyDerivation Interceptor \
initialized</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:00:59,723] [] INFO \
{org.wso2.carbon.mex.internal.Office365SupportMexComponent} - Office365Support \
MexServiceComponent bundle activated successfully..</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:00:59,740] [] INFO \
{org.wso2.carbon.mex2.internal.DynamicCRMCustomMexComponent} - DynamicCRMSupport \
MexServiceComponent bundle activated successfully.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:01,356] [] INFO \
{org.wso2.carbon.consent.mgt.core.internal.ConsentManagerComponent} - \
ConsentManagerComponent is activated.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:01,592] [] INFO \
{org.apache.jasper.servlet.TldScanner} - At least one JAR was scanned for TLDs yet \
contained no TLDs. Enable debug logging for this logger for a complete list of JARs \
that were scanned but no TLDs were found in them. Skipping unneeded JARs during \
scanning can improve startup time and JSP compilation time.</p> <p style="margin:0in \
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:02,339] [] INFO \
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in \
198ms</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:02,534] [] INFO \
{org.wso2.carbon.identity.authenticator.x509Certificate.internal.X509CertificateServiceComponent} \
- X509 Certificate Servlet activated successfully..</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:02,772] [] INFO \
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at \
configregistry in 8ms</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:02,773] [] INFO \
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at \
govregistry in 9ms</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:02,915] [] INFO \
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at \
configregistry in 2ms</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:02,918] [] INFO \
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Connected to mount at \
govregistry in 4ms</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:02,945] [] INFO \
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Registry Mode \
: READ-WRITE</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:03,048] [] INFO \
{org.wso2.carbon.metrics.impl.util.JmxReporterBuilder} - Creating JMX reporter for \
Metrics with domain 'org.wso2.carbon.metrics'</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:03,063] [] INFO \
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter} - Started JMX reporter for \
Metrics</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:04,800] [] INFO \
{org.wso2.carbon.registry.indexing.solr.SolrClient} - Default Embedded Solr Server \
Initialized</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span \
style="color:rgb(112,173,71)">TID: [-1234] [] [2020-07-23 04:01:05,348] [] INFO \
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon \
UserStoreMgtDSComponent activated successfully.</span></p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:05,502] [] INFO \
{org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - \
Initialising Attachment Server</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:05,866] [] INFO \
{org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - \
[Attachment-Mgt OpenJPA] DB Dictionary: h2</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:05,868] [] INFO \
{org.wso2.carbon.attachment.mgt.core.dao.impl.jpa.AbstractJPAVendorAdapter} - \
[Attachment-Mgt OpenJPA] Generate DDL Enabled.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,000] [] INFO \
{org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent} - \
Registering AttachmentServerService</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,016] [] INFO \
{org.wso2.carbon.bpel.core.internal.BPELServiceComponent} - Initializing BPEL \
Engine........</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,074] [] INFO \
{org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction \
manager</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,129] [] INFO {org.apache.ode.il.dbutil.Database} \
- ODE using external DataSource "bpsds".</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,133] [] INFO \
{org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Using DAO Connection \
Factory class: org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl</p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,135] [] INFO {org.apache.ode.il.dbutil.Database} \
- Using DAO Connection Factory class \
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,310] [] INFO \
{org.apache.ode.store.jpa.DbConfStoreConnectionFactory} - ProcessStore initializing \
transaction manager using org.apache.ode.il.EmbeddedGeronimoFactory</p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,312] [] INFO \
{org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction \
manager</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span \
style="background:yellow">TID: [-1] [] [2020-07-23 04:01:06,354] [] INFO \
{org.apache.ode.scheduler.simple.JdbcDelegate} - Using database H2 major version \
1</span></p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span \
style="background:yellow">TID: [-1] [] [2020-07-23 04:01:06,362] [] INFO \
{org.apache.ode.scheduler.simple.JdbcDelegate} - Using database dialect: \
H2</span></p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,386] [] INFO \
{org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - This node is a manager \
node</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,405] [] INFO \
{org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering E4X \
Extension...</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,420] [] INFO \
{org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P \
Extension...</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,451] [] INFO \
{org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering B4P \
Filter...</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,460] [] INFO \
{org.apache.ode.bpel.engine.BpelServerImpl} - BPEL Server Started.</p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,463] [] INFO \
{org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl} - Registering MBeans</p> \
<p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,510] [] INFO \
{org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Initialising \
HumanTask Server</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,557] [] INFO \
{org.apache.ode.il.EmbeddedGeronimoFactory} - Using embedded Geronimo transaction \
manager</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,585] [] INFO \
{org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] DB \
Dictionary: h2</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,587] [] INFO \
{org.wso2.carbon.humantask.core.dao.jpa.AbstractJPAVendorAdapter} - [HT OpenJPA] \
Generate DDL Enabled.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,638] [] INFO \
{org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering \
Axis2ConfigurationContextObserver</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,664] [] INFO \
{org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - Registering HT \
related MBeans</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:06,675] [] INFO \
{org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent} - MXBean for \
Human tasks registered successfully</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span \
style="color:rgb(112,173,71)">TID: [-1234] [] [2020-07-23 04:01:07,523] [] INFO \
{org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} \
- User Store Configuration Deployer initiated.</span></p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span \
style="color:rgb(112,173,71)">TID: [-1234] [] [2020-07-23 04:01:07,525] [] INFO \
{org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} \
- User Store Configuration Deployer initiated.</span></p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:07,536] [] INFO \
{org.wso2.carbon.bpel.deployer.BPELDeployer} - Initializing BPEL Deployer for tenant \
-1234.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:07,549] [] INFO \
{org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing HumanTask \
Deployer for tenant -1234.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:08,270] [] INFO \
{org.apache.axis2.transport.mail.MailTransportSender} - MAILTO Sender started</p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:08,284] [] WARN {javax.mail} - expected resource \
not found: /META-INF/javamail.default.address.map</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [I18nEmailMgtConfigService] [2020-07-23 04:01:09,170] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
I18nEmailMgtConfigService {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [AccountCredentialMgtConfigService] [2020-07-23 04:01:10,296] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
AccountCredentialMgtConfigService {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [UserIdentityManagementAdminService] [2020-07-23 04:01:10,316] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
UserIdentityManagementAdminService {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [UserInformationRecoveryService] [2020-07-23 04:01:10,325] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
UserInformationRecoveryService {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [SAMLQueryService] [2020-07-23 04:01:10,506] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
SAMLQueryService {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:10,587] [] WARN \
{org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} - We don't \
support method overloading. Ignoring [doSingleLogout]</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [mex-ut] [2020-07-23 04:01:11,113] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
mex-ut {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [mex-ut2] [2020-07-23 04:01:11,136] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
mex-ut2 {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [wso2carbon-sts] [2020-07-23 04:01:12,046] [] INFO \
{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: \
wso2carbon-sts {super-tenant}</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:12,439] [] INFO \
{org.wso2.carbon.core.init.CarbonServerManager} - Repository : \
/home/wso2carbon/wso2is-5.10.0/repository/deployment/server/</p> <p style="margin:0in \
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:12,540] [] INFO \
{org.wso2.carbon.core.multitenancy.eager.TenantLoadingConfig} - Using tenant lazy \
loading policy...</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:12,591] [] INFO \
{org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission \
cache updated for tenant -1234</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span \
style="color:rgb(112,173,71)">TID: [-1234] [] [2020-07-23 04:01:13,414] [] INFO \
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Claim manager set for \
class org.wso2.carbon.user.core.common.DefaultRealm</span></p> <p style="margin:0in \
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span \
style="color:rgb(112,173,71)">TID: [-1234] [] [2020-07-23 04:01:13,422] [] INFO \
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Claim manager set for \
class org.wso2.carbon.user.core.jdbc.UniqueIDJDBCUserStoreManager</span></p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:13,658] [] INFO \
{org.wso2.balana.ConfigurationStore} - Loading runtime configuration</p> <p \
style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1] [] [2020-07-23 04:01:13,678] [] INFO \
{org.wso2.carbon.identity.entitlement.internal.SchemaBuilder} - XACML policy schema \
loaded successfully.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:14,221] [] INFO \
{org.wso2.carbon.identity.oauth.uma.xacml.service.internal.AppUMAServiceComponents} - \
XACML UMA Handler activated successfully.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:14,469] [] INFO \
{org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration} - The default OAuth \
token issuer will be used. No custom token generator is set.</p> <p style="margin:0in \
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:14,547] [] INFO \
{org.wso2.identity.apps.common.internal.AppsCommonServiceComponent} - Identity apps \
common service component activated successfully.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:14,615] [] INFO \
{org.wso2.carbon.identity.oauth2.internal.OAuth2ServiceComponent} - PKCE Support \
enabled.</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
TID: [-1234] [] [2020-07-23 04:01:15,547] [] WARN \
{org.wso2.carbon.identity.event.internal.IdentityEventServiceComponent} - Properties \
for userOperationDataDASPublisher is not configured. This event handler will not be \
activated</p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span style="color:red">TID: \
[-1234] [] [2020-07-23 04:01:48,156] [] ERROR {org.wso2.carbon.idp.mgt} - [SCR] Error \
while trying to bind reference Reference[name = identity.core.ConnectorConfig, \
interface = org.wso2.carbon.identity.core.ConnectorConfig, policy = dynamic, \
cardinality = 0..n, target = null, bind = setIdentityGovernanceConnector, unbind = \
unsetGovernanceConnector]</span></p> <p style="margin:0in 0in \
0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> Details:</p>
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div style="margin:0px;font-size:12pt;font-family:Calibri,Helvetica,sans-serif">
<br>
Thanks & Regards</div>
<div style="margin:0px;font-size:12pt;font-family:Calibri,Helvetica,sans-serif">
Prayag Pavithran</div>
<br>
</div>
<div id="gmail-m_3664588986750415290appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_3664588986750415290divRplyFwdMsg" dir="ltr"><font face="Calibri, \
sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Ruwan Abeykoon <<a \
href="mailto:ruwana@wso2.com" target="_blank">ruwana@wso2.com</a>><br> \
<b>Sent:</b> Thursday, July 23, 2020 9:52 AM<br> <b>To:</b> WSO2 Developers' List \
<<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a>><br> <b>Cc:</b> \
Suthin Sadanandan <<a href="mailto:suthins@increvcorp.com" \
target="_blank">suthins@increvcorp.com</a>>; prayag pavithran <<a \
href="mailto:prayagpavithran@hotmail.com" \
target="_blank">prayagpavithran@hotmail.com</a>><br> <b>Subject:</b> Re: [Dev] \
Help required for fixing error when running wso2 5.10.0 in docker container</font> \
<div> </div> </div>
<div>
<div dir="ltr">Hi Prayang,
<div>The datasources configured are correct. I assume you configure same URL, \
username, password for local and container setup when you say "The same \
configurations work fine when we run locally but fails when we deploy the same in \
docker."</div> <div><br>
</div>
<div>If that is the case, these two cases need to be looked at.</div>
<div>1) connectivity may be slow or intermittent form container to your DB \
server</div> <div>2) your container is given very low effective core count</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Ruwan</div>
</div>
<br>
<div>
<div dir="ltr">On Thu, Jul 23, 2020 at 9:42 AM prayag pavithran <<a \
href="mailto:prayagpavithran@hotmail.com" \
target="_blank">prayagpavithran@hotmail.com</a>> wrote:<br> </div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks Ruwan.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Currently in deployment.toml file we've configured the mysql connection strings \
for </div> <div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<ol>
<li><span>[</span><span \
style="color:rgb(237,92,87)">database.identity_db</span><span>]</span></li><li><span>[</span><span \
style="color:rgb(237,92,87)">database.shared_db]</span><span><br> </span></li></ol>
<div><span style="color:rgb(0,0,0)">Could you please let me know if any other \
configuration need to be done in deplyment.toml file for pointing to mysql database \
(for User and Identity) instead of default H2 database.</span></div> <div><span \
style="color:rgb(0,0,0)">The same configurations work fine when we run locally but \
fails when we deploy the same in docker.</span></div> <div><span \
style="color:rgb(0,0,0)"><br> </span></div>
<div>Any help on this will be much appreciated.</div>
<div><span style="color:rgb(0,0,0)"><br>
</span></div>
<div><span style="color:rgb(0,0,0)">
<div style="margin:0px;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
Thanks & Regards,</div>
<div style="margin:0px;font-family:Calibri,Helvetica,sans-serif;background-color:rgb(255,255,255)">
Prayag Pavithran</div>
<br>
</span></div>
</div>
<div id="gmail-m_3664588986750415290x_gmail-m_-7650275837878748426appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_3664588986750415290x_gmail-m_-7650275837878748426divRplyFwdMsg" \
dir="ltr"><font face="Calibri, sans-serif" color="#000000" \
style="font-size:11pt"><b>From:</b> Ruwan Abeykoon <<a \
href="mailto:ruwana@wso2.com" target="_blank">ruwana@wso2.com</a>><br> \
<b>Sent:</b> Thursday, July 23, 2020 6:12 AM<br> <b>To:</b> prayag pavithran <<a \
href="mailto:prayagpavithran@hotmail.com" \
target="_blank">prayagpavithran@hotmail.com</a>><br> <b>Cc:</b> WSO2 \
Developers' List <<a href="mailto:Dev@wso2.org" \
target="_blank">Dev@wso2.org</a>><br> <b>Subject:</b> Re: [Dev] Help required for \
fixing error when running wso2 5.10.0 in docker container</font> <div> </div>
</div>
<div>
<div dir="ltr">Hi <a \
id="gmail-m_3664588986750415290x_gmail-m_-7650275837878748426x_plusReplyChip-0" \
href="mailto:prayagpavithran@hotmail.com" target="_blank">@prayag pavithran</a> , \
<div>The following error on the stack trace,<br> " Pool empty. Unable to fetch a \
connection in 30 seconds, none available[size:100; busy:100; idle:0; \
lastwait:30000]."</div> <div><br>
</div>
<div>This suggests that some queries take too much time to complete in the \
containerized environment. You should be able to find out why this happens on your DB \
side by looking at the slow query logs.</div> <div><br>
</div>
<div>One possibility is that you are still using the internal H2 database(for User \
and Identity), and your container is having low core count available for database \
operations.</div> <div><br>
</div>
<div>Cheers,</div>
<div>Ruwan A</div>
</div>
<br>
<div>
<div dir="ltr">On Thu, Jul 23, 2020 at 12:53 AM prayag pavithran <<a \
href="mailto:prayagpavithran@hotmail.com" \
target="_blank">prayagpavithran@hotmail.com</a>> wrote:<br> </div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi ,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
When running wso2 5.10.0 inside docker container , we are getting the following \
error </div> <div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span></span><span>TID: [-1234] [] [2020-07-22 18:51:46,513] [] </span><span \
style="color:rgb(237,92,87)">ERROR {org.wso2.carbon.idp.mgt} - [SCR] \
</span><span>Error while trying to bind reference Reference[name = \
identity.core.ConnectorConfig, interface = \
org.wso2.carbon.identity.core.ConnectorConfig, policy = dynamic, cardinality = 0..n, \
target = null, bind = setIdentityGovernanceConnector, unbind = \
unsetGovernanceConnector]<br> </span>
<div>Details:<br>
</div>
<div>Problematic reference = Reference[name = identity.core.ConnectorConfig, \
interface = org.wso2.carbon.identity.core.ConnectorConfig, policy = dynamic, \
cardinality = 0..n, target = null, bind = setIdentityGovernanceConnector, unbind = \
unsetGovernanceConnector]<br> </div>
<div>of service component = idp.mgt.dscomponent<br>
</div>
<div>component implementation class = \
org.wso2.carbon.idp.mgt.internal.IdPManagementServiceComponent<br> </div>
<div>located in bundle with symbolic name = org.wso2.carbon.idp.mgt<br>
</div>
<div>bundle location = reference:file:../plugins/org.wso2.carbon.idp.mgt_5.17.5.jar \
java.lang.reflect.InvocationTargetException<br> </div>
<div>at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native \
Method)<br> </div>
<div>at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>
</div>
<div>at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
</div>
<div>at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br>
</div>
<div>at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376)<br>
</div>
<div>at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:444)<br>
</div>
<div><br>
</div>
<div>Caused by: org.wso2.carbon.identity.base.IdentityRuntimeException: \
org.apache.tomcat.jdbc.pool.PoolExhaustedException: [Framework Event Dispatcher: \
Equinox Container: a9c9b7c1-ff59-47c7-a072-e463cbe8c8e2] Timeout: Pool empty. Unable \
to fetch a connection in 30 seconds, none available[size:100; busy:100; idle:0; \
lastwait:30000].<br> </div>
<div>at org.wso2.carbon.identity.base.IdentityRuntimeException.error(IdentityRuntimeException.java:71)<br>
</div>
<div>at org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.getDBConnection(JDBCPersistenceManager.java:166)<br>
</div>
<div>at org.wso2.carbon.identity.core.util.IdentityDatabaseUtil.getDBConnection(IdentityDatabaseUtil.java:54)<br>
</div>
<div>at org.wso2.carbon.idp.mgt.dao.IdPManagementDAO.getIDP(IdPManagementDAO.java:1541)<br>
</div>
<div>at org.wso2.carbon.idp.mgt.dao.IdPManagementDAO.getIdPByName(IdPManagementDAO.java:1488)<br>
</div>
<div>at org.wso2.carbon.idp.mgt.dao.CacheBackedIdPMgtDAO.getIdPByName(CacheBackedIdPMgtDAO.java:158)<br>
</div>
<div>at org.wso2.carbon.idp.mgt.IdentityProviderManager.getResidentIdP(IdentityProviderManager.java:324)</div>
<div><br>
</div>
<div>With the same configurations wso2 is runs fine locally . Could you please help \
me in solving the above said issue in docker.</div> <div><br>
</div>
<div><br>
</div>
<div>Thanks & Regards,</div>
<div>Prayag Pavithran</div>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
</div>
</div>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> </blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><span style="color:rgb(136,136,136)">Ruwan Abeykoon | Director/Architect | WSO2 \
Inc.</span> <div style="color:rgb(136,136,136)">(w) +947435800 | Email: <a \
href="mailto:ruwana@wso2.com" target="_blank"> ruwana@wso2.com</a></div>
</div>
<div style="color:rgb(136,136,136)"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png"><br> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><span style="color:rgb(136,136,136)">Ruwan Abeykoon | Director/Architect | WSO2 \
Inc.</span> <div style="color:rgb(136,136,136)">(w) +947435800 | Email: <a \
href="mailto:ruwana@wso2.com" target="_blank"> ruwana@wso2.com</a></div>
</div>
<div style="color:rgb(136,136,136)"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png"><br> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span \
style="color:rgb(136,136,136)">Ruwan Abeykoon | Director/Architect | WSO2 \
Inc.</span><div style="color:rgb(136,136,136)">(w) +947435800 | Email: <a \
href="mailto:ruwana@wso2.com" target="_blank">ruwana@wso2.com</a></div></div><div \
style="color:rgb(136,136,136)"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png"><br></div></div></div></div></div></div></div></div></div></div>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic