- Posted by: Shantanu Upadhyaya
- Posted on: September 15 2000 08:46 EDT
I have and evaluation copy on Weblogic5.1.0. I'm unable to register a servlet throught the console. The following error appears --
"Property change error for property "RegisterNewServlet".
Servlet could not be loaded or instantiated"
The folowing are the entries for the "Register new Servlet"
Virtual Servlet Name : Test
Servlet Class Name : examples.servlets.TestSer
TestSer.java is packaged as examples.servlets
Whats going on ?
- Hot Deploy in Weblogic 5.1.0 by Mahesh e on September 15 2000 12:16 EDT
- Hot Deploy in Weblogic 5.1.0 by Floyd Marinescu on September 15 2000 18:13 EDT
- Hot Deploy in Weblogic 5.1.0 by Jerome BOUGEAULT on February 22 2001 15:03 EST
Even I incurred the same problem . I think this occurs with windows 2000 .
However there is a way out.
Go to Weblogic root directory and open weblogic.properties file. Now in the last part of this file u can register user servlets. Give the name as weblogic.httpd.register.yourservletname=yourservletname
save the file.
Next take u r .class file and place in weblogic/myserver/servlets...
Now u start the weblogic server(not console)
After u see the server has started in the cmd prompt window.
Open weblogic console now
There is an attach commmand
Now attach by typing u r password
U can see u r server running and u can access u r servlet
Yeah....got it but you can't keep restarting the server. Thats too time consuming. Is Hot Deploy disabled in the evaluation copy ?
I'm working on Win 98.
Please do not post app. server specific questions in the EJB Design forum. Your thread was manually moved here to the troubleshooting forum.
Sorry about that. I realised later.
Why isnt the Hot Deploy for servlets working ?
This problem is a known bug which has been fixed in the service pack 2.
You can download it from bea.com.