I am using Weblogic 7.0 server. I have deployed the file successfully. But I got this error, When I tried to run the client program. Anyone can help me for solve this problem? Should I set any classpath? Pls help me..
You probably need to post your code. At a glance I will suspect that you don't provide a valid url when looking up the bean. Try this:
Ram Kumar Rengarajan
Joined: Apr 28, 2005
hi Valentin ,
Thank you very much for ur help. I could not able to run my program for the last 20 days. I could not able to found my problem. But now works fine with ur help. Thank you very much Valentin. Now I am very happy. Because my program works fine. Thanks a lot.
Joined: Feb 17, 2005
You're very welcome Ramkumar and I'm very happy I could help.
I have been unable to get this application to read anything from the database TassieDB. (because it is not doing anything, except opening up the first most page, Search) I am not sure what is wrong. I downloaded the database from the CD. Then since this was an older version of Access, I had to let my Access convert it to the newer form.
I then configured the Database the way I thought I should in order for it to work. I created a Data Source Name called TassieDB, by following the procedure to create a System DSN on Windows. I selected the Microsoft Access Driver and associated my Database which I named TassieDB1, which I deposited under C:\budibookstore which also contains the package com.brainysoftware.tassie.servlet.ejb
When I access the SearchServlet page and type in some search term ( like 'computer') in the search box, nothing turns up. I am supposed to getting a bunch of details regarding books matching the term 'computers'. I wonder what is going on!
The following errors are spewed out by Apache in this process:
May 18, 2005 8:27:24 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.31 May 18, 2005 8:27:28 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru e May 18, 2005 8:27:28 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul l=true May 18, 2005 8:27:29 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur nNull=true May 18, 2005 8:27:33 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 May 18, 2005 8:27:33 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 May 18, 2005 8:27:33 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=10/150 config=C:\tomcatj\conf\jk2.properties javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o rg.jnp.interfaces.NamingContextFactory] javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o rg.jnp.interfaces.NamingContextFactory]
All help is gratefully acknowledged and accepted. Thanks in advance