Installing WSO2 DAS 3.0.1 as a windows service has servletException - wso2

After installing (https://docs.wso2.com/display/DAS301/Installing+as+a+Windows+Service) and starting WSO2 DAS 3.0.1 as a windows service, there is an exception when opening page of view roles from users page as below,
Then popup blank page,
However, this error does not happen if I use wso2server.bat running in command console. The same issue happens to WSO2 AM 1.10.0 as well.
Cheers,
Sean

Try adding below line to wrapper.conf
wrapper.java.additional.26 = -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
This is mentioned in Identity Server Docs. I reopened a WSO2 Document JIRA about this.

Related

WSO2 APIM Analytics 3.2.0 dashboard login page doesn't open

I am running WSO2 APIM 3.2.0 and Analytics 3.2.0 on different client servers. I did all the required settings to configure WSO2 APIM with WSO2 Analytics. Started both the servers successfully and WSO2 APIM URL's open well. But, when I open the Analytics Dashboard URL (https://<Analytics_Host>:9643/analytics-dashboard/login), I get the below warning in the dashboard server logs, and the login page does not appear. Only a blank screen appears.
WARN {org.wso2.msf4j.internal.MSF4JHttpConnectorListener} - Unmapped
exception feign.RetryableException: No subject alternative names
matching IP address <APIM_IP> found executing GET
https://<APIM_Host>:9443/api/am/admin/v0.16/custom-urls/carbon.super
In the browser console I can see errors as shown in the below screenshot.
One more thing I noticed is in the management console of WSO2 APIM, difference in Service Providers list when compared with my local. I didn't find all the service providers on the client server which I can see on my local.
WSO2 APIM Carbon Console Service Providers list on my local:
WSO2 APIM Carbon Console list on the client server:
Am I missing out on some configurations? Need suggestions on this issue.

wso2 api manager have xss issue

I'm using WSO2 API MANAGER VERSION 1.10.0
Sample API published with script description in publisher portal
and i open the api detail in store portal
setting carbon.xml is below
<XSSPreventionConfig>
<Enabled>true</Enabled>
<Rule>allow</Rule>
<!--Patterns>
<Pattern></Pattern>
</Patterns-->
</XSSPreventionConfig>
How can I solve it with setting?
You can download security patches for APIM 1.10.0 from here. This is already fixed in them.

WSO2 API Manager 2.0.0 - Error on Publisher Login

I've made a fresh install of WSO2 API Manager 2.0.0 on a google cloud VM. I can login fine into my carbon console and access the publisher root.
When I try to login into my publisher console (https://{my_ip}:9443/publisher) I get the following error Error! Transport level information does not match with SOAP Message namespace URI.
I am having the same issue. Had to disable CSRFPreventionConfig, too. Someone should open a ticket in WSO2 Jira.
To disable CSRFPreventionConfig, open carbon.xml (<wso2am-home>/repository/conf) and set the boolean value of the Enabled tag to false:
<CSRFPreventionConfig>
<CSRFPreventionFilter>
<!-- Set below to true to enable the CSRFPreventionFilter -->
<Enabled>false</Enabled>
<!-- Url Pattern to skip application of CSRF protection-->
<SkipUrlPattern>(.*)(/images|/css|/js|/docs)(.*)</SkipUrlPattern>
</CSRFPreventionFilter>
</CSRFPreventionConfig>

Unable to view statics in the WSO2 API Manager Publisher?

I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article.
http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html
I see below error in the terminal when I try to access the statistics page.
[2015-02-06 14:15:29,405] ERROR - usage:jag java.lang.NullPointerException: null
Below is the page I get.
I checked below questions as well. but didn't work out for me.
Why am I unable to view stats in the WSO2 API Manager Store?
Configuring WSO2 API Manager to use the WSO2 BAM Server
How can I fix this?
You see this error because there are no data to be shown. Please invoke APIs and try this page.
Please read the comments for more info

WSO2 CEP Management Console

I have installed WSO2 CEP on Linux. But when I tried to open the management console with the https:///carbon/, it says "The website is not available."
I have the WSO2 CEP running (and it said WSO2 Carbon started in 19 sec).
Is this because I didn't install the CEP properly?
Please help. I am new to the WSO2..
If you started the WSO2 CEP or any other WSO2 products properly, then you can see the management console in
https://localhost:9443/
With the default configuration all the WSO2 products works in 9443 port. For more information regarding the WSO2 CEP please refer the [1].
[1] http://docs.wso2.org/wiki/display/CEP210/Complex+Event+Processor+Documentation
Regards,
Mohan
Start the server using the command
sh wso2server.sh
Then when the server start proccess completed, on your browser
https://localhost:9443/carbon
may be you may got https certification error proceed no mater.
Enjoy