You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jeff mutonho <ej...@yahoo.com> on 2004/08/26 12:17:46 UTC

Re: maven site:generate --OutOf MemoryError

I ran the same command "maven site:generate" on an XP box and am getting an OutOfMemoryError.The logs looks like
 
xdoc:jelly-transform:
    [echo] Generating D:/Maven/projects_main/projects/Support_Persis
tence/target/docs/checkstyle-report.html from D:\Maven\projects_main\projects\Support_Persistence\target\generated-xdocs\checkstyle-report.xml

BUILD FAILED
File...... C:\Documents and Settings\jmu016\.maven\cache\maven-xdoc-plugin-1.8\
lugin.jelly
Element... x:parse
Line...... 360
Column.... 43
java.lang.OutOfMemoryError
Total time: 1 minutes 18 seconds
Finished at: Thu Aug 26 12:10:56 CAT 2004
 
jeff mutonho

jeff mutonho <ej...@yahoo.com> wrote:
Hi guys.
maven site:generate is failing with the following error message

[echo] Generating the Checkstyle...
checkstyle:init:
checkstyle:report:
checkstyle:run:
[echo] Using file:/home/maven/.maven/cache/maven-checkstyle-plugin-2.4.1/plugin-resources/sun_checks.xml for checkstyle ...
SIGSEGV 11 (*) segmentation violation
si_signo [11]: SIGSEGV: (*) segmentation violation
si_errno [0]: Success
si_code [1]: SEGV_MAPERR [addr: 0xD]
stackpointer=0xbffc1af4
Writing java dump to javacore18874.1093513782.txt ...



---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter
		
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.

Re: Creating WAR for Websphere

Posted by jeff mutonho <ej...@yahoo.com>.
Hi
I played around with a few things and eventually  got the directory layout of the war correct by defining a project.properties file with the following 

maven.war.src = ${basedir}/Web Content

maven.war.webxml= ${maven.src.dir}/WEB-INF/web.xml

jeff mutonho


 
 

Dion Gillard <di...@gmail.com> wrote:
Sure, I've done it.

What are the issues?

On Mon, 30 Aug 2004 02:36:53 -0700 (PDT), jeff mutonho
wrote:
> Has anyone on the list done this successfully?The directory structure that's being created is not compatible with what websphere expects.Can someone give some pointers.Thanx
> 
> jeff mutonho
> 
> jeff mutonho wrote:
> The last line was suppose to be
> "The problem is mostly of the directory structure of the WAR.Hints?"
> 
> jeff mutonho
> 
> jeff mutonho wrote:Guys , I'm battling to create a war that can be deployed on a Websphere app server.I've tried playing around with the war plugin , without luck.The problem is mostly of the directory structure of the EAR.Hints?
> 
> 
> 
> jeff mutonho
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

Re: Creating WAR for Websphere

Posted by Dion Gillard <di...@gmail.com>.
Sure, I've done it.

What are the issues?

On Mon, 30 Aug 2004 02:36:53 -0700 (PDT), jeff mutonho
<ej...@yahoo.com> wrote:
> Has anyone on the list done this successfully?The directory structure that's being created is not compatible with what websphere expects.Can someone give some pointers.Thanx
> 
> jeff mutonho
> 
> jeff mutonho <ej...@yahoo.com> wrote:
> The last line was suppose to be
> "The problem is mostly of the directory structure of the WAR.Hints?"
> 
> jeff mutonho
> 
> jeff mutonho wrote:Guys , I'm battling to create a war that can be deployed on a Websphere app server.I've tried playing around with the war plugin , without luck.The problem is mostly of the directory structure of the EAR.Hints?
> 
> 
> 
> jeff mutonho
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Creating WAR for Websphere

Posted by Matt Read <mr...@spotd.co.uk>.
I've successfully built a WAR using the normal mechanism and deployed it to
to WAS5.1. There were no variations to the directory structure.

Matt.

> -----Original Message-----
> From: jeff mutonho [mailto:ejbengine@yahoo.com] 
> Sent: 30 August 2004 10:37
> To: Maven Users List
> Subject: Re: Creating WAR for Websphere
> 
> Has anyone on the list done this successfully?The directory 
> structure that's being created is not compatible with what 
> websphere expects.Can someone give some pointers.Thanx
>  
> jeff mutonho
> 
> jeff mutonho <ej...@yahoo.com> wrote:
> The last line was suppose to be
> "The problem is mostly of the directory structure of the WAR.Hints?"
> 
> jeff mutonho
> 
> 
> jeff mutonho wrote:Guys , I'm battling to create a war that 
> can be deployed on a Websphere app server.I've tried playing 
> around with the war plugin , without luck.The problem is 
> mostly of the directory structure of the EAR.Hints?
> 
> jeff mutonho
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection 
> around http://mail.yahoo.com 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Creating WAR for Websphere

