• Post Reply Bookmark Topic Watch Topic
  • New Topic

help me to edit my post  RSS feed

 
ronak rayy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Moderator, Admin-

I need to edit my post, it contains some sensitive information which i do not want to publish due to privacy policy.

https://coderanch.com/t/671101/EJB-JEE/java/unable-create-UserTransaction-EJBContext-IllegalStateException

please help me in this regard.
 
Henry Wong
author
Sheriff
Posts: 23186
124
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

First, let's move this topic to the ranch office forum. And second, can you tell us what the sensitive information is?  I don't see any usernames and passwords being exposed.

Henry
 
ronak rayy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:
First, let's move this topic to the ranch office forum. And second, can you tell us what the sensitive information is?  I don't see any usernames and passwords being exposed.

Henry



I want to make the below changes, as it is showing the name of our customer-

1. in the code section, change the line below @Override to "public boolean createRole(String userId) throws Exception {"
2. in the logs section, replace them with the lines below


[28/09/16 10:04:53:121 BST] 000000d9 BusinessExcep E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "createRole" on bean "BeanId(XXX#XXXEJB.jar#DBQueryService, null)". Exception data: java.lang.IllegalStateException
at com.ibm.ejs.container.CMStatelessBeanO.getUserTransaction(CMStatelessBeanO.java:80)
at com.xxx.services.impl.DBQueryServiceImpl.createRole(Unknown Source)
at com.xxx.services.interfaces.EJSRemote0SLDBQueryService_eefe5a3e.createRole(EJSRemote0SLDBQueryService_eefe5a3e.java)
at com.xxx.services.interfaces._IDBQueryService_Stub.createRole(_IDBQueryService_Stub.java:1)
 
Tony Docherty
Bartender
Posts: 3234
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Done.
 
ronak rayy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tony Docherty wrote:Done.



Thank you so much team. Appreciate your prompt action.
 
Tony Docherty
Bartender
Posts: 3234
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ronak rayy wrote:
Tony Docherty wrote:Done.


Thank you so much team. Appreciate your prompt action.


Our pleasure and in this case it really was a team effort as both myself and Tim Moores made the requested changes at the same time - actually I was fractionally slower than Tim but managed to post here first.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!