• Post Reply 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

Eclipse Modelling Framework - Issue - V.urgent

 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I created EMF project thru WebSphere Application Developer(WSAD). I created simple jsp page, it has drop-down box. Drop down has .xml files. (It's my TestSuite name eg: hai.xml).
When i select particular testsuite name(hai.xml), it pass my absolute path with my testsuite name to our own TestHarness framework.
When i select particular testsuite name(hai.xml) and subit the particular suit, it throws the exception :

I have xmlParserAPPs.jar, xercesImpl.jar, resources.jar, common.jar, ecore.jar, ecore.xmi.jar, runtime.jar in my classpath.

Those StackTrace details :

[8/11/05 11:51:00:926 IST] 42cce7e5 WebGroup I SRVE0180I: [Web] [/Web] [Servlet.LOG]: /result.jsp: init
[8/11/05 11:51:01:457 IST] 42cce7e5 WebGroup E SRVE0026E: [Servlet Error]-[org.eclipse.emf.ecore.impl.EPackageImpl: method initEAttribute(Lorg/eclipse/emf/ecore/EAttribute;Lorg/eclipse/emf/ecore/EClassifier;Ljava/lang/String;Ljava/lang/String;IIZZZZZZ)Lorg/eclipse/emf/ecore/EAttribute; not found]: java.lang.NoSuchMethodError: org.eclipse.emf.ecore.impl.EPackageImpl: method initEAttribute(Lorg/eclipse/emf/ecore/EAttribute;Lorg/eclipse/emf/ecore/EClassifier;Ljava/lang/String;Ljava/lang/String;IIZZZZZZ)Lorg/eclipse/emf/ecore/EAttribute; not found
at org.apache.jsp._result._jspService(_result.java:93)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

Note : But same application works fine as stand-alone application.
Problem started when i change to web application.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please don't post the same question to multiple forums. I deleted the copy you posted in "Other Open Source Projects."

It looks to me as if you've just got a different version of EMF installed in your app server than the version you're developing against.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic