How to enable Eclipse/Glassfish remote debugging

You would normally enable jdb by adding debug options into your Java start up command by attaching debugging into JVM process, like the following:

DEBUG_OPTS=”-Xdebug -Xrunjdwp:transport= dt_socket,address=1044,server=y,suspend
=n”

You would consider adding this into your Glassfish’s(V2, in my case) start up script asadmin as below:

“$AS_JAVA”/bin/java “$DEBUG_OPTS” -Dcom.sun.aas.instanceName=server -Djava.libra
ry.path=”$AS_NSS”:”$AS_INSTALL/lib”:”$AS_ICU_LIB” -Dcom.sun.aas.configRoot=”$AS_
CONFIG” -Djava.endorsed.dirs=”$AS_INSTALL/lib/endorsed” -Dcom.sun.aas.processLau
ncher=”SE” -cp “$AS_DERBY_INSTALL/lib/derby.jar”:”$AS_INSTALL/jbi/lib/jbi-admin-
cli.jar”:”$AS_INSTALL/jbi/lib/jbi-admin-common.jar”:”$AS_INSTALL/lib”:”$AS_INSTA
LL/lib/appserv-rt.jar”:”$AS_INSTALL/lib/appserv-ext.jar”:”$AS_INSTALL/lib/javaee
.jar”:”$AS_INSTALL/lib/appserv-se.jar”:”$AS_INSTALL/lib/admin-cli.jar”:”$AS_INST
ALL/lib/appserv-admin.jar”:”$AS_INSTALL/lib/commons-launcher.jar”:”$AS_INSTALL/l
ib/install/applications/jmsra/imqjmsra.jar” -Dcom.sun.appserv.admin.pluggable.fe
atures=com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl com.su
n.enterprise.cli.framework.CLIMain “${@}”

Actually this will not work.

You have to log into the Glassfish admin console, under:

Application server

JVM General Settings

Debug
Enabled (check it)

Hit save

Restart Glassfish.

You’ll see Glassfish start up script spits the following message:

Listening for transport dt_socket at address: 9009
Application server is listening at address 9009 for debugger to attach using transport dt_socket

It started to listen at port 9009 by default instead of 1044.

You’ll configure your Eclipse accordingly to do remote debugging. Remember the port number 9009 instead of 1044.

Google Phone: It’s real

The long awaited google phone is finally materializing and today Google gave them to its employees to test out:

Google Releases Experimental Phone to Employees:
http://www.pcworld.com/businesscenter/article/184541/google_releases_experimental_phone_to_employees.html

This is the phone I want. I need an unlocked phone, with data plan only, can run Skype to make calls, to be open-source based, can run Java. Google phone looks like, finally, my dream phone.

I like iphone/ipod, but I do not like the way that all is prepriotary. I don’t want to buy another pc/notebook to develop iphone apps running in a mystery OS uisng Object C. Wifi and Skype do not work well too. I hate they exclude Java programs from their OS and Steve Jobs’s rediculous comments about Java.

Did I mention that you can use your sd card to expand your storage without paying bigger bucks? Better than iPhones too!

Change domain name for joomla/virtuemart

It’s easy for Joomla itself (at its global config within online admin interface) but tricky for embedded virtuemart. Annoying thing is, after the domain name change you can not access config page online via admin interface.

Here is the file you have to make the changes to make virtuemart work after domain name change: (Remember you have to know what your folder your Joomla points to)

/administrator/components/com_virtuemart/virtuemart.cfg.php:

// these path and url definitions here are based on the Joomla! Configuration
define( ‘URL’, ‘http://newdomain.com/’ );
define( ‘SECUREURL’, ‘http://newdomain.com/’ );

After that all is set with your embedded virtuemart.

Disney park day 2

11/24 tuesday epcot

Arrived about 9 am. After a short wait, we proceed to get into the epcot park.

Got fastpass for sorin,

Places visited: spaceship earth, living with the land, journey to the imagination, sorin, honey it shrunk me, test track, mission space, nemo.

Sorin got my highest score. You have the feeling that you are suspended from the sky, flying over the sky way way up high, through golden gate, bay area , maintains.

Next is mission space.

All cool editors in iphone/ipod touch

iPhone Editors and Blogging Apps

http://webdesign.about.com/od/iphoneapps/tp/iphone_editors_blog_tools.htm

WordPress(not WordPress 2? WordPress 2 requires 3.0 software), and lifecast are not available in US store.

WordPress

WordPressScreen shot by J Kyrnin

I got this app to connect to my many WordPress blogs. It works fine on the one that uses the root as the blog. But the others I have that don’t I couldn’t get connected to. Frustrating. It also only seems to connect to one blog at a time, and I currently have 3 active WordPress blogs.

This app is free.

—————————————————————-

LifeCast

LifecastScreen shot by J Kyrnin

One of the nice features of LifeCast is how easy it is to connect to various different blogs and blog platforms. You can set up multiple blogs and maintain them all from this one app. The drawback being that while it is a nice looking tool that allows you to upload images to your blogs, when I tried to post something, it didn’t go live on my blog.

This app is free.

=================================

iPhone apps that bloggers will love

http://www.tuaw.com/2009/11/01/iphone-apps-that-bloggers-will-love/

Podcasts approved by iTunes

I submitted my podcasts request on weekend and today I saw it was approved by Apple today (Monday 1:09PM). Wow, just took less than one business day(are they working on weekends?), it is really fast:


Dear Podcast Owner

Your podcast, located at [ http://blog.dengsoft.com/podcasts/podcasts.rss ], has been approved. You should expect to see it in iTunes within the next few hours. When it’s available, you will be able to access it with the URL below.

http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=340673816

Your podcast will be searchable within the iTunes Store in approximately 1-2 days.

If you have other questions or wish to change your podcast, please consult the technical spec at http://www.apple.com/itunes/podcasts/techspecs.html. The spec contains detailed information about key topics like adding “cover art” and changing your feed URL.

After adding a new episode, update your feed in the fastest possible manner with the ping service by visiting this URL:

https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=340673816

See the technical spec for more information on updating your feed using the ping service.

There is also an Apple Discussions Forum exlcusively for podcast producers, located here: http://discussions.apple.com/forum.jspa?forumID=1107. If you have a question or a problem that the technical spec cannot answer, the community of iTunes podcasters may be able to provide valuable guidance.

Sincerely,

The iTunes Store Team



Myvidoop: when will your plugin with Firefox 3.5 becomes availble?

After several weeks’ waiting I still did not see any progress regrading myviddop’s plugin with Firefox 3.5. So today I went to their web site’s contact support to send the following message (This is the second time I contacted them via their online form. No reply from the first one yet). (I wish Firefox has a feature to let us downgrade!)

Can you let us know when will your  plugin in for firefox 3.5 will become available. I can help develop it too.

I stopped using myvidoop after I upgraded to Firefox 3.5 weeks ago and there are many users like me who stopped using myvidoop because your plugin stops working with FF 3.5.

Thanks.