JAWs does not work with findBy methods that use 'char' datatypes as
parameters

Example:
1.Create a CMP entity bean, with one of it's members being a char datatype
2.Within your home interface define a findByCharMember(char c)...
3.Build and deploy

Bug: JBOSS throws a ClassNotDefFoundinedError: java/lang/Char
Workaround: replace the char param with java.lang.Character

Full exception:
[Auto deploy] Deployment failed:file:/E:/jBoss/deploy/Experimental.jar
[Auto deploy] java.lang.NoClassDefFoundError: java/lang/Char
[Auto deploy]   at $Proxy0.<clinit>(Unknown Source)
[Auto deploy]   at java.lang.reflect.Constructor.newInstance(Native Method)
[Auto deploy]   at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
[Auto deploy]   at
org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker.getEJBHome(JRMPCont
ainerInvoker.java:48)
[Auto deploy]   at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.start(JRMPContainerIn
voker.java:357)
[Auto deploy]   at
org.jboss.ejb.EntityContainer.start(EntityContainer.java:217)
[Auto deploy]   at org.jboss.ejb.Application.start(Application.java:174)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:638)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:227)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:286)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:222)
[Auto deploy]   at
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:265)
[Auto deploy]   at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:90)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Auto deploy]   at
org.jboss.dependencies.DependencyManager.startMBean(DependencyManager.java:2
84)
[Auto deploy]   at
org.jboss.dependencies.DependencyManager.loadService(DependencyManager.java:
261)
[Auto deploy]   at
org.jboss.dependencies.DependencyManager.processService(DependencyManager.ja
va:243)
[Auto deploy]   at
org.jboss.dependencies.DependencyManager.startMBeans(DependencyManager.java:
117)
[Auto deploy]   at org.jboss.Main.<init>(Main.java:162)
[Auto deploy]   at org.jboss.Main.<init>(Main.java:94)
[Auto deploy]   at org.jboss.Main$1.run(Main.java:84)
[Auto deploy]   at java.security.AccessController.doPrivileged(Native
Method)
[Auto deploy]   at org.jboss.Main.main(Main.java:75)



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to