23.02.06

First steps with AndroMDA

The last couple of days I decided to give MDA in gerneral and especially AndroMDA (Model Driven Architecture Framework) a try.
The website looks good and there was a quite good getting started section as well. Still I encountered a lot of problems which I want to describe here.
First the site only states as a dependency regarding Maven: "Just make sure you are using the latest version, Maven 1.0.2 or higher is recommended". So I gave Maven 2.0.2 a try. Which was not working at all with the rest of the documentation, so I tried Maven 1.0.2 and it worked.
Second was MagicDraw as UML-Tool. I downloaded the newest version (10.5), which was again a fault. AndroMDA is only working with 9.5.
Third issue was doing some simple modelling in MagicDraw and saving the file as XMI. Running maven mda failed miserably, due to wrong dependencies. Then I encountered the solution: Open the generated myproject.xmi file under myprojec\mda\src\uml in MagicDraw and start working from there.
Lastly I wanted to look at the sourcecode and starting to edit it, but integrating all this maven things into my Eclipse brought up some other problems so I decided to stop this experiment at least for a while.
I hope the AndroMDA Team will either update their starting section or adjust their tool to work with the newer tools.

Posted by Karsten at 09:50 | Comments (2) | TrackBack

17.02.06

Bye, bye Freedom in Europe

Es ist eine riesengroße Sauerei: Bundestag befürwortet verdachtsunabhängige Überwachung der Telekommunikation
Allen Abgeordneten, die dem Zugestimmt haben sollten mal bitte alle Ihre Internetprofile veröffentlichen lassen. Wenn dann jeder weiss, dass Herr Kauder sich in einer Singlebörse rumgestrieben hat, oder regen Emailverkehr mit wichtigen Firmen vor bestimmten Gesetzesvorhaben hat, dann kommt vielleicht auch bei Ihm mal etwas Erkenntnis, was Freiheit bedeutet.
Ganz besonders bin ich von der SPD enttäuscht.
Wie kann man nur der totalen Überwachung zustimmen? Wie kann man so leicht die Freiheit wegwerfen?
Ich will weiterhin in einem freien Land leben, welches nicht alle Bürger unter Generalverdacht stellt.
Vielen Dank, liebe Abgordnete der "Totalitären (Großen) Koalition", dass Sie dies verhindert haben.

Mit enttäuschten Grüßen,
Karsten Voges.

PS: Mehr Informationen auch unter stop1984.com

Posted by Karsten at 09:32 | Comments (1) | TrackBack

15.02.06

Webinar on Geronimo

I just attended a Introduction to Apache Geronimo 1.0 Webinar, presented by Jeff Genender, which was my first Webinar ever. It was strange to see slides in a special Java-Applet viewer and it was possible to type in questions although I did not post any and I haven't seen someone else raising questions via chat.
The webinar was just a simple intro covering the basics. Most of the webinar was familiar to me, since I tried moving an app from Tomcat to Geronimo and played with Geronimo a bit.
Still Jeff Genender did a good job in introducing the basics.
And I must say, that I liked the webinar type of learing since it is nice to see slides and have audio with it. I just wonder how big my telephone bill will be like, since I had to call an number in the US :( Wouldn't it be better to stream this via Internet? It can't be a money reason, since the number was toll free for the US (not internationally :( ). It can't be for security reason, since it was possible to register for the webinar with dummy values for free.
So where is the next webinar to attend? ;)

Posted by Karsten at 22:04 | Comments (0) | TrackBack

08.02.06

Moving from Tomcat to Geronimo failed

Today I played a bit with Geronimo and the app-server was easy to install and startup. So after a management console gothrough I tried to install/deploy one of our Tomcat apps but failed miserably.
After trying to get it running for quite some time, I decided to file an issue at their beautiful JIRA installation:
[#GERONIMO-1602] Switching from Tomcat causes error in JAAS module: "Unable to instantiate login module" - ASF JIRA

I deployed the war without any deployment plan and the app seams to be working (JSPs work and the startup-servlet works as well)
But the JAASLoginModule was missing, so I could not log in. -> so far no Problem!
Afterwards I configured a security realm with the console (very nice) and after a restart my app does not complain about a missing LoginModule anymore but throws an error.
For Tomcat I do the following:
in catalina.properties I set

#######JAAS
java.security.auth.login.config=${catalina.base}/conf/login.config

and the login.config looks like this:

MyApp {
de.jato.security.auth.module.JatoServletLoginModule Sufficient loginServlet="/login/login.jsp";
};

I tried to use a special geronimo-web.xml where I set the
true
But I still get the same error:
javax.security.auth.login.LoginException: org.apache.geronimo.common.GeronimoSecurityException: Unable to instantiate login module

Caused by: java.lang.ClassNotFoundException: de.jato.security.auth.module.JatoServletLoginModule

Am I doing something wrong? The class is in the war I deployed, and everything works fine in Tomcat.
Has anyone tried to accomplish this transition as well?
I know that it does not make a lot of sense to switch from Tomcat to Geronimo if you do not need any of the additional features, but I wanted to give it a try anyway.

Posted by Karsten at 13:29 | Comments (1) | TrackBack