Bookmark Topic Watch Topic
  • New Topic

Error in Running Servlet from Client Side

 
Dishant Verma
Greenhorn
Posts: 27
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
when I run my servlet from client side, I get the output on GlassFish 2.1 as:

"IOP01210246: (BAD_OPERATION) Bad operation from _invoke: fullSave"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 246 completed: No



Can someone help me in fixing this...?

Thanks in advance...
 
Dishant Verma
Greenhorn
Posts: 27
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
from a Servlet I am invoking a remote interface:
RemoteBean rb= (remoteBean)ic.lookup("BeanName");
rb.fullSave(demoDto);
if(demoDto != null )
{
out.println("<h3> Name :" +demoDto.getName() +"<br>");
out.println("Row Updted By :" +demoDto.getRowUpdatedBy()+"<br>");
out.println("Row Created Date :" +demoDto.getRowCreatedDate()+"<br>");
out.println("Row Status :" +demoDto.getRowStatus()+"<br>");
}

RemoteBean Interface:
public void fullSave(DemoDTO demoDto);

RemoteBean Implementation:
public void fullSave(DemoDTO demoDto)
{
Demo demo = null;
Mapper mapper = DozerBeanMapperSingletonWrapper.getInstance();
mapper.map(demoDto, demo);

DemoDao dd = new DemoDao();
dd.fullSave(demo);
}

DemoDao Interface:
void fullSave(Demo demo);

DemoDao Implementation:
{
EntityManager entityManager = null;
System.out.println("-------------Saving Workpackage-------------");
entityManager = JPAEntityManagerProvider.getEntityManager();
entityManager.getTransaction().begin();
entityManager.persist(workpackage);
entityManager.getTransaction().rollback();
System.out.println("-------------Transaction has been aborted-------------");
}


Now when I run Servlet:


I get the output on GlassFish 2.1 as:

"IOP01210246: (BAD_OPERATION) Bad operation from _invoke: fullSave"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 246 completed: No
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Dishant, you didn't need to create a new topic for this one.

Let's continue this discussion here.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic