Re: Pluto and Deployment via the AdminPortlet
Christian Aguilar <[email protected]>
| Newsgroups | gmane.comp.jakarta.pluto.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Mark I've checked my temp directory and the file was there so surely my WAR file is wrong I will review my code and my config files, thanks a lot Mark for your suggestion Best Regards Bye On 12/10/05, Mark McLaren <[email protected]> wrote: > > I'm not sure if this is your problem but I once had a similar problem > where my Tomcat couldn't find a temporary directory to copy the War file > to (it seems to do this during deployment). I created ~TOMCAT_HOME/temp > and after that it worked fine. At the very least you could check your > "temp" directory to see if it was uploading the War file correctly and > if the uploaded file was valid.. > > Craig Doremus wrote: > > > > > Christian: > > > > It looks like you are not browsing to the war file properly. Click on > > the Help Mode link in the Deploy War Portlet for more information. > > > > There is also a HelloWorld Portlet here: > > http://people.apache.org/~cdoremus/pluto/portlets/ that works in Pluto. > > /Craig > > > >> Hi guys, I've installed the pluto-1.0.1 binary version, then I > >> developed my > >> hello world Portlet but when I try to deploy my helloworld.war using > the > >> Deploy War Admin Portlet that comes with the binary version I got the > >> following error in my log file, (when deploy my example manually all is > >> good). I've tryed in 2 computers one using linux and the another one > >> using > >> windows mmm I dont know where is my mistake. any ideas > >> > >> SEVERE: Error! > >> Input stream is null Underlying cause: > >> org.apache.pluto.portlet.admin.PlutoAdminException. Underlying cause > >> message: Input stream is null > >> at > >> > org.apache.pluto.portlet.admin.services.DeployWarService.processFileUpload > ( > >> > >> DeployWarService.java:184) > >> at > >> > org.apache.pluto.portlet.admin.controller.DeployWarPortlet.processAction( > >> > >> DeployWarPortlet.java:84) > >> at > >> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java > >> :229) > >> at > >> org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java > >> :163) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >> at > >> org.apache.pluto.core.PortletServlet.service(PortletServlet.java > >> :153) > >> at > >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > >> ApplicationFilterChain.java:252) > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter( > >> ApplicationFilterChain.java:173) > >> at org.apache.catalina.core.ApplicationDispatcher.invoke( > >> ApplicationDispatcher.java:672) > >> at org.apache.catalina.core.ApplicationDispatcher.doInclude( > >> ApplicationDispatcher.java:574) > >> at org.apache.catalina.core.ApplicationDispatcher.include( > >> ApplicationDispatcher.java:499) > >> at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke( > >> PortletInvokerImpl.java:120) > >> at org.apache.pluto.invoker.impl.PortletInvokerImpl.action( > >> PortletInvokerImpl.java:68) > >> at org.apache.pluto.PortletContainerImpl.processPortletAction( > >> PortletContainerImpl.java:164) > >> at > >> > org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction > >> > >> (PortletContainerWrapperImpl.java:82) > >> at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227) > >> at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >> at > >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > >> ApplicationFilterChain.java:252) > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter( > >> ApplicationFilterChain.java:173) > >> at org.apache.catalina.core.StandardWrapperValve.invoke( > >> StandardWrapperValve.java:213) > >> at org.apache.catalina.core.StandardContextValve.invoke( > >> StandardContextValve.java:178) > >> at org.apache.catalina.authenticator.AuthenticatorBase.invoke( > >> AuthenticatorBase.java:407) > >> at org.apache.catalina.core.StandardHostValve.invoke( > >> StandardHostValve.java:126) > >> at org.apache.catalina.valves.ErrorReportValve.invoke( > >> ErrorReportValve.java:105) > >> at org.apache.catalina.core.StandardEngineValve.invoke( > >> StandardEngineValve.java:107) > >> at org.apache.catalina.connector.CoyoteAdapter.service( > >> CoyoteAdapter.java:148) > >> at org.apache.coyote.http11.Http11Processor.process( > >> Http11Processor.java:856) > >> at > >> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection > >> > >> (Http11Protocol.java:744) > >> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( > >> PoolTcpEndpoint.java:527) > >> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( > >> LeaderFollowerWorkerThread.java:80) > >> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > ( > >> ThreadPool.java:684) > >> at java.lang.Thread.run(Thread.java:595) > >> Caused by: Input stream is null > >> at > >> > org.apache.pluto.portlet.admin.services.DeployWarService.createDeploymentArgs > >> > >> (DeployWarService.java:282) > >> at > >> > org.apache.pluto.portlet.admin.services.DeployWarService.processFileUpload > ( > >> > >> DeployWarService.java:154) > >> ... 34 more > >> > >> Thanks in advance guys > >> > >> Atte > >> *Xtian* > > > >