You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Mikhail Sosonkin <mi...@synack.com> on 2017/03/10 05:52:17 UTC

Weird error in bootstrap log

Hey NiFi team,

I'm getting this error in the bootstrap log:

2017-03-10 05:37:13,330 ERROR [NiFi logging handler] org.apache.nifi.StdErr
[Error] :3355:26: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'transportProtocol'. One of '{inputPort, outputPort}'
is expected.

Seems to be preventing the webserver from starting:

HTTP ERROR: 404

Problem accessing /nifi. Reason:

    Not Found
Powered by Jetty:// 9.3.9.v20160517

Can you give any suggestions on how to debug?

Thanks,
Mike.

-- 
This email may contain material that is confidential for the sole use of 
the intended recipient(s).  Any review, reliance or distribution or 
disclosure by others without express permission is strictly prohibited.  If 
you are not the intended recipient, please contact the sender and delete 
all copies of this message.

Re: Weird error in bootstrap log

Posted by Mikhail Sosonkin <mi...@synack.com>.
James,

This was from 1.1.1.

Mike.

On Fri, Mar 10, 2017 at 12:54 PM, James Wing <jv...@gmail.com> wrote:

> Mikhail,
>
> Which version of NiFi are you running?
>
> Thanks,
>
> James
>
> On Fri, Mar 10, 2017 at 9:29 AM, James Wing <jv...@gmail.com> wrote:
>
>> Mikhail,
>>
>> This sounds like a known issue with the flow.xml schema validation, where
>> new elements have been added to NiFi that have not been updated in the XML
>> schema.  I believe they should be interpreted as warnings, rather than
>> errors.
>>
>> Schema for flow.xml outdated
>> https://issues.apache.org/jira/browse/NIFI-2907
>>
>>
>> Thanks,
>>
>> James
>>
>>
>> On Thu, Mar 9, 2017 at 10:25 PM, Mikhail Sosonkin <mi...@synack.com>
>> wrote:
>>
>>> I'll take this one back a little. The error with the web server seemed
>>> to have been an out of memory issue. But still curious about the bootstrap
>>> error.
>>>
>>> Thanks,
>>> Mike.
>>>
>>> On Thu, Mar 9, 2017 at 9:52 PM, Mikhail Sosonkin <mi...@synack.com>
>>> wrote:
>>>
>>>> Hey NiFi team,
>>>>
>>>> I'm getting this error in the bootstrap log:
>>>>
>>>> 2017-03-10 05:37:13,330 ERROR [NiFi logging handler]
>>>> org.apache.nifi.StdErr [Error] :3355:26: cvc-complex-type.2.4.a: Invalid
>>>> content was found starting with element 'transportProtocol'. One of
>>>> '{inputPort, outputPort}' is expected.
>>>>
>>>> Seems to be preventing the webserver from starting:
>>>>
>>>> HTTP ERROR: 404
>>>>
>>>> Problem accessing /nifi. Reason:
>>>>
>>>>     Not Found
>>>> Powered by Jetty:// 9.3.9.v20160517
>>>>
>>>> Can you give any suggestions on how to debug?
>>>>
>>>> Thanks,
>>>> Mike.
>>>>
>>>
>>>
>>> This email may contain material that is confidential for the sole use of
>>> the intended recipient(s).  Any review, reliance or distribution or
>>> disclosure by others without express permission is strictly prohibited.  If
>>> you are not the intended recipient, please contact the sender and delete
>>> all copies of this message.
>>>
>>
>>
>

-- 
This email may contain material that is confidential for the sole use of 
the intended recipient(s).  Any review, reliance or distribution or 
disclosure by others without express permission is strictly prohibited.  If 
you are not the intended recipient, please contact the sender and delete 
all copies of this message.

Re: Weird error in bootstrap log

Posted by James Wing <jv...@gmail.com>.
Mikhail,

Which version of NiFi are you running?

Thanks,

James

On Fri, Mar 10, 2017 at 9:29 AM, James Wing <jv...@gmail.com> wrote:

