• Post Reply Bookmark Topic Watch Topic
  • New Topic

problems with CMR

 
sanj singh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I am working with Pramati Studio 3.0 SP1 and MySQL on Win 2000.I am trying out the CMR(Customer-Address) examples from chapter 6.I have created two tables...Customer and Address.The data gets inserted in the Customer table(except for the Address_ID) field but not in Address table and I aggeting this exception...

javax.ejb.NoSuchObjectLocalException: The record with the primary key value = 1 no longer exists in the database
at com.pramati.ejb.runtime.AddressLocalImpl_1669155595.__pramati_ejbLoad(AddressLocalImpl_1669155595.java:862)
at com.pramati.ejb.runtime.CMP20EntityBeanHandler.activate(CMP20EntityBeanHandler.java:202)
at com.pramati.ejb.runtime.CMP20EntityBeanHandler.lockEJB(CMP20EntityBeanHandler.java:408)
at com.pramati.ejb.runtime.BeanHandlerBase.preInvokeComponent(BeanHandlerBase.java:421)
at com.pramati.ejb.runtime.AddressLocalImpl_1669155595._pramati_impl_setStreet(AddressLocalImpl_1669155595.java:658)
at com.pramati.ejb.runtime.AddressLocalImpl_1669155595$9.run(AddressLocalImpl_1669155595.java:631)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:145)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:288)
at java.lang.reflect.Method.invoke(Native Method)
at com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.java:228)
at com.pramati.ejb.runtime.AddressLocalImpl_1669155595.__pramati_wrapper_setStreet(AddressLocalImpl_1669155595.java:626)
at com.pramati.ejb.runtime.AddressLocalImpl_1669155595.setStreet(AddressLocalImpl_1669155595.java:615)
at com.school.StudentBean.setAddress(StudentBean.java:79)
at com.pramati.ejb.runtime.StudentLocalImpl_937701714._pramati_impl_setAddress(StudentLocalImpl_937701714.java:153)
at com.pramati.ejb.runtime.StudentLocalImpl_937701714$2.run(StudentLocalImpl_937701714.java:122)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:145)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:288)
at java.lang.reflect.Method.invoke(Native Method)
at com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.java:228)
at com.pramati.ejb.runtime.StudentLocalImpl_937701714.__pramati_wrapper_setAddress(StudentLocalImpl_937701714.java:117)
at com.pramati.ejb.runtime.StudentImpl_937701714.setAddress(StudentImpl_937701714.java:81)
at ValidateServlet.doGet(ValidateServlet.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.pramati.web.interceptors.ServiceInterceptor$ServiceAction.run(ServiceInterceptor.java:250)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:145)
at java.lang.reflect.Method.invoke(Native Method)
at com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.java:130)
at com.pramati.web.interceptors.ServiceInterceptor.preProcess(ServiceInterceptor.java:138)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:47)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at com.pramati.web.interceptors.FilterInterceptor.process(FilterInterceptor.java:92)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:48)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:48)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:48)
at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at com.pramati.web.interceptors.core.DefaultProcessContainer.process(DefaultProcessContainer.java:84)
at com.pramati.web.core.WorkerThread.run(WorkerThread.java:53)
at com.pramati.web.core.AcceptorThread.run(AcceptorThread.java:93)

Can anybody help me please?
Regards
sanj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!