wso2carbon

WSO2 AS JDNI lookup

谁说我不能喝 提交于 2020-01-05 05:50:53
问题 In WSO2 AS 5.0.1 I deploy a webapp which should use a datasource. I can configure the datasource in tomcat-server.xml or any other place in the WAR, but is it possible to use a datasource that is configured in the Carbon Management Console through JNDI? Steps taken: Configure datasource in Management Console, export it as JNDI as jdbc/platform ResourceLink in META-INF/context.xml to link the global resource: < ResourceLink name="jdbc/platform" global="jdbc/platform" type="javax.sql.DataSource

RabbitMQ AMQP Transport Support in WSO2 ESB 4.8

非 Y 不嫁゛ 提交于 2019-12-30 14:56:44
问题 http://docs.wso2.org/display/ESB480/RabbitMQ+AMQP+Transport i have gone through this example to get RabbitMQ AMQP transport support in WSO2 ESB 4.8 but i am getting following error during the Creation of the RabbitMQ Proxy Service. Unable to generate proxy data from source: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[16,93]Message: The reference to entity 'rabbitmq.server.port' must end with the ';' delimiter. any solution ?? thanks 回答1: Admin console "complains" about

RabbitMQ AMQP Transport Support in WSO2 ESB 4.8

允我心安 提交于 2019-12-30 14:55:03
问题 http://docs.wso2.org/display/ESB480/RabbitMQ+AMQP+Transport i have gone through this example to get RabbitMQ AMQP transport support in WSO2 ESB 4.8 but i am getting following error during the Creation of the RabbitMQ Proxy Service. Unable to generate proxy data from source: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[16,93]Message: The reference to entity 'rabbitmq.server.port' must end with the ';' delimiter. any solution ?? thanks 回答1: Admin console "complains" about

Spring Boot: LoggingApplicationListener interfering with Application Server logging

戏子无情 提交于 2019-12-30 06:07:41
问题 Spring Boot automatically initializes the underlying logging system using the LoggingApplicationListener . This is a nice thing if the application I'm developing runs isolated or standalone. However I'm developing a web application that will be deployed into the WSO2 Application Server, which offers unified logging (using log4j), with features like central log level management (at runtime via web interface), business reporting etc. If I use Spring Boot "as is", it logs everything completely

Spring Boot: LoggingApplicationListener interfering with Application Server logging

做~自己de王妃 提交于 2019-12-30 06:06:06
问题 Spring Boot automatically initializes the underlying logging system using the LoggingApplicationListener . This is a nice thing if the application I'm developing runs isolated or standalone. However I'm developing a web application that will be deployed into the WSO2 Application Server, which offers unified logging (using log4j), with features like central log level management (at runtime via web interface), business reporting etc. If I use Spring Boot "as is", it logs everything completely

WSO2 Carbon 4.1.x - how to make the distribution

老子叫甜甜 提交于 2019-12-25 18:02:51
问题 I have checked out the source code, and built it with mvn clean install . Now I'm trying to find out how to build the Carbon 4.1.x distribution (wso2carbon-4.1.0.zip)? Is there a maven target, something like: mvn dist:build-bin that can be run from the root source code folder? 回答1: No such special command. If you have built using mvn clean install from the carbon kernel source root level, you can find your expected pack at ROOT/distribution/product/modules/distribution/target/ 来源: https:/

UserRegistry Attempted to authenticate invalid user

浪子不回头ぞ 提交于 2019-12-25 08:20:06
问题 I followed https://docs.wso2.com/display/CLUSTER44x/Clustering+API+Manager+2.0.0 and http://wso2.com/library/articles/2016/10/article-scalable-traffic-manager-deployment-patterns-for-wso2-api-manager-part-1/ referenced in the above document. I am using Postgress and not MySQL, but I know the JDBC connector works, both in this config and running the wso2am server in a single instance mode. I get the error mentioned in the subject. I start the keymanager, then traffic manager with ./wso2server

wso2carbon.log not rolling as expected

蓝咒 提交于 2019-12-25 07:11:35
问题 I seem to be having some issues with the wso2carbon.log rolling appropriately in multiple applications. I'm running the stack on windows 2008 server with Java 1.7. The issues are: ESB 4.8.1 - Log does not rotate daily, log is clobbered on application restart DSS 3.1.1 - Log does not rotate daily, log is clobbered on application restart log4j.properties relevant section below: ESB log4j.appender.CARBON_LOGFILE=org.wso2.carbon.logging.appenders.CarbonDailyRollingFileAppender log4j.appender

“Error looking up a data source : null” in appserver 4.1.2 of wso2

拥有回忆 提交于 2019-12-25 04:43:18
问题 I downloaded the appserver 4.1.2 (latest) from the wso2 site. Unfortunately when I tried to add a datasource I got an error message ("Error looking up a data source : null"). I found only one solution in the forum to update something. However when I add those repositories I cant find an update for the datasource component. I have to confess that I am a newbie and maybe I did something wrong. Any more detailed help would be nice because without the datasource feature the appserver is worthless

Not getting remote claims from wso2

这一生的挚爱 提交于 2019-12-25 03:59:20
问题 I have using wso2 IS with another configured identity provider like: google,yahoo. when i logged form IDP and redirect back to callback URL my application call /outh2/token API to fetch id_token base on authorization_code but the problem is not getting remote claim (IDP custom claim attribute) which i have configured in service provider mapping.I have facing this issues randomly not for all user. Success claims Log :TID: [-1234] [] [2018-04-24 07:25:03,300] DEBUG {org.wso2.carbon.identity