WSO2 MB JSP Exception while including queue_details.jsp - wso2

I just downloaded, installed, and started WSO2 Message Broker V2.2.0. When I attempt to "Browse Queues" via the management console I get the following error
"Error during rendering javax.servlet.jsp.JspException: IO Error executing tag: JSPException while including path '/queues/queue_details.jsp'. ServletException while including page"
Has anyone seen this error or have any suggestions on what I should do?

Turns out I was incorrectly using JDK/JRE 8, which is not supported for WSO2 MB V2.2.0. When I installed JDK 7 and updated JAVA_HOME to point to it the message broker management console worked just fine and I could list the queues. Next time I need to do a better job reading the pre-requisite product installs ;-)

Related

Coldfusion Builder check for updates not working

Running CF builder 3, Help > Check for Updates throws an error -- "Unable to read repository at http://ahtik.com/eclipse-update/content.xml.
peer not authenticated". Not sure why it's looking there, but I pasted the url in browser and indeed got a 404 error. Is there a way to change where CFB looks for this update check?
Okay, I was getting the "No repository found at file:/Y:/.." message because the path was listed under window > preferences > Install/Update > Available Software Sites. Y was a network drive that we disabled, but beyond that, it looks like my CFB was incorrectly configured for updates anyway. I spent some time trying to add in the standalone patch at the top of https://helpx.adobe.com/coldfusion/kb/coldfusion-builder-3-updates.html, but kept getting error messages. I inherited this copy of CFB a year ago, so I just did a clean reinstall. After that did Help > Check for Updates, it found and installed an update, restarted CFB, and now everything's good.

ColdFusion 2016 - Security service not available

CF 2016 on windows10 with IIS
I've checked other threads on similar issues and they don't appear to apply.
My laptop has needed to be crash-started on a number of occasions recently due to the laptop not waking up from sleep mode. A couple of times ColdFusion 2016 didn't start automatically and needed to be manually started. Now, ColdFusion appears to be starting automatically, but now I'm getting an error:
HTTP Error 500.0 - The Security service is not available.
I'm afraid I have no idea where to start on this or even what additional information to provide. So, I would really appreciate any hints.
The remainder of the error has the following information:
Detailed Error Information:
Module: IsapiModule Notification: ExecuteRequestHandler
Handler: ISAPI-dll
Error Code: 0x00000000
Requested URL: http://zbay_sys:80/jakarta/isapi_redirect.dll
Physical Path : C:\ColdFusion2016\config\wsconfig\1\isapi_redirect.dll
Logon Method: Anonymous
Logon User : Anonymous
I really hope I don't have to re-install CF
Glad, that you are sorted.
The error message says, "The Security service is not available." Thus IIS is showing http based error 500. If the service is not starting, there could likely be a problem at ColdFusion end.
Please try the following, if you face the similar issue in future:–
Stop ColdFusion service (if not already)
Launch Command prompt as Administrator
Browse to cf_root\cfusion\bin and run the following
command coldfusion.exe -start console
Try to access the CF Admin, once the services are started.
In case it gives an error message, please share the same.

wso2 esb and cep installation simultaneouslly

I am trying to install and run ESB and CEP both on the same machine. I have tried to set port offset to 1, to prevent port conflict, but still after running ESB, I am not able to run CEP. The error log in cmd is as bellow:
`C:\Program Files\yajsw-stable-11.03_cep\bat>call setenv.bat
"java" -Xmx30m -Djna_tmpdir="C:\Program Files\yajsw-stable-11.03_cep\bat\/../tmp
" -jar "C:\Program Files\yajsw-stable-11.03_cep\bat\/../wrapper.jar" -t "C:\Program Files\yajsw-stable-11.03_cep\bat\/../conf/wrapper.conf"
YAJSW: yajsw-stable-11.03
OS : Windows 7/6.1/amd64
JVM : Oracle Corporation/1.7.0_75
Dec 20, 2015 11:44:31 AM org.apache.commons.vfs2.VfsLog info
INFO: Using "C:\Users\K5563~1.KHA\AppData\Local\Temp\vfs_cache" as temporary files store.
platform null
************* STARTING "WSO2CARBON_cep" ***********************
Service "WSO2CARBON_cep" NOT started
Press any key to continue . . .`
First : where and how can I find a proper log to figure out what is the problem? As you know, there is nothing in : repository\logs until the program starts to run.
Second : if you have any idea about the probable cause, please let me know.
Additional info : I am using jdk 1.7.0_75, esb 4.9.0, cep 4.0.0, yajsw 11.03, and there was a success message after installation of both esb and cep. I gave them different service names while installing as a windows service, to prevent conflict. Also, I am able to see both of them in windows services list.
Thanks for reading.
To start two carbon servers as windows services please follow the blog post below[1] to overcome this issue. The blog explains how two services can be run as windows services.
Some important areas to consider when setting up two nodes as windows services are :
1.create two folders as 'esb_service' and 'cep_service' and copy the relevant packs into each foldr
2.As shown on[1] please update the esb_home and cep_home on the relevant places within the wrapper.conf replacing the carbon_home which is the default value
3.Make sure that the port offset of one of the two nodes is incremented by one to avoid port conflict.
4.start the two yajsw-stable-11.03 with installService.bat and startService.bat to get the services running
Note: I have tried this scenario using yajsw-stable-11.03 version.
[1]http://blog.lasindu.com/2015/05/how-to-start-two-or-more-wso2-servers.html

WSO2 MB start-up Error

I have download WSO2 MB 2.1.0 and run it with the built-in Cassandra server in Windows 7 64bit.
But the start-up procedure failed with the following error message.
[2013-12-14 11:27:03,371] ERROR {org.apache.cassandra.service.AbstractCassandraD
aemon} -
Exception in thread Thread[Thread-21,5,main]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:713)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1371)
at org.apache.cassandra.thrift.CustomTThreadPoolServer.serve(CustomTThre
adPoolServer.java:103)
at org.apache.cassandra.thrift.CassandraDaemon$ThriftServer.run(Cassandr
aDaemon.java:213)
[2013-12-14 11:27:03,396] INFO {me.prettyprint.cassandra.service.JmxMonitor} -
Registering JMX me.prettyprint.cassandra.service_ClusterOne:ServiceType=hector,
MonitorType=hector
I found a related bug issue: https://wso2.org/jira/browse/MB-210
Does anyone know if the next release will really fix this bug?
Or I have to use standalone deployment with external Cassandra server as this suggestion?
http://udarakr.blogspot.tw/2013/09/how-to-overcome-wso2-message-broker.html
This issue is something to do with Cassandra,In Linux i faced the same issue and once i increased the max user processes Everything went fine, Please refer the article written on this topic Unable to create new native thread and max user processes. Since this issue is occurring in Windows, Better to Run Cassandra externally and fine tune the Cassandra on it!

IOException when running the BAM samples

I am tryying my hands on the WSO2 BAM.
I tried to run the examples (“HTTPD Logs Analysis” or “KPI Monitoring Sample”), but I get the following message after creating the toolbox, upon the publishing of data:
java.io.IOException : Cannot run program in “C:\Program” (in directory “C:\wso2bam-2.3.0”): CreateProcess error=2 , The specified file cannot be found.
Any tips on this issue?
Some times in windows 'Programs Files' cause problem due to space in it. Therefore if you have WSO2 BAM distribution within C:\Program Files or you have space in the distribution path some where, please change it to a location without space.
And also check where your java installation is in. That also should be in a location which doesn't have space in the path.
Please check both, that will resolve your problem.