> Mikhail,
>
> This sounds like a known issue with the flow.xml schema validation, where
> new elements have been added to NiFi that have not been updated in the XML
> schema.  I believe they should be interpreted as warnings, rather than
> errors.
>
> Schema for flow.xml outdated
> https://issues.apache.org/jira/browse/NIFI-2907
>
>
> Thanks,
>
> James
>
>
> On Thu, Mar 9, 2017 at 10:25 PM, Mikhail Sosonkin <mi...@synack.com>
> wrote:
>
>> I'll take this one back a little. The error with the web server seemed to
>> have been an out of memory issue. But still curious about the bootstrap
>> error.
>>
>> Thanks,
>> Mike.
>>
>> On Thu, Mar 9, 2017 at 9:52 PM, Mikhail Sosonkin <mi...@synack.com>
>> wrote:
>>
>>> Hey NiFi team,
>>>
>>> I'm getting this error in the bootstrap log:
>>>
>>> 2017-03-10 05:37:13,330 ERROR [NiFi logging handler]
>>> org.apache.nifi.StdErr [Error] :3355:26: cvc-complex-type.2.4.a: Invalid
>>> content was found starting with element 'transportProtocol'. One of
>>> '{inputPort, outputPort}' is expected.
>>>
>>> Seems to be preventing the webserver from starting:
>>>
>>> HTTP ERROR: 404
>>>
>>> Problem accessing /nifi. Reason:
>>>
>>>     Not Found
>>> Powered by Jetty:// 9.3.9.v20160517
>>>
>>> Can you give any suggestions on how to debug?
>>>
>>> Thanks,
>>> Mike.
>>>
>>
>>
>> This email may contain material that is confidential for the sole use of
>> the intended recipient(s).  Any review, reliance or distribution or
>> disclosure by others without express permission is strictly prohibited.  If
>> you are not the intended recipient, please contact the sender and delete
>> all copies of this message.
>>
>
>

Re: Weird error in bootstrap log

Posted by James Wing <jv...@gmail.com>.
Mikhail,

This sounds like a known issue with the flow.xml schema validation, where
new elements have been added to NiFi that have not been updated in the XML
schema.  I believe they should be interpreted as warnings, rather than
errors.

Schema for flow.xml outdated
https://issues.apache.org/jira/browse/NIFI-2907


Thanks,

James


On Thu, Mar 9, 2017 at 10:25 PM, Mikhail Sosonkin <mi...@synack.com>
wrote:

> I'll take this one back a little. The error with the web server seemed to
> have been an out of memory issue. But still curious about the bootstrap
> error.
>
> Thanks,
> Mike.
>
> On Thu, Mar 9, 2017 at 9:52 PM, Mikhail Sosonkin <mi...@synack.com>
> wrote:
>
>> Hey NiFi team,
>>
>> I'm getting this error in the bootstrap log:
>>
>> 2017-03-10 05:37:13,330 ERROR [NiFi logging handler]
>> org.apache.nifi.StdErr [Error] :3355:26: cvc-complex-type.2.4.a: Invalid
>> content was found starting with element 'transportProtocol'. One of
>> '{inputPort, outputPort}' is expected.
>>
>> Seems to be preventing the webserver from starting:
>>
>> HTTP ERROR: 404
>>
>> Problem accessing /nifi. Reason:
>>
>>     Not Found
>> Powered by Jetty:// 9.3.9.v20160517
>>
>> Can you give any suggestions on how to debug?
>>
>> Thanks,
>> Mike.
>>
>
>
> This email may contain material that is confidential for the sole use of
> the intended recipient(s).  Any review, reliance or distribution or
> disclosure by others without express permission is strictly prohibited.  If
> you are not the intended recipient, please contact the sender and delete
> all copies of this message.
>

Re: Weird error in bootstrap log

Posted by Mikhail Sosonkin <mi...@synack.com>.
I'll take this one back a little. The error with the web server seemed to
have been an out of memory issue. But still curious about the bootstrap
error.

Thanks,
Mike.

On Thu, Mar 9, 2017 at 9:52 PM, Mikhail Sosonkin <mi...@synack.com> wrote:

> Hey NiFi team,
>
> I'm getting this error in the bootstrap log:
>
> 2017-03-10 05:37:13,330 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr [Error] :3355:26: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'transportProtocol'. One of
> '{inputPort, outputPort}' is expected.
>
> Seems to be preventing the webserver from starting:
>
> HTTP ERROR: 404
>
> Problem accessing /nifi. Reason:
>
>     Not Found
> Powered by Jetty:// 9.3.9.v20160517
>
> Can you give any suggestions on how to debug?
>
> Thanks,
> Mike.
>

-- 
This email may contain material that is confidential for the sole use of 
the intended recipient(s).  Any review, reliance or distribution or 
disclosure by others without express permission is strictly prohibited.  If 
you are not the intended recipient, please contact the sender and delete 
all copies of this message.