Posted by jeff mutonho <ej...@yahoo.com>.
Has anyone on the list done this successfully?The directory structure that's being created is not compatible with what websphere expects.Can someone give some pointers.Thanx
 
jeff mutonho

jeff mutonho <ej...@yahoo.com> wrote:
The last line was suppose to be 
"The problem is mostly of the directory structure of the WAR.Hints?"

jeff mutonho


jeff mutonho wrote:Guys , I'm battling to create a war that can be deployed on a Websphere app server.I've tried playing around with the war plugin , without luck.The problem is mostly of the directory structure of the EAR.Hints?

jeff mutonho

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Altering where compiled classes should be copied to.

Posted by Brett Porter <br...@gmail.com>.
change maven.build.dest: but why do you need it?

If you want them in target/WEBAPP-NAME/WEB-INF/classes, war:webapp
does that (which war:war calls)

If you want them put back into your source directory, war:inplace.

- Brett

On Sun, 29 Aug 2004 22:49:38 -0700 (PDT), jeff mutonho
<ej...@yahoo.com> wrote:
> 
> I'm using the war plugin to create a war for my web project.How do I tell the plugin to copy the compiled code to a different directory instead of  .../target/classes
> 
> 
> jeff mutonho
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Altering where compiled classes should be copied to.

Posted by jeff mutonho <ej...@yahoo.com>.
I'm using the war plugin to create a war for my web project.How do I tell the plugin to copy the compiled code to a different directory instead of  .../target/classes
 
 
jeff mutonho

		
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.

Re: Creating WAR for Websphere-correction

Posted by jeff mutonho <ej...@yahoo.com>.
The last line was suppose to be 
"The problem is mostly of the directory structure of the WAR.Hints?"
 
jeff mutonho


jeff mutonho <ej...@yahoo.com> wrote:Guys , I'm battling to create a war that can be deployed on a Websphere app server.I've tried playing around with the war plugin , without luck.The problem is mostly of the directory structure of the EAR.Hints?

jeff mutonho

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

		
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.

Creating WAR for Websphere

Posted by jeff mutonho <ej...@yahoo.com>.
Guys , I'm battling to create a war that can be deployed on a Websphere app server.I've tried playing around with the war plugin , without luck.The problem is mostly of the directory structure of the EAR.Hints?
 
jeff mutonho

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: maven site:generate --OutOf MemoryError

Posted by Shinobu Kawai <sh...@ieee.org>.
Hi jeff,

Oops, did I set Reply-To?  I'll answer to the ML.

> How do I ensure that checkstyle-report.xml  doesn't grow too big ?How do I control that process?
I can think of two ways to do that.  Fix the source or change the rules.
    http://maven.apache.org/reference/plugins/checkstyle/
    http://checkstyle.sourceforge.net/

Oh, I forgot the ultimate way: deregister the report. :)

Best regards,
-- Shinobu Kawai

On Fri, 27 Aug 2004 01:00:01 -0700 (PDT)
jeff mutonho <ej...@yahoo.com> wrote:

> Hi Shinobu 
> >Of course, the best approach to this is to don't let them grow that 
> >big. 
>  
> How do I ensure that checkstyle-report.xml  doesn't grow too big ?How do I control that process?
> Thanks for responding to my post :)
> jeff mutonho
> 
> 
> Shinobu Kawai <sh...@ieee.org> wrote:
> 
> Hi jeff,
> 
> > After the OutOfMemoryError I've tried the following on the Linux box which has 512MB of RAM.I set the MAVEN_OPTS=-Xmx512m environment variable in my .bash_profile file.I then run "maven site:generate" and when it get to the point where it prints the following :
> > xdoc:jelly-transform:
> > [echo] Generating /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/jdepend-report.html from /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/jdepend-report.xml
> > [echo] Generating /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/checkstyle-report.html from /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/checkstyle-report.xml
> > 
> > It stalls there for a very long time.It's been running for 15 minutes now .Is this normal?
> That depends on how big your checkstyle-report.xml is. The bigger, the
> more time it takes to process.
> I have one 10MB... I only site:generate before I go to lunch or home. 
> Of course, the best approach to this is to don't let them grow that big. 
> ;-)
> 
> Best regards,
> -- Shinobu Kawai
> 
> --
> Shinobu Kawai 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

--
Shinobu Kawai <shinobu@ieee.org, shinobu@computer.org>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven site:generate --OutOf MemoryError

Posted by Shinobu Kawai <sh...@ieee.org>.
Hi jeff,

