- Download the TCPMon-bin zip and extract
- Go to tcpmon-1.0-bin/build path
- There you see tcpmon.sh and tcpmon.bin files to run tcpmon-1.0.jar easily
- If you are using Linux version first make it as executable file sudo chmod +x tcpmon.sh
- Run the jar file using sudo ./tcpmon.sh
- Go to Admin panel in TCPMon app
- Change the Listen port to anything eg: 8081 instead of your default listen port 8080
- Change the Target port to 8080
- And click Add button it will create a new tab
- Now the TCPMon will listen to 8081 port and handle the communication with the default port 8080
- Start the apache tomcat server and make sure instead of using localhost:8080 use TCPMon Listen port localhost:8081
- Simply navigate to the service or run the client application and explorer the result
Sunday, July 20, 2014
Apache TCPMon integration with Axis2
Saturday, January 18, 2014
Unity3D webcam integration
C# solution
JavaScript solutionusing UnityEngine; using System.Collections; public class WebCam: MonoBehaviour { void Start() { WebCamDevice[] devices = WebCamTexture.devices; if (devices.Length > 0) { WebCamTexture webcamTexture = new WebCamTexture(devices[0].name, 320, 240, 10); renderer.material.mainTexture = webcamTexture; webcamTexture.Play(); } } }
function Start() {
var devices: WebCamDevice[] = WebCamTexture.devices;
if (devices.length > 0) {
var webcamTexture: WebCamTexture = WebCamTexture(320, 240, 10);
renderer.material.mainTexture = webcamTexture;
webcamTexture.Play();
}
}
Saturday, April 13, 2013
Visual c++ Converting String ^ to std::string (basic string)
private: string toString(String ^ s) { string n; using namespace Runtime::InteropServices; const char * chars = (const char * )(Marshal::StringToHGlobalAnsi(s)).ToPointer(); n = chars; Marshal::FreeHGlobal(IntPtr((void * ) chars)); return n; }
Tuesday, April 2, 2013
Oracle server developer installation on windows
Setting up oracel server
- Download Oracle SQL Express Edition 11g Click Here
- Unzip the downloaded file open DISK1 folder and run the setup.exe
- While installation enter a password for System (administrator) account **(important)**
- After installation is done Go to Start -> Run -> services.msc in windows
- Check the service called OracleServiceORCL if there is nothing called OracleServiceORCLservice
- Start -> Run -> cmd type on cmd to create the service c:\ORADIM -NEW -SID ORCL
- Again navigate to services.msc and select OracleServiceORCL service and start the service
- Again navigate to cmd it's good that you restart cmd prompt type c:\sqlplus system@orcl on cmd
- Then it will ask to Enter password: so enter the password that you entered while installation process (3rd step)
- Then cmd will ask to Enter user-name: system default user name is system
- Again Enter password: -> and enter
- Finally this is the success message Connected to:Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
- Open the desktop icon called Get Started With Oracle Database 11g Express Edition
- Server installation DONE!
Setting up oracle sqldeveloper
- Download the oracle sqldeveloper Click Here
- Extract and open sqldeveloper.exe
- Tick all the file types, then click OK button
- Then right click on Connections and click New Connection
- Inside New Connection enter any connection name
- Enter username as default one called system
- Enter password as server password that you entered while oracle server installation
- Test the connection if succeeded, Save and Connect DONE!
Subscribe to:
Posts (Atom)


