The docBase bug exists for 4.0.3SP1 and 4.0.4RC1

To work around this I had to add mkdir calls to my server start task as this 
bug entls the docBase not creating the directories needed in order to run.

If a jboss.org guy can bug this that would be nice.


  |     <!-- Start Server-->
  |     <target name="jboss.start" description="Start JBoss server.">
  | 
  |         <echo message="jdk: ${jdk.home}" />
  |         <echo message="server: ${deploy.server}"/>
  |         <echo message="jboss.home: ${jboss.home}"/>
  |         
  |         <property name="dao.dir" value="${src.dir}/model/dao"/>
  | 
  |             <mkdir 
dir="C:\jboss-4.0.3SP1\server\tapestry-proto-1.0\work\jboss.web\localhost\MySQLContext"/>
  |             <mkdir 
dir="C:\jboss-4.0.3SP1\server\tapestry-proto-1.0\work\jboss.web\localhost\OracleContext"/>
  |         <exec dir="." executable="cmd" os="Windows XP">
  |                     <arg line="/c attrib -R 
C:\jboss-4.0.3SP1\server\tapestry-proto-1.0\work\jboss.web\localhost\MySQLContext"/>
  |                     <arg line="/c attrib -R 
C:\jboss-4.0.3SP1\server\tapestry-proto-1.0\work\jboss.web\localhost\OracleContext"/>
  |             </exec>
  |             
  |         <java dir="${deploy.server}" classname="org.jboss.Main" fork="true">
  |             <arg line="-c ${ant.project.name}"/>
  |             <jvmarg value="-Xms${java.min.heap}"/>
  |             <jvmarg value="-Xmx${java.max.heap}"/>
  |             <jvmarg value="-XX:MaxPermSize=${java.max.perm}"/>
  |             <jvmarg value="-XX:PermSize=${java.min.perm}"/>
  |             <jvmarg value="-Xdebug"/>
  |             <jvmarg value="-Doracle.jdbc.Trace=true"/>
  |             <jvmarg 
value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"/>
  |             <jvmarg value="-Djava.security.manager="/>
  |             <jvmarg value="-Djava.security.policy=${jboss.policy}"/>
  |             
  |             <!-- 
  |             <jvmarg 
value="-Djava.security.debug=policy,access,failure,all,help"/>
  |             -->
  | 
  |             <!-- 
  |             <jvmarg value="-Dsun.java2d.noddraw=true"/>
  |             <jvmarg value="-Djava.awt.headless=true"/>
  |               -->
  |             <jvmarg 
value="-Dorg.apache.tapestry.disable-caching=${tapestry.debug}"/>
  | 
  |             <sysproperty key="jboss.home" value="${jboss.home}"/>
  |             <classpath>
  |                 <pathelement path="${jboss.home}/bin/run.jar"/>
  |                 <pathelement path="${jdk.home}/lib/tools.jar"/>
  |             </classpath>
  |         </java>
  |     </target>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930240#3930240

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930240


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to