Foros de discusión

Sample Portlet Classpath/build/ant problems

thumbnail
trav trav, modificado hace 18 años.

Sample Portlet Classpath/build/ant problems

Junior Member Mensajes: 63 Fecha de incorporación: 25/07/05 Mensajes recientes
following <br /><a href='http://cstsolaris.cst.nait.ab.ca/ist410/gerry/liferay/development/starter.jsp' target='_blank'>http://cstsolaris.cst.nait.ab.ca/ist410/ge...ent/starter.jsp</a><br /><br />I&#39;ve been trying to put a custom portlet into Liferay, I&#39;ve been messing around for a while and have gotten it to put it in the deploy folder in it&#39;s own war file (is it supposed to be separate to the ext.ear folder? prefixed with 1 (is that the id?)<br /><br />When I start the server I get a ClassNotFoundException for the ClientStrutsPortlet file, I&#39;ve checked and the file is there, so I&#39;m guessing the classpath is wrong somewhere, but after about half an hour of looking through build files and config files I still don&#39;t know where the problem is.<br /><br />any help?
thumbnail
trav trav, modificado hace 18 años.

Sample Portlet Classpath/build/ant problems

Junior Member Mensajes: 63 Fecha de incorporación: 25/07/05 Mensajes recientes
Update:<br /><br />I&#39;ve tried a few things, learning how to remove the standard portlets clued me in on adding some tags to the ext xml files, so I managed to get my jboss server to start without errors, and include the sample portal in the list of portals to add to pages.<br /><br />A few odd things, the polls on the welcome screen now tell the guest user that their role doesn&#39;t have sufficient permissions, also when I add the portlet to the home tab it shows up as null is temporarily unavailable and I get a console error (stack trace below)<br /><br />I&#39;ve put the war folder in ext.ear, but I&#39;m not sure if that&#39;s the right spot for it.<br /><br />
05:26:50,663 INFO  [STDOUT] javax.portlet.UnavailableException: No ClassLoaders found for: blank.BlankStrutsPortlet
05:26:50,663 INFO  [STDOUT]  at com.liferay.portal.model.Portlet.init(Portlet.java:733)
05:26:50,663 INFO  [STDOUT]  at com.liferay.portal.model.Portlet.init(Portlet.java:708)
05:26:50,663 INFO  [STDOUT]  at com.liferay.portal.util.PortalUtil.getPortletInstance(PortalUtil.java:583)
05:26:50,663 INFO  [STDOUT]  at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:1180)
05:26:50,663 INFO  [STDOUT]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
05:26:50,663 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:50,792 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
05:26:50,792 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
05:26:50,792 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
05:26:50,792 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
05:26:50,792 INFO  [STDOUT]  at com.liferay.taglib.IncludeTag.doEndTag(IncludeTag.java:72)
05:26:50,792 INFO  [STDOUT]  at org.apache.jsp.html.tiles.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1260)
05:26:50,792 INFO  [STDOUT]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
05:26:50,792 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:50,792 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
05:26:50,792 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
05:26:50,792 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
05:26:50,792 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
05:26:50,792 INFO  [STDOUT]  at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:71)
05:26:50,792 INFO  [STDOUT]  at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:149)
05:26:50,792 INFO  [STDOUT]  at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)
05:26:50,792 INFO  [STDOUT]  at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
05:26:50,792 INFO  [STDOUT]  at com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134)
05:26:50,792 INFO  [STDOUT]  at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
05:26:50,792 INFO  [STDOUT]  at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:135)
05:26:50,792 INFO  [STDOUT]  at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
05:26:50,792 INFO  [STDOUT]  at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
05:26:50,792 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
05:26:50,792 INFO  [STDOUT]  at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:305)
05:26:50,792 INFO  [STDOUT]  at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:610)
05:26:50,792 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:50,792 INFO  [STDOUT]  at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:50,792 INFO  [STDOUT]  at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:113)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:50,792 INFO  [STDOUT]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:50,792 INFO  [STDOUT]  at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:50,792 INFO  [STDOUT]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:50,792 INFO  [STDOUT]  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
05:26:50,792 INFO  [STDOUT]  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
05:26:50,792 INFO  [STDOUT]  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
05:26:50,792 INFO  [STDOUT]  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
05:26:50,792 INFO  [STDOUT]  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
05:26:50,792 INFO  [STDOUT]  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
05:26:51,489 INFO  [STDOUT]  at java.lang.Thread.run(Thread.java:534)
05:26:51,489 INFO  [STDOUT] java.lang.NullPointerException
05:26:51,499 INFO  [STDOUT]  at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:1295)
05:26:51,499 INFO  [STDOUT]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
05:26:51,499 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:51,499 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
05:26:51,499 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
05:26:51,668 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
05:26:51,668 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
05:26:51,668 INFO  [STDOUT]  at com.liferay.taglib.IncludeTag.doEndTag(IncludeTag.java:72)
05:26:51,668 INFO  [STDOUT]  at org.apache.jsp.html.tiles.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1260)
05:26:51,668 INFO  [STDOUT]  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
05:26:51,668 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:51,668 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
05:26:51,668 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
05:26:51,668 INFO  [STDOUT]  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
05:26:51,668 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
05:26:51,668 INFO  [STDOUT]  at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:71)
05:26:51,668 INFO  [STDOUT]  at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:149)
05:26:51,668 INFO  [STDOUT]  at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)
05:26:51,668 INFO  [STDOUT]  at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
05:26:51,668 INFO  [STDOUT]  at com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134)
05:26:51,668 INFO  [STDOUT]  at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
05:26:51,668 INFO  [STDOUT]  at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:135)
05:26:51,668 INFO  [STDOUT]  at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
05:26:51,668 INFO  [STDOUT]  at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
05:26:51,668 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
05:26:51,668 INFO  [STDOUT]  at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:305)
05:26:51,668 INFO  [STDOUT]  at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:610)
05:26:51,668 INFO  [STDOUT]  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:51,668 INFO  [STDOUT]  at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:51,668 INFO  [STDOUT]  at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:113)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:51,668 INFO  [STDOUT]  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:51,668 INFO  [STDOUT]  at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:51,668 INFO  [STDOUT]  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
05:26:51,668 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
05:26:51,678 INFO  [STDOUT]  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
05:26:51,678 INFO  [STDOUT]  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
05:26:51,678 INFO  [STDOUT]  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
05:26:51,678 INFO  [STDOUT]  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
05:26:51,678 INFO  [STDOUT]  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
05:26:51,678 INFO  [STDOUT]  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
05:26:51,678 INFO  [STDOUT]  at java.lang.Thread.run(Thread.java:534)
thumbnail
trav trav, modificado hace 18 años.

