Well, I have been able to avoid this demon till today. So I guess I am
pretty lucky :)
I have a pretty simple Java class to change a users password in DB2 on a
mainframe. Looks like this:
import java.sql.*;
import java.util.Properties;
public class UpdatePassword {
/**
* @param args
*/
Properties props =new Properties();
public static void main(String[] args)
{
}
public int changePassword(String userName, String oldPassword,
String newPassword )
{
Class.forName("com.ibm.db2.jcc.DB2Driver");
props.setProperty("connectionAttribute","UID=" + userName +
";PWD=" + oldPassword + ";NEWPWD=" + newPassword + ";");
Connection con =
DriverManager.getConnection("jdbc:db2:jdbc:db2://XXXXXXXXXXXXX/DB2S",props);
return 1;
}
}
Now I have a class file compiled from that.
Where do I need to put the class file in order to have CF pick it up once I
recycle the services?
What is the path to the class inside of a createObject call?
TIA.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252781
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4