Web tier: servlets, JSP, Web frameworks: Stuck Up at the Servlet Example
- Posted by: Web Master
- Posted on: January 11 2001 17:48 EST
Iam working on servlets using weblogic server installed in my lab.
Iam working with SqlServlet which is in examples\intro directory of weblogic installation.After starting my server
iam getting this error message in webserver log.It Is,
Cannot find resource 'SqlServlet' in document root 'D:\weblogic\myserver\servletclasses\examples\intro'.
I tried to experiment with my weblogic.properties file in many ways.And now iam much confused which one to comment and which one not to.For this forum friends who r not aware of my example, it is at
And should i set up weblogic as my HTTP Server...Any suggestions & comments would be greatly appreciated..
- Stuck Up at the Servlet Example by Vel Saran on January 11 2001 17:57 EST
- Stuck Up at the Servlet Example by Vel Saran on January 11 2001 18:06 EST
- Stuck Up at the Servlet Example by ravindra c on January 11 2001 23:23 EST
Have u included the line in the weblogic properties file
in USER-WRITTEN AND DEMO SERVLET REGISTRATIONS para..?
Sorry i made a mistake in my previous reply...
u have to include the following line:
in USER-WRITTEN AND DEMO SERVLET REGISTRATIONS para
Hope now it will work..
Thnks for u'r response.i 've included all the lines below
in user written & demo servlet registrations.Iam getting the same error.
Cannot find resource 'SqlServlet' in document root 'C:\weblogic\myserver\servletclasses\examples\intro'.Is my document root correct.And one more thing do i need to set up my weblogic as http server??
I donn't know whether it's typo error or really u missed..
U mentioned that u included these lines..
But it should be like this..
and u should also include the following line in WEBLOGIC DEMO CONNECTION POOL PROPERTIES para.
If u done the same thing, then it should work.. Reply me wht u actually done..
I think i'm little bit crazzzy.. i answered u'r query in all the three forums...!!
I just copied & pasted u'r lines..even then it didn't work.Iam getting the same old document root message in server log,and the same old ERROR-404 message in the browser.Can u give me any other clue if iam not bothering...
If u can please send me u'r weblogic.properties file for my email id.. i will try to solve u'r problem..
my id : saran_v at yahoo dot com
can u give your mail id so that i can send the properties file which u can replace in u r weblogic.its a clumsy file u can't understand it if u have through understand which will be gained over a period of time.(by practice).my id is chravindraa at rediffmail dot com
This is Vydehi again.What is dataSource in this line.
In my log file a message is displayed in this way:
<WebLogicServer> Found undeclared property: dataSource.
Could anyone explain please!!!
I got it atlast.Thanks,
i am observing your replies what you did already.i am new to weblogic server so please try to place weblogic properties file here and all related information regarding to weblogic.
shaik chan basha