jboss & j2ee (original) (raw)
Hello, I'm yet another newbie on this community.
I'm starting a little pet project based on j2ee stuff.
I use jboss/tomcat as my servers. tomcat has some very decent documentation, and error messages are typically ok.
Jboss 3.0 however is not as friendly. I'm currently stuck trying to deploy a bunch of CMP 2.0 ejbs tied with a few relationships.
After a bunch of meaningful error messages that I fixed, jboss now just dumps something like:
01:51:20,294 INFO [EARDeployer] Init J2EE application: file:/home/jboss3/server/default/deploy/InnerNet.ear 01:51:23,575 INFO [EjbModule] Creating 01:51:23,867 INFO [EjbModule] Deploying object/Agent 01:51:25,313 INFO [EjbModule] Deploying object/Message 01:51:25,380 INFO [EjbModule] Deploying object/Clan 01:51:25,472 INFO [EjbModule] Deploying object/Doorway 01:51:25,556 INFO [EjbModule] Deploying object/HigherPower 01:51:25,642 INFO [EjbModule] Deploying object/Item 01:51:25,708 INFO [EjbModule] Deploying object/Location 01:51:27,411 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.j2ee:service=EJB,jndiName=object/Doorway 01:51:27,415 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.j2ee:service=EJB,jndiName=object/Message 01:51:27,420 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.j2ee:service=EJB,jndiName=object/Clan 01:51:27,423 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.j2ee:service=EJB,jndiName=object/HigherPower 01:51:27,429 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.j2ee:service=EJB,jndiName=object/Item 01:51:27,433 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.j2ee:service=EJB,jndiName=object/Agent 01:51:27,436 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication=InnerNet.ear,J2EEServer=Single,j2eeType=EJBModule,name=InnerEJB.jar 01:51:27,460 ERROR [EjbModule] Initialization failed java.lang.NullPointerException at org.jboss.ejb.EjbModule.createService(EjbModule.java:417)
followed by a lot more stack traces than a sane person wants to read.
Since there is no error message here, I'm kinda hoping that someone here will have bumped into a similar situation.
If not, I'm gonna have to get the source for jboss and debug through it (which wouldn't be too painful thanks to Eclipse, but still a bit tedious)
Also, does anybody here have experience with java testing things (junit, httpunit, cactus)? what's your experience, and do you feel their use was/is worth the time spent on your projects?