[cosmo-dev] Re: IMPORTANT: new webapp packaging

Alan Lord alanslists at gmail.com
Wed Dec 12 11:55:14 PST 2007


Brian Moseley wrote:
> On Dec 12, 2007 9:22 AM, Alan Lord <alanslists at gmail.com> wrote:
> 
>> Upon startup log4j reports an error in catalina.out about
>> logs/osafsrv.log not found. I touched it in $CATALINA_HOME/logs but it
>> still complained. Where is the logs/osafsrv.log path in log4j.xml
>> relative to?
> 
> it's relative to the current working directory, which if you start
> Tomcat with catalina.sh will be $CATALINA_HOME.

hmmm, that's what I thought. I checked everything again and restarted 
tomcat. Now it has created osafsrv.log :-) It's attached. I can see the 
problem but I am not sure how to fix it...

> btw - I'm keeping some notes on this process at
> <http://chandlerproject.org/Journal/CosmoWarAutoDeployment>. when I've
> got the installation instructions fully fleshed out, I'll move them to
> the Cosmo admin's manual. I'm also going to do some packaging work so
> that maven will create a tarball for the webapp with sample
> cosmo.properties and log4j.xml and all the dependent jars.

Thanks for the link. I read through it and have added the cosmo options 
to $JAVA_OPTS.

Here's one thing I noticed. IN the snarf build, the 4 files: serializer, 
xalan, xercesImpl and xml-apis actually reside in *commons/endorsed* not 
in commons/lib like the others that we need to copy over.

HTH

Alan

-- 
The way out is open!
http://www.theopensourcerer.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osafsrv.log
Type: text/x-log
Size: 14364 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20071212/e392a5b8/osafsrv.bin


More information about the cosmo-dev mailing list