Hi Andras,
in my tomcat-users.xml i have this
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="manager" password="manager" roles="tomcat,manager"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
and in my build.properties i have
tomcat.home=/home/mario/Programas/apache-tomcat-6.0.20
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=manager
tomcat.manager.password=manager
tomcat.hostname=webapps/ROOT
App name and app path are separated to accomodate root deployments. (i.e. 'ROOT' vs. '/')
tomcat.appdir=mango
tomcat.apppath=/mango
and when i run the build.xml to createConfigFiles
Buildfile: /home/mario/workspace7/SuperMango/build.xml
createConfigFiles:
[copy] Copying 1 file to /home/mario/workspace7/SuperMango/build/WEB-INF/classes
[copy] Copying 1 file to /home/mario/workspace7/SuperMango/build/WEB-INF/classes
BUILD SUCCESSFUL
Total time: 466 milliseconds
but when i run to deploy[default]
Buildfile: /home/mario/workspace7/SuperMango/build.xml
compile:
static:
build:
copy:
[copy] Copying 2797 files to /home/mario/Programas/apache-tomcat-6.0.20/webapps/ROOT/mango
BUILD FAILED
/home/mario/workspace7/SuperMango/build.xml:117: Failed to copy /home/mario/workspace7/SuperMango/build/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class to /home/mario/Programas/apache-tomcat-6.0.20/webapps/ROOT/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class due to java.io.FileNotFoundException /home/mario/Programas/apache-tomcat-6.0.20/webapps/ROOT/mango/WEB-INF/classes/com/serotonin/mango/rt/maint/work/WorkItem.class (No such file or directory)
Total time: 2 seconds
other thing i observe is the fact when i started tomcat by the eclipse, i can't access the "http://localhost:8080/" , returning a HTTP Status 404
but when i started the tomcat by console like root, i can access the homepage of tomcat("http://localhost:8080/") and "http://localhost:8080/manager/html" normally
sorry my ignorance...
and thanks for your patience
regards,
Mario