This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 42774

Summary: Not able to run webmodule
Product: serverplugins Reporter: bjarheim <bjarheim>
Component: TomcatAssignee: Pavel Buzek <pbuzek>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description bjarheim 2004-05-04 15:20:51 UTC
I've downloaded the lastest cobundle (NetBeans 
3.6 build 200404071636 and J2SE v 1.4.2_04) and 
everything works fine untill I try to execute a 
webmodule. Then I get an error message and the 
execution hangs. I've reinstalled a clean copy, 
but nothing seems to work. Error message:

Using CATALINA_BASE:   C:\Documents and 
Settings\peter\.netbeans\3.6\jakarta-tomcat-
5.0.19_base
Using CATALINA_HOME:   C:\Program 
Files\NetBeans3.6\jakarta-tomcat-5.0.19
Using CATALINA_TMPDIR: C:\Documents and 
Settings\peter\.netbeans\3.6\jakarta-tomcat-
5.0.19_base\temp
Using JAVA_HOME:       C:\j2sdk1.4.2_04
java.lang.NoClassDefFoundError: Xmx256m
Exception in thread "main"
Comment 1 bjarheim 2004-05-05 08:35:45 UTC
I've now resolved the issue. It turned out that when I had set the 
JAVA_OPTS environment variable, Tomcat did not start (I had set the 
variable to increase the heap size). When I deleted it, everything 
seemed to work fine.