: Solutions




HermesJMS: A JMS Queue/Topic Browser

August 10th, 2009 admin Posted in Solutions Comments Off

1. Download:

http://sourceforge.net/project/showfiles.php?group_id=61713

2. Install

Just run the downloaded JAR file using java (JRE). Read below for more details:

http://www.hermesjms.com/confluence/display/HJMS/Installing

3. Screen-Play Tutorial

http://www.hermesjms.com/confluence/display/HJMS/JBoss+Tutorial

4. Sample Settings (you will know what these are once you watch the above tutorial)

Provider

JBoss 4.2.0 (7 jars added)

Context

loader <<whatever_provider_you_defined>>

initialContextFactory: org.jnp.interfaces.NamingContextFactory

providerUrl: jnp://<<host>>:1099

urlPackagePrefixes org.jnp.interfaces:org.jboss.naming

AddThis Social Bookmark Button

How to remove spyware/malware

July 15th, 2009 admin Posted in Solutions Comments Off

  1. Try to stop the malware applications/sevices using Windows Task Manager or Process Explorer.
  2. Using “msconfig” tool remove malwares from the “Startup” list.
  3. Use the below tools (in normal or Safe mode):
    MalwareBytes
    CCleaner
    Spybot-S&D
    Ad-aware
    Abexo REgistry Cleaner
AddThis Social Bookmark Button

Using SSL With JBOSS

March 25th, 2009 admin Posted in Solutions Comments Off

(1) Generate the keystore using the following command. You will need to enter kestore password, personal information and key password during this step.
keytool -genkey -alias myserver -keyalg RSA -keystore C:\dev\keystore\myserver.keystore

(2) Make sure the the keystore is generated successfully by using the following command.
keytool -list -v -keystore C:\dev\keystore\myserver.keystore

(3) Copy the myserver.keystore file to <<JBOSS_PATH>>\server\default\conf folder.

(4) Add/Uncomment the below Connector tag to <<JBOSS_PATH>>\server\default\deploy\jboss-web.deployer\server.xml file. The keystorePass in this tag reflects the same password used in step (1).

<Connector port=”443″ address=”${jboss.bind.address}” protocol=”HTTP/1.1″ SSLEnabled=”true”
maxThreads=”150″ scheme=”https” secure=”true” clientAuth=”false” sslProtocol=”TLS”
keystoreFile=”${jboss.server.home.dir}/conf/myserver.keystore” keystorePass=”mypassword” />

(5) Start/Restart JBOSS and try the below URL. You should be able to see the usual JBOSS Admin console page.
https://localhost

SSL for Rich Client Applications connecting to SSL-enabled JBOSS

(a) Geneate the jssecacerts file by running the below two (2) commands.
keytool -export -alias myserver -keystore C:\dev\keystore\myserver.keystore -file C:\dev\keystore\myserver.cer
keytool -import -alias myserver -file C:\dev\keystore\myserver.cer -keystore C:\dev\keystore\jssecacerts

(b) Copy the jssecacerts to client JRE’s lib\security folder.

(c) Make sure the client application executes the below code before it makes a remote call to JBOSS.

/*
* Handler to verify host names during the negotiation phase of SSL connections.
*/
private void verifyHostNameDuringSslNegotiation() {
  try {
    HttpsURLConnection.setDefaultHostnameVerifier(
      new HostnameVerifier() {
        public boolean verify(String hostbname, SSLSession sess)
        {
		       return true;
	      }
	    }
	  );
  } catch (Exception e) {
	   // IGNORE
  }
}
AddThis Social Bookmark Button

How to Setup WordPress

February 27th, 2009 admin Posted in Solutions Comments Off

1. Download software
Download the following software. The version numbers indicated are the one which have been tested by me personally.

2. Install MySQL
You need to create a new login user and a new schema.

3. Install Apache HTTP Server
If you are installing it on Windows make it a service.

4. Install PHP
During the installation make sure you do the following steps:

  • Provide location of Apache server configuration (conf) directory.
  • Include/Install plugin for MySQL.

5. Make MySql visible to Web Server
Copy libmysql.dll from PHP directory to C:\WINDOWS\system32

6. Setup WordPress
Copy/Extract WordPress folders and files as shown below (this assumes that you have chosen to use the default location of Apache web contents).

Apache Software Foundation
  Apache2.2
    htdocs
      BLOGNAME
        wp-admin
        wp-content
        wp-includes

7. Setup Email Server
Modify the php.ini file located in its install directory as indicated below

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

8. Modify “From Address” for system emails.

Download, install and activate the wp-mailfrom: http://wordpress.org/extend/plugins/wp-mailfrom/

AddThis Social Bookmark Button

How to setup Internet Radio Broadcast

July 9th, 2008 admin Posted in Solutions Comments Off

(1) Sign up with some Media Broadcasting Server company.
Below is list of companies I know:

  • http://www.shoutcast.com
  • http://www.spacialnet.com
  • http://www.streamguys.com
  • http://shoutcast.serverroom.us/
  • http://www.tigerdirect.com/

    Typical Streaming Cost
    0.6 dollars per subscriber per month @ 32kb/s
    1.15 dollars per subscriber per month @ 64kb/s

(2) Setup Broadcasting Station PC
(a) Install the following software

  • WinAmp
    (http://www.winamp.com)
  • SHOUTcast DSP plugin for WinAmp
    (http://www.shoutcast.com/downloads/shoutcast-dsp-1-9-0-windows.exe)

(b) From within WinAmp Options->Preferences->Plug-ins->DSP/Effect->NullSoft ShoutCast->Confiure Plug-in->Output->Output Configuration *** Enter address (of media server setup in step 1), port, password and hit “Connect”

(3) Open a Web Browser and test. Happy IP Broadcasting!

(4) Misc. Notes

Another solution is to use Free P2P Streaming (Server and Client ActiveX). You may try the following site
http://www.streamerp2p.com/

Instead of using web browser you may use a dedicated Audio Receivers. Please visit the below site.
http://streamit-us.com/lukasinfo.php

AddThis Social Bookmark Button

Similar Posts