"upstreamnet" wrote:Hey, Hans...thanks for this helpful tool. I had some trouble getting it up and running with Eclipse, so after banging my head against the wall for a bit, I figured I'd write up a recipe that should make it easier for others. The tool works very well and I look forward to upcoming releases.

I think authentication and authorization should work with the existing security realms JBOSS already has.

The really exciting thing about a mailserver in JBOSS would be that you can add an other/mail based intarface to your applications. Think about the possiblity of writing hooks to handle custom work flows, invoke services based on the arrival of some messages.

The problem with having a separate security model for the mailserver and the rest of the services in the container is that now you have to integrate twice to like a corporate LDAP server(ActiveDiretory?).

I suggest separating user repository for custom(M1) attributes. Provision the M1 attributes to the M1 storage after succesfully authenticated via the realms. Provide a hook for the provisioning.

"Div_" wrote:Good Job! I installed/deployed the Interest project and it actually works! Outstanding! I love it when things come together and you get to spend your time solving business problems rather than technical ones. Anyrate, good job here, this helps all of the newbies get sorted.

"Hafer" wrote:Thanks for detailed description of the very first steps.However, i failed nevertheless :)

Using jboss 3.0.6, eclipse 2.1 M5, I failed to perform configuration of the server. If i do as described (pointing jre to the top-dir of my jdk installation and pointing jboss to the top-dir of my jboss installation), then a "run server" results in a "could not connect VM" message, and console displays"Exception in thread "main" java.lang.NoClassDefFoundError:"both for server "3.0.x" and ">=3.2"

I have the same problem, too. It works with remote debugging, but when I want to start JBoss in Eclipse (2.x, M5), I get the same two errormessages. The 'NoClassDefFound' in the console window and 'could not connect' in a popup.

I have one JBoss outside the workspace, which I build by hand with build.sh and I use tomcat41 (tomcat 4.1.18 LE jdk1.4). Another JBoss 3.2 is checked out in eclipse for debugging.

When I start JBoss by run.sh with a run.conf for remote debugging, e.g. on port 8000 and configure "JBoss remote" it works. But when I want to start it with a "JBoss 3.x" configuration I get the following message in a popup:

"org.eclipse.core.runtime.CoreException Could not connect to VM"

and in the console window:

"Exception in thread "main" java.lang.NoClassDefFoundError:"

In my JBoss 3.x configuration I selected only the "JBoss 3.x Home Directory", no special classpath or commandline. The "-S" was added automatically for JBoss 3.2.

The same config workes in Eclipse 2.1 M4. M5 was a clean install, I recycled only the workspace directory.

I tested JBoss-IDE 1.0.1 on M5 with the external JBoss 3.2 from cvs with tomcat41, with "default" and jetty and with a special config, generated from the "all" config. And I tried to edit the classpath in the run config. But I got always the same error message.

I guess its a problem in the way you try to start a local VM. When I configure some other launch configurations all works fine. I added some breakpoints in org.jboss.Main and in org.jboss.system.server.ServerLoader, but this code is never reached. The details of the "could not connect to VM" message in the plugin error log says that at the startup of the VM a socket connection is tried to established and this fails. Here is the stacktrace: