Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error in Running Servlet from Client Side

 
Greenhorn
Posts: 27
Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Dishant, you didn't need to create a new topic for this one.

Let's continue this discussion here.
 
    Bookmark Topic Watch Topic
  • New Topic