Strange Problem with Tomcat 4.1.24
Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat-4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange Problem with Tomcat 4.1.24
Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange Problem with Tomcat 4.1.24
No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: %= IsraelMySQL.getContent(home) % Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Strange Problem with Tomcat 4.1.24
you should always do it :) and starting now all your classes must be in a package. Filip -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:09 AM To: Tomcat Users List Subject: Re: Strange Problem with Tomcat 4.1.24 No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: %= IsraelMySQL.getContent(home) % Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Strange Problem with Tomcat 4.1.24
Hey Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Is there no other way to do that. It it was working before? I have currently a really high pressure to the this site up and running. Roland Filip Hanik wrote: you should always do it :) and starting now all your classes must be in a package. Filip -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:09 AM To: Tomcat Users List Subject: Re: Strange Problem with Tomcat 4.1.24 No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: %= IsraelMySQL.getContent(home) % Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange Problem with Tomcat 4.1.24
Howdy, You should always properly import classes you depend on, and all your classes should be in a package. If they're not, jasper will put them in the org.apache.jsp package, which you don't import, and that's why it's not found in your JSP page. Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:09 PM To: Tomcat Users List Subject: Re: Strange Problem with Tomcat 4.1.24 No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: %= IsraelMySQL.getContent(home) % Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange Problem with Tomcat 4.1.24
Howdy, Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Not if you know any perl or other efficient text processing languages. Or have access to an IDE which will repackage classes for you: this is a one minute, point and click operation in Eclipse for example. Is there no other way to do that. It it was working before? If you can't do it at this time, you can stay with your current version of tomcat. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange Problem with Tomcat 4.1.24
first try it out with one class, and see if it solves the problem, if that works, buy a pot of coffee, and go at it :) there might be other ways, but I am not sure. Filip -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:16 AM To: Tomcat Users List Subject: Re: Strange Problem with Tomcat 4.1.24 Hey Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Is there no other way to do that. It it was working before? I have currently a really high pressure to the this site up and running. Roland Filip Hanik wrote: you should always do it :) and starting now all your classes must be in a package. Filip -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:09 AM To: Tomcat Users List Subject: Re: Strange Problem with Tomcat 4.1.24 No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: %= IsraelMySQL.getContent(home) % Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat- 4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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] - 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: Strange Problem with Tomcat 4.1.24
Hello I'm currently using eclipse but there are around 25 classes which depending to each other. This main classes are the framework and there are severeral Applications which was written with this framework. Isn't there a possibility to downgrade the handling of the jsp files? Roland Shapira, Yoav wrote: Howdy, Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Not if you know any perl or other efficient text processing languages. Or have access to an IDE which will repackage classes for you: this is a one minute, point and click operation in Eclipse for example. Is there no other way to do that. It it was working before? If you can't do it at this time, you can stay with your current version of tomcat. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Strange Problem with Tomcat 4.1.24
Howdy, I'm currently using eclipse but there are around 25 classes which depending to each other. This main classes are the framework and there are severeral Applications which was written with this framework. Isn't there a possibility to downgrade the handling of the jsp files? Eclipse will repackage and update references. Applications were written against version X of your framework, which had no packages. When you repackage the framework to work in tomcat 4.x, call it framework version X.2 or whatever. Then you get update and migrate applications to the new framework and tomcat 4.x gradually, one at a time. I don't mean to say this isn't annoying. But it's a common procedure, and it really doesn't have to be very time-consuming given the proper tools: in this case Eclipse and versioning. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange Problem with Tomcat 4.1.24
Do you have the java_home variable set to ur java directory. if not that might be the problem. - Original Message - From: Roland Kaeser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:02 PM Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i try to call the jsp Page: - org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 202 in the jsp file: /home.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /usr/jakarta-tomcat-4.1.24/work/Standalone/localhost/israel/home_jsp.java:17 8: cannot resolve symbol [javac] symbol : variable IsraelMySQL [javac] location: class org.apache.jsp.home_jsp [javac] out.print( IsraelMySQL.getNews() ); [javac] ^ - But if I load the the same class from my Servlet-Application it can be loaded successfully. Can andybody help me please? This already gonna drive me crazy. Roland - 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: Strange Problem with Tomcat 4.1.24
HeyHo I've tried it with the refactor Command. It was very easy!! I've never thinked that this will work that fine and fast. The Application is working now on Tomcat 4. Thanks a lot, i can now make the final deployment on the live machine. Roland Shapira, Yoav wrote: Howdy, I'm currently using eclipse but there are around 25 classes which depending to each other. This main classes are the framework and there are severeral Applications which was written with this framework. Isn't there a possibility to downgrade the handling of the jsp files? Eclipse will repackage and update references. Applications were written against version X of your framework, which had no packages. When you repackage the framework to work in tomcat 4.x, call it framework version X.2 or whatever. Then you get update and migrate applications to the new framework and tomcat 4.x gradually, one at a time. I don't mean to say this isn't annoying. But it's a common procedure, and it really doesn't have to be very time-consuming given the proper tools: in this case Eclipse and versioning. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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]