I easily download binary wso2 api manger 3.2.0 and run it in windows. but for linux ubuntu it dose not work when run wso2server.sh
but when excute ./wso2server.sh , it throws following exception : Caused by: java.io.FileNotFoundException: /opt/wso2/wso2am-3.2.0/repository\conf\advanced\qpid-config.xml (No such file or directory
what is wrong? and should I download installer for linux?
when download wso2am-linux-installer-x64-3.2.0.rpm and install it works.but binary that I downloaded not work.
Follow the below steps to run APIM v320 in linux.
Go to https://wso2.com/api-management/previous-releases/ and download the APIM v320.
Make sure you download the pack specified in the binary section.
Unzip the downloaded pack.
Go to wso2am-3.2.0/bin
Execute ./wso2server.sh
Finally I managed to understand the problem. I unziped the wso2 in windows and then transfer to linux that caused this problem that should unzip into linux server.
Related
I set the path "JAVA_HOME" and installed WSO2 IS 5.6.0 x64 on Windows 2016 Server. After the installation, I try to start the server via "wso2server.bat", but I get the message "The system cannot find the path specified. The batch file cannot be found". After doing this operation, when I looked into the folder where the server was installed, I noticed that all files are deleted.
Am I doing something wrong? How to correctly run WSO2 Identity Server?
Thank you for pointing this issue with WSO2 Windows Product Installers. The issue is resolved and updated product installers are now available in WSO2 website.
You can download WSO2 IS 5.6.0 x64 Windows Installer from here. Then install WSO2 IS 5.6.0 on your machine using downloaded '.msi' file. After installation, start the server by clicking on the shortcut that build by the installer. You can find WSO2 IS 5.6.0 shortcut in following location.
Start Menu -> All apps -> WSO2
or you can search "Identity Server 5.6.0" in Windows search and click on the shortcut. This will start the WSO2 Identity Server on your machine.
For new WSO2 Products Installers you do not need to set JAVA_HOME separately. It contain jdk1.8.0_192 and if JAVA_HOME is not set, it will automatically set JAVA_HOME to jdk1.8.0_192 and start the WSO2 Product.
This blog could be a help for you to understand the installation progress.
For me the problem was solved with not downloading the windows x64 installer but rather the binary
wso2is 5.6.0 binary.
After downloading you just open bin directory and run the wso2server.bat file.
If you need to make it windows service use the NSSM
I am getting Unzip Failed: Error opening zip file while installing Google Cloud SDK,
I am using windows 7,64 bit. I have checked the zip/unzip software also, it is working fine. here is the error
Can anybody help.
I downloaded the zip file directly from here and it is working now.
I resolved the issue by running the installer as administrator
close your proxy.
add a new env:
CLOUDSDK_PYTHON=\your Python27 path\python.exe
I downloaded zip file in wso2 and i extracted the file as /home/Downloads/jacksphere/LatestVersion/wso2bam-2.3.0/bin and run at server side,but it is not showing some errors,is there any pre requisites to install the product any one help us and explain the procedure how to run the bam server..
The only pre-requisite required for running WSO2 BAM is JDK1.6 or higher. For further information please checkout the documentation WSO2 BAM Documentation
If you have downloaded the zip file then you can simply extract it and start the server by moving to bin directory and executing the command ./wso2server.sh (in Linux) or wso2server.bat (in Windows).
You also need to install JDK 1.6 or 1.7. Apache Ant and Curl will also be required to run samples.
If you are working with Windows you need to install Cygwin.
You can further refer to the BAM documents in [1] about installing the product.
[1] http://docs.wso2.org/wiki/display/BAM230/Installing+the+Product
Installed WSO2 BAM and AM today and I'm trying to get the API usage statistics to work. I can submit API requests that get authenticated and passed through correctly, but no statistics.
From API UI when I go to Statistics I get:
"No data found. Check BAM server connectivity ..."
The BAM server is up and running and I can login to it.
However in the BAM logs I see this:
ERROR {org.apache.hadoop.hive.ql.exec.ExecDriver} - Exception: Cannot run program "C:\Program" (in directory "C:\Temp\wso2\wso2bam-2.3.0"): CreateProcess error=2, The system cannot find the file specified {org.apache.hadoop.hive.ql.exec.ExecDriver}
It looks like BAM is trying to launch something in "Program Files" but didn't escape the command properly in windows. (I suspect Java, since JAVA_HOME is pointing to a sub-directory of Program Files.)
I'm using BAM 2.3.0, AM 1.4.0 with JDK 1.7 on Windows 7.
Would this be why there is no data? Is there a workaround to the escaping issue?
Thanks,
Chris
To run BAM in windows you need to install, Cygwin tool. If you have linux OS, run BAM in linux.
I had the same problem, tried double quoting the JAVA_HOME variable however BAM then through out the following on startup
Files\Java\jdk1.6.0_45"" was unexpected at this time.
Only solution I found was to re-install java into a directory without spaces
Note - Am using version 2.0.1 of BAM
Had the same problem with WSO2 BAM 2.4.0.
Also linked with the path to JDK.
For me, no need to reinstall the JDK but just change the JAVA_HOME environment variable to use the short version of the path (C:\Progra~1\Java... instead of C:\Program Files\Java...).
Cygwin is installed for me in a path with no space c:\cygwin. Did not test if this is mandatory. Be also sure to install all the cygwin package required in the WSO2 documentation.
regards,
I am trying to run the WSO2 API Manager from source code.
I have installed orbit,kernel and platform of version 4.0.0
After installing the platform(mvn clean install -Dmaven.test.skip=true -Dproduct=apimgt), what
is the next step to see the API Manger portal in browser
and play around it.
If you built everything successfully go into product/apimgt//modules/distribution/product/target in platform. then you will find the binary distribution as a zip file you can extract this to a place of your choice and run the wso2server.sh( linux) or wso2server.bat( windows) in the bin folder.
Thanks,
Pulasthi