Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 67112 invoked by uid 500); 24 Oct 2001 23:23:58 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 67095 invoked from network); 24 Oct 2001 23:23:58 -0000 Message-ID: <001001c15ce2$c0292210$0322a8c0@msn.com> From: "kingadziembowska" To: References: <01102414552700.03674@igacer> <048701c15c92$95035a10$9d0a000a@flagship.ru> Subject: Re: [C2.0rc1] Cocoon installation fails on IONA iPortal App Server Date: Wed, 24 Oct 2001 19:22:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-OriginalArrivalTime: 24 Oct 2001 23:23:09.0312 (UTC) FILETIME=[D7A14800:01C15CE2] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am working with HP-AS it is newly released J2EE platform app server. Cocoon cannot be deployed as WAR unless WAR is extracted!!!!!!! Tomcat has a configuration parameter to specify if the WAR should be extracted before "usage". The default is set to "true". What does it means is that as a first step WAR is extracted then the rest of initialization happens. Internal Cocoon classpath is set, sitemap is compiled and life is beautiful. When the WAR is not extracted we have some problems. The problem is that the result of getRealPath() method is undefined and classpath cannot be correctly set and everything relying on classpath is failing - compilation of the sitemap is the first victim. In fact this problem is on my to-do list. I hope to fix Cocoon code to surpass this limitation very soon. Other minor problem is that I need to override HP-AS xalan.jar and xerces.jar with those shipped with Cocoon. Regards, Kinga ----- Original Message ----- From: "Piroumian, Konstantin" To: Sent: Wednesday, October 24, 2001 9:48 AM Subject: [C2.0rc1] Cocoon installation fails on IONA iPortal App Server > Hi, C2ers! > > Did anybody try to install C2.0rc1 on IONA App Server (http://www.iona.com)? > Or some other server that does not use Tomcat as a servlet container? I > think that before releasing C2.0 it must be tested with most popular J2EE > app servers (WebLogic, WebSphere) and results must be documented. > > I am trying to install C2.0rc1 on IONA iPortal App Server 3.0, which is a > certified J2EE platform, but I get this error during CocoonServlet > initialization: > > java.lang.NullPointerException > at java.util.Hashtable.put(Hashtable.java:380) > at > org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:1 > 07) > at > org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:365) > at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136) > at > com.iona.j2ee.web.servlet.ServletInstanceManager.loadAndInitializeServletCla > ss(ServletInstanceManager.java:202) > at > com.iona.j2ee.web.servlet.ServletInstanceManager.loadUserDefinedServlet(Serv > letInstanceManager.java:192) > at > com.iona.j2ee.web.servlet.ServletInstanceManager.refresh(ServletInstanceMana > ger.java:89) > at > com.iona.j2ee.web.servlet.ServletInstanceManager.(ServletInstanceManag > er.java:74) > at > com.iona.j2ee.web.servlet.ServletContextImpl.(ServletContextImpl.java: > 56) > at > com.iona.j2ee.server.WebApplicationImpl.(WebApplicationImpl.java:61) > at > com.iona.j2ee.server.DeployedWarModule.applyContainerConfiguration(DeployedW > arModule.java:90) > at > com.iona.j2ee.server.Deployed.applyContainerConfiguration(Deployed.java:77) > at com.iona.j2ee.server.ContainerBean.configure(ContainerBean.java:685) > at com.iona.j2ee.server.ContainerBean._configure(ContainerBean.java:701) > .... > > I think that this happens because LogKit couldn't find its configuration > file. I can only guess what happens: it seems that the server does not > extract files from WAR and works with it and Cocoon servlet cannot get its > configuration files. > > Any help would very appreciated. > > Regards, > Konstantin Piroumian > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org