Tuesday, May 27, 2008

Tomcat for Eclipse

Tomcat launcher Eclipse plugin for debud
Home page
Download page
Direct download (ver. 3.2.1) !
Comments for tomcat plugin
Tomcat Tutorial: HelloWorld for Complete Fools
Documentation (translated with google)

Read before, note: replace my tomcat home "/home/alexey/java/exo-working/exo-tomcat" with your's.

1. Install
Unpack it to eclipse/plugins dir.
Start or restart Eclipse.
Be sure that you see the new tomcat panel.

2. Configure
Configure plugin under eclipse
Window -> Preferences... -> Tomcat:
2.1
Set version of your tomcat (e.g.: 5.x)
Set tomcat home (e.g.: /home/alexey/java/exo-working/exo-tomcat)
Context declaration mode: Server.xml

2.2 Advanced
Set tomcat base (e.g.: /home/alexey/java/exo-working/exo-tomcat)
Check projects for "Add java projects to tomcat classspath" (e.g.: Select All)
2.3 JVMSettings
In section "Append to JVM Parameters" add both:
"-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
"-Djava.security.auth.login.config=/home/alexey/java/exo-working/exo-tomcat/conf/jaas.conf"


2.4 Source Path
Manually select or check "Automatically compute source path"
Click "Apply" and "OK".

3. Use
Set launch configuration.
"Run" -> "Open Debug Dialog..." -> Double click on "Java Application" for creating new configuration.
Tabs:
3.1 Main
Type in the field "Name" launch configuration name (e.g.: Tomcat5).
Choose "Project" (e.g. Portal)
Set in the "Main class" value "org.apache.catalina.startup.Bootstrap"
3.2 Arguments
Program arguments:
-config "/home/alexey/java/exo-working/exo-tomcat/conf/server.xml" start
VM arguments:
-Dcatalina.home="/home/alexey/java/exo-working/exo-tomcat"
-Djava.endorsed.dirs="/home/alexey/java/exo-working/exo-tomcat/common/endorsed"
-Dcatalina.base="/home/alexey/java/exo-working/exo-tomcat"
-Djava.io.tmpdir="/home/alexey/java/exo-working/exo-tomcat/temp"
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Djava.security.auth.login.config=/home/alexey/java/exo-working/exo-tomcat/conf/jaas.conf


3.3 JRE
Skip
3.4 Classpath
Remove user entries projects jars to avoid some strange exceptions while the tomcat is starting.
Add two jars to the "User Entries"
"tools.jar" from JAVA_HOME/lib
"bootstrap.jar" from TOMCAT_HOME/bin

3.5 Source
Skip

Click "Apply" and "Debug"

Monday, May 12, 2008

Часы CASIO [UPDATED]

Купил я сегодня (09.09.09) часы Casio!

Модель LIN-165-8BVEF
Официальное описание

Functions

EL Backlight
An electro-luminescent panel causes the entire face to glow for easy reading. Includes an After-Glow feature that keeps the EL backlight turned on for a few seconds after the light button is released.

Neobrite
A luminous coating provides long-term illumination in the dark after only a short exposure to light.

Date Display
The current date is shown on the display

2 Years - 1 Battery
One battery will supply your watch with the power it needs for about 2 years.

Mineral Glass
Hard glass resists scratching.

Spherical Glass
The surface of the glass is rounded.

Titanium case

Screw Lock Back

Titanium Band

Safety Catch
Always reliable: This watch has a particularly secure safety catch, which helps prevent the strap from opening by mistake.

Water resistance classification (5 bar / 50m)
This watch can be worn when showering and bathing - it is tested for water resistance up to 5 bar / 50 metres. The metres value does not relate to a diving depth but to the air pressure used in the course of the water resistance test. (ISO 2281)

Accuracy
+/-20 seconds per month

Type of battery
SR927W

Dimensions
approx. 44,5mm x 38mm x 11mm (H x W x D)

Weight
approx. 82 g





Название CASIO
Страна производитель Китай
Гарантия 12
Коллекции EDIFICE
Пол Мужские
Механизм Кварцевый
Модуль 1301
Стекло Минеральное
Тип индикации Стрелочные + Электронные
Корпус Сталь
Водонепроницаемость 100 метров
Браслет Стальной браслет
Подсветка Светонакопители на стрелках и цифрах/метках
Функции Дата; День недели; Будильник; Секундомер; Календарь

http://www.secunda.com.ua

http://www.tissot.co.ua/mag/index.php?productID=185