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 derfloh 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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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.
  5. 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
  6. 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
  7. Milleniumlegend

    Append a string in Bat file

    I have a Variable that I would like to append with dynamic values. I am trying the following SET SRCSHORTCUTS="F:\BATCH\shortcuts\" SET DESTSHORTCUTS="F:\Temp\shortcuts" XCOPY %SRCSHORTCUTS% %DESTSHORTCUTS% There is another folder under SRCSHORTCUTS called t1 or t2 or t3 etc. depending...
  8. Milleniumlegend

    Batch User input

    I would like to know how to take an user input using a MS Dos batch file. I would like to run a bat script and allow the users to select the environment they would like to enter. Say if the user enters Test1 or Test2 then I would need to go to Test1 or Test2 folder and then copy all the files...
  9. Milleniumlegend

    JDBC Connection Error

    I am trying to run the JDBC Connection on a Local Database. The SID = TST9. The user who has access to the SID is user. The program compiles fine. But for some reason it would not run. When I run I get an exception. Could someone please let me know what could be the problem. // Establish a...
  10. Milleniumlegend

    Servlet Error in Tomcat.

    Could someone please point me to the right place. I have a servlet that I have placed under \ROOT\WEB-INF\classes\coreservlets the Servlet name is HelloServlet. for some reason when I enter the following URL it does not do anything but produces an error...
  11. Milleniumlegend

    Basename and Unzip

    I am having problems with unzipping a file and moving them. My program runs a command line utility that unzips the file but the problem with that is the filename changes. Is there a way to get a filename without the .zip or .gz and then store the basename and then utilise the script to move...
  12. Milleniumlegend

    Error running perl executable.

    I have a file generated using perl par package into an exe. The executable works fine when clicked on it and executed. But for some reason would not work if it is scheduled. The permissions for the user is sorted. It has full control on all the drives on the Windows 2003 server. The following...
  13. Milleniumlegend

    Net::FTP Move Files on the remote server.

    Could someone please let me know how to move files on a remote server from one location to the other. I have a file that I would like to send from my local server to a remote FTP Server. But before I send the file to the remote server I would like to get the files moved to another location on...
  14. Milleniumlegend

    Regexp Help

    Could someone please tell me how to rename this file. I have a filename which is fed as input to a program. Input File = test_in_file_ddmmyyyy.lis. I want to match this expression and if found true want to rename the file to TEST_FILE.lis. Many Thanks in advance.
  15. Milleniumlegend

    Register Windows Service

    Could you please let me know how to register an windows Service on Server. I have a .exe application and would like to install that application as an exe. What command do I use to register that exe as a windows service. Many Thanks in advance
  16. Milleniumlegend

    Enumerating Files from the filesystem

    Could someone please let me know how to enumerate files under a directory in a filesystem. I would like to get a list of files from the filesystem under a particular directory recursively. I would need to make the search as fast as possible. Many Thanks
  17. Milleniumlegend

    NullpointerException Error

    I am gettig the following error. C:\programs\java\queue>java TestBlockingQueue Exception in thread "Thread-1" java.lang.NullPointerException at Consumer.run(Consumer.java:21) Exception in thread "Thread-3" java.lang.NullPointerException at Consumer.run(Consumer.java:21) Exception...
  18. Milleniumlegend

    Thread Question.

    I am writing an application that would perform a set of tasks such as FTP then email if the FTP is successful as well as Archiving of the Files if successful. I am thinking of writing a thread which uses the methods from these class to FTP, Email, Archive and Log Events. What is the best...
  19. Milleniumlegend

    Listener Error. Cannot Compile

    I am trying to create a new object but when compiling I am getting the following error message. Could you please let me know what could be the reason. The code is as follows. private FileSystemWatcher _fileSystemWatcher; void StartWatching() { _fileSystemWatcher = new...
  20. Milleniumlegend

    Copy Files Question.

    Could you please let me know what is the difference between Command 1 copy ("$srcbin/$file\.lst)","$binfolder") or print "Copy Failed for $file.lst: $!\n"; Command 2 copy ("$srcbin/$file*)","$binfolder") or print "Copy Failed for $file: $!\n"; I have a basename for the file and try to copy...

Part and Inventory Search

Back
Top