I tried per the suggested manual build and got
basically same errors, failing to find log4jetty.log.
I tried build from the build/torque using:
ant -f build-torque.xml -propertyfile
./build.properties and got a
3 BUILD FAILED
4
/u02/jetspeed/jakarta-jetspeed/build/torque/lib not
found.
I tried creating this directory and copied over dir
contents of /u02/jetspeed/jakarta-jetspeed/lib/ and
received same errors as my initial posting of missing
lo4jetty.log
If one can focus on the build log errors from my
initial post line 62 on, and the corresponding
<torque-sql> task starting on line 189, WHERE does the
log4j gets called? Is it in Torque?
What log4j it picks up on the classpath?
Regards,
xinha02
--- Paul McCulloch <[EMAIL PROTECTED]> wrote:
> sinda hauser wrote:
>
> > During build of jetspeed1.4, I noticed that there
> is
> >an error in the build log file I created. The build
> >was successful and I can deploy the jetspeed.war on
> a
> >Tomcat 4.1.18 but fails on a Jetty.
> >
> >Here is the errors in the build log:
> >
> >45 check-run-only-on-schema-change:
> > 46
> > 47 sql-check:
> > 48
> > 49 sql:
> > 50 [echo]
> >+------------------------------------------+
> > 51 [echo] |
>
> > |
> > 52 [echo] | Generating SQL for YOUR
> Torque
> >project! |
> > 53 [echo] | Woo hoo!
>
> > |
> > 54 [echo] |
>
> > |
> > 55 [echo]
> >+------------------------------------------+
> > 56
> > 57 sql-classpath:
> > 58 [torque-sql] Using contextProperties file:
> >/u02/jetspeed/jakarta-jetspee
> >d/build/torque/build.properties
> > 59 [torque-sql] Using classpath
> > 60 [torque-sql] Generating to file
> >/u02/jetspeed/jakarta-jetspeed/src/sql/r
> >eport.security.sql.generation
> > 61 [torque-sql] Resolver: used database.dtd
> from
> >org.apache.torque.engine.d
> >atabase.transform package
> > 62 [torque-sql] log4j:ERROR setFile(null,true)
> >call failed.
> > 62 [torque-sql] log4j:ERROR setFile(null,true)
> >call failed.
> > 63 [torque-sql] java.io.FileNotFoundException:
> >/logs/log4jetty.log (No such file or directory)
> > 64 [torque-sql] at
> >java.io.FileOutputStream.openAppend(Native Method)
> >
> >Why is it looking for this file
> /logs/log4jetty.log?
> >I have attached the build-torque.xml section
> >corresponding to those errors above:
> >
> > 171 <target
> > 172 name="sql"
> > 173 depends="check-use-classpath,
> sql-check"
> > 174 unless="torque.internal.sql.uptodate"
> > 175 description="==> generates the SQL for
> >your project">
> > 176
> > 177 <echo
>
>message="+------------------------------------------+"/>
> > 178 <echo message="|
>
> > |"/>
> > 179 <echo message="| Generating SQL for
> YOUR
> >Torque project! |"/>
> > 180 <echo message="| Woo hoo!
>
> > |"/>
> > 181 <echo message="|
>
> > |"/>
> > 182 <echo
>
>message="+------------------------------------------+"/>
> > 183
> > 184 <antcall target="sql-classpath"/>
> > 185 <antcall target="sql-template"/>
> > 186 </target>
> > 187
> > 188 <target name="sql-classpath"
> >if="torque.internal.useClasspath">
> > 189 <torque-sql
> > 190 basePathToDbProps="sql/base/"
> > 191
> >contextProperties="${torque.contextProperties}"
> > 192
> controlTemplate="${torque.template.sql}"
> > 193
> >idTableXMLFile="${torque.idTableXMLFile}"
> > 194 outputDirectory="${torque.sql.dir}"
> > 195
>
>outputFile="report.${torque.project}.sql.generation"
> > 196
> sqldbmap="${torque.sql.dir}/sqldb.map"
> > 197 targetDatabase="${torque.database}"
> > 198
> useClasspath="${torque.useClasspath}">
> > 199 <fileset dir="${torque.schema.dir}"
> > 200
> >includes="${torque.schema.sql.includes}"
> > 201
> >excludes="${torque.schema.sql.excludes}"
> > 202 />
> > 203 </torque-sql>
> > 204 </target>
> >
> >I have spent too much time fiddling with this. Does
> >Jetspeed requires the usage of log4j ?
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Search - Find what you�re looking for faster
> >http://search.yahoo.com
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> >
> try create the file manually, make sure it is
> read+writable by all?
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]