I am just noting some other inconsistensies in the docs as I go through it again.

Extra things in doc to update.

Step 4. point 8, the xml has errors, the ending xml is missing / and also ? in the front of XMl declaration

<?xml version="1.0"?>

<ejb-jar>

<description>Test</description>

<enterprise-beans>
 <session>
  <ejb-name>SimpleTest</ejb-name>
  <home>test.j2ee.SimpleTestHome</home>
  <remote>test.j2ee.SimpleTest</remote>
  <ejb-class>test.j2ee.SimpleTestBean</ejb-class>
  <session-type>Stateless</session-type>
  <transaction-type>Container</transaction-type>
 </session>
</enterprise-beans>

</ejb-jar>

When I deploy the simpletest.jar I get the following, not sure if it is a problem.. I forgot to add this to the problem list the last time, as I hit this issue and so I also tried the hello world example from jacek docs for openejb but got the same results
Nut when I looked in the beans directory it seems that the simpletest.jar is in there..


java.lang.NullPointerException
at org.openejb.util.ClasspathUtils$BasicURLLoader.addJarsToPath(Classpat
hUtils.java:224)
at org.openejb.util.ClasspathUtils$SystemLoader.addJarsToPath(ClasspathU
tils.java:270)
at org.openejb.util.ClasspathUtils.addJarsToPath(ClasspathUtils.java:107
)
at org.openejb.util.ClasspathUtils.addJarsToPath(ClasspathUtils.java:92)


       at org.openejb.alt.config.Deploy.main(Deploy.java:755)
OpenEJB Deploy Tool 1.0-SNAPSHOT    build: 20050224-2055
http://www.openejb.org

log4j:WARN No appenders could be found for logger (OpenEJB).
log4j:WARN Please initialize the log4j system properly.
This jar contains the following beans:
 SimpleTest


----------------------------------------------------------- Deploying bean: SimpleTest -----------------------------------------------------------

==--- Step 1 ---==

Auto assigning the ejb-name as the deployment id for this bean.

Deployment ID: SimpleTest
==--- Step 2 ---==

Auto assigning the container the bean will run in.

Container: Default Stateless Container

-----------------------------------------------------------
Done collecting deployment information!
Creating the openejb-jar.xml file...done
Writing openejb-jar.xml to the jar...done

Congratulations! Your jar is ready to use with OpenEJB.

If the OpenEJB remote server is already running, you will
need to restart it in order for OpenEJB to recognize your bean.

NOTE: If you move or rename your jar file, you will have to
update the path in this jar's deployment entry in your
OpenEJB config file.

just sending this first, just incase it is an issue...

Philip.




Reply via email to