Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Milleniumlegend

  1. Milleniumlegend

    No Class Def Found Error Java

    I am using the Eclipse IDE. Is there a way that I can add the Classpath on the Eclipse IDE to test it. I have created a Workspace called Hibernateexample and in the src folder of the project I have added the FirstExample and Deals java file in the src folder. Also I have created a folder...
  2. Milleniumlegend

    No Class Def Found Error Java

    Deal Code package roseindia.tutorial.hibernate; /** * @author Deepak Kumar * * http://www.roseindia.net * Java Class to map to the datbase Contact Table */ public class Deals { private int ResultID; private String Deal; private long id; /** * @return Email */ public String...
  3. Milleniumlegend

    No Class Def Found Error Java

    java.lang.NoClassDefFoundError: FirstExample Exception in thread "main" I am running the following Hibernate code from Eclipse and getting the error. Does anyone know what could be the problem. All other java code works on the Eclipse IDE except this one. So I guess the classpath should have...
  4. Milleniumlegend

    Error Executing the Servlet on Weblogic

    I am not sure what the problem is but I compiled my servlet using the weblogic Version of JDK but I am getting the following error. Could someone please let me know what could be the likely cause. I have packaged the whole directory into a WAR file. The error is as below. Error...
  5. Milleniumlegend

    Change Modified Time for a File.

    also the syntax for Win32::File is bit ambiguous. use Win32::File; $myfile="C:\\Temp\temp.txt" # want to make this a RW File SetAttributes($myfile, NORMAL); This does not seem to work.
  6. Milleniumlegend

    Change Modified Time for a File.

    Thanks for the information it does help. I am behind a corporate firewall and I am trying to download the Win32:File as well as Win32API::File::Time All I got was the tar file and there is some files within it but I am not sure what File to place where. I am on a Windows based Sytem and...
  7. Milleniumlegend

    Change Modified Time for a File.

    Could you please let me know how to change the modified times for a read only file. I have a read only file and want the file to retain its read only attributes. I would like to know any methods that would allow me to 1. Lock the File so that it cannot be accessed by any other process. 2...
  8. Milleniumlegend

    Net::Time No Response

    All I need is to connect to a remote windows server and get the system time from that box in milliseconds. Is there anyway to do that ? I thought Net::Time may be good enough for this. But looks like it is looking at NTP Servers.
  9. Milleniumlegend

    Net::Time No Response

    This does not do anything as such? I tried the above code but I am not getting any exception.
  10. Milleniumlegend

    Net::Time No Response

    use Net::Time qw(inet_time inet_daytime); print inet_time(); # use default host from Net::Config #print inet_time('localhost'); print inet_time('localhost', 'tcp');
  11. Milleniumlegend

    Net::Time No Response

    Could someone please let me know how this works. I tried the one line example from the CPAN example but this does not work. I dont get any output for localhost or any remotehost. Many thanks in advance.
  12. Milleniumlegend

    Compare Time between Two Servers

    Basically what I wanted to check is if the two servers which are basically on the same switch are not showing too much difference in time. We have synced the times but we need to know if the times when the response was sent from server a to server b there is any lag between them. It would be...
  13. Milleniumlegend

    Compare Time between Two Servers

    Is it possible to get time in milliseconds ?? I would like to compare the time between two boxes in milliseconds and log the time on the server where the script would be running.
  14. Milleniumlegend

    Compare Time between Two Servers

    I would like to compare the time between two servers. I have synched the time between the servers but for my application we need to log the times from one server on the other. Is there a utility or some program that I can use to log times from remote servers to the local server. Many thanks
  15. Milleniumlegend

    Master BAT Script

    Thanks guys. Will try this out. Does it also allows us to check if the script executed successfully or not.

Part and Inventory Search

Back
Top