Uki D. Lucas is a founder and CEO of CyberWalkAbout.com
please contact: UkiDLucas@gmail.com
mobile: (650) 260-4854
As an Amazon Associate I earn from qualifying purchases.
Natalia Cantemir
Natalia Lucas (Natalia Cantemir) has co-founded and helped to build the company by serving as president & art director.
contact: https://www.linkedin.com/in/natalialucas/
contact: https://www.linkedin.com/in/natalialucas/
find similar posts:
staff
0
comments
As an Amazon Associate I earn from qualifying purchases.
Sailing with Lili from Winthrop Harbor, Lake Michigan
find similar posts:
Great Lakes,
Lake Michigan,
Liliann,
sailing,
Winthrop Harbor IL
0
comments
Air and Water show
Aug 15, 2010
Sailing with Mark
find similar posts:
Air and Water,
Chicago,
Great Lakes,
Lake Michigan,
Mark,
sailing
0
comments
SDM
Wyjechałem, i ślad mi po tobie zaginął
życie już przeminęło, a nawet dzień nie minął,
dobre, stare małżeństwo nas już wyuczyło
jak cierpieć pięknie, jak kochać, i co nas tam łączyło
kto by mnie zrozumiał, o czwartej nad ranem,
na Manhattanie, czy gdzie-bądź tam bywałem,
kto gitarę, kto harmonijkę, kto skrzypce zrozumie?
w kajucie pocałunki, siedząc przy ognisku w dumie?
na bacówce wtedy, bogami młodymi byliśmy,
jabłkiem słodkim, grzesznym, życia smakowaliśmy
rodziną kochaną mi byłaś, ostoją jedyną
życie już przeminęło, a nawet dzień nie minął,
dobre, stare małżeństwo nas już wyuczyło
jak cierpieć pięknie, jak kochać, i co nas tam łączyło
kto by mnie zrozumiał, o czwartej nad ranem,
na Manhattanie, czy gdzie-bądź tam bywałem,
kto gitarę, kto harmonijkę, kto skrzypce zrozumie?
w kajucie pocałunki, siedząc przy ognisku w dumie?
na bacówce wtedy, bogami młodymi byliśmy,
jabłkiem słodkim, grzesznym, życia smakowaliśmy
rodziną kochaną mi byłaś, ostoją jedyną
w mych oczach wciąż jesteś tą samą dziewczyną
Dziś, oczekiwać nie będę, pożądać już nie mogę,
ale być przyjacielem dobrym.. na twą dalszą drogę,
i czasami razem, wyjść na wrzosowisko
i jak w pieśni było, tam zapomnieć wszystko.
Dziś, oczekiwać nie będę, pożądać już nie mogę,
ale być przyjacielem dobrym.. na twą dalszą drogę,
i czasami razem, wyjść na wrzosowisko
i jak w pieśni było, tam zapomnieć wszystko.
find similar posts:
poem,
Rabka,
SDM
0
comments
As an Amazon Associate I earn from qualifying purchases.
As an Amazon Associate I earn from qualifying purchases.
As an Amazon Associate I earn from qualifying purchases.
Using java.util.Properties in Servlet to save User Preferences
import java.util.Properties;
String propertiesFileName = "my_properties.txt";
SAVE PREFERENCES:
Properties unsavedProperties = new Properties();
unsavedProperties.setProperty("my_name", "Uki");
OutputStream propOut = new FileOutputStream(new File(propertiesFileName));
unsavedProperties.store(propOut, "My Server properties");
LATER READ THE SAVED PREFERENCES:
InputStream inStream = new FileInputStream(propertiesFileName);
Properties savedPropeties = new Properties();
savedPropeties.load(inStream);
String myName = savedPropeties.getProperty("my_name");
find similar posts:
J2EE,
Java,
Servlet
0
comments
Using java.util.Properties in Servlet to save User Preferences
import java.util.Properties;
String propertiesFileName = "my_properties.txt";
SAVE PREFERENCES:
Properties unsavedProperties = new Properties();
unsavedProperties.setProperty("my_name", "Uki");
OutputStream propOut = new FileOutputStream(new File(propertiesFileName));
unsavedProperties.store(propOut, "My Server properties");
LATER READ THE SAVED PREFERENCES:
InputStream inStream = new FileInputStream(propertiesFileName);
Properties savedPropeties = new Properties();
savedPropeties.load(inStream);
String myName = savedPropeties.getProperty("my_name");
find similar posts:
J2EE,
Java,
Servlet
0
comments
Java Servlet: starting a thread that always runs
- when Java Servlet starts it reads web.xml
- add listener implementation class to your web.xml
<display-name>your_servlet_namedisplay-name>
<listener>
<listener-class>com.your_package_name.TimedServletCallerlistener-class>
listener>
- we will use ServletContextListener interface
- create a NEW thread (Loop) inside contextInitialized(), if you did Thread.sleep without new thread the whole Servlet would pause and container would fail to start it after 45 seconds or so
public class TimedServletCaller implements ServletContextListener
{
private static int sleepMinutes = 1;
class Loop extends Thread
{
public void run()
{
while (true)
{
Log.e("Loop is running!");
takeShortNap();
// do stuff here
}
}
}
@Override
public void contextInitialized(ServletContextEvent arg0)
{
Log.e("***** TimedServletCaller.contextInitialized()");
// execute();
Thread thread = new Loop();
thread.start();
}
private static void takeShortNap()
{
Log.i(" Pausing for " + sleepMinutes + " minute(s).");
try
{
Thread.sleep(sleepMinutes * 60 * 1000);
} catch (InterruptedException e)
{
Log.e(e.getMessage());
}
}
- restart your server (Tomcat) now you can use your Servlet, but also the Loop keeps running and doing useful things like database updates, etc.
find similar posts:
Java,
Servlet,
Thread
0
comments
Java Servlet: starting a thread that always runs
- when Java Servlet starts it reads web.xml
- add listener implementation class to your web.xml
<display-name>your_servlet_namedisplay-name>
<listener>
<listener-class>com.your_package_name.TimedServletCallerlistener-class>
listener>
- we will use ServletContextListener interface
- create a NEW thread (Loop) inside contextInitialized(), if you did Thread.sleep without new thread the whole Servlet would pause and container would fail to start it after 45 seconds or so
public class TimedServletCaller implements ServletContextListener
{
private static int sleepMinutes = 1;
class Loop extends Thread
{
public void run()
{
while (true)
{
Log.e("Loop is running!");
takeShortNap();
// do stuff here
}
}
}
@Override
public void contextInitialized(ServletContextEvent arg0)
{
Log.e("***** TimedServletCaller.contextInitialized()");
// execute();
Thread thread = new Loop();
thread.start();
}
private static void takeShortNap()
{
Log.i(" Pausing for " + sleepMinutes + " minute(s).");
try
{
Thread.sleep(sleepMinutes * 60 * 1000);
} catch (InterruptedException e)
{
Log.e(e.getMessage());
}
}
- restart your server (Tomcat) now you can use your Servlet, but also the Loop keeps running and doing useful things like database updates, etc.
find similar posts:
Java,
Servlet,
Thread
0
comments
As an Amazon Associate I earn from qualifying purchases.
As an Amazon Associate I earn from qualifying purchases.
Starved Rock, Illinois
Chicago area has very few natural attractions (except sailing Great Lakes),
Starved Rock is one of them and a very popular spot to visit.
41°19'00.4"N 88°58'57.4"W
find similar posts:
Illinois,
Starved Rock
0
comments
HD connector speed
When you are buying the external hard drive storage, I would recommend looking for eSATA connectors, backing up, or copying videos via USB is very slow.
USB 1.1 – 15 Mbps
FireWire (1394a) – 400 Mbps
USB 2.0 – 480 Mbps
FireWire 800 (1394b) – 800 Mpbs
SATA 1.5 – 1.5 Gbps
SATA 3.0 – 3.0 Gbps
near future:
USB 3.0 - 5Gbps
eSATA version of SATA 6G - 6.0Gb/s
USB 1.1 – 15 Mbps
FireWire (1394a) – 400 Mbps
USB 2.0 – 480 Mbps
FireWire 800 (1394b) – 800 Mpbs
SATA 1.5 – 1.5 Gbps
SATA 3.0 – 3.0 Gbps
near future:
USB 3.0 - 5Gbps
eSATA version of SATA 6G - 6.0Gb/s
HD connector speed
When you are buying the external hard drive storage, I would recommend looking for eSATA connectors, backing up, or copying videos via USB is very slow.
USB 1.1 – 15 Mbps
FireWire (1394a) – 400 Mbps
USB 2.0 – 480 Mbps
FireWire 800 (1394b) – 800 Mpbs
SATA 1.5 – 1.5 Gbps
SATA 3.0 – 3.0 Gbps
near future:
USB 3.0 - 5Gbps
eSATA version of SATA 6G - 6.0Gb/s
USB 1.1 – 15 Mbps
FireWire (1394a) – 400 Mbps
USB 2.0 – 480 Mbps
FireWire 800 (1394b) – 800 Mpbs
SATA 1.5 – 1.5 Gbps
SATA 3.0 – 3.0 Gbps
near future:
USB 3.0 - 5Gbps
eSATA version of SATA 6G - 6.0Gb/s
Roberto Serrano
“I met Uki as the Chicago Leader of GTUG, and at the time I was leading Chicago Androids myself. We hit it off from the start and jointly organized a set of well organized Android and Google tech. related events. Eventually as I left the Chicago Area, Uki took the leadership role for both groups. Uki is a thorough and tireless leader that has done a wonderful job as a host and speaker in multitude of events I attended. You can also tell that he inspires respect and admiration by the way his events are supported by his coworkers and peers.” April 11, 2010
~ Roberto Serrano, Software Developer with the Android Motorola Platform team, Motorola Mobile Devices (business partner)
find similar posts:
testimonials
0
comments
I am a candle
I am a candle
which you have tried
with all your might
to stamp right out,
to stamp right out,
and sliced my throat
for the thousandth time
but one bright night
but one bright night
she'll light me up
and I will shine just as bright!
In a vicious battle
In a vicious battle
of dark and right,
life won today,
took all that's mine
it smothered me;
it smothered me;
it trampled me up
-- left me for trash
ripped out my heart,
ripped out my heart,
it's not a wound,
but a blazing gash
but I am a candle
but I am a candle
and I will shine
find similar posts:
candle,
poem
0
comments
Google Documents - please show this to your boss!
We have been using Google docs and Google sites for collaboration for couple of years now, but there are still people who have not heard about the concept. Here is a video to help.
find similar posts:
Google
0
comments
Google Documents - please show this to your boss!
We have been using Google docs and Google sites for collaboration for couple of years now, but there are still people who have not heard about the concept. Here is a video to help.
find similar posts:
Google
0
comments
Using HTML panel
I needed to create a subscript text with a link that open up a new popup with different content. Since HorizontalPanel does not work, I used HTMLPanel and use the table tag, which contained element id as shown below.
Click on below image to read the code: CSS
CSS code:
Here is how it looks:
Click on below image to read the code: CSS
CSS code:
.subscript {
font-size: xx-small;
vertical-align: bottom;
}
.hyperlink_subscript {
text-decoration: none;
cursor: pointer;
color: #0099FF;
font-size: xx-small;
font-weight: normal;
}
find similar posts:
GWT,
HTML
1 comments
Using HTML panel
I needed to create a subscript text with a link that open up a new popup with different content. Since HorizontalPanel does not work, I used HTMLPanel and use the table tag, which contained element id as shown below.
Click on below image to read the code: CSS
CSS code:
Here is how it looks:
Click on below image to read the code: CSS
CSS code:
.subscript {
font-size: xx-small;
vertical-align: bottom;
}
.hyperlink_subscript {
text-decoration: none;
cursor: pointer;
color: #0099FF;
font-size: xx-small;
font-weight: normal;
}
find similar posts:
GWT,
HTML
0
comments
Apache Tomcat: starting, stopping and killing processes
STOPPING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/shutdown.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
Mar 31, 2010 11:13:58 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.(Socket.java:372)
at java.net.Socket.(Socket.java:186)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3086 57.9 6.8 1506508 143136 s000 U 11:12AM 0:22.70 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3120 0.2 0.0 590540 204 s000 U+ 11:14AM 0:00.00 grep tomcat
KILL A PROCESS:
/opt/apache/apache-tomcat-6.0.26/webapps $ kill 3086
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3122 0.9 0.0 600020 472 s000 R+ 11:14AM 0:00.00 grep tomcat
STARTING:
ill-lt20220@(Wed Mar 31 11:14:27) /opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/startup.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
ill-lt20220@(Wed Mar 31 11:14:33) /opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3132 49.5 3.6 1504832 74680 s000 U 11:14AM 0:06.14 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3134 0.0 0.0 590736 308 s000 R+ 11:14AM 0:00.00 grep tomcat
ill-lt20220@(Wed Mar 31 11:14:41) /opt/apache/apache-tomcat-6.0.26/webapps $
CHECKING THE LOG:
/opt/apache/apache-tomcat-6.0.26/webapps $ tail -f ../logs/catalina.out
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory work
Mar 31, 2010 11:15:12 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 31, 2010 11:15:12 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 31, 2010 11:15:12 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/88 config=null
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 36930 ms
/opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/shutdown.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
Mar 31, 2010 11:13:58 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.
at java.net.Socket.
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3086 57.9 6.8 1506508 143136 s000 U 11:12AM 0:22.70 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3120 0.2 0.0 590540 204 s000 U+ 11:14AM 0:00.00 grep tomcat
KILL A PROCESS:
/opt/apache/apache-tomcat-6.0.26/webapps $ kill 3086
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3122 0.9 0.0 600020 472 s000 R+ 11:14AM 0:00.00 grep tomcat
STARTING:
ill-lt20220@(Wed Mar 31 11:14:27) /opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/startup.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
ill-lt20220@(Wed Mar 31 11:14:33) /opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3132 49.5 3.6 1504832 74680 s000 U 11:14AM 0:06.14 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3134 0.0 0.0 590736 308 s000 R+ 11:14AM 0:00.00 grep tomcat
ill-lt20220@(Wed Mar 31 11:14:41) /opt/apache/apache-tomcat-6.0.26/webapps $
CHECKING THE LOG:
/opt/apache/apache-tomcat-6.0.26/webapps $ tail -f ../logs/catalina.out
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory work
Mar 31, 2010 11:15:12 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 31, 2010 11:15:12 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 31, 2010 11:15:12 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/88 config=null
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 36930 ms
find similar posts:
Linux/Unix,
Mac,
Tomcat
0
comments
Apache Tomcat: starting, stopping and killing processes
STOPPING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/shutdown.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
Mar 31, 2010 11:13:58 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.(Socket.java:372)
at java.net.Socket.(Socket.java:186)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3086 57.9 6.8 1506508 143136 s000 U 11:12AM 0:22.70 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3120 0.2 0.0 590540 204 s000 U+ 11:14AM 0:00.00 grep tomcat
KILL A PROCESS:
/opt/apache/apache-tomcat-6.0.26/webapps $ kill 3086
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3122 0.9 0.0 600020 472 s000 R+ 11:14AM 0:00.00 grep tomcat
STARTING:
ill-lt20220@(Wed Mar 31 11:14:27) /opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/startup.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
ill-lt20220@(Wed Mar 31 11:14:33) /opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3132 49.5 3.6 1504832 74680 s000 U 11:14AM 0:06.14 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3134 0.0 0.0 590736 308 s000 R+ 11:14AM 0:00.00 grep tomcat
ill-lt20220@(Wed Mar 31 11:14:41) /opt/apache/apache-tomcat-6.0.26/webapps $
CHECKING THE LOG:
/opt/apache/apache-tomcat-6.0.26/webapps $ tail -f ../logs/catalina.out
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory work
Mar 31, 2010 11:15:12 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 31, 2010 11:15:12 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 31, 2010 11:15:12 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/88 config=null
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 36930 ms
/opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/shutdown.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
Mar 31, 2010 11:13:58 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.
at java.net.Socket.
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3086 57.9 6.8 1506508 143136 s000 U 11:12AM 0:22.70 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3120 0.2 0.0 590540 204 s000 U+ 11:14AM 0:00.00 grep tomcat
KILL A PROCESS:
/opt/apache/apache-tomcat-6.0.26/webapps $ kill 3086
CHECKING IF STILL RUNNING:
/opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3122 0.9 0.0 600020 472 s000 R+ 11:14AM 0:00.00 grep tomcat
STARTING:
ill-lt20220@(Wed Mar 31 11:14:27) /opt/apache/apache-tomcat-6.0.26/webapps $ ../bin/startup.sh
Using CATALINA_BASE: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_HOME: /opt/apache/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /opt/apache/apache-tomcat-6.0.26/temp
Using JRE_HOME: /Library/Java/Home/
Using CLASSPATH: /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar
ill-lt20220@(Wed Mar 31 11:14:33) /opt/apache/apache-tomcat-6.0.26/webapps $ ps aux | grep tomcat
uki 3132 49.5 3.6 1504832 74680 s000 U 11:14AM 0:06.14 /Library/Java/Home//bin/java -Djava.util.logging.config.file=/opt/apache/apache-tomcat-6.0.26/conf/logging.properties -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache/apache-tomcat-6.0.26/endorsed -classpath /opt/apache/apache-tomcat-6.0.26/bin/bootstrap.jar -Dcatalina.base=/opt/apache/apache-tomcat-6.0.26 -Dcatalina.home=/opt/apache/apache-tomcat-6.0.26 -Djava.io.tmpdir=/opt/apache/apache-tomcat-6.0.26/temp org.apache.catalina.startup.Bootstrap start
uki 3134 0.0 0.0 590736 308 s000 R+ 11:14AM 0:00.00 grep tomcat
ill-lt20220@(Wed Mar 31 11:14:41) /opt/apache/apache-tomcat-6.0.26/webapps $
CHECKING THE LOG:
/opt/apache/apache-tomcat-6.0.26/webapps $ tail -f ../logs/catalina.out
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory work
Mar 31, 2010 11:15:12 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 31, 2010 11:15:12 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 31, 2010 11:15:12 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/88 config=null
Mar 31, 2010 11:15:12 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 36930 ms
find similar posts:
Linux/Unix,
macOS,
Tomcat
0
comments
Mac: location of hosts file
The hosts file on Mac is located at: /private/etc/hosts
The easiest way to modify it is using pico, you need to have WRITE permissions to do so.
~ $ cd /private/etc/
/private/etc $ pico hosts
The easiest way to modify it is using pico, you need to have WRITE permissions to do so.
~ $ cd /private/etc/
/private/etc $ pico hosts
find similar posts:
Linux/Unix,
Mac,
pico
0
comments
Mac: location of hosts file
The hosts file on Mac is located at: /private/etc/hosts
The easiest way to modify it is using pico, you need to have WRITE permissions to do so.
~ $ cd /private/etc/
/private/etc $ pico hosts
The easiest way to modify it is using pico, you need to have WRITE permissions to do so.
~ $ cd /private/etc/
/private/etc $ pico hosts
find similar posts:
Linux/Unix,
macOS,
pico
0
comments
Eclipse: show line numbers
This is simple stuff, but it is frustrating when you want to show line numbers and cannot find the setting:
On Mac:
find similar posts:
Eclipse
0
comments
Eclipse: show line numbers
This is simple stuff, but it is frustrating when you want to show line numbers and cannot find the setting:
On Mac:
find similar posts:
Eclipse
0
comments
As an Amazon Associate I earn from qualifying purchases.
White Space "ma" (間)
"ma" (間) - the intervals or pauses in our lives.
In Zen, "ma" (間) is about emptiness and fullness; it is that subtle space or pause between things in Japanese culture, the silence between notes in music, or the gentle gap around a single flower in ikebana (生け花).
It embodies timing, presence, and breath, hinting that emptiness can also hold profound beauty.
In architectural design, “ma” is the quiet buffer that allows each element to breathe freely. It’s a graceful pause that lets our spirit settle and allows us to appreciate what’s truly there.
In Zen, "ma" (間) is about emptiness and fullness; it is that subtle space or pause between things in Japanese culture, the silence between notes in music, or the gentle gap around a single flower in ikebana (生け花).
It embodies timing, presence, and breath, hinting that emptiness can also hold profound beauty.
In architectural design, “ma” is the quiet buffer that allows each element to breathe freely. It’s a graceful pause that lets our spirit settle and allows us to appreciate what’s truly there.
find similar posts:
ikebana,
Japan,
Japanese,
Zen
0
comments
IE8 and Windows7 hacked easily
I don't think anything with Windows is really safe...
I wonder if Mac vulnerabilities would be found this easy if we put effort towards it or does everyone just like to pick on Microsoft?
IE8 and Windows7 hacked easily
I don't think anything with Windows is really safe...
I wonder if Mac vulnerabilities would be found this easy if we put effort towards it or does everyone just like to pick on Microsoft?
Evanescence "My Immortal"
>
I'm so tired of being here
Suppressed by all my childish fears
And if you have to leave
I wish that you would just leave
'Cause your presence still lingers here
And it won't leave me alone
These wounds won't seem to heal
This pain is just too real
There's just too much that time cannot erase
When you cried I'd wipe away all of your tears
When you'd scream I'd fight away all of your fears
And I held your hand through all of these years
But you still have
All of me
You used to captivate me
By your resonating light
Now I'm bound by the life you left behind
Your face it haunts
My once pleasant dreams
Your voice it chased away
All the sanity in me
These wounds won't seem to heal
This pain is just too real
There's just too much that time cannot erase
I've tried so hard to tell myself that you're gone
But though you're still with me
I've been alone all along
I'm so tired of being here
Suppressed by all my childish fears
And if you have to leave
I wish that you would just leave
'Cause your presence still lingers here
And it won't leave me alone
These wounds won't seem to heal
This pain is just too real
There's just too much that time cannot erase
When you cried I'd wipe away all of your tears
When you'd scream I'd fight away all of your fears
And I held your hand through all of these years
But you still have
All of me
You used to captivate me
By your resonating light
Now I'm bound by the life you left behind
Your face it haunts
My once pleasant dreams
Your voice it chased away
All the sanity in me
These wounds won't seem to heal
This pain is just too real
There's just too much that time cannot erase
I've tried so hard to tell myself that you're gone
But though you're still with me
I've been alone all along
find similar posts:
music video
0
comments
Virus test file (it is save to use)
In case you write a code to test your anti-virus software you will need a "test virus file" that does not actually wipe out your computer, you can download it from this site...
http://eicar.org/
http://eicar.org/
find similar posts:
anti-virus
0
comments
Virus test file (it is save to use)
In case you write a code to test your anti-virus software you will need a "test virus file" that does not actually wipe out your computer, you can download it from this site...
http://eicar.org/
http://eicar.org/
find similar posts:
anti-virus
0
comments
Mymoona Tahseen
“I attended a Hackathon Challenge organized by Uki, He has taken great care in organizing the event. The event was a great way to bring Software developers and Information Technology professionals on one platform. I would participate and attend other events organized in future.” February 18, 2010
~ Mymoona Tahseen, Web Developer, 9292Communications, Inc (colleague)
find similar posts:
testimonials
0
comments
How to fetch total record count using Hibernate Criteria
Criteria criteria = getSession().createCriteria(getReferenceClass());
criteria.setProjection(Projections.projectionList().add(Projections.countDistinct("id"))
find similar posts:
Hibernate,
Java
0
comments
How to fetch total record count using Hibernate Criteria
Criteria criteria = getSession().createCriteria(getReferenceClass());
criteria.setProjection(Projections.projectionList().add(Projections.countDistinct("id"))
find similar posts:
Hibernate,
Java
0
comments
Subscribe to:
Comments (Atom)
Post Scriptum
The views in this article are mine and do not reflect those of my employer.
I am preparing to cancel the subscription to the e-mail newsletter that sends my articles.
Follow me on:
X.com (Twitter)
LinkedIn
Google Scholar
I am preparing to cancel the subscription to the e-mail newsletter that sends my articles.
Follow me on:
X.com (Twitter)
Google Scholar
Popular Recent Posts
-
Keishin Kata (敬心形) of Shobudo (正武道) karate kei (敬) respect, reverence, or honor someone or something shin (心) heart or mind kata (形) fo...
-
Before arriving in Okinawa, several experiences prepared me for what I would eventually learn there. Karate was the first. It introduced me ...
-
I came across Ruri Ohama mentioning a book by Takafumi Horie and Yoichi Ochiai titled: “Job Atlas for 10 Years From Now. How Will You Live i...
-
Please look at the newer post: http://ukitech.blogspot.com/2009/09/eclipse-35-galileo-and-gwt-m2-svn.html 1) Upload a new version of Eclipse...
-
I have a habit of "stopping to smell the roses", or as in today's case, to take a photo of baby mushrooms on the forest floor....
-
http://code.google.com/apis/socialgraph/
-
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space or Unable to execute dex: Java heap space Java h...
-
Step 1: Register you app with Facebook. Sign in to Facebook using your standard credentials. Navigate to http://www.facebook.com/developer...
-
Many online videos warn about vegetables you should never eat, especially those rich in oxalates. The tone is dramatic. The reality is much ...
Most Popular Articles
-
Affordance as a Function of Intent and Action? As a person passionate about Behavioral Sciences, I found myself unable to shake the impre...
-
Step 1: Register you app with Facebook. Sign in to Facebook using your standard credentials. Navigate to http://www.facebook.com/developer...
-
Please look at the newer post: http://ukitech.blogspot.com/2009/09/eclipse-35-galileo-and-gwt-m2-svn.html 1) Upload a new version of Eclipse...
-
Creating Android ROS nodes to: - add control UI (HMI) - utilize existing phone sensors: -- gyroscope -- GPS -- compass -- camera - do...
-
In this tutorial we will learn how to install the Intellij IDEA database plugin. Start with opening Settings > search for plugins ...
-
Installing TuriCreate on Python 3.6 Anaconda Environment 1) Check what Python version Apple Turi Create supports https://github.com/ap...
-
In this tutorial we will overview integration basics of Android Studio and Gradle build tools.
-
This tutorial shows you how to change the code lower/upper case of code in Android Studio.
-
ImportError : No module named 'sklearn.model_selection' Before doing the embarrassing things I did below, read this: Setting Jupy...
-
This minimal PyTorch example implements a custom recurrent neural network (RNN) cell from first principles, showing how sequence memory eme...
apt quotation..
“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.” by Robert A. Heinlein (author, aeronautical engineer, and naval officer)











