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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Milleniumlegend
  • Order by date
  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.
  16. Milleniumlegend

    Master BAT Script

    I would like to know how to start other batch scripts from a single batch Scripts. I have 16 Scripts in total that starts up the server and does various things. I would like to know if it is possible to call other batch scripts from one master script. Many Thanks Aaron
  17. Milleniumlegend

    Batch User input

    :TEST1 echo "Entered Test1" SET SRCSHORTCUTS=%SRCSHORTCUTS%t%RESULT%\ echo %SRCSHORTCUTS% XCOPY %SOURCE% %DEST% /y /d /e /c /i /f /h /k /o /v XCOPY %SRCSHORTCUTS% %DESTSHORTCUTS% /y /d /e /c /i /f /h /k /o /v goto LAST The output looks something like this. [Choose test environment...
  18. Milleniumlegend

    Batch User input

    Another thing that I noticed was If I use the following command it works fine. I get Invalid path if I run the same command again. XCOPY %SRCSHORTCUTS%\t1 %DESTSHORTCUTS% /y /d /e /c /i /f /h /k /o /v
  19. Milleniumlegend

    Batch User input

    [Choose test environment (1/2/3/4/5/P(PNL)/U(UAT))]1 You entered 1 "Entered Test1" Invalid path 0 File(s) copied Invalid number of parameters 0 File(s) copied "Finished Syncing" the folder structure exists for SRCSHORTCUTS and they have files underneath. But I guess this expression...
  20. Milleniumlegend

    Batch User input

    I have one more question on this one. SET SRCSHORTCUTS="F:\BATCH\\shortcuts\" SET DESTSHORTCUTS="F:\Temp\shortcuts" IF %RESULT% == 1 goto TEST%RESULT% IF %RESULT% == 2 goto TEST%RESULT% IF %RESULT% == 3 goto TEST%RESULT% IF %RESULT% == 4 goto TEST%RESULT% IF /i %RESULT% == P goto...

Part and Inventory Search

Back
Top