You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by "Garriga, Ignasi" <ig...@roche.com> on 2023/04/14 12:03:52 UTC

Issue upgrading Nifi & Minifi to 1.20

Hi all,

We're trying to upgrade versions of Apache Nifi 1.7.0 with Minifi 0.5.0 to
the latest embedded version 1.20.0.
We have some custom nars that when we add to the project there are problems
with the Classloader and bundle not found:

ERROR [main] o.a.n.n.StandardExtensionDiscoveringManager Could not
instantiate class of type
org.apache.nifi.processors.standard.JoltTransformJSON using ClassLoader for
bundle default:unknown:unversioned because the bundle could not be found


In the following pictures I share with you the docker-compose that we use
to create an image and all libraries that we use to compile. It can help to
identify something or give a clue to find the solution.

pm-data-pipeline:
    image: apache/nifi-minifi:1.20.0
    restart: always
    hostname: pm-data-pipeline
    container_name: pm-data-pipeline
    environment:
      - NIFI_WEB_HTTPS_PORT=9443
    ports:
      - "8080:8080"
      - "9443:9443"
    volumes:
      - ../../../assets/templates/nMonFlow.yml:/opt/minifi/minifi-1.20.0/conf/config.yml
      - ../../../assets/nifi-invoke-igw-nar-1.6.0.nar:/opt/minifi/minifi-1.20.0/lib/nifi-invoke-igw-nar-1.6.0.nar
      - ../../../assets/pm-data-pipeline-ssl-context-service-nar-1.0.0.nar:/opt/minifi/minifi-1.20.0/lib/pm-data-pipeline-ssl-context-service-nar-1.0.0.nar
      - ../../../assets/nifi-amqp-nar-1.20.0.nar:/opt/minifi/minifi-1.20.0/lib/nifi-amqp-nar-1.20.0.nar


[image: image.png]


Thank you in advance for your support and don't hesitate to contact us if
you need more information .

Regards,

*--*
*Ignasi Garriga Sala*


-- 
*--*

*Ignasi Garriga Sala* Coagulation Software Developer

Roche Diagnostics SL
Patient Care POC
Av. de la Generalitat, 171-173
E-08174 Sant Cugat del Vallès

M +34 619 048 267
*ignasi.garriga@roche.com* <ignasi.garriga@roche.com;>

roche.es <https://diagnostics.roche.es> | AularioRoche
<https://aulario.roche.es> | RocheDialog
<https://dialogportal.roche.com/dialog/es/es/e-services> | Twitter
<https://twitter.com/roche_es> | YouTube <https://www.youtube.com/roche> |
Facebook <https://www.facebook.com/RocheCareers> | LinkedIn
<https://www.linkedin.com/company/roche/life/00767e3f-4bc3-4a46-8d0c-6403d07511a4/>

*Confidencialidad* - Este mensaje ha sido dirigido sólo al destinatario o a
los destinatarios mencionados y puede contener información confidencial y/o
de uso restringido a profesionales de la salud, en cuyo caso su remisión a
terceros que no sean profesionales de la salud no está permitida. Si usted
tiene dudas respecto a quién puede remitir este mensaje y/o la información
que contiene, por favor, consulte con su remitente. Si usted no debería
haber recibido este correo o piensa que el destinatario es incorrecto, por
favor contacte con el remitente y borre este mensaje. El uso no autorizado
de la información contenida en este mensaje está prohibido.

*Protección de datos* - Roche Diagnostics, S.L.U. (con domicilio en Avda.
de la Generalitat, 171-173, 08174 Sant Cugat del Vallès, Barcelona) es el
responsable del tratamiento de sus datos de contacto corporativos con el
fin de poder mantener relaciones con usted o con la empresa, entidad y
organización para la cual usted trabaja o colabora. Para obtener más
información sobre cómo tratamos sus datos y cómo ejercer sus derechos,
consulte nuestra política de privacidad
<https://go.roche.com/politicadeprivacidad>.