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 TouchToneTommy 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 coolago

  1. coolago

    How to read the tail 1Mbyte text out of a 700Mbyte log file

    Thanks to Strongm's hint. It works! Now display the tail 1Mbytes of a 800Mbytes file only takes 3 seconds. It's wonderful! As a summary, first use the seek() function to move the file point to the some tail of the big file, then use the get function to read the text into the EMS memory. At the...
  2. coolago

    How to read the tail 1Mbyte text out of a 700Mbyte log file

    The main function that my second method uses: Public Function SplitFile(SplitFileName As String, BeginningNumber As Long, ReturnErrorDes As String, Split As Long, oName As String) As Boolean 'Use this function to do file spliting. The function return a boolean value, true for successful, false...
  3. coolago

    How to read the tail 1Mbyte text out of a 700Mbyte log file

    After sevel week's running, the size of the tomcat log file will get very large. E.g. yesterday evening the size of the log file gets 700M bytes large. But when tomcat goes un-normally, it's the tail 1M bytes of the log file that can do we help. Just according the tail 1M bytes of this large...
  4. coolago

    Tomcat dies frequently after migrate from linux to win server 2003

    Modify upon MyTomcatSvc to your service name, 128m&256m as ur wanted memory size. Vincent --------------------- If u think u can, then u can!
  5. coolago

    Tomcat dies frequently after migrate from linux to win server 2003

    Hi seong, Now we have found another way to solve this problem. You just need to open a ms-dos window, unstall the tomcat service, and install the serice again, then the memory options worked. You even needn't to modify the catalina.bat file. Following the uninstall-install steps: Change to the...
  6. coolago

    Tomcat dies frequently after migrate from linux to win server 2003

    Thank you, thanks to byam and thank sedj again! This morning we increase Tomcat's memory heap size as you suggested. Hope it will help us with this problem. The day when we migrated our application some 8days ago we had a problem that we cannt increase Tomcat's memory heap size at the win2003...
  7. coolago

    Tomcat dies frequently after migrate from linux to win server 2003

    2004-07-18 10:05:56 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at...
  8. coolago

    Tomcat dies frequently after migrate from linux to win server 2003

    Thanks to byam and sedj, thank you very much. Above all I want to say my sorry that not giving enough infomations needed. Please forgive me, I'll do it better next time. 1. Tomcat version: 4.1.24 Jdk version: 1.4.2.0.5 (version before migration is 1.4.1.2) 2. What is the application...
  9. coolago

    Tomcat dies frequently after migrate from linux to win server 2003

    The tomcat application has served very well in linux for almost half an year. But 7 days ago we're told that the operation system of the two servers must be changed from liunx to windows server 2003 stand edition. It's an order from our clients that we must obey, so we migrate our project...
  10. coolago

    Make a cron job to run a servlet in browser everyday?

    We need to run our servlet at 20:00pm everyday, so a cron job is required on the linux server to activate this servlet. Could anyone please give us some advice? Thank you very much. --------------- Now we imeplement this successfully on Microsoft Window os, e.g. the servlet is...
  11. coolago

    How can we change the alpha No. display in the column caption bar

    Thank xlbo. Thank you all! We have tried this method. Now the problem is that ROW 1 will be out of view when click the vertical scroll bar. But if you freeze ROW 1 then you cannt click the horizontal scroll bar to view the last some columns. How can we? Following is a source code example of...
  12. coolago

    How can we change the alpha No. display in the column caption bar

    Thank TonyU! I mean the previous one, i.e. replacing A,B,C,D with our own captions e.g. "SID", "NAME", "AGE", "ADDRESS", and so on. Could u please tell me how to implement this? Thanks again! Vincent --------------------- If u think u can, then u can!
  13. coolago

    How can we change the alpha No. display in the column caption bar

    Now it will show A, B, C, D ... in the column caption bar, but we need to change them, e.g. display "EquipName" instead of "A" in the first column, display "ModelNo." instead of "B" in the second column, display "Description" indtead of...
  14. coolago

    How to upload multiple files just at one time?

    Do you meant to package these excel documents in the client side manually firstly, then upload this package to the server and unpackage it in the server side? It's better than repeat 100 times the same upload action and now we're planning to adpot this method firstly. Thank you palbano, thanks...
  15. coolago

    How to upload multiple files just at one time?

    Every month our client will receive many monthly reported excel documents from their subsidiary companies. Then they'll upload these excel documents to the server through an upload page. It's a b/s system that helps to parse upon excel files and store corresponded data into the database. But...

Part and Inventory Search

Back
Top