Re: A little offbeat question
Frist tell me what you are trying do this code with tomcat ? Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - Original Message - From: John Najarian To: 'Tomcat Users List' Sent: Thursday, September 16, 2004 12:33 PM Subject: RE: A little offbeat question One more thing, tomcat was running fine. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:01 AM To: [EMAIL PROTECTED] Subject: A little offbeat question I tried to run a program I thought would but it doesn't. This is on a windows XP platform. Everything compiled well but I get this error: Exception in thread main java.lang.NoClassDefFoundError: HelloWorld/class So I went back and tried a no brainer 'HelloWorld' This is the code. /** * The HelloWorld class implements an application that * displays Hello World! to the standard output. */ public class HelloWorld { public static void main(String[] args) { // Display Hello World! System.out.println(Hello World!); } } It compiles but I get the same error. I check my environment variables and mine are JAVA_HOME c:\j2sdk1.4.2_03 PATH C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\system3 2;%SystemRoot%;%SystemRoot%\system32\WBEM Any ideas? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A little offbeat question
Ok if it is standalone. then set your classpath to - where your HelloWorld.class resides. And then try it out. Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - Original Message - From: John Najarian To: 'Tomcat Users List' Sent: Thursday, September 16, 2004 12:46 PM Subject: RE: A little offbeat question I'll check that but I'm sure it is in there. Just earlier today it was working -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:18 AM To: Tomcat Users List Subject: RE: A little offbeat question Define your classpath... Your classpath should include c:\j2sdk1.4.2_03 -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 3:03 PM To: 'Tomcat Users List' Subject: RE: A little offbeat question One more thing, tomcat was running fine. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:01 AM To: [EMAIL PROTECTED] Subject: A little offbeat question I tried to run a program I thought would but it doesn't. This is on a windows XP platform. Everything compiled well but I get this error: Exception in thread main java.lang.NoClassDefFoundError: HelloWorld/class So I went back and tried a no brainer 'HelloWorld' This is the code. /** * The HelloWorld class implements an application that * displays Hello World! to the standard output. */ public class HelloWorld { public static void main(String[] args) { // Display Hello World! System.out.println(Hello World!); } } It compiles but I get the same error. I check my environment variables and mine are JAVA_HOME c:\j2sdk1.4.2_03 PATH C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\sys tem3 2;%SystemRoot%;%SystemRoot%\system32\WBEM Any ideas? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: A little offbeat question
Hello Deepak, I was helping John Najarian. I dont face any problem. Thanks. Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - Original Message - From: deepak shripat mane To: Tomcat Users List ; [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 3:03 PM Subject: Re: Re: A little offbeat question Hello Meena Please Define Class_path variable in XP . So that your problem cat be get solved Deepak On Thu, 16 Sep 2004 Meena Alagappan wrote : Frist tell me what you are trying do this code with tomcat ? Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - Original Message - From: John Najarian To: 'Tomcat Users List' Sent: Thursday, September 16, 2004 12:33 PM Subject: RE: A little offbeat question One more thing, tomcat was running fine. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:01 AM To: [EMAIL PROTECTED] Subject: A little offbeat question I tried to run a program I thought would but it doesn't. This is on a windows XP platform. Everything compiled well but I get this error: Exception in thread main java.lang.NoClassDefFoundError: HelloWorld/class So I went back and tried a no brainer 'HelloWorld' This is the code. /** * The HelloWorld class implements an application that * displays Hello World! to the standard output. */ public class HelloWorld { public static void main(String[] args) { // Display Hello World! System.out.println(Hello World!); } } It compiles but I get the same error. I check my environment variables and mine are JAVA_HOME c:\j2sdk1.4.2_03 PATH C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\system3 2;%SystemRoot%;%SystemRoot%\system32\WBEM Any ideas? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi...
I did so.but even though my new servlet class is not loaded...when I access throu' browser... Any other idea or do I need to do something alone with this... Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - Original Message - From: Janko Harej To: Tomcat Users List Sent: Friday, August 20, 2004 12:50 AM Subject: Re: Hi... Delete the .class file in TOMCAT_HOME/work/Standalone/localhost/app_name/org... directory. Tomcat will behave as at run of servlet. Also you should check context definition in server.xml and set reloadable parameter to true. See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html Janko Meena Alagappan pravi: Hi All, I am new to this group. I have 1 problem related to tomcat 5 version. When ever I compile a servlet class and replace with old class I need to restart the Tomcat server to see the latest changes I made in the servlet java file. My question is how to reload the servlet class files without restarting the tomcat server ??? Any idea will be useful to me. Thank you in advance. Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hi...
Hi All, I am new to this group. I have 1 problem related to tomcat 5 version. When ever I compile a servlet class and replace with old class I need to restart the Tomcat server to see the latest changes I made in the servlet java file. My question is how to reload the servlet class files without restarting the tomcat server ??? Any idea will be useful to me. Thank you in advance. Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... --