HSQLDB can't run from within a WAR file because it can't create the files for its tables etc. if it is running inside a WAR. In most application servers you can specify that the server needs to unpack the WAR file before running the webapp. If you anable this, everthing will wark fine.
Nick ----- Original Message ----- From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 26, 2004 1:59 AM Subject: Re: The hsqldb cannot be used inside a WAR file - in Websphere Portal Server 8.1 > On 25.06.2004 17:56, Menke, John wrote: > > > I get the following error: > > > > org.apache.avalon.framework.context.ContextException: The hsqldb cannot be > > used inside a WAR file. at > > org.apache.cocoon.components.hsqldb.ServerImpl.contextualize(ServerImpl.java > > :95) at > > org.apache.avalon.framework.container.ContainerUtil.contextualize(ContainerU > > til.java:107) at > > org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De > > faultComponentFactory.java:245) > > > > 1. I dropped cocoon.war into my application and weblogic complained about > > missing classifle > > 2. I added the logkit.jar to my classpath in the startweblogic.cmd file > > set WL_COCOON_HOME=C:\bea8.1\weblogic81\server\lib\cocoon > > set CLASSPATH=%CLASSPATH%;%WL_COCOON_HOME%\logkit-1.2.2.jar > > > > Now weblogic no longer complains about the missing class but i get the above > > error. > > > > Any ideas? > > Don't know about HSQLDB, but you probably have to expand your WAR. Is it > possible for you? > > Joerg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