> After the OutOfMemoryError I've tried the following on the Linux box which has 512MB of RAM.I set the MAVEN_OPTS=-Xmx512m environment variable in my .bash_profile file.I then run "maven site:generate" and  when it get to the point where it prints the following :
>  xdoc:jelly-transform:
>     [echo] Generating /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/jdepend-report.html from /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/jdepend-report.xml
>     [echo] Generating /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/checkstyle-report.html from /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/checkstyle-report.xml
> 
> It stalls there for a very long time.It's been running for 15 minutes now .Is this normal?
That depends on how big your checkstyle-report.xml is.  The bigger, the
more time it takes to process.
I have one 10MB...  I only site:generate before I go to lunch or home. 
Of course, the best approach to this is to don't let them grow that big. 
;-)

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <shinobu@ieee.org, shinobu@computer.org>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven site:generate --OutOf MemoryError

Posted by jeff mutonho <ej...@yahoo.com>.
After the OutOfMemoryError I've tried the following on the Linux box which has 512MB of RAM.I set the MAVEN_OPTS=-Xmx512m environment variable in my .bash_profile file.I then run "maven site:generate" and  when it get to the point where it prints the following :
 xdoc:jelly-transform:
    [echo] Generating /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/jdepend-report.html from /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/jdepend-report.xml
    [echo] Generating /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/docs/checkstyle-report.html from /home/maven/maven-1.0/projects_main/projects/Support_Persistence/target/generated-xdocs/checkstyle-report.xml

It stalls there for a very long time.It's been running for 15 minutes now .Is this normal?
 
jeff mutonho


Paul Spencer <pa...@apache.org> wrote:
Increase the amount of memory allocated to the JVM by setting the 
environment variable MAVEN_OPTS. The following allocate 512 MB.

set MAVEN_OPTS=-Xmx512m

Paul Spencer


jeff mutonho wrote:
> I ran the same command "maven site:generate" on an XP box and am getting an OutOfMemoryError.The logs looks like
> 
> xdoc:jelly-transform:
> [echo] Generating D:/Maven/projects_main/projects/Support_Persis
> tence/target/docs/checkstyle-report.html from D:\Maven\projects_main\projects\Support_Persistence\target\generated-xdocs\checkstyle-report.xml
> 
> BUILD FAILED
> File...... C:\Documents and Settings\jmu016\.maven\cache\maven-xdoc-plugin-1.8\
> lugin.jelly
> Element... x:parse
> Line...... 360
> Column.... 43
> java.lang.OutOfMemoryError
> Total time: 1 minutes 18 seconds
> Finished at: Thu Aug 26 12:10:56 CAT 2004
> 
> jeff mutonho
> 
> jeff mutonho wrote:
> Hi guys.
> maven site:generate is failing with the following error message
> 
> [echo] Generating the Checkstyle...
> checkstyle:init:
> checkstyle:report:
> checkstyle:run:
> [echo] Using file:/home/maven/.maven/cache/maven-checkstyle-plugin-2.4.1/plugin-resources/sun_checks.xml for checkstyle ...
> SIGSEGV 11 (*) segmentation violation
> si_signo [11]: SIGSEGV: (*) segmentation violation
> si_errno [0]: Success
> si_code [1]: SEGV_MAPERR [addr: 0xD]
> stackpointer=0xbffc1af4
> Writing java dump to javacore18874.1093513782.txt ...
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter
> 
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


		
---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

Re: maven site:generate --OutOf MemoryError

Posted by Paul Spencer <pa...@apache.org>.
Increase the amount of memory allocated to the JVM by setting the 
environment variable MAVEN_OPTS.  The following allocate 512 MB.

set MAVEN_OPTS=-Xmx512m

Paul Spencer


jeff mutonho wrote:
> I ran the same command "maven site:generate" on an XP box and am getting an OutOfMemoryError.The logs looks like
>  
> xdoc:jelly-transform:
>     [echo] Generating D:/Maven/projects_main/projects/Support_Persis
> tence/target/docs/checkstyle-report.html from D:\Maven\projects_main\projects\Support_Persistence\target\generated-xdocs\checkstyle-report.xml
> 
> BUILD FAILED
> File...... C:\Documents and Settings\jmu016\.maven\cache\maven-xdoc-plugin-1.8\
> lugin.jelly
> Element... x:parse
> Line...... 360
> Column.... 43
> java.lang.OutOfMemoryError
> Total time: 1 minutes 18 seconds
> Finished at: Thu Aug 26 12:10:56 CAT 2004
>  
> jeff mutonho
> 
> jeff mutonho <ej...@yahoo.com> wrote:
> Hi guys.
> maven site:generate is failing with the following error message
> 
> [echo] Generating the Checkstyle...
> checkstyle:init:
> checkstyle:report:
> checkstyle:run:
> [echo] Using file:/home/maven/.maven/cache/maven-checkstyle-plugin-2.4.1/plugin-resources/sun_checks.xml for checkstyle ...
> SIGSEGV 11 (*) segmentation violation
> si_signo [11]: SIGSEGV: (*) segmentation violation
> si_errno [0]: Success
> si_code [1]: SEGV_MAPERR [addr: 0xD]
> stackpointer=0xbffc1af4
> Writing java dump to javacore18874.1093513782.txt ...
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter
> 		
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org