I use
jboss 4.0
postgresql 7.4
al is working except the access on boolean fields (see error code)
i defined them as boolean and java.lang.Boolean
In the postgres database all tables are correct generated, even the boolan
fields are generated as type bool
What could be the problem
| org.jboss.tm.JBossRollbackException: Unable to commit,
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=winxp/16, BranchQual=,
localId=16] status=STATUS_NO_TRANSACTION; - nested throwable:
(javax.ejb.EJBException: Internal error setting parameters for field actief;
CausedByException is:
| Onbekende Types waarde.)
| at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344)
| at
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:457)
| at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:325)
| at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
| at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
| at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
| at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
| at
org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514)
| at org.jboss.ejb.Container.invoke(Container.java:854)
| at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)
| at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
| at $Proxy155.setGebruikerValue(Unknown Source)
| at com.vvb.db.DBProcedure.makeAdmin(DBProcedure.java:96)
| at com.vvb.db.DBProcedure.initDb(DBProcedure.java:344)
| at
com.vvb.plugin.applicationPlugin.initAppConfig(applicationPlugin.java:113)
| at com.vvb.plugin.applicationPlugin.init(applicationPlugin.java:74)
| at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
| at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
| at javax.servlet.GenericServlet.init(GenericServlet.java:211)
| at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
| at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
| at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
| at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
| at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
| at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
| at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
| at
org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
| at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
| at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:336)
| at
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:370)
| at org.jboss.web.WebModule.startModule(WebModule.java:62)
| at org.jboss.web.WebModule.startService(WebModule.java:40)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
| at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)