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.
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.
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...
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...
...syntax in a web browser. This approach is fine for the example files. I was wondering if anybody out there has had a similar problem and if so, I would be grateful if you tell me how to resolve it.
** I should mention that I have defined JAVA_HOME, CATALINA_HOME, and CLASSPATH.
thanks
Narjit
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...
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...
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?
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...
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...
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...
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...
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.
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...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.