Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4861566

Regression: 88 saaj cts tests failing on latest S1AS8 nightly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 8.0pe
    • Fix Version/s: 1.0.1fcs
    • Component/s: other-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.0.1fcs
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Verified

      Description

      Regression: 88 saaj attachment related cts tests failing in S1AS8

      These tests all passed a few nightly builds back. The test dirctories that
      have failures are:

      saaj/api/javax_xml_soap/SOAPMessage
      saaj/api/javax_xml_soap/AttachmentPart
      saaj/ee/SendSyncReqRespMesg
      saaj/ee/SendVariousMimeAttachments
      saaj/ee/Standalone

      I have the run log and failure log in the attachment

      Most of the saaj cts tests failing are as a result of creating attachments.
      The bug appears to be with SOAPMessage.createAttachmentPart(DataHandler).

      The problem I think is where the S1AS8 appserver is storing the web application.
      It may not be at the context root expected which would explain why the tests fail.

      I isolated the problem to the folowing:

      When trying to create an attachment I am using the following:

      SOAPMessage.createAttachmentPart(DataHandler url)

      In my test the attachment lives at the context root of the text. So
      it would be here for this test: http://lobo:8000/SOAPMessage/attach.xml

      I don't think the s1as8 appserver is putting the context root here.

      Here is the exception. Below is the URL where the attachment is.
      When I call SOAPMessage.createAttachmentPart(url) it throws an
      exception.

      To reproduce the problem you need to get the cts and run the following tests:

      cd $TS_HOME/src/com/sun/ts/tests/saaj/api/javax_xml_soap/SOAPMessage
      tsant clean build runclient
      cd $TS_HOME/src/com/sun/ts/tests/saaj/api/javax_xml_soap/AttachmentPart
      tsant clean build runclient
      cd $TS_HOME/src/com/sun/ts/tests/saaj/ee/SendSyncReqRespMesg
      tsant clean build runclient

      In the attachment is the run log and fail log of the saaj tests failing.

      Create SOAPConnectionFactory object...
      Create SOAPConnection object...
      Create MessageFactory object...
      Here after call to SOAP_Util.setup()
      SOAP_Util:getMessageFactory
      Calling tsurl to create url
      URL=http://lobo:8000/SOAPMessage/attach.xml
      Before calling createAttachmentPart(DataHandler)
      <[SEVERE][j2eesdk1.4_beta2][][][15][org.apache.catalina.core.StandardWrapperValve][09.May.2003 09:16:13:453 EDT][Servlet.service() for servlet AddAttachmentPartTestServletName threw exception
      javax.servlet.ServletException
              at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:229)
              at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:149)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:282)
              at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
              at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:206)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
              at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
              at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
              at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
              at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
              at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:630)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
              at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
              at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
              at java.lang.Thread.run(Thread.java:536)


      ###@###.### 2003-05-09

        Attachments

          Activity

            People

            Assignee:
            duke J. Duke (Inactive)
            Reporter:
            aefreche Alan Frechette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: