I installed and am now running jdk1.3. Now server is deploying the bean
fine. I had two problems that were fatal for the ejb server while initially
installing jBoss. The first problem was that I installed in d:\program
files\jboss2 and the server couldn't deal well with the space in "program
files" ("program files" is the installer default setting) when constructing
URLs from my file system. The second problem was that I was running
1.2.2. These both seem like they might be common problems. Is there a
posting of common problems somewhere, or are these type of problems best
brought up in this list?
Tom Preston wrote:
> I installed the server, basically took all default options. Deploy of
> the example "bank.jar" fails with below exception, can't seem to find
> InvocationHandle. I am running with jdk1.2.2-004. Do I need 1.3 or do
> I need 1.1.7? Anyone seen this problem before?
>
> [Auto deploy] Auto deploy of file:/D:/jboss2/deploy/bank.jar
> [Container factory] Deploying:file:/D:/jboss2/deploy/bank.jar
> [Container factory] Deploying Account
> [Auto deploy] Deployment failed:file:/D:/jboss2/deploy/bank.jar
> [Auto deploy] java.lang.NoClassDefFoundError:
> java/lang/reflect/InvocationHandle
> r
> [Auto deploy] at java.lang.Class.newInstance0(Native Method)
> [Auto deploy] at java.lang.Class.newInstance(Class.java:241)
> [Auto deploy] at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java,
> Compiled Code)
> [Auto deploy] at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:9
> 8)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
> javax.management.MBeanServer.invoke(MBeanServer.java:1635)
> [Auto deploy] at
> javax.management.MBeanServer.invoke(MBeanServer.java:1501)
> [Auto deploy] at
> org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
> [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java,
> Compiled Co
> de)
> [Auto deploy] at
> org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:237
> )
> [Auto deploy] at
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
> java:86)
> [Auto deploy] at
> org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSu
> pport.java:147)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
> javax.management.MBeanServer.preRegisterInvoker(MBeanServer.j
> ava:2253)
> [Auto deploy] at
> javax.management.MBeanServer.createMBean(MBeanServer.java:721
> )
> [Auto deploy] at
> javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
>
> [Auto deploy] at
> javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
>
> [Auto deploy] at org.jboss.Main.run(Main.java, Compiled Code)
> [Auto deploy] at org.jboss.Main$1.run(Main.java:81)
> [Auto deploy] at java.security.AccessController.doPrivileged(Native
> Method)
> [Auto deploy] at org.jboss.Main.main(Main.java:77)
> [Auto deployer] Started
> [JMX RMI Adaptor] Initializing
> [JMX RMI Adaptor] Initialized
> [JMX RMI Adaptor] Starting
> [JMX RMI Adaptor] Started
> [Default] Could not add shutdown hook
>
> --
> tcp
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
tcp
Thomas Preston
Vacation.com, Inc.
Engineering Department
617.210.4850 x 124
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]