File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes URGENT-Weblogic 5.1 servlet not loading on startup Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "URGENT-Weblogic 5.1 servlet not loading on startup" Watch "URGENT-Weblogic 5.1 servlet not loading on startup" New topic
Author

URGENT-Weblogic 5.1 servlet not loading on startup

Vikram Agrawal
Greenhorn

Joined: Sep 30, 2001
Posts: 1
Hi all,
I am using Weblogic 5.1 and I want to load a servlet on startup.
I have added the following lines to my weblogic.properties
------------------------------------------
weblogic.httpd.register.BrokerAdmin=rss.web.BrokerAdminServlet
weblogic.system.startupClass.StartMyServlet=\
weblogic.servlet.utils.ServletStartup
weblogic.system.startupArgs.StartMyServlet=\
servlet=BrokerAdmin
------------------------------------------

The problem is that the BrokerAdminServlet is not loaded on startup, i.e. it's init() method is not called.

This is what weblogic log says---
Tue Oct 02 05:09:00 GMT+05:00 2001:<I> <WebLogicServer> Invoking T3StartupDef St
artMyServlet weblogic.servlet.utils.ServletStartup with {servlet=BrokerAdmin}
Tue Oct 02 05:09:00 GMT+05:00 2001:<I> <WebLogicServer> T3StartupDef StartMyServ
let weblogic.servlet.utils.ServletStartup reports:servlet: BrokerAdmin not found
Tue Oct 02 05:09:00 GMT+05:00 2001:<I> <ListenThread> Listening on port: 7771
Tue Oct 02 05:09:00 GMT+05:00 2001:<I> <SSLListenThread> Listening on port: 7772
Tue Oct 02 05:09:00 GMT+05:00 2001:<A> <Posix Performance Pack> Could not initia
lize POSIX Performance Pack.
Tue Oct 02 05:09:00 GMT+05:00 2001:<E> <Performance Pack> Unable to load perform
ance pack, using Java I/O.
Tue Oct 02 05:09:01 GMT+05:00 2001:<I> <WebLogicServer> WebLogic Server started
ANY HELP WOULD BE DEEPLY APPRECIATED
Regards,
Vikram
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

It looks like your code isn't in the startup CLASSPATH.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
 
subject: URGENT-Weblogic 5.1 servlet not loading on startup
 
Threads others viewed
Logging in WebLogic 5.1
Install weblogic on Windows 98
Install weblogic on Windows 98
problem in runing example on Weblogic
Unable to load Posix Performance Pack in Weblogic5.1
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com