Re: Error deploy portlet (EAR)

Serge Huber <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi Nicolas,

If I understand correctly you've changed the Tomcat from the default 
packaged one. When we package we make some customizations to the Tomcat 
install so that Jahia can run. We have documented those here : 
http://www.jahia.org/jahia/Jahia/devzone/pid/454#15

Regards,
  Serge Huber.

Nicolas POIRIER wrote:

>  Hi,
>
> We have some error when deploy portlet :
> 1/ When we launch Jahia for the first time, in the administration we 
> couldn't see any deploy portlet : application list was empty.
> 2/ Then we tried to "manualy add a new portlet" (like 
> webclipping-ear-1.0.ear), but we have the following exception (with 
> debug logs) :
>
> 843057 [http-8080-Processor5] DEBUG - JahiaEarFileHandler:: 
> Constructor> error building the WebApssWarPackage
> org.jahia.exceptions.JahiaException: JahiaXmlDocument, Exception while 
> loading to the file
> E:\jahia405_build6020\tomcat\.\temp\jahia_temp49898 Network is 
> unreachable: connect, root cause:
> Network is unreachable: connect root cause=java.net.SocketException: 
> Network is unreachable: connect
>
> 843217 [http-8080-Processor5] ERROR - Failed handling webApps file
> 843217 [http-8080-Processor5] DEBUG - (PrintWriter s) called.
> 843297 [http-8080-Processor5] DEBUG - called.
>
> org.jahia.exceptions.JahiaException: JahiaEarFileHandler, error 
> building the JahiaWebAppsWar Package
>        at 
> org.jahia.data.webapps.JahiaEarFileHandler.<init>(JahiaEarFileHandler.java:88) 
>
>        at 
> org.jahia.services.webapps_deployer.JahiaWebAppsDeployerService.loadWebAppInfoFromEar(JahiaWebAppsDeployerService.java:518) 
>
>        at 
> org.jahia.services.webapps_deployer.JahiaWebAppsDeployerService.loadWebAppInfoFromFile(JahiaWebAppsDeployerService.java:453) 
>
>        at 
> org.jahia.services.webapps_deployer.JahiaWebAppsDeployerService.loadWebAppInfo(JahiaWebAppsDeployerService.java:355) 
>
>        at 
> org.jahia.admin.components.ManageComponents.addComponent(ManageComponents.java:915) 
>
>        at 
> org.jahia.admin.components.ManageComponents.userRequestDispatcher(ManageComponents.java:189) 
>
>        at 
> org.jahia.admin.components.ManageComponents.<init>(ManageComponents.java:139) 
>
>
> -- 
>
> Jahia version is jahia405_build6020
> We install the application one several PC, the same problem appeared
>
> Thanks,
> Nicolas Poirier
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.