ss_blog_claim=a37b70f67cd872812717e1fce7e83301
Latest Posts »
Latest Comments »
Popular Posts »

Basic server.xml for Tomcat

Written by techieDan on January 31, 2008 – 3:18 pm

For software developers and also web hosts, we all know about the server.xml configuration which is needed to set up in Tomcat. A server.xml file contains all the requirements to set your project context path and host name. But what if you’re just running on basic server.xml configuration.

What’s the most basic?
By default, whenever someone installs tomcat, it comes with the default longer version of server.xml which includes the examples webapp running. Now what if we don’t want tomcat to load the examples application, in the [Tomcat Path]/conf directory, simply replace the server-noexamples.xml.config and rename it to server.xml. That’s all that needs to be done.

How about the MOST MOST Basic?
Is there anything else which looks even organized, then take a look at this server.xml configuration.


<Server port="8005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8080" />
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" debug="0" appBase="webapps" >
<Context path="/myapp" reloadable="true" reload="true"
docBase="c:\My_Application_Path"
workDir="c:\My_Application_Work_Path" debug="0"/>
</Host>
</Engine>
</Service>
</Server>

Now try this if you’re using the most minimal server.xml configuration for your tomcat. :)


Tags: , ,
Posted in Tomcat | 1 Comment »

Format PC in DOS

Written by techieDan on January 29, 2008 – 8:28 am

DOS is one of the best way to format one’s PC. Just in case you don’t have a Windows XP cd or something which can help format your primary hard disk at C:\>, using DOS to format your PC is a very likely case.

Formating your PC is just as easy. Go to your command dos prompt and start typing.

C:\> format c:
Isn’t this easy? Well, this process might take a very long time and it does a long system format. But if you just don’t bother about it and wanted a quick formatting, just do this.

C:\> format c: /Q

The above will do a quick formating.

Added Note July 1st 2008 : In order to boot straight to DOS, remember to always save a copy of a Windows 98 Boot up Disk, just in case your Windows XP cd goes missing.


Posted in DOS | 2 Comments »

Copy Folders in DOS

Written by techieDan on January 25, 2008 – 7:59 am

Your Windows OS (Operating System) is down. Dang… and you need a data seriously that you don’t want to bother installing another windows. So how do you do it. Yes, one can copy files using the DOS command.
Let’s say you’re in the command prompt c:\>

C:\> copy *.* a: (copies all file in the current folder you’re in into a: drive

Now you wanted to copy multiple folders for backup purposes onto another folder. This is the way one should do

C:\> xcopy foldername foldername copies all the folders and files inside into another folder

Now let’s say example from folder C:\>techiedan\ and all it’s subdirectories, I want to copy all this into another folder name C:\>blog\techiedan\.

C:\> xcopy techiedan blog\techiedan /e copies all the folders and files inside into another folder (use the /e for copying all folders and files)
  use alternatively the /i if you have lots of folders so DOS won’t keep on asking whether content is a file or folder

DOS Copy XCopy Screenshot

Now you know this, so with this knowledge, you can start writing a schedule or a batch file to run this script at certain period to backup your files. :)


Tags: , ,
Posted in DOS | No Comments »

Playing Trophy Bass 2007

Written by techieDan on January 21, 2008 – 10:08 pm

Just bought this game and was testing out. Vivendi Universal collaborate with Bass Pro Shops to present to you Trophy Bass 2007, one of the newest fishing game to date. Yes, if you’re an ardent fisher, go do the real stuff instead. This game basically helps one to understand the complication of fishing with the string tension, drag and the different methods of casting your line.

Trophy Bass 2007

In terms of graphics, I must say it’s up to a standard. Variety of fishes to catch which includes the smallbass, big mouth bass, northern pike, etc. They have different maps which one have to unlock by playing the tournaments.

One thing though, there isn’t any guide as to how to play this game but to learn it while playing the game itself. I spent a few times on the Just Fish option to learn how to play this game.

Game Features

  • Features 7 different Bass Tournaments on 13 world-reknowned lakes and reservoirs for a total of 91 unique fishing competitions.
  • Hook, fight and eel in some of the biggest Largemouth Bass, Smallmouth Bass, Walleye and northern Pike!
  • Drive the fastest authentic Nitro boats from Tracker Marine, jump some ramps to find the next honey hole
  • Test your skills in the casting competitioin and driving skills in the boat races of each lake.

Rating : 3/5
If you want to know about basics of fishing, get this game.


Tags:
Posted in Review, game | No Comments »

Important Modem

Written by techieDan on January 19, 2008 – 10:41 am

From an IT background and with my blog on the internet, I treasure my modem.

Important Modem

Imagine, if I don’t have a modem, means no Internet connection, means no chance to take part in tnchick’s photo hunt… Nooo…..

Click to find out about !


Tags: ,
Posted in Photohunt | 6 Comments »