19/09/2006, 08:13
|
| | | Fecha de Ingreso: noviembre-2005
Mensajes: 331
Antigüedad: 19 años, 1 mes Puntos: 8 | |
Esto son los errores arrojados por el JBoss, puse mensajes para saber si encontraba el contexto y otros para saber si insertaba pero...
11:07:26,288 INFO [STDOUT] EJB Entity CMP Cliente ENONTRADO...
11:08:05,366 ERROR [Cliente] Could not create entity
java.sql.SQLException: Field 'Cliente_upk' doesn't have a default value
at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:2822)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:15 36)
at com.mysql.jdbc.ServerPreparedStatement.serverExecu te(ServerPreparedStatement.java:1159)
at com.mysql.jdbc.ServerPreparedStatement.executeInte rnal(ServerPreparedStatement.java:684)
at com.mysql.jdbc.PreparedStatement.executeUpdate(Pre paredStatement.java:1184)
at com.mysql.jdbc.PreparedStatement.executeUpdate(Pre paredStatement.java:1101)
at com.mysql.jdbc.PreparedStatement.executeUpdate(Pre paredStatement.java:1086)
at org.jboss.resource.adapter.jdbc.WrappedPreparedSta tement.executeUpdate(WrappedPreparedStatement.java :251)
at org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCre ateCommand.executeInsert(JDBCMySQLCreateCommand.ja va:107)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateC ommand.performInsert(JDBCAbstractCreateCommand.jav a:321)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateC ommand.execute(JDBCAbstractCreateCommand.java:151)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.cr eateEntity(JDBCStoreManager.java:587)
at org.jboss.ejb.plugins.CMPPersistenceManager.create Entity(CMPPersistenceManager.java:237)
at org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.createEntity(CachedConnectionInterc eptor.java:225)
at org.jboss.ejb.EntityContainer.createLocalHome(Enti tyContainer.java:618)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invoca tion.java:359)
at org.jboss.ejb.EntityContainer$ContainerInterceptor .invokeHome(EntityContainer.java:1130)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHo me(AbstractInterceptor.java:105)
at org.jboss.ejb.plugins.EntitySynchronizationInterce ptor.invokeHome(EntitySynchronizationInterceptor.j ava:203)
at org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.invokeHome(CachedConnectionIntercep tor.java:189)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHo me(AbstractInterceptor.java:105)
at org.jboss.ejb.plugins.EntityInstanceInterceptor.in vokeHome(EntityInstanceInterceptor.java:134)
at org.jboss.ejb.plugins.EntityLockInterceptor.invoke Home(EntityLockInterceptor.java:76)
at org.jboss.ejb.plugins.EntityCreationInterceptor.in vokeHome(EntityCreationInterceptor.java:43)
at org.jboss.ejb.plugins.CallValidationInterceptor.in vokeHome(CallValidationInterceptor.java:56)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invoke Next(AbstractTxInterceptor.java:125)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTran sactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome( TxInterceptorCMT.java:161)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHo me(SecurityInterceptor.java:145)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(Lo gInterceptor.java:132)
at org.jboss.ejb.plugins.ProxyFactoryFinderIntercepto r.invokeHome(ProxyFactoryFinderInterceptor.java:10 7)
at org.jboss.ejb.EntityContainer.internalInvokeHome(E ntityContainer.java:514)
at org.jboss.ejb.Container.invoke(Container.java:975)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory. invokeHome(BaseLocalProxyFactory.java:359)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke( LocalHomeProxy.java:133)
at $Proxy89.create(Unknown Source)
at ordenes_de_compra.FacadeClienteBean.newCliente(Fac adeClienteBean.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invoca tion.java:359)
at org.jboss.ejb.StatefulSessionContainer$ContainerIn terceptor.invoke(StatefulSessionContainer.java:598 )
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(S ecurityInterceptor.java:168)
at org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.invoke(CachedConnectionInterceptor. java:158)
at org.jboss.ejb.plugins.StatefulSessionInstanceInter ceptor.invoke(StatefulSessionInstanceInterceptor.j ava:330)
at org.jboss.ejb.plugins.CallValidationInterceptor.in voke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invoke Next(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTran sactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxIn terceptorCMT.java:181)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInt erceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderIntercepto r.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.SessionContainer.internalInvoke(Sess ionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:954)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation .java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
at org.jboss.invocation.jrmp.server.JRMPInvoker$MBean ServerAction.invoke(JRMPInvoker.java:819)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invok e(JRMPInvoker.java:420)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
11:08:05,444 ERROR [STDERR] javax.ejb.CreateException: Could not create entity:java.sql.SQLException: Field 'Cliente_upk' doesn't have a default value
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateC ommand.performInsert(JDBCAbstractCreateCommand.jav a:340)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateC ommand.execute(JDBCAbstractCreateCommand.java:151)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.cr eateEntity(JDBCStoreManager.java:587)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.CMPPersistenceManager.create Entity(CMPPersistenceManager.java:237)
11:08:05,444 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.createEntity(CachedConnectionInterc eptor.java:225)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.EntityContainer.createLocalHome(Enti tyContainer.java:618)
11:08:05,444 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
11:08:05,444 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
11:08:05,444 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
11:08:05,444 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
11:08:05,444 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invoca tion.java:359)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.EntityContainer$ContainerInterceptor .invokeHome(EntityContainer.java:1130)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHo me(AbstractInterceptor.java:105)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.EntitySynchronizationInterce ptor.invokeHome(EntitySynchronizationInterceptor.j ava:203)
11:08:05,444 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.invokeHome(CachedConnectionIntercep tor.java:189)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHo me(AbstractInterceptor.java:105)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.EntityInstanceInterceptor.in vokeHome(EntityInstanceInterceptor.java:134)
11:08:05,444 ERROR [STDERR] at org.jboss.ejb.plugins.EntityLockInterceptor.invoke Home(EntityLockInterceptor.java:76)
y sigue... |