Internet

IMAP connection from the command line

While I connect to an SMTP server via telnet regularly, I do it seldom for IMAP servers.

More as a personal note I want to cite what I found on imap via linux shell

Connect to server:

# IMAP
nc SERVERNAME-OR-IP 143
# IMAPS
openssl s_client -connect SERVERNAME-OR-IP:993

# IMAP commands:

Themen:

Internet:

Adding ant-svnlib to Net Beans

I wanted to add some additional plugins to the ant build for Netbeans to automatically do some tagging if Ivy publishes the file. Fortunately I found a related post that pushed me into the right direction.

You simply have to copy your JARs to

Themen:

Development:

Moved from EveryDNS.net to freedns.afraid.org

As I already wrote I use EveryDNS.net for my secondary DNS server. Quite a while ago EveryDNS.net was bought by Dyn Inc.

Now the time has come that all the customers are migrated, of course it's not free of charge, somebody has to pay the bill and the secondary DNS service won't be free of charge any longer. The deadline is the 31st of August 2011, so it's seems to be a good time to start looking for something new.

Themen:

Internet:

Axis2 memory leak on redeploy

For quite a while I'm facing the well-known problem of memory leaks while re-deploying Axis2 Webservices on Tomcat and JBoss.

The problem is that you run out of memory, the PermGemSpace in fact, after some redeploy cycles of an Axis2 based Webservice. The only solution is to restart the server to clean up the memory. While this is not too hard on a development machine, it's more difficult on a production server. Although you most probably won't deploy on a production server too often, it's getting on my nerves.

Development:

Themen:

Internet:

Axis2 SOAP message logging

From time to time I want to read the messages that are send from Axis to the endpoint.

The solution is quite simple if you already use a logging framework for your application which you definitely should...

Set some properties in your log4j.properties file and you're done:

  1. log4j.logger.org.apache.axis2.enterprise=FATAL
  2. log4j.logger.de.hunsicker.jalopy.io=FATAL
  3. log4j.logger.httpclient.wire.header=debug
  4. log4j.logger.httpclient.wire=debug 
  5. log4j.logger.org.apache.commons.httpclient=debug

Themen:

Development:

add-apt-repository and proxy settings

I always had the problem that the global proxy settings I set for Gnome weren't recognised by

add-apt-repository

. Therefore adding new repository from Launchpad was a pain in the neck.

Themen:

Linux:

Convert serialized Apex Object to Javascript Object

I recently had the problem that I wanted to pass a variable from a Visualforce page to a Visualforce component and assign it to the component's controller.

So far so good, no problems at all, but then I wanted the controller's variable to be updated when the variable on the page is changed during a re-render.

The page looks like this

  1. <apex:page controller="PageController">
  2.  
  3.     <apex:includeScript value="{!URLFOR($Resource.res,'lib/jquery/js/jquery-1.4.2.min.js')}" />
  4.  
  5.     <script type="text/javascript">
  6.         var jq$ = jQuery.noConflict();
  7.     </script>

Themen:

Development:

Cross Domain Popup opener reload

A couple of days ago I had the problem that I needed to reload the opener from a popup window. Thought that it should be a breeze. Simply call opener.reload() and I'm done.
Far from it!

The parent and popup window have different domains and therefore the Same Origin Policy applies *sigh* The usual hint is using a proxy to circumvent having different domains for parent and child window, but I'm simply not position for doing that.

Themen:

Development:

Started with jQuery

Since I needed a good Javascript library to ease some of the daily Javascript stuff one has to fight with I decided to start with jQuery.

I used mootools already in another project, but the discussion with my co-workers lead us to jQuery finally.

I haven't used it in depth so far, but at a first glance it looks quite usable to me and the number of availible extensions is quite huge. However you have to have an in depth look about the age of the plugin as usual.

Development:

Updated Debian Lenny eAccelerator packages again (AMD64)

And again there are some updated packages for eAccelerator 0.9.5.3 on Debian (AMD64)

If you update the packages using my repository you'll get them anyway.

Update: I finally created the 0.9.6 packages for AMD64.

Development:

Linux:

Internet:

Pages

Subscribe to RSS - Internet

Syndicate

Subscribe to Syndicate