User loginNavigation |
BlogsUbuntu 8.10 (Intrepid Ibex) VPN PPTP issuesUbuntu 8.10 has, as mentioned, been a sub-optimal release for me. 8.04 made EVERYTHING work perfectly after relatively little twiddling. 8.10 broke it all again. The latest annoyance is a set of bugs and feature-losses in network-manage-pptp which allows me to connect to Windows-based VPN networks, a frequent occurrence as several clients use them because they are a lot cheaper than Cisco and pretty easy to set up.
EJB deployment in JBoss (in Chinese)最近在用EJB3 写一个简单的通讯录,其中EJB3 是由许多部分组成。一个看似简单的通讯录,是通过好多道程序才来实现的。以下是EJB deployment 的解析。 我有付上jboss reference 相关内容:http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch5.chapter.html 有兴趣的人可以作梗深入的探索。 1。当EJB.jar 要开始运行时, jboss deployment 开始扫描,根据jboss_service.xml, jboss deployment 找到运行路径(deploy directory), 之后找出正确的deployer (EJB deployer).
findinjar.shWhich jar is the class in?
for jar in $(find $1 -name '*.jar'); do if unzip -l $jar | grep $2 ; then echo " found in $jar" fi done For example: ~/scripts/findinjar.sh $JBOSS_HOME/server/default/lib Session Or: find . -type d -exec $HOME/scripts/findinjar.sh '{}' PortalSession ';' - would find PortalSession class in any jar file located in a sub directory of the current directory.
Authenticate via JNDI over HTTP in JBoss and building/feeding JBossASIn Weblogic you can authenticate for remote EJB authentication via JNDI like this:
In JBoss you have to do this (official verbose explanation for the bored):
Video Transformation with VirtualDubI recently shot a bit of video on my still camera. It involved a flag pole, so naturally, I held the camera in portrait orientation. This presented me with an issue when I got the video back home to my desktop. I had shot it sideways, but no one would want to watch it that way, and I had no access to a video lab or the cash to buy video processing software.
Spring Annotations Example application with AntI had a lot of trouble with the Annotations example based on the Spring In Action book with regards to its build and dependencies. Rather than debug Maven and keep this POM file up to date, I made an ant-based example. No comment on Maven other than dynamic dependency resolution on an example app leave you wondering what is wrong. Attached is a new example app based on a Programmer performing Tasks and a project manager talking about them. The only thing you need is a recent ant and java.
Interceptors and Exception Mapping for AppceleratorI've been working on some code for both OS Integrators, LLC and for a client as well. I'm using the Appcelerator AJAX framework for both projects. In order to accomplish these goals, I've committed the following to head in the service:java component:
For example let's say you have:
Firmware upgrade for the cheapy Blu-Ray player from TargetOn the last day of Chanukah, I bought my wife one of these: Olevia Blu-Ray player which is actually this player rebranded. Initially many DVDs and one of the Blu-Ray disks I bought her didn't work.
Keyboard issue in upgrading to Ubuntu 8.10 on a MacBook ProI recently upgraded to Ubuntu 8.10 in hopes that it would solve some issues I've been having with Ruby's rake. However this gave me a new issue. I keep the useless tiny enter key and right apple key mapped to the right and middle mouse buttons respectively. I do this with two entries in a file called ~/.xmodmap. However with Ibex these codes changed. Luckily there is "xev" to detect them. After the change it is: keycode 134 = Pointer_Button2
Logging with java.util.logging and getting the logs from Appcelerator applications
|
Recent blog posts
|