cancel
Showing results for 
Search instead for 
Did you mean: 

Error after Deploying a new Entity Service

Former Member
0 Kudos

After deploying an entity service and testing it via the testtool the following error occured. Do you have an idea about the reason for this strange behaviour?

Thanks in advance.

ERROR. Exception thrown in method create. The transaction is marked for rollback.: javax/jdo/InstanceCallbacks -


Loader Info -


ClassLoader name: [siemens.com/sm3kshtlog] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/cafcore library:cafmetamodellib library:cafruntimeapilib sap.com/cafruntimeear Resources: C:\usr\sap\P7D\JC00\j2ee\cluster\server0\apps\siemens.com\sm3kshtlog\EJBContainer\clientjars\clientsiemens.comsm3kshtlogejbmodule.jar C:\usr\sap\P7D\JC00\j2ee\cluster\server0\apps\siemens.com\sm3kshtlog\EJBContainer\applicationjars\siemens.comsm3kshtlogejbmodule.jar C:\usr\sap\P7D\JC00\j2ee\cluster\server0\apps\siemens.com\sm3kshtlog\src.zip Loading model: {parent,references,local} -


The error occurred while trying to load "com.siemens.sm3k.shtlog.besrv.sigdatsource.SigDatSourceJDO".:

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Make sure that you have permission turned off for your entities. You check this by going to permission tab of each entity.

Former Member
0 Kudos

Hi Samir,

the permissions are off.

but we deleted some entity services before and created some new one?

Testing another entity service works fine, that means that the error is project specific and not a global one?

Any other ideas?

Jens

Former Member
0 Kudos

Yeah it might be specific instance where the metadata are not generated properly. I know that there is bug in SP9 that you can not create and delete in the same transaction. So make sure while creating entity make sure that you are just doing that and generating all code, after save meta-data.

Former Member
0 Kudos

Hi Samir,

you could be right...

it could be, that our metadata are inconsistent, because we had before problems with the automatic code generation.

What should we do, if we have such a inconsistency of our ejbmodule, dictionary and metadata model?

is there a way to repair the project?

Undeploy and Redeploy doesn't have an effect on this.

We cannot start again, because we put in 10days of development?

Thanks for any help.

Greetings Jens

Former Member
0 Kudos

Try doing following.

Close the NWDS

Go to the "t" folder under your .dtc directory, delete everything from there.

Launch NWDS --> Generate all project code --> Force Build all modules --> deploy it ( make sure all 5 modules are deployed properly)

and Test it.

Answers (1)

Answers (1)

former_member751941
Active Contributor
0 Kudos

Hi Jens,

You have deleted some entity service before creating new one. I think “Mata Data” is not refreshed properly. Right click on the Project and then “Reload” After that “Generate Modified Source Code” then Rebuild and deploy.

Regards,

Mithu

Former Member
0 Kudos

Hi Mithu, Hi Ghosh,

thanks for your input.

reloading and deleting the .t folder solved the prob.

Greetings Jens

Former Member
0 Kudos

sorry... correct is:

Hi Mithu, Hi Samir

sorry for that - it seems that i'm a little bit confused on friday

Greetings Jens