Category : wso2

We are using WSO2 in VM and used below code into mediation to save data inside registry <script language="js"><![CDATA[ importPackage(Packages.org.apache.synapse.config); mc.getConfiguration().getRegistry().newResource("/keycloak/keycloakkey-kid",false); mc.getConfiguration().getRegistry().updateResource("/keycloak/keycloakkey-kid", mc.getProperty("keycloakkey-kid")); mc.getConfiguration().getRegistry().newResource("/keycloak/keycloakkey-x5c",false); mc.getConfiguration().getRegistry().updateResource("/keycloak/keycloakkey-x5c", mc.getProperty("keycloakkey-x5c")); mc.getConfiguration().getRegistry().newResource("/keycloak/keycloakkey-timestamp",false); mc.getConfiguration().getRegistry().updateResource("/keycloak/keycloakkey-timestamp", mc.getProperty("current-system-time")); ]]> </script> But now same code i deployed in Docker and Kubenete environment and this is not able to save the data How to use the ..

Read more

In wso2/wso2mi Docker image currently using ENV JAVA_VERSION=jdk-11.0.10+9 ,Is this possible to Downgrade or upgrade this java version ? Why i am looking this ? I am facing a weird problem with ENV JAVA_VERSION=jdk-11.0.10+9 in my application our SOAP web services throwing { "httpCode": 502, "userMessage": "Invalid response from remote host", "developerMessage": "The creation time ..

Read more

So we are using WSO2 Docker image and Customizing it but when we are using wso2/wso2mi:4.0.1-SNAPSHOT-centos OR wso2/wso2mi:latest OR wso2/wso2mi:4.0.1-SNAPSHOT My API giving below response { "httpCode": 502, "userMessage": "Invalid response from remote host", "developerMessage": "The creation time is ahead of the current time.", "details": { "detail": "wsse:InvalidSecurityToken" }, "errorCode": "S:Sender", "timeStamp": 1624341823703, "transactionId": "CIP-urn:uuid:0f709b7d-a64e-4f2b-99bd-9c7db2117903" ..

Read more

I am installing API Manager on My GCP Cluster using helm chart (https://artifacthub.io/packages/helm/wso2/am-single-node) using git clone methods after changing the three files(wso2am-gateway-ingress.yaml, wso2am-ingress.yaml and wso2am-websub-ingress.yam ) following Kubernetes website info tips on https://kubernetes.io/docs/concepts/services-networking/ingress/ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-resource-backend spec: defaultBackend: resource: apiGroup: k8s.example.com kind: StorageBucket name: static-assets rules: – http: paths: – path: ..

Read more

this is came from yesterday onwards, when i run the maven for docker project i am getting Failed to execute goal org.wso2.maven:mi-container-config-mapper:5.2.35:config-mapper-parser (config-mapper-parser) on project ESBDockerExporter: Exception while parsing the deployment.toml file this is the plug-in i added in docker pom.xml Source: Docker..

Read more

I am currently using WSO2 with Docker. I have published some APIs on the store but if Docker reboots all loose all my APIs. Therefore, I have followed this tutorial https://apim.docs.wso2.com/en/latest/install-and-setup/setup/reference/common-runtime-and-configuration-artifacts/#common-runtime-and-configuration-artifacts to create a folder that I mount into the wso2-artifact-volume. But when launching the Publisher it says that no APIs found. If I look ..

Read more

I am currrently using 4 WSO2 modules inside my docker-compose file as shown below: mysql: image: mysql:5.7.31 container_name: mysql ports: – 3306 environment: MYSQL_ROOT_PASSWORD: root volumes: – ./conf/mysql/scripts:/docker-entrypoint-initdb.d – ./conf/mysql/conf/my.cnf:/etc/mysql/my.cnf ulimits: nofile: soft: 20000 hard: 40000 command: –ssl=0 –max_connections=10000 healthcheck: test: ["CMD", "mysqladmin" ,"ping", "-uroot", "-proot"] interval: 30s timeout: 60s retries: 5 start_period: 80s am-analytics-worker: ..

Read more

I can’t login to WSO2 API Manager after installation. I perform the installation as indicated in these steps: https://wso2.com/api-management/install/docker-compose/get-started/ API Manager for Docker Compose. According to the instructions: Running the product: Once WSO2 API Manager is successfully deployed, access the following URLs on your favorite web browser using the credentials username: admin and password: admin. ..

Read more