13 Replies Latest reply: Sep 5, 2014 12:58 PM by fshomou RSS

    UCM 11 : System code execution error. Illegal message string

    fshomou

      Hi,

      I am getting error while using GET_FILE Service :


      Protocol 4.0.30319.18444),POST!csSystemCodeExecutionError!$Illegal message string 'You are logged in as 'iw_test@testdom.inter'.'.
      intradoc.common.ServiceException:
        at intradoc.server.ServiceManager.onError(ServiceManager.java:758)
        at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:303)
        at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1355)
        at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1748)
        at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:223)
        at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
        at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
        at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
        at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1680)
        at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      Caused by: java.lang.AssertionError: !$Illegal message string 'You are logged in as 'iw_test@testdom.inter'.'.
        at intradoc.util.IdcMessageUtils.decodeMessageInternal(IdcMessageUtils.java:394)
        at intradoc.common.LocaleUtils.decodeMessageInternal(LocaleUtils.java:230)
        at intradoc.common.LocaleUtils.parseMessage(LocaleUtils.java:225)
        at intradoc.common.LocaleResources.localizeMessageEx(LocaleResources.java:546)
        at intradoc.common.LocaleResources.localizeMessage(LocaleResources.java:433)
        at contenttracker.server.ContentTrackerServiceFilter.doLogOutput(ContentTrackerServiceFilter.java:317)
        at contenttracker.server.ContentTrackerEndServiceRequestFilter.doFilter(ContentTrackerEndServiceRequestFilter.java:224)
        at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
        at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
        at intradoc.server.Service.executeFilter(Service.java:4253)
        at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:765)
        at intradoc.server.Service.doRequest(Service.java:1974)
        at intradoc.server.ServiceManager.processCommand(ServiceManager.java:486)
        at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)


        • 1. Re: UCM 11 : System code execution error. Illegal message string
          Jonathan Hult

          Does this happen for all users or just a specific user?

           

          What is the user's username/email address for the user that is failing?

           

          Does this happen for all content items or just a specific content item?

           

          Jonathan

          http://jonathanhult.com

          • 2. Re: UCM 11 : System code execution error. Illegal message string
            fshomou

            Does this happen for all users or just a specific user?

            for all users


            What is the user's username/email address?

            It is IIS application pool account in our domain


            Does this happen for all content items or just a specific content item?

            for all content items


            Thanks

            • 4. Re: UCM 11 : System code execution error. Illegal message string
              Mohan Basavarajappa

              Hi

               

              Are you able to login with users created in weblogic ldap/ local users of the ucm?

              This issue seems to be specific to some user accounts only. Seems like some values which aren't allowed are being passed and hence illegal argument string or parameters not matching.

              To get better ground on the problem, login with weblogic account and enable tracing (jps, systemdatabase) and while you login with another user ...kindly look into trace for detail. This might help uncover the details and find a solution.

              • 5. Re: UCM 11 : System code execution error. Illegal message string
                fshomou

                Hi,

                 

                thanks for your reply, i wanted also to mention that we are getting this error while calling GetFile-GetFileByName (UCM SOAP service) :

                "The request failed with HTTP status 502: Bad Gateway",

                , and in the UCM log we have :

                POST!csSystemCodeExecutionError!$Illegal message string 'You are logged in as 'iw_test@testdom.inter'.'.

                intradoc.common.ServiceException:

                • 6. Re: UCM 11 : System code execution error. Illegal message string
                  fshomou

                  Hi,

                   

                  thanks for your reply, i wanted also to mention that we are getting this error while calling GetFile-GetFileByName (UCM SOAP service) :

                  "The request failed with HTTP status 502: Bad Gateway",

                  , and in the UCM log we have :

                  POST!csSystemCodeExecutionError!$Illegal message string 'You are logged in as 'iw_test@testdom.inter'.'.

                  intradoc.common.ServiceException:

                  • 7. Re: UCM 11 : System code execution error. Illegal message string
                    Mohan Basavarajappa

                    Hi

                     

                    Please post the input values being passed for invoking GET_FILE service. Is this issue occurring for invocation of GET_FILE or only in some cases?

                    • 8. Re: UCM 11 : System code execution error. Illegal message string
                      fshomou

                      Hi,

                      Input values :

                                  GetFile proxy = new GetFile();

                                  proxy.Credentials = CredentialCache.DefaultCredentials;

                                  proxy.Timeout = 99999999;

                                  GetFileByNameResult result = proxy.GetFileByName("GED000000124287", "Latest", "Primary", null);

                       

                      This issue occurring for invocation of GET_FILE while the file is available in the UCM.

                      • 9. Re: UCM 11 : System code execution error. Illegal message string
                        Mohan Basavarajappa

                        Is this some custom written class, GetFile? Where are the user credentials being passed?

                        Can you post whole code is possible

                        • 10. Re: UCM 11 : System code execution error. Illegal message string
                          fshomou

                          The GetFile is not  a custom written class.

                          It is provided by UCM SOAP wsdl generation.

                           

                          <?xml version='1.0' encoding='utf-8' ?>

                          <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

                            xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

                            xmlns:s="http://www.w3.org/2001/XMLSchema"

                            xmlns:s0="http://www.stellent.com/GetFile/"

                            targetNamespace="http://www.stellent.com/GetFile/"

                            xmlns="http://schemas.xmlsoap.org/wsdl/">

                            <types>

                            <s:schema elementFormDefault="qualified" targetNamespace="http://www.stellent.com/GetFile/">

                            <s:element name="GetFileByID">

                            <s:complexType>

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="dID" type="s:int" />

                            <s:element minOccurs="0" maxOccurs="1" name="rendition" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="extraProps" type="s0:IdcPropertyList" />

                            </s:sequence>

                            </s:complexType>

                            </s:element>

                            <s:element name="GetFileByIDResponse">

                            <s:complexType>

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="GetFileByIDResult" type="s0:GetFileByIDResult" />

                            </s:sequence>

                            </s:complexType>

                            </s:element>

                            <s:complexType name="GetFileByIDResult">

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="unbounded" name="FileInfo" type="s0:FileInfo" />

                            <s:element minOccurs="0" maxOccurs="1" name="downloadFile" type="s0:IdcFile" />

                            <s:element minOccurs="0" maxOccurs="1" name="StatusInfo" type="s0:StatusInfo" />

                            </s:sequence>

                            </s:complexType>

                            <s:element name="GetFileByName">

                            <s:complexType>

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="dDocName" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="revisionSelectionMethod" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="rendition" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="extraProps" type="s0:IdcPropertyList" />

                            </s:sequence>

                            </s:complexType>

                            </s:element>

                            <s:element name="GetFileByNameResponse">

                            <s:complexType>

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="GetFileByNameResult" type="s0:GetFileByNameResult" />

                            </s:sequence>

                            </s:complexType>

                            </s:element>

                            <s:complexType name="GetFileByNameResult">

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="unbounded" name="FileInfo" type="s0:FileInfo" />

                            <s:element minOccurs="0" maxOccurs="1" name="downloadFile" type="s0:IdcFile" />

                            <s:element minOccurs="0" maxOccurs="1" name="StatusInfo" type="s0:StatusInfo" />

                            </s:sequence>

                            </s:complexType>

                            <s:complexType name="FileInfo">

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="dDocName" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dDocTitle" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dDocType" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dDocAuthor" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dSecurityGroup" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dDocAccount" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dID" type="s:int" />

                            <s:element minOccurs="0" maxOccurs="1" name="dRevClassID" type="s:int" />

                            <s:element minOccurs="0" maxOccurs="1" name="dRevisionID" type="s:int" />

                            <s:element minOccurs="0" maxOccurs="1" name="dRevLabel" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dIsCheckedOut" type="s:boolean" />

                            <s:element minOccurs="0" maxOccurs="1" name="dCheckoutUser" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dCreateDate" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dInDate" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dOutDate" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dStatus" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dReleaseState" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dFlag1" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dWebExtension" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dProcessingState" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dMessage" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dReleaseDate" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dRendition1" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dRendition2" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dIndexerState" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dPublishType" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dPublishState" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dDocID" type="s:int" />

                            <s:element minOccurs="0" maxOccurs="1" name="dIsPrimary" type="s:boolean" />

                            <s:element minOccurs="0" maxOccurs="1" name="dIsWebFormat" type="s:boolean" />

                            <s:element minOccurs="0" maxOccurs="1" name="dLocation" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dOriginalName" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dFormat" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dExtension" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="dFileSize" type="s:int" />

                            <s:element minOccurs="0" maxOccurs="1" name="CustomDocMetaData" type="s0:IdcPropertyList" />

                            </s:sequence>

                            </s:complexType>

                            <s:complexType name="StatusInfo">

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="statusCode" type="s:int" />

                            <s:element minOccurs="0" maxOccurs="1" name="statusMessage" type="s:string" />

                            </s:sequence>

                            </s:complexType>

                            <s:complexType name="IdcPropertyList">

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="unbounded" name="property" type="s0:IdcProperty" />

                            </s:sequence>

                            </s:complexType>

                            <s:complexType name="IdcProperty">

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="value" type="s:string" />

                            </s:sequence>

                            </s:complexType>

                            <s:complexType name="IdcFile">

                            <s:sequence>

                            <s:element minOccurs="0" maxOccurs="1" name="fileName" type="s:string" />

                            <s:element minOccurs="0" maxOccurs="1" name="fileContent" type="s:base64Binary" />

                            </s:sequence>

                            </s:complexType>

                            </s:schema>

                            </types>

                            <message name="GetFileByIDSoapIn">

                            <part name="parameters" element="s0:GetFileByID" />

                            </message>

                            <message name="GetFileByIDSoapOut">

                            <part name="parameters" element="s0:GetFileByIDResponse" />

                            </message>

                            <message name="GetFileByNameSoapIn">

                            <part name="parameters" element="s0:GetFileByName" />

                            </message>

                            <message name="GetFileByNameSoapOut">

                            <part name="parameters" element="s0:GetFileByNameResponse" />

                            </message>

                            <portType name="GetFileSoap">

                            <operation name="GetFileByID">

                            <input message="s0:GetFileByIDSoapIn" />

                            <output message="s0:GetFileByIDSoapOut" />

                            </operation>

                            <operation name="GetFileByName">

                            <input message="s0:GetFileByNameSoapIn" />

                            <output message="s0:GetFileByNameSoapOut" />

                            </operation>

                            </portType>

                            <binding name="GetFileSoap" type="s0:GetFileSoap">

                            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />

                            <operation name="GetFileByID">

                            <soap:operation soapAction="http://www.stellent.com/GetFile/" style="document" />

                            <input>

                            <soap:body use="literal" />

                            </input>

                            <output>

                            <soap:body use="literal" />

                            </output>

                            </operation>

                            <operation name="GetFileByName">

                            <soap:operation soapAction="http://www.stellent.com/GetFile/" style="document" />

                            <input>

                            <soap:body use="literal" />

                            </input>

                            <output>

                            <soap:body use="literal" />

                            </output>

                            </operation>

                            </binding>

                            <service name="GetFile">

                            <port name="GetFileSoap" binding="s0:GetFileSoap">

                            <soap:address location="http://" />

                            </port>

                            </service>

                          </definitions>

                          • 11. Re: UCM 11 : System code execution error. Illegal message string
                            Mohan Basavarajappa

                            i've not tried this approach earlier. Have you tried invoking the GET_FILE to fetch the same file using RIDC client? That might help you to find root cause of this issue.

                            • 12. Re: UCM 11 : System code execution error. Illegal message string
                              fshomou

                              My code (my approach) was working perfectly and suddenly we are getting these errors :

                              - llegal message string

                              - 502 badgetway

                              • 13. Re: UCM 11 : System code execution error. Illegal message string
                                fshomou

                                1- My code .NET (my approach) was working perfectly and suddenly we are getting these errors :

                                - llegal message string

                                - 502 badgetway


                                2- I can't use RIDC  with .NET.