|
I'm just getting started with JBoss on Windows
2000, using JDK1.3. I figured the least error-prone way to start learning
would be to run some of the JBossTest programs. I can successfully run the
InterestEJB sample from the web site. However, when I copied the hello.jar
file for the hello sample from jbosstest/dist/deploy directory into the
jboss/deploy directory, I get the following errors:
[J2EE Deployer] Create application
hello.jar
[J2EE Deployer] Installing EJB package: hello.jar [J2EE Deployer] Starting module hello.jar [Container factory] Deploying:file:/H:/jboss/bin/../tmp/deploy/hello.jar/ejb1004.jar [Container factory] Deploying HelloWorld [Container factory] org.jboss.ejb.DeploymentException: Missing or invalid Container Invoker (in jboss.xml or standardjboss.xml) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:451) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:272) [Container factory] at java.lang.reflect.Method.invoke(Native Method) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:645) [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:137) [Container factory] at java.lang.reflect.Method.invoke(Native Method) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:332) [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:268) [Container factory] at java.lang.Thread.run(Thread.java:484) [J2EE Deployer] Starting hello.jar failed! jboss.xml has the following line in
it:
<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
and I see this class in jar file
/jboss/lib/ext/jboss.jar. I'm going on the assumption that jboss knows to
automatically look in lib and lib/ext to find jar files it needs. Is this
an incorrect assumption? When I copied jboss.jar to /jdk1.3/jre/lib/ext,
things got even worse - JBoss wouldn't even start - produced about a thousand
error messages. I'd greatly appreciate some guidance getting
started. Thanks.
|
