[KCFusion] off topic - classpath, xml and java
I'm trying to set up some xml tests on an NT4 server, using samples and supporting files from xml.apache.org. Even after adding all .jar files to the classpath, as and several other items like the java executable, I still get The name specified is not recognized as an internal or external command, operable program or batch file. Some online docs attribute this error to the system not finding the java compiler. So I added everything in classpath to the path system variable but got the same error message. Have any of you gone down this road before? Looks like a simple mistake. Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED]
Re: [KCFusion] off topic - classpath, xml and java
Keith, Giving some snippet would help, but sounds like you need to specifically include the jar file (that has the class that you are invoking). For example, if the jar file is Servlet.jar then make sure that you not only specify the path to it but includes its name in the classpath variable (so locate the jar file that contains the class and associated methods and include the jar file name as part of class path). Hope this helps (depending on what exactly you are doing the problem could be also be related to location of jar file path relative to the root, if you are still having problem let me know and I will try to help you out). Girish Keith Purtell kpurtell@vantagTo: KCFusion (E-mail) [EMAIL PROTECTED] emed.com cc: Sent by:Subject: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 11:57 AM Please respond to CF-List I'm trying to set up some xml tests on an NT4 server, using samples and supporting files from xml.apache.org. Even after adding all .jar files to the classpath, as and several other items like the java executable, I still get The name specified is not recognized as an internal or external command, operable program or batch file. Some online docs attribute this error to the system not finding the java compiler. So I added everything in classpath to the path system variable but got the same error message. Have any of you gone down this road before? Looks like a simple mistake. Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED] __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED]
RE: [KCFusion] off topic - classpath, xml and java
I took the jar files they provided and installed them in one recommended location, and added their names to the classpath. (I'm including classpath with line returns for readability.) Some of the online docs I found attribute my error message to an inability to find the java compiler. I don't know if that's the case, and if either of the last two items (which installed with ColdFusion) is the compiler. %SystemRoot%\Java\Classes\xalan.jar; %SystemRoot%\Java\Classes\xerces.jar; %SystemRoot%\Java\Classes\xalansamples.jar; %SystemRoot%\Java\Classes\bsf.jar; %SystemRoot%\Java\Classes\bsfengines.jar; %SystemRoot%\Java\Classes\java_cup.jar; %SystemRoot%\Java\Classes\JLex.jar; %SystemRoot%\Java\Classes\runtime.jar; %SystemRoot%\Java\Classes\BCEL.jar; %SystemRoot%\Java\Classes\xalanservlet.jar; %SystemRoot%\Java\Classes\xml-apis.jar; %SystemRoot%\Java\Classes\xsltc.jar; C:\CFUSION\jre\bin\java.exe; C:\CFUSION\jre\bin\javaw.exe Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, Giving some snippet would help, but sounds like you need to specifically include the jar file (that has the class that you are invoking). For example, if the jar file is Servlet.jar then make sure that you not only specify the path to it but includes its name in the classpath variable (so locate the jar file that contains the class and associated methods and include the jar file name as part of class path). Hope this helps (depending on what exactly you are doing the problem could be also be related to location of jar file path relative to the root, if you are still having problem let me know and I will try to help you out). Girish Keith Purtell kpurtell@vantagTo: KCFusion (E-mail) [EMAIL PROTECTED] emed.com cc: Sent by:Subject: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 11:57 AM Please respond to CF-List I'm trying to set up some xml tests on an NT4 server, using samples and supporting files from xml.apache.org. Even after adding all .jar files to the classpath, as and several other items like the java executable, I still get The name specified is not recognized as an internal or external command, operable program or batch file. Some online docs attribute this error to the system not finding the java compiler. So I added everything in classpath to the path system variable but got the same error message. Have any of you gone down this road before? Looks like a simple mistake. Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED]
RE: [KCFusion] off topic - classpath, xml and java
Keith, That seems to be the case. However, you can verify that quickly by compiling a sample Java Program and running it (here is a quick one), - - - - - - - - - - - - - - - - - - - - - import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import javax.swing.event.*; public class Test { public static void main(String[] args) { System.out.println (Hello there!); } } - - - - - - - - - - - - - - - - - - - -- - - - The imports statements are really not necessary for the execution of the program, but I am including so you can see if some of the basic Java libraries are accessible or not. If this compiles (use javac.exe to compile and java.exe to run to get the message on the command console), then you have the Java installed correctly. If not, you need to download the JDK (you will need Java 2 Standard Edition from Sun's website) tool kit and install on your computer and it should all work fine after that. Let me know what happens and accordingly I can tell you the next steps if needed. Girish Keith Purtell kpurtell@vantagTo: [EMAIL PROTECTED] emed.com cc: Sent by:Subject: RE: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 12:24 PM Please respond to CF-List I took the jar files they provided and installed them in one recommended location, and added their names to the classpath. (I'm including classpath with line returns for readability.) Some of the online docs I found attribute my error message to an inability to find the java compiler. I don't know if that's the case, and if either of the last two items (which installed with ColdFusion) is the compiler. %SystemRoot%\Java\Classes\xalan.jar; %SystemRoot%\Java\Classes\xerces.jar; %SystemRoot%\Java\Classes\xalansamples.jar; %SystemRoot%\Java\Classes\bsf.jar; %SystemRoot%\Java\Classes\bsfengines.jar; %SystemRoot%\Java\Classes\java_cup.jar; %SystemRoot%\Java\Classes\JLex.jar; %SystemRoot%\Java\Classes\runtime.jar; %SystemRoot%\Java\Classes\BCEL.jar; %SystemRoot%\Java\Classes\xalanservlet.jar; %SystemRoot%\Java\Classes\xml-apis.jar; %SystemRoot%\Java\Classes\xsltc.jar; C:\CFUSION\jre\bin\java.exe; C:\CFUSION\jre\bin\javaw.exe Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, Giving some snippet would help, but sounds like you need to specifically include the jar file (that has the class that you are invoking). For example, if the jar file is Servlet.jar then make sure that you not only specify the path to it but includes its name in the classpath variable (so locate the jar file that contains the class and associated methods and include the jar file name as part of
RE: [KCFusion] off topic - classpath, xml and java
I'm going to run your test, but I already suspect I know which component is missing. You mention javac.exe. I've searched for that before and it doesn't exist on my server's C drive. I only have java.exe and javaw.exe. So I'm also going to go ahead and download the SDK, as the root of this issue is becoming more obvious. Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:53 PM To: [EMAIL PROTECTED] Subject: RE: [KCFusion] off topic - classpath, xml and java Keith, That seems to be the case. However, you can verify that quickly by compiling a sample Java Program and running it (here is a quick one), - - - - - - - - - - - - - - - - - - - - - import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import javax.swing.event.*; public class Test { public static void main(String[] args) { System.out.println (Hello there!); } } - - - - - - - - - - - - - - - - - - - -- - - - The imports statements are really not necessary for the execution of the program, but I am including so you can see if some of the basic Java libraries are accessible or not. If this compiles (use javac.exe to compile and java.exe to run to get the message on the command console), then you have the Java installed correctly. If not, you need to download the JDK (you will need Java 2 Standard Edition from Sun's website) tool kit and install on your computer and it should all work fine after that. Let me know what happens and accordingly I can tell you the next steps if needed. Girish Keith Purtell kpurtell@vantagTo: [EMAIL PROTECTED] emed.com cc: Sent by:Subject: RE: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 12:24 PM Please respond to CF-List I took the jar files they provided and installed them in one recommended location, and added their names to the classpath. (I'm including classpath with line returns for readability.) Some of the online docs I found attribute my error message to an inability to find the java compiler. I don't know if that's the case, and if either of the last two items (which installed with ColdFusion) is the compiler. %SystemRoot%\Java\Classes\xalan.jar; %SystemRoot%\Java\Classes\xerces.jar; %SystemRoot%\Java\Classes\xalansamples.jar; %SystemRoot%\Java\Classes\bsf.jar; %SystemRoot%\Java\Classes\bsfengines.jar; %SystemRoot%\Java\Classes\java_cup.jar; %SystemRoot%\Java\Classes\JLex.jar; %SystemRoot%\Java\Classes\runtime.jar; %SystemRoot%\Java\Classes\BCEL.jar; %SystemRoot%\Java\Classes\xalanservlet.jar; %SystemRoot%\Java\Classes\xml-apis.jar; %SystemRoot%\Java\Classes\xsltc.jar; C:\CFUSION\jre\bin\java.exe; C:\CFUSION\jre\bin\javaw.exe Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, Giving some snippet would help, but sounds like you need to specifically include the jar file (that has the class that you are invoking). For example, if the jar file is Servlet.jar then make sure that you not only specify the path to it but includes its name in the classpath variable (so locate the jar file that contains the class and associated methods and include the jar file name as part of class path). Hope this helps (depending on what exactly you are doing the problem could be also be related to location of jar file path relative to the root, if you are still having problem let me know and I will try to help you out). Girish Keith Purtell
Re: [KCFusion] off topic - classpath, xml and java
Keith, I don't think you need to put the files in the classpath, just the directory. Don't forget to include \jre\lib in the classpath. The .exe's have no business there. I actually wrote a DevCenter article that may be helpful (though it's a but basic). It should be in the next issue, but you can preview it here: http://www.windsorcs.com/leveragingJava.htm --Daryl - Original Message - From: Keith Purtell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:24 PM Subject: RE: [KCFusion] off topic - classpath, xml and java I took the jar files they provided and installed them in one recommended location, and added their names to the classpath. (I'm including classpath with line returns for readability.) Some of the online docs I found attribute my error message to an inability to find the java compiler. I don't know if that's the case, and if either of the last two items (which installed with ColdFusion) is the compiler. %SystemRoot%\Java\Classes\xalan.jar; %SystemRoot%\Java\Classes\xerces.jar; %SystemRoot%\Java\Classes\xalansamples.jar; %SystemRoot%\Java\Classes\bsf.jar; %SystemRoot%\Java\Classes\bsfengines.jar; %SystemRoot%\Java\Classes\java_cup.jar; %SystemRoot%\Java\Classes\JLex.jar; %SystemRoot%\Java\Classes\runtime.jar; %SystemRoot%\Java\Classes\BCEL.jar; %SystemRoot%\Java\Classes\xalanservlet.jar; %SystemRoot%\Java\Classes\xml-apis.jar; %SystemRoot%\Java\Classes\xsltc.jar; C:\CFUSION\jre\bin\java.exe; C:\CFUSION\jre\bin\javaw.exe Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, Giving some snippet would help, but sounds like you need to specifically include the jar file (that has the class that you are invoking). For example, if the jar file is Servlet.jar then make sure that you not only specify the path to it but includes its name in the classpath variable (so locate the jar file that contains the class and associated methods and include the jar file name as part of class path). Hope this helps (depending on what exactly you are doing the problem could be also be related to location of jar file path relative to the root, if you are still having problem let me know and I will try to help you out). Girish Keith Purtell kpurtell@vantagTo: KCFusion (E-mail) [EMAIL PROTECTED] emed.com cc: Sent by:Subject: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 11:57 AM Please respond to CF-List I'm trying to set up some xml tests on an NT4 server, using samples and supporting files from xml.apache.org. Even after adding all .jar files to the classpath, as and several other items like the java executable, I still get The name specified is not recognized as an internal or external command, operable program or batch file. Some online docs attribute this error to the system not finding the java compiler. So I added everything in classpath to the path system variable but got the same error message. Have any of you gone down this road before? Looks like a simple mistake. Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED] __ The KCFusion.org list and website is hosted by
Re: [KCFusion] off topic - classpath, xml and java
Keith, What you really need are Java libraries (and not the kit as such but installing one will get access to it - I am suggesting the JDK path for verification and locating source of your problem). I believe \jre\lib path is already in your classpath definition but appears the library files (that are being called by your jar files) are missing. You can save yourselves lot of time of installing JDK etc., if you can make sure the basic java library files are in place and then only install those library files (as your classpath already points correctly to them if I understand correctly). Daryl is right that typically all you need is just the path for the library files in your classpath environmental variable (however, in my experience depending on your setup and what you are doing you may need to explicitely include the jar file in your path). Girish Daryl Banttari [EMAIL PROTECTED]To: [EMAIL PROTECTED] t cc: Sent by:Subject: Re: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 01:40 PM Please respond to CF-List Keith, I don't think you need to put the files in the classpath, just the directory. Don't forget to include \jre\lib in the classpath. The .exe's have no business there. I actually wrote a DevCenter article that may be helpful (though it's a but basic). It should be in the next issue, but you can preview it here: http://www.windsorcs.com/leveragingJava.htm --Daryl - Original Message - From: Keith Purtell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:24 PM Subject: RE: [KCFusion] off topic - classpath, xml and java I took the jar files they provided and installed them in one recommended location, and added their names to the classpath. (I'm including classpath with line returns for readability.) Some of the online docs I found attribute my error message to an inability to find the java compiler. I don't know if that's the case, and if either of the last two items (which installed with ColdFusion) is the compiler. %SystemRoot%\Java\Classes\xalan.jar; %SystemRoot%\Java\Classes\xerces.jar; %SystemRoot%\Java\Classes\xalansamples.jar; %SystemRoot%\Java\Classes\bsf.jar; %SystemRoot%\Java\Classes\bsfengines.jar; %SystemRoot%\Java\Classes\java_cup.jar; %SystemRoot%\Java\Classes\JLex.jar; %SystemRoot%\Java\Classes\runtime.jar; %SystemRoot%\Java\Classes\BCEL.jar; %SystemRoot%\Java\Classes\xalanservlet.jar; %SystemRoot%\Java\Classes\xml-apis.jar; %SystemRoot%\Java\Classes\xsltc.jar; C:\CFUSION\jre\bin\java.exe; C:\CFUSION\jre\bin\javaw.exe Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, Giving some snippet would help, but
RE: [KCFusion] off topic - classpath, xml and java
Two newbie questions: If just a directory in classpath does it need a trailing backslash? How do I identify a Java library? Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 2:13 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, What you really need are Java libraries (and not the kit as such but installing one will get access to it - I am suggesting the JDK path for verification and locating source of your problem). I believe \jre\lib path is already in your classpath definition but appears the library files (that are being called by your jar files) are missing. You can save yourselves lot of time of installing JDK etc., if you can make sure the basic java library files are in place and then only install those library files (as your classpath already points correctly to them if I understand correctly). Daryl is right that typically all you need is just the path for the library files in your classpath environmental variable (however, in my experience depending on your setup and what you are doing you may need to explicitely include the jar file in your path). Girish Daryl Banttari [EMAIL PROTECTED]To: [EMAIL PROTECTED] t cc: Sent by:Subject: Re: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 01:40 PM Please respond to CF-List Keith, I don't think you need to put the files in the classpath, just the directory. Don't forget to include \jre\lib in the classpath. The .exe's have no business there. I actually wrote a DevCenter article that may be helpful (though it's a but basic). It should be in the next issue, but you can preview it here: http://www.windsorcs.com/leveragingJava.htm --Daryl - Original Message - From: Keith Purtell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:24 PM Subject: RE: [KCFusion] off topic - classpath, xml and java I took the jar files they provided and installed them in one recommended location, and added their names to the classpath. (I'm including classpath with line returns for readability.) Some of the online docs I found attribute my error message to an inability to find the java compiler. I don't know if that's the case, and if either of the last two items (which installed with ColdFusion) is the compiler. %SystemRoot%\Java\Classes\xalan.jar; %SystemRoot%\Java\Classes\xerces.jar; %SystemRoot%\Java\Classes\xalansamples.jar; %SystemRoot%\Java\Classes\bsf.jar; %SystemRoot%\Java\Classes\bsfengines.jar; %SystemRoot%\Java\Classes\java_cup.jar; %SystemRoot%\Java\Classes\JLex.jar; %SystemRoot%\Java\Classes\runtime.jar; %SystemRoot%\Java\Classes\BCEL.jar; %SystemRoot%\Java\Classes\xalanservlet.jar; %SystemRoot%\Java\Classes\xml-apis.jar; %SystemRoot%\Java\Classes\xsltc.jar; C:\CFUSION\jre\bin\java.exe; C:\CFUSION\jre\bin\javaw.exe Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, Giving some snippet would help, but sounds like you need to specifically include the jar file (that has the class that you are invoking). For example, if the jar file is Servlet.jar then make sure that you not only specify the path to it but includes its name in the classpath variable (so locate the jar file that contains the class and associated methods and include the jar file name as part of class path). Hope this helps (depending on what exactly you are
RE: [KCFusion] off topic - classpath, xml and java
(1) Depends on the system under Windows it does not matter so long as it is the Windows doing the reading (but got to be careful if inside java programs running even under Windows as \ is interpreted as escape sequence inside Java and directory(folder) is designated with / inside UNIX environment as is also acceptable to Windows). I always use / out of habit (so even if it is Netscape browser all still works, Explorer does not care consistent with Windows). (2) Library files could be with .lib extension or .jar extensions - so in general could be both inside your folder. Some of the typical library files (\jre\lib) provided when you install JDK are - jaws.jar, jawt.lib etc. The library may also include properties files that go with specific classes. Girish Keith Purtell kpurtell@vantagTo: [EMAIL PROTECTED] emed.com cc: Sent by:Subject: RE: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 02:17 PM Please respond to CF-List Two newbie questions: If just a directory in classpath does it need a trailing backslash? How do I identify a Java library? Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 2:13 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, What you really need are Java libraries (and not the kit as such but installing one will get access to it - I am suggesting the JDK path for verification and locating source of your problem). I believe \jre\lib path is already in your classpath definition but appears the library files (that are being called by your jar files) are missing. You can save yourselves lot of time of installing JDK etc., if you can make sure the basic java library files are in place and then only install those library files (as your classpath already points correctly to them if I understand correctly). Daryl is right that typically all you need is just the path for the library files in your classpath environmental variable (however, in my experience depending on your setup and what you are doing you may need to explicitely include the jar file in your path). Girish Daryl Banttari [EMAIL PROTECTED]To: [EMAIL PROTECTED] t cc: Sent by:Subject: Re: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 01:40 PM Please respond to CF-List Keith, I don't think you need to put the files in the classpath, just the directory. Don't forget to include \jre\lib in the classpath. The .exe's have no business there. I actually
Re: [KCFusion] off topic - classpath, xml and java
Oh! Hey, the article is posted. I don't remember seeing DevCenter News this month...hmmm... http://www.allaire.com/handlers/index.cfm?ID=22250 Actually, two of 'em are mine this month: http://www.allaire.com/handlers/index.cfm?ID=22249 --Daryl - Original Message - From: Keith Purtell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 2:17 PM Subject: RE: [KCFusion] off topic - classpath, xml and java Two newbie questions: If just a directory in classpath does it need a trailing backslash? How do I identify a Java library? Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 2:13 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, What you really need are Java libraries (and not the kit as such but installing one will get access to it - I am suggesting the JDK path for verification and locating source of your problem). I believe \jre\lib path is already in your classpath definition but appears the library files (that are being called by your jar files) are missing. You can save yourselves lot of time of installing JDK etc., if you can make sure the basic java library files are in place and then only install those library files (as your classpath already points correctly to them if I understand correctly). Daryl is right that typically all you need is just the path for the library files in your classpath environmental variable (however, in my experience depending on your setup and what you are doing you may need to explicitely include the jar file in your path). Girish Daryl Banttari [EMAIL PROTECTED]To: [EMAIL PROTECTED] t cc: Sent by:Subject: Re: [KCFusion] off topic - classpath, xml and java CF-List-owner@kc fusion.org 12/10/01 01:40 PM Please respond to CF-List Keith, I don't think you need to put the files in the classpath, just the directory. Don't forget to include \jre\lib in the classpath. The .exe's have no business there. I actually wrote a DevCenter article that may be helpful (though it's a but basic). It should be in the next issue, but you can preview it here: http://www.windsorcs.com/leveragingJava.htm --Daryl - Original Message - From: Keith Purtell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:24 PM Subject: RE: [KCFusion] off topic - classpath, xml and java I took the jar files they provided and installed them in one recommended location, and added their names to the classpath. (I'm including classpath with line returns for readability.) Some of the online docs I found attribute my error message to an inability to find the java compiler. I don't know if that's the case, and if either of the last two items (which installed with ColdFusion) is the compiler. %SystemRoot%\Java\Classes\xalan.jar; %SystemRoot%\Java\Classes\xerces.jar; %SystemRoot%\Java\Classes\xalansamples.jar; %SystemRoot%\Java\Classes\bsf.jar; %SystemRoot%\Java\Classes\bsfengines.jar; %SystemRoot%\Java\Classes\java_cup.jar; %SystemRoot%\Java\Classes\JLex.jar; %SystemRoot%\Java\Classes\runtime.jar; %SystemRoot%\Java\Classes\BCEL.jar; %SystemRoot%\Java\Classes\xalanservlet.jar; %SystemRoot%\Java\Classes\xml-apis.jar; %SystemRoot%\Java\Classes\xsltc.jar; C:\CFUSION\jre\bin\java.exe; C:\CFUSION\jre\bin\javaw.exe Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) Email: [EMAIL PROTECTED] Voice: (816) 801-5200 Fax: (816) 880-4776 (800) 525-1101 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] off topic - classpath, xml and java Keith, Giving some snippet would
RE: [KCFusion] NT Authentication on Unix
ok guys, another related question. Instead of NT, does anyone know of a variable I could call to get the novell login id of a user. Basically they are already logged on to the network so when they access the web site I want to capture their novell login name and compare that to our permissions table on Oracle, but first I need their login. auth_user, remote_user do not work. Thanks, Misty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Gammage Sent: Thursday, November 29, 2001 2:54 PM To: [EMAIL PROTECTED] Subject: Re: [KCFusion] NT Authentication on Unix It would require another server to authenticate the NT Users. NT would then have to authenticate with the UNIX server through IIS. A different web would probably have to be set up for the NT users to access, since Unix doesn't use NTFS permissions. Create a UNIX account that IIS can utilize to authenticate requests. I haven't really explored LDAP options...can NT authenticate through LDAP instead of NTFS security somehow? Don't really know if that would all work...but it seems logical to me. Any other thoughts? Dave Gammage Digital Prairie Communications Original Message: I have a client who is using an LDAP system to authenticate their users on a secured area on their Unix web site. They are now wanting to change their system to do NT Authentication for their users who are on NT desktops. But they want their web server to stay on Unix. Is this possible? Anyone wanna shed some light if you have done this before? Thanks, Misty __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED] __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED] __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe mailto:[EMAIL PROTECTED] To Unsubscribe mailto:[EMAIL PROTECTED]