Hello all,
I have successfully used SQL Server for CMP using
Steve Kwee's Bugzilla entry under bug 133. There
were two caveats, however:
1. Table was created, but initial INSERT failed until
I manually went and set columns to allow NULLs. This
may be the other half of the solution (ie, why he
couldn't get the data to insert).
2. When starting up, jBoss throws 5 identical NullPointerExceptions,
apparently one for each column in the table:
[Container factory] java.lang.NullPointerException
at
org.jboss.ejb.plugins.jaws.deployment.JawsCMPField.propertyChange(JawsCMPFie
ld.java:210)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.ja
va:230)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.ja
va:157)
at
java.beans.beancontext.BeanContextChildSupport.firePropertyChange(BeanContex
tChildSupport.java:212)
at
org.jboss.ejb.plugins.jaws.deployment.JawsEjbJar.setTypeMapping(JawsEjbJar.j
ava:72)
at
org.jboss.ejb.plugins.jaws.deployment.JawsEjbJar.importXml(JawsEjbJar.java:1
31)
at
org.jboss.ejb.plugins.jaws.deployment.JawsFileManager.load(JawsFileManager.j
ava:191)
at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceManage
r.java:159)
at org.jboss.ejb.EntityContainer.init(EntityContainer.java:126)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:98)
at java.lang.reflect.Method.invoke(Native Method)
at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:237)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:86)
at
org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSupport.java:147)
at java.lang.reflect.Method.invoke(Native Method)
at javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253)
at javax.management.MBeanServer.createMBean(MBeanServer.java:721)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
at org.jboss.Main.run(Main.java:109)
at org.jboss.Main$1.run(Main.java:81)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:77)
Is this cause for concern? Making manual changes to the tables
could be a minor hassle, but is the exception in propertyChange()
something to worry about? It does seem to INSERT and SELECT properly,
in spite of this.
TIA,
David
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]