Hi All, I just subscribed to this mailing list. I am
hoping that I can find users who have faced the issue I am facing right now and
help me resolve it. I am using Eclipse v10 as my IDE and xdoclet - 1.2.3 plugin
to build my whole application having stateless session beans. I am working on Java
1.5 and the problem which I face is that while building my build fails and this
is the error page which I get: Buildfile:
C:\PIMS\dev\projects\pims\.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdoclet\tempAnt.xml init: ejbdoclet: [ejbdoclet]
(XDocletMain.start
47 ) Running <deploymentdescriptor/> [ejbdoclet] Generating EJB deployment descriptor
(ejb-jar.xml). [ejbdoclet]
(TemplateEngine.invokeMethod
547 ) Invoking method failed:
xdoclet.modules.ejb.session.SessionTagsHandler.forAllSessionBeans, line=33 of
template file: jar:file:/C:/tapir/dev/eclipse/plugins/xdoclet-1.2.3/lib/xdoclet-ejb-module-1.2.3.jar!/xdoclet/modules/ejb/dd/resources/ejb-jar_xml.xdt [ejbdoclet] java.lang.reflect.InvocationTargetException [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ejbdoclet] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:585) [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641) [ejbdoclet] Java heap space [ejbdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540) [ejbdoclet] ParameterImpl instances: 20 [ejbdoclet] MethodImpl instances:
5863 [ejbdoclet] ConstructorImpl instances: 213 [ejbdoclet] SimpleNode
instances: 0 [ejbdoclet] SourceClass instances:
277 [ejbdoclet] XDoc
instances: 0 [ejbdoclet] DefaultXTag instances: 0 [ejbdoclet] BinaryClass instances: 64 [ejbdoclet] UnknownClass instances: 0 [ejbdoclet] Total memory: 63 [ejbdoclet] Free memory: 0 [ejbdoclet] Try to increase heap size. Can
be done by defining ANT_OPTS=-Xmx640m [ejbdoclet] See the JDK tooldocs. BUILD FAILED C:\PIMS\dev\projects\pims\.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdoclet\tempAnt.xml:69:
Java heap space Total time: 31 seconds I have a system variable which I have set by the Name ‘ANT_OPTS’
having value ‘-Xmx640m’ as suggested by most of the forums on internet.
I also have 1 GB as my RAM on PC. Kindly suggest what I need to do? Thanks and Regards, Kamal
|
_______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user