You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by tu...@arcor.de on 2004/06/28 14:45:38 UTC
Problem building sample app with tdk 2.3
Hello guys,
i am trying to build a sample app with the tdk 2.3. I used the sample config and also have a mySql running:
That's the output i get, when using the ant init-script:
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
create-database:
create-db-check:
create-db:
[torque-data-model] Using classpath
[torque-data-model] log4j:ERROR Could not find value for key log4j.appender.org.apache.torque.engine
[torque-data-model] log4j:ERROR Could not instantiate appender named "org.apache.torque.engine".
[torque-data-model] Generating to file D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\src\sql\create-db.sql
[torque-data-model] 2004-06-28 14:29:39,704 [main] INFO org.apache.torque.engine.database.transform.XmlToAppData - Parsing file: 'id-table-schema.xml'
[torque-data-model] 2004-06-28 14:29:39,744 [main] INFO org.apache.torque.engine.database.transform.DTDResolver - Resolver: used 'http://jakarta.apache.org/turbine/dtd/database.dtd'
BUILD FAILED
D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\build\build.xml:160: Following error occured while executing this line
D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\build\build.xml:185: Following error occured while executing this line
D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\build\build-torque.xml:288: org.apache.torque.engine.EngineException: jakarta.apache.org
Total time: 5 seconds
Has anyone an idea, whats the problem?
Thanx
Olli
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Problem building sample app with tdk 2.3
Posted by Martin Stolz <ms...@mstsoft.com>.
Hi,
this is a common problem when trying to build without a network connection.
See the URL below, the XML Parser cant get the DTD.
--8<--
org.apache.torque.engine.database.transform.DTDResolver - Resolver: used
'http://jakarta.apache.org/turbine/dtd/database.dtd'
-->8--
All DTD´s are included within the TDK, you can reference them locally using
a file:///... Notation or you try again with a connection to the Internet.
Regards,
martin
----- Original Message -----
From: <tu...@arcor.de>
To: <tu...@jakarta.apache.org>
Sent: Monday, June 28, 2004 2:45 PM
Subject: Problem building sample app with tdk 2.3
> Hello guys,
> i am trying to build a sample app with the tdk 2.3. I used the sample
config and also have a mySql running:
> That's the output i get, when using the ant init-script:
>
> Buildfile: build.xml
>
> check-webinf-exists:
>
> setup-webinf:
>
> init:
>
> setup:
>
> init-tasks:
>
> create-database:
>
> create-db-check:
>
> create-db:
> [torque-data-model] Using classpath
> [torque-data-model] log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine
> [torque-data-model] log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".
> [torque-data-model] Generating to file
D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\src\sql\create-db.sql
> [torque-data-model] 2004-06-28 14:29:39,704 [main] INFO
org.apache.torque.engine.database.transform.XmlToAppData - Parsing file:
'id-table-schema.xml'
> [torque-data-model] 2004-06-28 14:29:39,744 [main] INFO
org.apache.torque.engine.database.transform.DTDResolver - Resolver: used
'http://jakarta.apache.org/turbine/dtd/database.dtd'
>
> BUILD FAILED
> D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\build\build.xml:160:
Following error occured while executing this line
> D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\build\build.xml:185:
Following error occured while executing this line
>
D:\Java\turbine\tdk-2.3_01\webapps\newapp\WEB-INF\build\build-torque.xml:288
: org.apache.torque.engine.EngineException: jakarta.apache.org
>
> Total time: 5 seconds
>
> Has anyone an idea, whats the problem?
> Thanx
> Olli
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org