Ok, I solved the error. XDoclet produced this "null" error due to a typo within my @ejb.permission class level tag. Before I had:
* @ejb.permission * role-name="${role.administrator" I changed it to: * @ejb.permission * role-name="${role.administrator}" It nows runs without any problems. This was an error that Ant and XDoclet provided very little clues to track it down. The file XDoclet was complaining about had not been processed in my debug output. So, I had to go back to a working copy of all my files to compare how XDoclet should perform to how it was performing with this error and that is when I found the file it had a problem with. From that point it was just a matter of verifying all of my XDoclet tags. Hope this helps anyone in the future with a similar problem. Thanks. --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > To clarify, the <ejbdoclet> target fails when trying > to run the <remoteinterface/> element. I tried > commenting it out and <ejbdoclet> still failed with > the next element, <localinterface/>, with an > OutOfMemory exception. What is the problem? > > Thanks. > > --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > Ant: 1.6.2 > > Java: 1.4.2_06 > > OS: Windows XP > > > > I keep getting a java.lang.OutOfMemoryError when I > > run > > the <ejbdoclet> target from ant. What generates > the > > "[ejbdoclet] null" output? > > > > Below I have listed my ant ejbdoclet target along > > with > > the error generated from ant when trying to run > the > > target. I have searched the archives and cannot > > find > > any solution for this problem. Will someone > please > > give me a clue as to what the problem is and how > to > > fix it? > > > > Thanks. > > > > ****************************************** > > > > Class java.util.TreeMap loaded from parent loader > > (parentFirst) > > [ejbdoclet] null > > [ejbdoclet] ParameterImpl instances: 20 > > [ejbdoclet] MethodImpl instances: 1086 > > [ejbdoclet] ConstructorImpl instances: 67 > > Finding class xjavadoc.SimpleNode > > Loaded from > > > C:\programming\j2ee\xdoclet\xdoclet-1.2.2\lib\xjavadoc-1.1.jar > > xjava > > doc/SimpleNode.class > > Finding class xjavadoc.Node > > Loaded from > > > C:\programming\j2ee\xdoclet\xdoclet-1.2.2\lib\xjavadoc-1.1.jar > > xjava > > doc/Node.class > > Class xjavadoc.Node loaded from ant loader > > (parentFirst) > > Class xjavadoc.SimpleNode loaded from ant loader > > (parentFirst) > > [ejbdoclet] SimpleNode instances: 0 > > [ejbdoclet] SourceClass instances: 57 > > [ejbdoclet] XDoc instances: 6 > > [ejbdoclet] DefaultXTag instances: 11 > > [ejbdoclet] BinaryClass instances: 69 > > [ejbdoclet] UnknownClass instances: 32 > > Class java.lang.Runtime loaded from parent loader > > (parentFirst) > > [ejbdoclet] Total memory: 63 > > [ejbdoclet] Free memory: 7 > > [ejbdoclet] Try to increase heap size. Can be done > > by > > defining ANT_OPTS=-Xmx640m > > [ejbdoclet] See the JDK tooldocs. > > > > ****************************************** > > > > <target depends="prepare" name="ejbdoclet"> > > > > > > > <echo>+---------------------------------------------------+</echo> > > <echo>| > > > > > |</echo> > > <echo>| R U N N I N G E J B D O C L E T > > > > > |</echo> > > <echo>| > > > > > |</echo> > > > > > <echo>+---------------------------------------------------+</echo> > > > > <ejbdoclet addedTags="@xdoclet-generated > at > > ${TODAY},@copyright Rynell Corporation,@author > Your > > Name,@version ${version}" > > destDir="${target.gen-src.dir}" ejbSpec="2.1" > > excludedTags="@version,@author,@todo" > > force="${project.xdoclet.force}" > > mergeDir="${src.merge.dir}" verbose="true"> > > > > <fileset dir="${src.java.dir}"> > > <include name="**/*EJB.java"/> > > <include > > name="**/proj/util/*.java"/> > > <exclude name="**/.nb*"/> > > <exclude name="**/*.form*"/> > > </fileset> > > > > <packageSubstitution > > packages="ejb,cmp,stateless" > > substituteWith="interfaces"/> > > > > <remoteinterface/> > > <localinterface/> > > <homeinterface/> > > <localhomeinterface/> > > > > <dataobject/> > > <valueobject/> > > > > <entitypk/> > > <entitycmp/> > > <entitybmp/> > > > > <session/> > > > > <dao> > > <packageSubstitution > packages="ejb" > > substituteWith="dao"/> > > </dao> > > > > <utilobject cacheHomes="true" > > includeGUID="true"/> > > > > <deploymentdescriptor > > destDir="${target.meta-inf.dir}" > > mergeDir="${src.merge.dir}" validateXML="true"> > > <!-- <configParam name="clientjar" > > value="blah.jar"/> --> > > </deploymentdescriptor> > > > > > > <jboss > > jbossTemplateFile="${jboss.template.file}" > > destDir="${target.meta-inf.dir}" > > mergeDir="${src.merge.dir}" > > preferredRelationMapping="relation-table" > > securityDomain="${jboss.security.domain}" > > > unauthenticatedPrincipal="${jboss.unauth.principal}" > > datasource="${jboss.datasource}" > > datasourceMapping="${jboss.datasource.mapping}" > > validateXML="true" version="${jboss.version}" > > xmlencoding="UTF-8"/> > > > > </ejbdoclet> > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Find what you need with new enhanced > > search. > > http://info.mail.yahoo.com/mail_250 > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the > > post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt > > from ThinkGeek. > > It's fun and FREE -- well, > > almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > xdoclet-user mailing list > > xdoclet-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > __________________________________ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile > phone. > http://mobile.yahoo.com/maildemo > > > ------------------------------------------------------- > === message truncated === __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user