Sample Portlet Classpath/build/ant problems

Junior Member Mensajes: 63 Fecha de incorporación: 25/07/05 Mensajes recientes
If someone could help me with this I&#39;d really appreciate it, I&#39;m sure anyone who&#39;s developed a portlet for liferay could easily solve my problems.<br /><br />Some things that could help me are:<br /><br />When you personally deploy a portlet how do you go about it? Run an ant script? or manually copy the war and edit files?<br /><br />When you&#39;ve deployed your portlet, where does the war sit? on a different web-server? under the deploy folder? under the ext folder? mixed in with the complete-web folder? Is it actually copied as a complete war or is it split up and somehow merged with the portal?<br /><br />I found an ext folder in the servers default&#092;lib folder, the readme says I should put jar&#39;s there and mentions a class loader, how does that fit in?<br /><br />I&#39;m getting a bit frustrated with this because I can&#39;t find anything that tells me how the deployment is supposed to be structured and there doesn&#39;t seem to be many examples around. I can&#39;t even find where the code for the default portlets is sitting
David.Didier David.Didier, modificado hace 18 años.

Sample Portlet Classpath/build/ant problems

Junior Member Mensajes: 25 Fecha de incorporación: 1/08/05 Mensajes recientes
try to change<br /><br />&lt;attribute name=&quot;UseJBossWebLoader&quot;&gt;true&lt;/attribute&gt;<br />and<br />&lt;attribute name=&quot;Java2ClassLoadingCompliance&quot;&gt;true&lt;/attribute&gt;<br /><br /><br />in the jboss-service.xml of the jbossweb-tomcat55.sar
thumbnail
trav trav, modificado hace 18 años.

Sample Portlet Classpath/build/ant problems

Junior Member Mensajes: 63 Fecha de incorporación: 25/07/05 Mensajes recientes
try to change<br /><br />&lt;attribute name=&quot;UseJBossWebLoader&quot;&gt;true&lt;/attribute&gt;<br />and<br />&lt;attribute name=&quot;Java2ClassLoadingCompliance&quot;&gt;true&lt;/attribute&gt;<br />in the jboss-service.xml of the jbossweb-tomcat55.sar<br />

<br />
<br />hmm, the file is in server/default/conf and it looks like it&#39;s tomcat 50 rather than 55...<br /><br />I did use the server instal instructions off the liferay website, but I also recall seeing that liferay 3.5 was supposed to require tomcat 5.5, is it possible that I&#39;ve got the wrong file somewhere?<br /><br />I had a look at the jboss-service.xml file in the conf folder and couldn&#39;t find the attributes you mentioned, which mbean do they belong to? Should they be set to true? Or do you mean set them to false?
thumbnail
trav trav, modificado hace 18 años.

Sample Portlet Classpath/build/ant problems

Junior Member Mensajes: 63 Fecha de incorporación: 25/07/05 Mensajes recientes
try to change<br /><br />&lt;attribute name=&quot;UseJBossWebLoader&quot;&gt;true&lt;/attribute&gt;<br />and<br />&lt;attribute name=&quot;Java2ClassLoadingCompliance&quot;&gt;true&lt;/attribute&gt;<br />in the jboss-service.xml of the jbossweb-tomcat55.sar<br />

<br />
<br />a thousand praises for your response by the way, your help is infinately appreciated
thumbnail
trav trav, modificado hace 18 años.

Sample Portlet Classpath/build/ant problems

Junior Member Mensajes: 63 Fecha de incorporación: 25/07/05 Mensajes recientes
hmm, the file is in server/default/conf and it looks like it&#39;s tomcat 50 rather than 55...<br /><br />I did use the server instal instructions off the liferay website, but I also recall seeing that liferay 3.5 was supposed to require tomcat 5.5, is it possible that I&#39;ve got the wrong file somewhere?<br /><br />

<br />
<br />Good grief, I double checked and surely enough, I&#39;d downloaded Liferay 3.2, source and binaries, and the deployer for Liferay 3.5. How extremely vexing, I&#39;ll try from the top again and let you know how it goes