Java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicati

Hi,
I have an application which is executing properly in jboss 3.2.5 but as we are trying to upgrade the jboss version i am getting above mentioned error.
The application is deployed in jboss as an ear file and the ear contains one jar file that has been removed from the ear and still i am getting this error.
I am posting the full stack trace over here.
ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
        at org.apache.jsp.Jsp.Common.logout_jsp._jspInit(logout_jsp.java:22)
        at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
        at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:158)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at clime.messadmin.filter.MessAdminFilter.doFilter(MessAdminFilter.java:104)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:595)It is happening in logout.jsp, but all other main jsp's are working properly ( login.jsp etc ).
I am posting the jsp code over here.
<html>
<head>
       <script language="JavaScript">
     function init()  {
       window.history.forward(1);
   </script>
  </head>
<body  onLoad="init();" >
  <%@ page language="java" %>
  <%@ page isThreadSafe="true" %>
    <%
     session.invalidate();
     response.sendRedirect("../../logout.html");
%>
</body>
</html>Please guide me to solve the issue.

evnafets wrote:
My guess would be that you have some of the servlet classes deployed with your application.
Yes.
Any jar files that contain the javax.servlet.* packages should NOT be part of a web application, but are intended to be on the server.
First up all there is no such jar files.
Common candidates:
servlet.jar
servlet-api.jar
j2ee.jar
All those jars are in lib directory of my app server. I have jsp-api and servlet-api.jar as i am using embedded tomcat 6 in jboss appsever.
Check the WEB-INF/lib directory of your web application to see that there are none of those there.
Nothing similar deployed in your ear file?I have extracted my application ear , jar and war then when i checked i found one jar file inside the war but in that no servlet*.jarr files. It is my application oriented files only. I have deleted this ar files and then i executedi am getting same error. Is there any way to find out the exact issue ????.
Regards
Rasa

Similar Messages

  • Java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext:

     

              I Have exactly the same error and I would like to have a solution.....
              It happens when weblogic tries to compile a jsp page.
              So the result on the browser is the original jsp page: The jsp tags are not parsed.
              This problem exists on my Weblogic 4.5.1 sp11 (on unix) nut not on my weblogic 4.5.2 NT ?
              Any idea ?
              Thanks.
              Chris Opacki <[email protected]> wrote:
              >Has anyone had this error and found a way to fix it?
              >
              >java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext: method
              ><init>(Ljavax/servlet/jsp/JspFactory;)V not found
              

  • Java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.

    Hi ..
    i make a simple struts application for login check which when i try to run tomcat i got the following error
    i have installed Apache Tomcat/5.5.17, jdk1.5.0_09, eclipse 3.2
    please tell me whats wrong with configuration
    becoz same code working fine well in different machin..........
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
         org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:576)
         org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17

    Could you include the content of your JSP page?

  • Java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo. ini

    Hi,
    I encountered this error when first deploying my Web App in the Apache Tomcat 5.5.7 Manager and launching my login .jsp:
    Any ideas? *.tld files?
    Thsiis a vendors *.war file so I am very unsure of code(jsp's) used.
    Need more info?
    Please let me know.
    TIA!
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    Aug 3, 2005 4:40:44 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:568)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:179)
    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)

    Hi,
    Apparently changig the CLASSPATH did the trick.(changing path to servlet-api.jar)
    We can view the JSP's in the WAR file now without exceptions, able to use the Logon.jsp page now.
    Else, Thanks for the insight to looking inside the WAR file...
    [root@msnweb webapps]# jar tvf optix-web.war | grep -i "api"
    124720 Thu Aug 04 13:09:28 CDT 2005 WEB-INF/lib/xml-apis.jar
    [root@msnweb webapps]# jar tvf optix-web.war | grep -i "servlet"
    11930 Thu Aug 04 13:09:26 CDT 2005 WEB-INF/classes/DataStreamServlet.class
    5203 Thu Aug 04 13:09:26 CDT 2005 WEB-INF/classes/DeleteFolderItemServlet.class
    12307 Thu Aug 04 13:09:26 CDT 2005 WEB-INF/classes/OpenObjectServlet.class
    66697 Thu Aug 04 13:09:28 CDT 2005 WEB-INF/lib/servlet-lib.jar
    I just looked in the /Webapps dir where Tomcat extracted the *.war file and put the JSP's, that correct as well?

  • Error:java.lang.NoSuchMethodError:javax.servlet.jsp.tagext.TagAttributeInfo

    Hi All,
    I am getting the following error when i create a jsf jsp page and build it in jdeveloper.
    Error:java.lang.NoSuchMethodError:javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    when i build the application by simply creating jsp not jsf jsp then it works well.
    Could you any tell me how to fix this? i searched in forums but i didn't find relevant solution.
    Thanks,
    Udhaya

    Hi!
    Can you tell us what version of JDeveloper you are using, and what steps you took to create the JSF page? Like, write from scratch or use the JSF page wizard?
    Also, can you check your project properties, and check that the JSF libraries are included, and JSF tag libraries set up?
    Regards,
    Jeroen van Veldhuizen

  • Error 500--Internal Server Error  java.lang.RuntimeException: javax.servlet

    Hi,
    I am following the tutorial which is given in Tutorial for Oracle WebCenter Developers.pdf i am at step 3 , i am using document library service in my page. BUt when i am running the page, the page get opens and it shows the following error:
    Error 500--Internal Server Error java.lang.RuntimeException: javax.servlet.jsp.el.ELException.
    the details of the error are shown below:
    java.lang.RuntimeException: javax.servlet.jsp.el.ELException: Encountered "\u2019", expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>, <STRING_LITERAL>, "true", "false", "null", "(", "-", "not", "!", "empty", <IDENTIFIER>]
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateInternal(OracleExpressionEvaluatorImpl.java:85)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:51)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:115)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:72)
         at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:788)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1403)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1452)
         at oracle.adf.model.binding.DCParameter.internalEvaluateExpresion(DCParameter.java:183)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:98)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.initializeParams(DCTaskFlowBinding.java:549)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:320)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:281)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:129)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:90)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:116)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3038)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:80)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.servlet.jsp.el.ELException: Encountered "\u2019", expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>, <STRING_LITERAL>, "true", "false", "null", "(", "-", "not", "!", "empty", <IDENTIFIER>]
         at org.apache.commons.el.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:320)
         at oracle.jsp.el.OracleExpressionEvaluator.parseExpression(Unknown Source)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateInternal(OracleExpressionEvaluatorImpl.java:78)
         ... 64 more
    Kindly suggest me.
    Thanks.

    There may be a problem with the encoding of the single quotes in the connectionName and startFolderPath parameters of the task flow binding. I had the same problem when I copied and pasted the values from the pdf version of the tutorial.
    Try this:
    Select the "Bindings" tab of "MyPage.jspx".
    Double click on "taskFlow - doclibdocumentLibrary1"
    Replace the single quotes in the values by re-typing them.
    The tutorial uses these values:
    ${’MyTutorialContent’}
    ${'/Manuals'}

  • Weblogic 4.5.1 intermittent exception java.lang.ClassCastException: javax.servlet.http.NoBodyOutputStream

    When running weblogic 4.5.1 on our staging server we get the following
    exceptions happening intermitently
    Our other servers have identical code and properties files and they are fine
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <ServletContext-Servlets> Servlet
    failed with RuntimeException
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <ServletContext-Servlets>
    java.lang.ClassCastException: javax.servlet.http.NoBodyOutputStream
    at weblogic.servlet.FileServlet.sendFile(Compiled Code)
    at weblogic.servlet.FileServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.doHead(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <HTTP> Servlet request terminated
    with IOException:
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <HTTP> java.net.ProtocolException:
    Exceeded stated content-length of: 1230 bytes
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.net.ProtocolException.<init>(Compiled Code)
    at weblogic.servlet.internal.ServletOutputStreamImpl.print(Compiled Code)
    at javax.servlet.ServletOutputStream.println(ServletOutputStream.java:252)
    at
    weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.
    java:307)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    Any ideas ?

    When running weblogic 4.5.1 on our staging server we get the following
    exceptions happening intermitently
    Our other servers have identical code and properties files and they are fine
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <ServletContext-Servlets> Servlet
    failed with RuntimeException
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <ServletContext-Servlets>
    java.lang.ClassCastException: javax.servlet.http.NoBodyOutputStream
    at weblogic.servlet.FileServlet.sendFile(Compiled Code)
    at weblogic.servlet.FileServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.doHead(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <HTTP> Servlet request terminated
    with IOException:
    Tue Jul 11 12:03:53 GMT+01:00 2000:<E> <HTTP> java.net.ProtocolException:
    Exceeded stated content-length of: 1230 bytes
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.net.ProtocolException.<init>(Compiled Code)
    at weblogic.servlet.internal.ServletOutputStreamImpl.print(Compiled Code)
    at javax.servlet.ServletOutputStream.println(ServletOutputStream.java:252)
    at
    weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.
    java:307)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
    Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    Any ideas ?

  • Having problems compiling *.java with import javax.servlet.jsp......

    I've been trying to do the tutorials in a book titled Apache Jakarta-Tomcat as part of my introduction to JSP. I'm new to Java but do know the basics. I have on my machine Java 1.3, Java 1.4, Java FrameWorks 2.1 and Jython 2.1 on Win2000 Pro. So enough about my configuration. I have never worked with packages also.
    I downloaded the files from the books site due to the fact I make a lot of typos when hand coding Java (I've become a pretty good debugger of my own code). But everytime I go to compile the *.java I get error messages. So below you will find HelloTag.java and beneath that the error messages that are thrown when I try and compile it. I tested other bits of *.java and have had no problem compiling them. Is there a JSP module I'm missing?
    Am I doing something wrong or am I missing something from my configuration.
    Marijan Madunic
    package chapter2;
    import javax.servlet.jsp.JspException;
    import javax.servlet.jsp.JspTagException;
    import javax.servlet.jsp.tagext.TagSupport;
    public class HelloTag extends TagSupport
    public void HelloTag() {
    // Method called when the closing hello tag is encountered
    public int doEndTag() throws JspException {
    try {
    // We use the pageContext to get a Writer
    // We then print the text string Hello
    pageContext.getOut().print("Hello");
    catch (Exception e) {
    throw new JspTagException(e.getMessage());
    // We want to return SKIP_BODY because this Tag does not support
    // a Tag Body
    return SKIP_BODY;
    public void release() {
    // Call the parent's release to release any resources
    // used by the parent tag.
    // This is just good practice for when you start creating
    // hierarchies of tags.
    super.release();
    D:\Java\JDK 1.3\bin>javac HelloTag.java
    HelloTag.java:3: cannot resolve symbol
    symbol : class JspException
    location: package jsp
    import javax.servlet.jsp.JspException;
    ^
    HelloTag.java:4: cannot resolve symbol
    symbol : class JspTagException
    location: package jsp
    import javax.servlet.jsp.JspTagException;
    ^
    HelloTag.java:5: cannot resolve symbol
    symbol : class TagSupport
    location: package tagext
    import javax.servlet.jsp.tagext.TagSupport;
    ^
    HelloTag.java:7: cannot resolve symbol
    symbol : class TagSupport
    location: class chapter2.HelloTag
    public class HelloTag extends TagSupport
    ^
    HelloTag.java:14: cannot resolve symbol
    symbol : class JspException
    location: class chapter2.HelloTag
    public int doEndTag() throws JspException {
    ^
    HelloTag.java:20: cannot resolve symbol
    symbol : variable pageContext
    location: class chapter2.HelloTag
    pageContext.getOut().print("Hello");
    ^
    HelloTag.java:24: cannot resolve symbol
    symbol : class JspTagException
    location: class chapter2.HelloTag
    throw new JspTagException(e.getMessage());
    ^
    HelloTag.java:28: cannot resolve symbol
    symbol : variable SKIP_BODY
    location: class chapter2.HelloTag
    return SKIP_BODY;
    ^
    HelloTag.java:37: cannot resolve symbol
    symbol : variable super
    location: class chapter2.HelloTag
    super.release();
    ^
    9 errors

    Well, it looks like you've not got the servlet development kit JAR on your classpath. I think it'll probably be called servlet.jar on your system. Add that to the classpath if it's not already there.
    Incidentally, you've bumped into one of the areas Java's slightly lenient - declaring a method that looks like a constructor:
    public HelloTag() { }
    public void HelloTag() { }The first is a constructor, the second is a normal method. I'm assuming you intended to have the former instead of the latter.
    Anyway, hope this helps.

  • Javax.servlet.jsp.tagext.TagAttributeInfo. init (Ljava/lang/String;ZLjava/l

    In jDeveloper 10.1.3, using the cue card sample - Build a JSP, Struts, and Orcale TopLink application, I get the following error when trying to run the welcome.jsp page.
    Error: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    I am using the default installation and everything every Java topic on Google about this error has to do with Tom Cat which I am not using.

    Here's the error stack.
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Lj
    ava/lang/String;ZLjava/lang/String;ZZ)V
    at oracle.jsp.parse.XMLUtil.elemToAttr(XMLUtil.java:1664)
    at oracle.jsp.parse.XMLUtil.elemToTagInfo(XMLUtil.java:1449)
    at oracle.jsp.parse.XMLUtil.domDocToTagLib(XMLUtil.java:1256)
    at oracle.jsp.parse.XMLUtil.scanWebFilesTLD(XMLUtil.java:665)
    at oracle.jsp.parse.XMLUtil.getTagLib(XMLUtil.java:927)
    at oracle.jsp.parse.JspDirectiveTaglib.createAndRegisterTagLib(JspDirect
    iveTaglib.java:156)
    at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTa
    glib.java:335)
    at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseT
    agDirective.java:171)
    at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1466)
    at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java
    :383)
    at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:1008)
    at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:243)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:483)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:560)
    at oracle.jdevimpl.webapp.jsp.JspCompiler.translatePage(JspCompiler.java
    :345)
    at oracle.jdevimpl.webapp.jsp.JspCompiler.translate(JspCompiler.java:193
    at oracle.jdevimpl.webapp.jsp.JspTranslator.translate(JspTranslator.java
    :194)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGrap
    h(UnifiedBuildSystem.java:300)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProj
    ectFiles(UnifiedBuildSystem.java:516)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProj
    ect(UnifiedBuildSystem.java:608)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(
    UnifiedBuildSystem.java:665)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(Unifi
    edBuildSystem.java:893)

  • I am getting servlet exception(javax.servlet.jsp.tagext.TagAttributeInfo)

    javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    root cause
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
         org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:576)
         org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)VThat method was available during compilation, but not during runtime. Make sure that the JAR's in the classpath during compilation are the same as the JAR's in the classpath during runtime.

  • ServletException: javax.servlet.jsp.tagext.TagInfo

    I'm getting the following exception trying to load a simple tag into a jsp page. Can anybody point me in the right direction since I've searched everywhere and can't find any references to the cause of this error.
    As far as I can find out TagInfo is called at page translation time and I'm thinking this class is in the servlet.jar api which I have version 2.2 of and don't see any newer versions on suns site.
    Thanks for any help.
    exception
    javax.servlet.ServletException: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    root cause
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:469)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:291)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:205)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
         org.apache.jasper.compiler.Parser.parse(Parser.java:171)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:258)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    You have a servlet.jar version2.2?
    servlet.jar comes with your servlet container. You don't download it seperately. You have to upgrade your entire server.
    Servlet spec version 2.2 (JSP1.1) is fairly old now - That comes with Tomcat3.
    Which webserver are you using, and which version?
    And what version of TLD are you working with?
    What it sounds like is that you are using TLD version which was specified for Servlet2.3/JSP1.2, and as such won't run with your server.
    Suggestions
    1 - upgrade your servlet container.
    2 - if thats not possible, use the older syntax for the TLD file.
    Hope this helps,
    evnafets

  • ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTagStatus

    In JSF2, writing facelets I tried to use <ui:repeat> tag instead of <c:forEach> - JSTL tag.
    I get -> java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTagStatus
    Here is my facelet snippet ...
    <ui:repeat value="#{historyCenterManagedBean.purchases}" var="order" >
             <tr>
                 <td>
                    #{order.totalPriceBeforeDiscounts}:
                 </td>
                 <td>
                    #{order.person.firstname}
                  </td>           
             </tr>
        </ui:repeat>I am not sure why am I getting it. Any help is appreciated.

    Hmm, Thanks Ryan. I am still confused.
    I am not clearly understanding why would c:forEach fail? And this is happening after the nightly build jar of 20091216
    for example this is we have:
    <c:forEach var="partner" items="#{contentPartnersManagedBean.allAuthorizedContentPartners}" >
        <tr>
              <td><a href="#{contextPathManagedBean.contextPath}/about_us/providers_detail.jsf?pID=${partner.partnerId}"
                     class="# {portalSkinManagedBean.contentPortletSkin.normalTextStyle}">${partner.partnerName}
                     </a>
              </td>
       </tr>
    </c:forEach>This is the exception:
    javax.servlet.ServletException: javax/servlet/jsp/jstl/core/LoopTagStatus
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.legaledcenter.util.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:250)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.jscape.framework.galileo.support.upload.UploadFilter.doFilter(UploadFilter.java:71)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.faces.view.facelets.FaceletException: javax/servlet/jsp/jstl/core/LoopTagStatus
         at com.sun.faces.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:303)
         at com.sun.faces.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:672)
         at com.sun.faces.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:177)
         at com.sun.faces.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:113)
         at com.sun.faces.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:108)Thanks for responding.

  • ClassCastException: javax.servlet.jsp.jstl.fmt.LocalizationContext

    today i had the following exception, which blows my mind away. what can be wrong?
    java.lang.ClassCastException: javax.servlet.jsp.jstl.fmt.LocalizationContext
         at org.apache.taglibs.standard.tag.common.fmt.BundleSupport.getLocalizationContext(Ljavax.servlet.jsp.PageContext;)Ljavax.servlet.jsp.jstl.fmt.LocalizationContext;(BundleSupport.java:127)
         at org.apache.taglibs.standard.tag.common.fmt.MessageSupport.doEndTag()I(MessageSupport.java:152)
         at jsp_servlet._web_45_inf._jsp._templates.__template._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__template.java:235)environment: weblogic 8.1-sp4, jstl 1.0.6

    well the fact is that the JSPs are 100% correct. i'm migrating some legacy project, which builds, deploys and runs in its old state with no errors at all (and the old state is current PRO, so every bit of code is supposed to be correct). hence i presume it's not the JSPs that are wrong (because i never touched them), that's something else, probably the configuration of things, or conflicts between container libs and webapp libs, or sort of like that.
    so if this error doesn't ring a bell, then i'll try to fiddle around, i thought maybe that's something "famous" :).

  • Package javax.servlet.jsp does not exist.

    dear all!
    I've one program which import javax.servlet.jsp.* as one of the package to be used in
    the program, and I am using j2sdk 1.4.0_01 to compiled it.
    However I got this error message : package javax.servlet.jsp does not exist.
    Where does it wrong?.
    error message like :
    logisticslib.java:6: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    ^
    logisticslib.java:201: cannot resolve symbol
    symbol : class JspWriter
    location: class elogistic.db.logisticslib
    public void getServiceInfo(JspWriter out, String SQL) {

    You need a J2EE implementation, I recomemend Tomcat, you also need to put the .jar w/ the implementation in in your classpath.

  • Java.lang.AbstractMethodError: SOAPConnection.call(msg,end)

    Hi,
    I am trying to get a simple SOAP client running but am encountering the following error when I try to make the SOAP call:
    java.lang.AbstractMethodError: javax.xml.soap.SOAPConnection.call(Ljavax/xml/soap/SOAPMessage;Ljavax/xml/messaging/Endpoint;)Ljavax/xml/soap/SOAPMessage;
    I have checked the connection and it is an instance of com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection - how is the call method an abstract one?
    I thought that the com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory would create a connection with valid implementation of this method.
    Any ideas/help would be greatly appreciated
    Cheers

    FYI: here is the code that I am having the problems with:
    System.setProperty("javax.xml.soap.SOAPConnectionFactory",
    "com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory");
    // Obtain a connection factory and use it to create a connecion
    SOAPConnectionFactory scf = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = scf.createConnection();
    // Obtain a message factory and use it to create a SOAP envelope with header
    // and body elements already in it
    MessageFactory mf = MessageFactory.newInstance();
    SOAPMessage message = mf.createMessage();
    // Get the SOAPPart of the SOAP message which contains the SOAPHeader and
    // the SOAPBody
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPBody body = envelope.getBody();
    // Add content to the SOAPBody
    Name name = envelope.createName("Text");
    SOAPBodyElement bodyElement = body.addBodyElement(name);
    bodyElement.addTextNode("This is the text in the new text node!");
    URLEndpoint endpoint = new URLEndpoint "http://localhost:7001/SOAPReceiver/sr");
    SOAPMessage reply = connection.call(message, endpoint);

Maybe you are looking for