{"id":540,"date":"2026-04-01T14:22:49","date_gmt":"2026-04-01T12:22:49","guid":{"rendered":"https:\/\/kb.systeamgroup.it\/?p=540"},"modified":"2026-04-01T14:22:51","modified_gmt":"2026-04-01T12:22:51","slug":"cu-xml-mancante","status":"publish","type":"post","link":"https:\/\/kb.systeamgroup.it\/?p=540","title":{"rendered":"cu.xml mancante"},"content":{"rendered":"\n<p><strong>User:<\/strong><\/p>\n\n\n\n<p>Ho un&#8217;application server Websphere 8.5 e, dopo aver effettuato il deploy di pacchetti EAR, all&#8217;avvio del pacchetto ottengo un errore simile a questo: [4\/1\/26 10:57:49:796 CEST] 000000f4 FileDocument&nbsp; E&nbsp;&nbsp; ADMR0104E: The system is unable to read document \/opt\/IBM\/WebSphere85\/AppServer\/profiles\/BEColl_AppSrv85_<br>01\/config\/temp\/download\/cells\/SDACollBackEndCell\/cus\/STP_EAR\/cver\/BASE\/cu.xml: java.io.IOException: No such file or directory.<\/p>\n\n\n\n<p><strong>Assistant:<\/strong><\/p>\n\n\n\n<p>L\u2019errore indica che WebSphere sta cercando un file di configurazione&nbsp;<strong>temporaneo<\/strong>&nbsp;(cu.xml) nella directory&nbsp;<em>config\/temp\/&#8230;<\/em>, ma il file&nbsp;<strong>non esiste pi\u00f9<\/strong>&nbsp;oppure la directory non \u00e8 stata creata correttamente durante il deploy.<\/p>\n\n\n\n<p>Questo tipo di errore ADMR0104E \u00e8 tipico in 3 casi:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>il deploy \u00e8 stato interrotto o incompleto\u00a0<\/li>\n\n\n\n<li>la directory\u00a0<em>config\/temp<\/em>\u00a0\u00e8 corrotta o contiene riferimenti obsoleti\u00a0<\/li>\n\n\n\n<li>il nodo non ha sincronizzato correttamente (in ambiente ND)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Come risolvere (procedura consigliata)<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Spegnere l&#8217;application server<\/strong>\u00a0relativo al pacchetto EAR.<\/li>\n\n\n\n<li><strong>Cancellare tutte le directory temporanee<\/strong>\u00a0di WebSphere:<ul><li><code>profiles\/&lt;profile>\/wstemp<\/code><\/li><li><code>profiles\/&lt;profile>\/temp<\/code><\/li><li><code>profiles\/&lt;profile>\/config\/temp<\/code><\/li><\/ul>Sono cache: WebSphere le ricrea automaticamente al riavvio.<\/li>\n\n\n\n<li><strong>(Se ambiente ND)<\/strong>\u00a0eseguire una sincronizzazione del nodo:\n<ul class=\"wp-block-list\">\n<li>dalla console:\u00a0<em>System administration \u2192 Nodes \u2192 Synchronize<\/em><\/li>\n\n\n\n<li>oppure via CLI:\u00a0<code>syncNode.sh &lt;dmgr_host> &lt;soap_port><\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Rieseguire il deploy dell\u2019EAR<\/strong>\n<ul class=\"wp-block-list\">\n<li>Cancella l&#8217;applicazione\u00a0<\/li>\n\n\n\n<li>Riaggiungi l\u2019EAR\u00a0<\/li>\n\n\n\n<li>Riesegui il deploy completo\u00a0<\/li>\n\n\n\n<li>Avvia<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Verificare permessi filesystem<\/strong><br>Assicurati che l\u2019utente WebSphere (di solito\u00a0<code>wasuser<\/code>) abbia:\n<ul class=\"wp-block-list\">\n<li>permessi di lettura\/scrittura su\u00a0<code>\/opt\/IBM\/WebSphere85\/AppServer\/profiles\/...<\/code><\/li>\n\n\n\n<li>permessi su filesystem temporanei<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Controllare che non ci siano riferimenti \u201ccustom\u201d errati nella cartella cus\/<\/strong><br>A volte customizations o estensioni creano riferimenti per risorse mancanti.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">In breve<\/h2>\n\n\n\n<p>WebSphere sta cercando un file temporaneo che&nbsp;<strong>non dovrebbe essere richiesto<\/strong>&nbsp;all\u2019avvio. Rimuovere cache\/temp e ridistribuire l\u2019EAR risolve quasi sempre.<\/p>\n\n\n\n<p>Vuoi che ti indichi quali log guardare per verificare se il deploy \u00e8 realmente completo?<\/p>\n\n\n\n<p><strong>User:<\/strong><\/p>\n\n\n\n<p>Come faccio ad individuare il profilo giusto ?<\/p>\n\n\n\n<p><strong>Assistant:<\/strong><\/p>\n\n\n\n<p>Il modo pi\u00f9 rapido \u00e8 controllare&nbsp;<strong>da dove parte il server<\/strong>&nbsp;e&nbsp;<strong>quale profilo lo contiene<\/strong>. Hai diverse opzioni.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Conoscere il profilo dal processo in esecuzione<\/h2>\n\n\n\n<p>Se l\u2019application server \u00e8 gi\u00e0 avviato:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Trova il PID del server:<code>ps -ef | grep java | grep WebSphere<\/code><\/li>\n\n\n\n<li>Nel comando vedrai un parametro simile a:<code>-Dwas.install.root=\/opt\/IBM\/WebSphere85\/AppServer -Dserver.root=\/opt\/IBM\/WebSphere85\/AppServer\/profiles\/BEColl_AppSrv85_01 <\/code>Il percorso dopo\u00a0<code>profiles\/<\/code>\u00a0<strong>\u00e8 il profilo corretto<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">2. Verificare i profili installati<\/h2>\n\n\n\n<p>Elenca i profili disponibili:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/opt\/IBM\/WebSphere85\/AppServer\/bin\n.\/manageprofiles.sh -listProfiles\n<\/code><\/pre>\n\n\n\n<p>Ti mostrer\u00e0 nomi come:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>BEColl_AppSrv85_01\u00a0<\/li>\n\n\n\n<li>Dmgr01\u00a0<\/li>\n\n\n\n<li>AppSrv01<\/li>\n<\/ul>\n\n\n\n<p>Identifichi il tuo cercando quello associato all\u2019application server in errore.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Controllare i file di log<\/h2>\n\n\n\n<p>Nell\u2019errore che hai mostrato c\u2019\u00e8 un indizio:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>profiles\/BEColl_AppSrv85_01\/...\n<\/code><\/pre>\n\n\n\n<p>Quindi il profilo \u00e8 quasi certamente&nbsp;<strong>BEColl_AppSrv85_01<\/strong>.<\/p>\n\n\n\n<p>Puoi cercare nei log:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>find \/opt\/IBM\/WebSphere85\/AppServer\/profiles -name SystemOut.log\n<\/code><\/pre>\n\n\n\n<p>Aprendo il log del server che d\u00e0 errore, vedrai nel percorso quale profilo lo contiene.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Guardare i file serverindex.xml<\/h2>\n\n\n\n<p>Ogni profilo ha un file che descrive i server al suo interno:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/opt\/IBM\/WebSphere85\/AppServer\/profiles\/&lt;profilo&gt;\/config\/cells\/*\/nodes\/*\/serverindex.xml\n<\/code><\/pre>\n\n\n\n<p>Dentro trovi i nomi dei server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;serverEntries serverName=\"STP_EAR\" ... &gt;\n<\/code><\/pre>\n\n\n\n<p>Se trovi il tuo server l\u00ec, hai trovato il profilo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Metodo pi\u00f9 semplice in assoluto<\/h2>\n\n\n\n<p>Esegui:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/opt\/IBM\/WebSphere85\/AppServer\/bin\/manageprofiles.sh -listProfiles\n<\/code><\/pre>\n\n\n\n<p>e individua quello che contiene il server cercando nel suo percorso:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/opt\/IBM\/WebSphere85\/AppServer\/profiles\/&lt;profilo&gt;\/logs\/\n<\/code><\/pre>\n\n\n\n<p>Vuoi indicarmi il nome esatto del server (ad es. server1, STP_EAR, ecc.) per identificare con precisione il profilo?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>User: Ho un&#8217;application server Websphere 8.5 e, dopo aver effettuato il deploy di pacchetti EAR, all&#8217;avvio del pacchetto ottengo un errore simile a questo: [4\/1\/26 10:57:49:796 CEST] 000000f4 FileDocument&nbsp; E&nbsp;&nbsp; ADMR0104E: The system is unable to read document \/opt\/IBM\/WebSphere85\/AppServer\/profiles\/BEColl_AppSrv85_01\/config\/temp\/download\/cells\/SDACollBackEndCell\/cus\/STP_EAR\/cver\/BASE\/cu.xml: java.io.IOException: No such file or directory. Assistant: L\u2019errore indica che WebSphere sta cercando un file di &hellip;<br \/><a href=\"https:\/\/kb.systeamgroup.it\/?p=540\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continua a leggere <span class=\"screen-reader-text\">cu.xml mancante<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[233],"tags":[235,236,237,238,239,234],"class_list":["post-540","post","type-post","status-publish","format-standard","hentry","category-websphere","tag-cache","tag-deploy","tag-ear","tag-temp","tag-wstemp","tag-xml"],"_links":{"self":[{"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=\/wp\/v2\/posts\/540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=540"}],"version-history":[{"count":1,"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=\/wp\/v2\/posts\/540\/revisions"}],"predecessor-version":[{"id":541,"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=\/wp\/v2\/posts\/540\/revisions\/541"}],"wp:attachment":[{"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.systeamgroup.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}