Weblogic with 64 Bit JDK (Solaris)

November 25th, 2009

Before you install the 64 Bit JDK you need to install the 32 bit JDK.

To configure Weblogic to use the 64bit JDK you need to configure JAVA to start with the -d64 option.

Edit the file /usr/local/bea/user_projects/domains/domainname/bin/setDomainEnv.sh  and add the -d64 option as following:

if [ "${JAVA_VENDOR}" = "Sun" ] ; then
MEM_ARGS=”-d64 ${MEM_ARGS} ${MEM_DEV_ARGS} -XX:MaxPermSize=128m”
export MEM_ARGS

When you start WebLogic using the startWeblogic.sh script it may indicate that it’s still using the 32 bit JDK, if you want it to indicate differently you need to edit the start script and add the -d64 there as well.

Joomla – Mail Settings on Godaddy shared hosting

March 20th, 2009

For some reason setting the Mail Settings for Joomla on the Godaddy shared hosting was the hardest task in creating a Joomla site.

Eventually, after trying out all the solutions I’ve found on the forums, I have made it work by trying something counter intuitive  – I set the ‘SMTP Authentication’ to ‘No’ and the mail server to relay-hosting.secureserver.net

Mailer: SMTP Server

Mail from: youremail@yourdomain.com

From Name: Your From Name

Sendmail Path: Can be ignored for SMTP settings.

SMTP Authentication: NO

SMTP Username: blank

SMTP PAssword: blank

relay-hosting.secureserver.net

mailset1

And that is the only setting that worked for me.

Not sure why I couldn’t use the regular SMTP server with Authentication. My only guess is that this limitation forces  you into getting a dedicated server if your send more than 250 email per day.

Easily Download YouTube Videos

March 20th, 2009

Just discovered this option last week and have found it very useful.

1. Get into YouTube and find the video you would like to download.

2. Lets say your video link is http://www.youtube.com/watch?v=w2c6zWfCN1Y

3. Add the word ‘kick’ prior to youtube.com e.g.  http://www.kickyoutube.com/watch?v=w2c6zWfCN1Y

4. On the top you will see the following menu, pick the file format you like (mp4 – video, mp3 Audio etc.) and click on the Green ‘Go’ Button’.

kick2

5. Wait for a couple of minutes and when your file is ready the ‘Go’ Button will change to ‘Download’ right click and choose ‘ Save as’ to save your file.

There’s nothing to it!

Hebrew Arabic and Chinese on Blackberry

March 17th, 2009

This have been tested with Blackberry Curv and 8830.

It took me a little while to figure out how to load Hebrew Arabic and Chinese on my Blackberry and so I thought this may help someone out there.

This worked for me the couple of times I installed it but there is no guarantee whatsoever, so if you take the  chance,  make sure you have a complete backup.

For Hebrew and Arabic – Download this file

For Chinese – Download this file

1. Extract the file to a directory of your choice.

2. Open a Command Prompt (Dos Window – Start/Run/Type cmd)

3. Navigate to the directory where the files are.

4. Make sure your blackberry is connected via USB.

5. Run the command: javaloader -u load language-file-name.cod

6. Your Blackberry will reboot and once its back up it will read Chinese, Arabaic …or hebrew

In Awe of Joomla – (Ask what Joomla can do for you)

March 16th, 2009

Though I’ve heard the name before I didn’t really give it much attention until few days ago when I got the GoDaddy shared hosting account and browsed the applications they allow you to install in one click.

It takes a little while to fall in love with Joomla, the relationsjoomlahip will have its ups and downs, but not before too long you will be asking yourself… “Joomla, how could I have lived without you?”

So what is Joomla? Let’s try to refrain from mentioning Content Management Systems (CMS) for a minute and explain it this way. Let’s say you’d like to have a website with membership where members or non members can search, post and communicate with each other. You would like to have a nice back-end system to manage your articles, sections and categories and you have no knowledge of PHP or html. You never designed a database or build a query and you want that website up and running by tomorrow. Can you? YES YOU CAN.

Not long ago, if you wanted to have such a website you would have needed 3-5 developers a dba, a graphics designer. They would all work for months and months and the result would be buggy and ugly and modifying/adding to it would be a drag, and eventually no one would be using it anyway.

With your best new friend Joomla you can do all that in a matter of hours and you’ll have access to thousands of commercial and non-commercial extensions that will allow you to add endless amount of cool functionality to your site.

How easy is that? Well, as I mentioned you will have your ups and downs but it’s still a small price to pay for such a robust piece of software.

How do I start? Well, you can buy a domain at let’s say GoDaddy’s and get the Shared hosting service for $62 a year (after spending 1m looking for a coupon on the net) which brings it down to about $5 a month for as many websites as you want. (up to 25 MySQL Databases) 

You then login to your new account, click on the ‘Your Apps’ button look for Joomla under Content management systems and then on install, you fill the simple details it will ask you for and about 10m later you have  your own Joomla site up and running ready for action.

Not too bad for a non geek now is it?

You can browse through gazillion Joomla extensions at http://extensions.joomla.org/ which you can install by clicking on the ‘Component/install’ in your Joomla Administrator. The amazing yet not so clear Community builder extension is A must for any community type of social network you would like to have and its totally free.

Made it this far? Definitely take a break.

Some stuff in Joomla that seem to make sense at first become confusing later and vice versa. It takes a little while to take command over your Joomla but in a very short while you shall have your robust community up and running and all you’ll have to do is open the gates and let the millions of surfers out there just burst in to your new peace of heaven… or well, maybe the crickets would have fun there, but whoever it is, Joomla will save you a lot of money and efforts and allow you to create a whole lot of features for almost nothing.

Not before too long, you may ask yourself ‘Am I so smart I can create an online community of my own and customize it so nicely within minutes, or is technology nowadays just awesome or what?’

Joomla – The mystery of searching Profiles

March 16th, 2009

So you’d like to allow your new community members to search members using profile criteria’s such as hobbies, city, state or any other fields for that matter. you would like to have as if it was let’s say…a dating website?

This is how it’s done using Joomla  1.5 with the CB (Community Builder) installed.

1.       Specify profile  fields by clicking on Components / Community Builder / Field Management.

 

12

2.       Browse existing Profile fields and decide  weather you want them at all, if they are required and whether they appear during registration

 

21

3.       Click on the ‘New Field’ Icon to add a new field to the profile.

4.       Choose the type of field (Drop Down, Textbox, Radio buttons etc) check the settings for the new field and click ‘Save’

 

31

5.       Make sure your new field as set to appear as in the registration process like we did in step 2.

6.       Once you’re done setting your profile fields youre deady to set your search profile page. Click on Components / Community Builder / List Management.

 

41

7.       Add a new list, call it for e.g. Search-Profiles, decide if it can be used by everyone or just by registered members.

 

51

8.       Click on the new list and Don’t Panic. Concentrate on this part below

 

61

Click on the dropdown and choose the field/s you would like  your members to be able to search by and click the Add button for each. (+- for the fields order)

9.       Now concentrate on this part below (especially on the box in the center)

 

71

This is just a fancy screen to arrange the way your results appear. You can add the fields from the center box (the ones we added before) to any of the four columns. Give these columns names (Even space characters seem to work) and add the fields the way you would like them to appear.

10.   Click save and look at the top of the page:

 

81 

The second link is the link you need for your new search page. Click on it:

11.   Your new search page

 

91

12.   Add the new page to your menus as an External Link.

 

 external-link2

You’re all set!