Hi,
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
http://www.weblogic.com/docs51/intro/intro_servlet.html.
And should i set up weblogic as my HTTP Server...Any suggestions & comments would be greatly appreciated..
Thanks,
Vydehi.......
-
Stuck Up at the Servlet Example (10 messages)
- Posted by: Web Master
- Posted on: January 11 2001 17:48 EST
Threaded Messages (10)
- 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 Web Master on January 11 2001 07:28 EST
-
Stuck Up at the Servlet Example by Vel Saran on January 11 2001 07:42 EST
-
Stuck Up at the Servlet Example by Web Master on January 11 2001 08:10 EST
- Stuck Up at the Servlet Example by Vel Saran on January 11 2001 08:16 EST
-
Stuck Up at the Servlet Example by Web Master on January 11 2001 08:10 EST
-
Stuck Up at the Servlet Example by Vel Saran on January 11 2001 07:42 EST
-
Stuck Up at the Servlet Example by Web Master on January 11 2001 07:28 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
- Stuck Up at the Servlet Example by Web Master on January 12 2001 18:20 EST
-
Stuck Up at the Servlet Example by Web Master on January 12 2001 07:07 EST
- Stuck Up at the Servlet Example by chan basha on January 17 2001 01:58 EST
-
Stuck Up at the Servlet Example by Web Master on January 12 2001 07:07 EST
- Stuck Up at the Servlet Example by Web Master on January 12 2001 18:20 EST
-
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Vel Saran
- Posted on: January 11 2001 17:57 EST
- in response to Web Master
Hi Vydehi,
Have u included the line in the weblogic properties file
weblogic.httpd.register.sql=examples.servlets.SqlServlet
in USER-WRITTEN AND DEMO SERVLET REGISTRATIONS para..?
Regards
Saran -
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Vel Saran
- Posted on: January 11 2001 18:06 EST
- in response to Vel Saran
Hi Vydehi,
Sorry i made a mistake in my previous reply...
u have to include the following line:
weblogic.httpd.register.sql=examples.intro.SqlServlet
in USER-WRITTEN AND DEMO SERVLET REGISTRATIONS para
Hope now it will work..
Regards
Saran -
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Web Master
- Posted on: January 11 2001 19:28 EST
- in response to Vel Saran
Hi Saran,
Thnks for u'r response.i 've included all the lines below
weblogic.httpd.register.sql=examples.intro.SqlServlet
weblogic.http.register.SqlServlet=\examples.intro.SqlServlet
weblogic.http.initArgs.SqlServlet=\dataSource=demoDataSource
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??
expecting reply,
Vydehi.
-
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Vel Saran
- Posted on: January 11 2001 19:42 EST
- in response to Web Master
Hi,
I donn't know whether it's typo error or really u missed..
U mentioned that u included these lines..
weblogic.http.register.SqlServlet=\examples.intro.SqlServlet
weblogic.http.initArgs.SqlServlet=\dataSource=demoDataSource
But it should be like this..
weblogic.http.register.sql=examples.intro.SqlServlet
weblogic.http.initArgs.sql=\
dataSource=demoDataSource
and u should also include the following line in WEBLOGIC DEMO CONNECTION POOL PROPERTIES para.
weblogic.jdbc.TXDataSource.demoDataSource=demoPool
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...!!
Cheers
Saran
-
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Web Master
- Posted on: January 11 2001 20:10 EST
- in response to Vel Saran
Hi Saran,
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...
Regards
Vydehi. -
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Vel Saran
- Posted on: January 11 2001 20:16 EST
- in response to Web Master
Hi,
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
Saran -
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: ravindra c
- Posted on: January 11 2001 23:23 EST
- in response to Web Master
hai vydehi,
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
cheers... bye
RAVINDRA -
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Web Master
- Posted on: January 12 2001 18:20 EST
- in response to ravindra c
Hi,
This is Vydehi again.What is dataSource in this line.
weblogic.http.initArgs.sql=\
dataSource=demoDataSource
In my log file a message is displayed in this way:
<WebLogicServer> Found undeclared property: dataSource.
Could anyone explain please!!!
Thanks,
Vydehi.
-
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: Web Master
- Posted on: January 12 2001 19:07 EST
- in response to Web Master
Hi ,
I got it atlast.Thanks,
Vydehi -
Stuck Up at the Servlet Example[ Go to top ]
- Posted by: chan basha
- Posted on: January 17 2001 01:58 EST
- in response to Web Master
Hai Vydehi,
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.
thank u
shaik chan basha