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: *

  1. brinker

    Using the InitialContextFactory with Sun App Server

    No success. It appears as if com.sun.enterprise.naming.SerialInitContextFactory cannot be found. I am curious as whether I am missing something. The container the application is running in on Sun's deployment server is different from the program that the client is using.
  2. brinker

    Using the InitialContextFactory with Sun App Server

    Thanks for the article. I'm still combing through it and will let you know if I can figure out something from it.
  3. brinker

    Using the InitialContextFactory with Sun App Server

    Yes, the j2ee.jar is definitely in the classpath. The exception I am getting is : javax.naming.noInitialContextException cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory I know that this class cannot be found, but I do not know why or how to solve this problem.
  4. brinker

    Using the InitialContextFactory with Sun App Server

    Thanks for the reply. I believe the first problem is with the "com.sun.enterprise.naming.SerialInitContextFactory" not being able to be fournd. I believe this is right as I got the code from Sun's web site. Do you know if I need to import anything to get this piece of code to work. I...
  5. brinker

    Using the InitialContextFactory with Sun App Server

    Hello everyone, I have been a long time member of tek-tips, but am fairly new to the J2EE forum. I am trying to access a Java bean deployed using Sun Application server from outside the container (ie. an external client Java program). There are no jsp pages, just an application client and 1...
  6. brinker

    Running Servlets Using Tomcat

    Hi all, I am very new to the forum, but I have been programming in Java for years. I have the most weird problem running my own servlets in Tomcat. I believe that I have installed the Tomcat program correctly because there are no errors and I can run the example servlet applications provided...
  7. brinker

    JTable Listeners

    Thanks for the reply, Actually the problem that I am having is that when the user types into a Table cell, the table cell is not updated until "Enter" is hit or the user clicks on another cell. I want to update another cell dynamically while the user is still typing information into...
  8. brinker

    JTable Listeners

    Hi All, I have a pretty simple question regarding JTables. Basically, I am trying to update one column dynamically based upon the user typing in a value into another column. My Key pressed action listener appears to be functioning properly as it processes the event. However, when I try to get...
  9. brinker

    URL freezing

    With the threaded version, it appears that I need to specify a protocol. This is the error I am getting: java.net.MalformedURLException: no protocol How does one specify a protocol on Java?
  10. brinker

    URL freezing

    I'll try that and get let you know if this solves the problem. Thanks Narjit
  11. brinker

    URL freezing

    Thanks Pete, Is there a way to use a timer task without explictly using threads? I am doing accessing the URL using a simple function call. Narjit
  12. brinker

    URL freezing

    Hi, I have written a program that loops around grabbing information from one URL, but with different search queries. The program sometimes runs for days until completion as expected. However, other times, it freezes for unknown reasons. I am catching all errors, but there are none to be caught...
  13. brinker

    Closing Threads

    public class FThread extends Thread { private File inputFile; private DataInputStream input; //input file stream private String infoString; private StringBuffer outputString; private String inputName; public FThread(String Name, String FName) { super(Name); outputString=new...
  14. brinker

    Closing Threads

    Thanks Pete, I tried using logging. In other words, I put simply output statements when the threads are about to exit. They seem to get to the point as wanted, but they do not die after that. I am not using RMI or JINI. I thought that threads were supposed to die upon their completion. I have...
  15. brinker

    Closing Threads

    Hi, I have a pretty simple question. I have written a multithreaded program and it seem to work pretty well. However, when the threads are done their execution, the program does not seem to finish, but just hangs. I thought that when the threads finished their execution, the resources were...
  16. brinker

    Query URL Question

    From what I can tell, if I tried something like new URL("http://inventory.overture.com/d/searchinventory/suggestion/?term=hello"), I get an error. However, if I tried : new t = new String("http://inventory.overture.com/d/searchinventory/suggestion/?term=hello") g = new...
  17. brinker

    Query URL Question

    I think that I've figured it out this morning. I had to make a string first, then put it into the URL. This works for queries.
  18. brinker

    Query URL Question

    No, that doesn't seem to be working. If I put the '?' anywhere in the URL, I get a Java error. The URL must be the same, at least the host must see it as the same to get the page required. When I try placing the '?' somewhere else using a browser, I get a different page.
  19. brinker

    Query URL Question

    Hi Everyone, I know how to get the content for basic HTML pages using Java. However, when I try to get the content for something like "http://inventory.overture.com/d/searchinventory/suggestion/?term=telephone.com", Java responds that I am including an illegal character (ie '?') in...
  20. brinker

    Reading Google Result URLs

    No, the file is still in the Google cache. If you try clicking on the html link above in my code, it will take you to the Google page. However, for some reason Java cannot access these pages. Does anybody know how to trick the Google URLs into seeing a web agent?

Part and Inventory Search

Back
Top