Weblogic 7.0 startup servlet problem

I have added a new startup servlet to my existing web application.
          While deploying the same, weblogic is throwing the following
          exception.
          I'm very sure that class (com/lbx/util/LbxProperties) is part of
          webapp war file I created. Can somebody please throw some light about
          this.
          I'm trying to do the .ear file deployment.
          Thank you very much
          Santhosh.
          <Dec 30, 2002 12:04:27 PM PST> <Error> <HTTP> <101216> <Servlet:
          "StartupServlet" failed to preload on startup in webapp: "wliWEB"
          javax.servlet.ServletException: com/lbx/util/LbxProperties
          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:912)
          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:833)
          at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:773)
          at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
          at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
          at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:4746)
          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:539)
          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:983)
          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1017)
          at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1112)
          at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
          at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
          >
          

          Hi Santhosh,
          Yeah , if its part of the system class path, it should find it. How are u referencing
          the file? Try wrapping the code that gets the Resource and see what exception
          you get.
          -Raj
          "Santhosh Kumar" <[email protected]> wrote:
          >
          >Raj, you are right. I'm trying to load the properties from within the
          >that class.
          >However, path (external to ear file) where I placed all those properties
          >is part
          >of system class path. So wl should find those property files, right?
          >
          >-Santhosh.
          >
          >"Raj" <[email protected]> wrote:
          >>
          >>Hi
          >>Are you trying to load any property file in your startup servlet? I
          >think
          >>WL does
          >>not extract the file "automatically" from within the war file. You should
          >>probably
          >>try referencing the file using some other mechanism or try loading it
          >>from ur
          >>EJB(as EJB JARs are loaded before WARs).
          >>
          >>-Raj
          >>
          >>
          >>[email protected] (Santhosh Kumar) wrote:
          >>>I have added a new startup servlet to my existing web application.
          >>>While deploying the same, weblogic is throwing the following
          >>>exception.
          >>>
          >>>I'm very sure that class (com/lbx/util/LbxProperties) is part of
          >>>webapp war file I created. Can somebody please throw some light about
          >>>this.
          >>>
          >>>I'm trying to do the .ear file deployment.
          >>>
          >>>Thank you very much
          >>>Santhosh.
          >>>
          >>><Dec 30, 2002 12:04:27 PM PST> <Error> <HTTP> <101216> <Servlet:
          >>>"StartupServlet" failed to preload on startup in webapp: "wliWEB"
          >>>javax.servlet.ServletException: com/lbx/util/LbxProperties
          >>> at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:912)
          >>> at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:833)
          >>> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:773)
          >>> at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
          >>> at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
          >>> at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
          >>> at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:4746)
          >>> at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:539)
          >>> at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:983)
          >>> at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1017)
          >>> at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1112)
          >>> at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
          >>> at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
          >>> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
          >>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
          >>>>
          >>
          >
          

Similar Messages

  • Startup Servlet problem

    I have added a new startup servlet to my existing web application.
              While deploying the same, weblogic is throwing the following
              exception.
              I'm very sure that class (com/lbx/util/LbxProperties) is part of
              webapp war file I created. Can somebody please throw some light about
              this.
              I'm trying to do the .ear file deployment.
              Thank you very much
              Santhosh.
              <Dec 30, 2002 12:04:27 PM PST> <Error> <HTTP> <101216> <Servlet:
              "StartupServlet" failed to preload on startup in webapp: "wliWEB"
              javax.servlet.ServletException: com/lbx/util/LbxProperties
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:912)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:833)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:773)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:4746)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:539)
              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:983)
              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1017)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1112)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
              >
              

    I have added a new startup servlet to my existing web application.
              While deploying the same, weblogic is throwing the following
              exception.
              I'm very sure that class (com/lbx/util/LbxProperties) is part of
              webapp war file I created. Can somebody please throw some light about
              this.
              I'm trying to do the .ear file deployment.
              Thank you very much
              Santhosh.
              <Dec 30, 2002 12:04:27 PM PST> <Error> <HTTP> <101216> <Servlet:
              "StartupServlet" failed to preload on startup in webapp: "wliWEB"
              javax.servlet.ServletException: com/lbx/util/LbxProperties
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:912)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:833)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:773)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:4746)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:539)
              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:983)
              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1017)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1112)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
              >
              

  • Startup servlet  problem in weblogic81

    Hi
    I created one web application in weblogic81 and it contains one servlet and act as startup servlet.When i m trying to get jndi context to connect to DataSource in init method, i m getting the following exception
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://16.138.181.88:7501: Dest
    ination unreachable; nested exception is:
            java.net.ConnectException: Connection refused; No available router to de
    stination]
    init method
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL,"t3://16.138.181.88:7501" );
    jndiContext = new InitialContext(env);
    web.xml
    <servlet>
    <servlet-name>MyServlet</servlet-name>
              <servlet-class>com.MyServlet</servlet-class>
              <load-on-startup>0</load-on-startup>
    </servlet>
    Please help me out.
    Regards
    Chandra

    To use the /servlet/ notaton you will need to enable the invoker servlet. To do this open the conf/web.xml and search on "invoker". Follow the directions.
    An alternative would be to map the servlet to a url and use that url to call the servlet
    <servlet>
    <servlet-name>TestServlet</servlet-name>
    <servlet-class>TestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>TestServlet</servlet-name>
    <url-pattern>/TestServlet</url-pattern>
    </servlet-mapping>
    now you should be able to access the servlet with /Fortune/TestServlet

  • Weblogic startup servlet loading

    Hi
    I am encountering problems in loading a Servlet on Weblogic
    server startup.
    The steps to be followed to load a servlet on webLogic
    Server startup are as follows
    Register the following in the Weblogic properties
    file.
    1.register the servlet
    weblogic.httpd.register.MyServlet=\
    examples.servlets.myservletclass
    2.weblogic.system.startupClass.StartMyServlet=\
    weblogic.servlet.utils.ServletStartup
    3.weblogic.system.startupArgs.StartMyServlet=\
    servlet=MyServlet
    where MyServlet is the synonym used for registering the
    servlet in the file and myservletclass is the Actual
    name of the servlet.
    I have followed the steps accordingly but the server
    is failing to load my servlet on startup.
    Any suggestions,solutions for the above problem
    will be most welcome.
    Thanx
    Tapan.

    Hi
    I am encountering problems in loading a Servlet on Weblogic
    server startup.
    The steps to be followed to load a servlet on webLogic
    Server startup are as follows
    Register the following in the Weblogic properties
    file.
    1.register the servlet
    weblogic.httpd.register.MyServlet=\
    examples.servlets.myservletclass
    2.weblogic.system.startupClass.StartMyServlet=\
    weblogic.servlet.utils.ServletStartup
    3.weblogic.system.startupArgs.StartMyServlet=\
    servlet=MyServlet
    where MyServlet is the synonym used for registering the
    servlet in the file and myservletclass is the Actual
    name of the servlet.
    I have followed the steps accordingly but the server
    is failing to load my servlet on startup.
    Any suggestions,solutions for the above problem
    will be most welcome.
    Thanx
    Tapan.

  • Weblogic startup servlet load

              Hi,
              I am encountering problems in running a Servlet on Weblogic
              server startup.
              The steps to be followed to execute a servlet on webLogic
              Server startup are as follows
              Register the following in the Weblogic properties
              file.
              1.register the servlet
              weblogic.httpd.register.MyServlet=\
              examples.servlets.myservletclass
              2.weblogic.system.startupClass.StartMyServlet=\
              weblogic.servlet.utils.ServletStartup
              3.weblogic.system.startupArgs.StartMyServlet=\
              servlet=MyServlet
              where MyServlet is the synonym used for registering the
              servlet in the file and myservletclass is the Actual
              name of the servlet.
              I have followed the steps accordingly but the server
              is failing to execute my servlet on startup.
              Any suggestions,solutions for the above problem
              will be most welcome.
              Thanx
              Tapan.
              

    HOw did you specified the load-on-startup? and what error you get
              upon startup/deployment time?
              Kumar
              Giulia Esposito wrote:
              > I try to load my servlet on startup of Bea WebLogic Server 6.1 (SP 3) cluster.
              > This load failed.
              >
              > Can you help me?
              >
              > Tank's!
              >
              

  • Problem setting up startup servlets in iWS 4.x

    I have configured iPlanet Web Server(iWS) 4.1 SP9 to use a startup servlet. However, the error log does not show that the servlet has been initialized. Instead, it shows only the following entries:
    Loading Simple Session Manager by default. Specify MMapSessionManager in servlets.properties to load persistent session manager
    I found in the Knowledgebase that we need to copy the the configuration entry that was created in context.properties file into the servlets.properties file
    My question that ...do we need to copy all the contents of the context.properties file or some portion of that file to servlets.properties .
    Please suggest asap, I cant take a risk as this is a live server.
    Thanks.

    Hi,
    You need not to copy entry file. In your servlets.properties file at the end of the file you can see the parameters settings of servlet which you have been configured as a servlet.
    For example the below setting are for "HelloWorldServlet" servlet configuration. You need to copy that line only.
    servlet.HelloWorldServlet.classpath=/export/home/41sp9/docs/servlet
    servlet.HelloWorldServlet.code=HelloWorldServlet.class
    Note: Make sure that before changing(copying)any changes in file take backup of the old file(present).
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Weblogic 10.0.1 deploying problem

    Hi,
    I'm starting to use BEA workshop and I'm experiencing some problems to deploy a Dynamic Web Project.
    I've created a new Dynamic Web Project and without making any changes, generated the war file.
    Everything seemed to be ok during the deploy since I've got the following message: "The deployment has been successfully installed".
    But when I press 'Activate Changes' I get the following error:
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    org.apache.beehive.netui.pageflow.PageFlowContextListener
    Here's my web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>Test3</display-name>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <filter>
    <filter-name>PageFlowJspFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowJspFilter</filter-class>
    </filter>
    <filter>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowForbiddenFilter</filter-class>
    <init-param>
    <param-name>response-code</param-name>
    <param-value>404</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.java</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jsfb</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jpfs</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.PageFlowContextListener</listener-class>
    </listener>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.HttpSessionMutexListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.PageFlowActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/_pageflow/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.xmlhttprequest.XmlHttpRequestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.jpf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.xhr</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.render</url-pattern>
    </servlet-mapping>
    </web-app>
    Thank you in advance,
    Pedro

    Timo Hahn wrote:
    You download the sample (link is at the ends of the post) rename the file from '.doc' to '.zip' unzip it and look into the deploy folder. There you find the ear which contains the finished web service. Deploy this to you managed server. Now you can test the web service using the admin console or enterprise manager or soap ui. This ids described in the blog.
    Timo
    >You download the sample (link is at the ends of the post) rename the file from '.doc' to '.zip' unzip it and look into the deploy folder. There you find the ear which contains the finished web service. Deploy this to you managed server. Now you can test the web service using the admin console or enterprise manager or soap ui. This ids described in the blog.
    Timo
    I'm getting 403 erro when I deploy ear file given by Timo Hahn:
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.4.4 403 Forbidden*
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

  • How long load-on-startup servlet stays in weblogic6.1 sp2

    does anybody know how long a load-on-startup servlet exists (before
              gets destroyed) in weblogic6.1 sp2. What i want is in load-on-startup
              servlet, I want to schedule a java.util.Timer and when application
              gets undeployed, i want to cancel that timer. if load-on-startup
              servlet exists for the whole application life span then i could do
              timer.cancel() on the destroy method of load-on-startup servlet.
              any suggestion?
              thanks in adv,
              soumik
              

    You can simply use ServletContextListener instead - that way you do not
              have to worry if (or when) WebLogic decides to destroy the servlet.
              soumik <[email protected]> wrote:
              > does anybody know how long a load-on-startup servlet exists (before
              > gets destroyed) in weblogic6.1 sp2. What i want is in load-on-startup
              > servlet, I want to schedule a java.util.Timer and when application
              > gets undeployed, i want to cancel that timer. if load-on-startup
              > servlet exists for the whole application life span then i could do
              > timer.cancel() on the destroy method of load-on-startup servlet.
              > any suggestion?
              > thanks in adv,
              > soumik
              Dimitri
              

  • Class not found for Startup servlet

    I have deployed a war file under weblogic 7. The application has some startup servlets,
    which are failing to load during startup. It returns the following error messages
    for each servlet
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
    <kernel identity> <> <101249> <[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
    StartupTSContentDaemonServlet could not be loaded because the requested class
    was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)>
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
    <kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet" failed
    to preload on startup in webapp: "abcApps">
    javax.servlet.ServletException: [ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
    StartupTSContentDaemonServlet could not be loaded because the requested class
    was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:785)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
         at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
         at weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
         at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
         at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
         at java.lang.Thread.run(Thread.java:479)
    When i look into the directories weblogic created after deployment, there is a
    cls2372.jar at 1 level above the web-inf folder and it has all the servlets in
    the correct package structure i.e. com/abc/servlets/startup
    Any idea on why this is happening or what i am doing wrong?

    also posting to servlet newsgroup.
    "Ram" <[email protected]> wrote in message
    news:[email protected]...
    >
    I have deployed a war file under weblogic 7. The application has somestartup servlets,
    which are failing to load during startup. It returns the following errormessages
    for each servlet
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
    <kernel identity> <> <101249><[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
    StartupTSContentDaemonServlet could not be loaded because the requestedclass
    was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
    \user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
    \jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
    pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
    ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
    s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
    \abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
    es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
    s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
    cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
    \lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
    ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)>
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
    <kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet"failed
    to preload on startup in webapp: "abcApps">
    javax.servlet.ServletException:[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
    StartupTSContentDaemonServlet could not be loaded because the requestedclass
    was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
    \user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
    \jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
    pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
    ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
    s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
    \abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
    es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
    s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
    cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
    \lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
    ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)
    atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
    a:785)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
    ontext.java:2763)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
    Context.java:2708)
    atweblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
    tContext.java:2681)
    atweblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
    atweblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
    at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:744)
    at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
    at java.lang.Thread.run(Thread.java:479)
    When i look into the directories weblogic created after deployment, thereis a
    cls2372.jar at 1 level above the web-inf folder and it has all theservlets in
    the correct package structure i.e. com/abc/servlets/startup
    Any idea on why this is happening or what i am doing wrong?

  • Order of startup servlets in WLS 5.1

              Is there any way to set the order in which servlets are started up using ServletStartup.
              I have something similar to this in my weblogic.properties file -
              weblogic.system.startupClass.StartServletA=weblogic.servlet.utils.ServletStartup
              weblogic.system.startupArgs.StartServletA=servlet=ServletA weblogic.system.startupClass.StartServletB=weblogic.servlet.utils.ServletStartup
              weblogic.system.startupArgs.StartServletB=servlet=ServletB
              I'd like ServletA to load first and then ServletB, but ServletB always seems to
              load first.
              Any ideas?
              Thanks...
              ps - using WLS 5.1, SP6
              

    If, for some reason, you do not deploy your application as a webapp,
              you can use ServletStartup:
              http://www.weblogic.com/docs51/classdocs/API_servlet.html#128566
              > Dimitri,
              > Thanks for the response. But wouldn't this restrict me to only
              > servlets that are deployed within a WebApp? would the servlet
              > run even when the webApp is not deployed?
              > Modou.
              > Dimitri Rakitine <[email protected]> wrote:
              >>The portable way is to specify load-on-startup in the
              >>web.xml - 5.1sp7 or 8
              >>supports this (but not before).
              >>
              >>Modou <[email protected]> wrote:
              >>
              >>> Hi,
              >>> I would like to know if:
              >>> 1) a servlet can be used as a startup class in WLS 5.1.
              >>If so,
              >>> are there any restriction on what can be done inside
              >>this servlet?
              >>> Or
              >>
              >>> 2) can we load a servlet from a startup class? if so?
              >>how?
              >>
              >>> any ideas?
              >>
              >>> regards,
              >>> Modou.
              >>
              >>--
              >>Dimitri
              Dimitri
              

  • Load on startup servlet and references

              Weblogic 6.1 SP2
              No jars specified in the classpath. A Singleton is located in a utility.jar file
              inside a .ear file.
              If I create a Singleton from a load on startup servlet, how long will the singleton
              be around? I know that if I undeploy the application, the singleton will be destroyed
              since the classloader is unloaded. However, if I never undeploy my application,
              will the Singleton always be around? Does Weblogic keep a reference alive to
              this Singleton forever?
              Please provide some more details on this!
              Thanks.
              Dan
              

              Dan Baumbach wrote:
              > So, because the startup servlet has a static reference to the singleton, the servlet
              > will never be garbage collected?
              Correct.
              >
              >
              > What if there's a class that is not a singleton, but there are static methods.
              > How would garbage collection work in this case?
              >
              A class object is not an instance object. If the class object has been loaded by the
              classloader, it will not be unloaded or garbage collected, regardless of whether or not
              it has static methods. If an instance of a class is instatiated on the heap, and a
              reference to that object is placed in a static member of its associated class object,
              also referred to as a class member, then the instance will not be garbage collected.
              >
              > Thanks.
              > Dan
              >
              > William Kemp <[email protected]> wrote:
              > >The jvm will not garbage collect an object that has a static reference
              > >to it. Which is how
              > >I am assuming you have implemented the singleton.
              > >
              > >Bill
              > >
              > >Dan Baumbach wrote:
              > >
              > >> Weblogic 6.1 SP2
              > >> No jars specified in the classpath. A Singleton is located in a utility.jar
              > >file
              > >> inside a .ear file.
              > >>
              > >> If I create a Singleton from a load on startup servlet, how long will
              > >the singleton
              > >> be around? I know that if I undeploy the application, the singleton
              > >will be destroyed
              > >> since the classloader is unloaded. However, if I never undeploy my
              > >application,
              > >> will the Singleton always be around? Does Weblogic keep a reference
              > >alive to
              > >> this Singleton forever?
              > >>
              > >> Please provide some more details on this!
              > >> Thanks.
              > >> Dan
              > >
              

  • Startup Servlet failure ?????

    Weblogic 5.1 allows us to write a startup class for startup operations also it comes with a utils class
    weblogic.servlet.utils.ServletStartup
    however when we gave it initargs like this
    weblogic.system.startupClass.servletTest=weblogic.servlet.utils.ServletStartup
    weblogic.system.startupArgs.servletTest=servlet=com.frictionless.display.servlet.InitServlet
    Weblogic does not find the servlet to be started at startup time and comes back with a servlet "NOT FOUND" message ...
    what can be the reason for this where do I have to put my servlet so that it can be found at startup time buy the utils class ?????

    Try the servlet classpath...
    Deepak Konale wrote:
    Weblogic 5.1 allows us to write a startup class for startup operations also it comes with a utils class
    weblogic.servlet.utils.ServletStartup
    however when we gave it initargs like this
    weblogic.system.startupClass.servletTest=weblogic.servlet.utils.ServletStartup
    weblogic.system.startupArgs.servletTest=servlet=com.frictionless.display.servlet.InitServlet
    Weblogic does not find the servlet to be started at startup time and comes back with a servlet "NOT FOUND" message ...
    what can be the reason for this where do I have to put my servlet so that it can be found at startup time buy the utils class ?????

  • Issues with Weblogic - Offending class: javax/servlet/Servlet.class

    Hi,
    I've been working on a servlet that calls EJB objects and I'm having problems deploying it under Tomcat. It prints the following error message when I try to deploy the app:
    INFO: validateJarFile(/home/xxxxx/tomcat/webapps/hello/WEB-INF/lib/wlfullclient.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    For reference, here is how my web.xml file looks like:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Hell World Servlet</display-name>
    <description>
    A Hello World servlet example for Entity Beans.
    </description>
    <servlet>
    <servlet-name>HelloWorldServletEJB</servlet-name>
    <description>
    A Hello World servlet example for Entity Beans.
    </description>
    <servlet-class>examples.helloworld.HelloWorldServletEJB</servlet-class>
    <load-on-startup>5</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorldServletEJB</servlet-name>
    <url-pattern>/HelloWorldServletEJB</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout> <!-- 30 minutes -->
    </session-config>
    </web-app>and here is my directory tree structure:
    hello/
    `-- WEB-INF
    |-- classes
    | `-- examples
    | `-- helloworld
    | |-- Hello.class
    | |-- HelloHome.class
    | `-- HelloWorldServletEJB.class
    |-- jsp
    |-- lib
    | `-- wlfullclient.jar
    |-- web.xml
    `-- web.xml.oldI've been dealing with this problem for the past 3 days and I'm really stuck at this point. Any help would be much appreciated.
    Thanks
    Edited by: spinth on May 19, 2009 9:19 PM
    Edited by: spinth on May 19, 2009 9:20 PM

    I'm not sure what your code does but Tomcat doesn't support EJBs.

  • "load-on-startup" servlet configuration

    Dear All,
    I am trying to load a servlet "SettingServlet" at the startup of the application, the configuration I am using inside the web.xml file is as following:
    <web-app>
         <servlet>
         <servlet-name>SettingsServlet</servlet-name>
         <servlet-class>com.myPack.SettingsServlet</servlet-class>
         <init-param>
         <param-name>fichierConfig</param-name>
         <param-value>D:/tomcat41/webapps/init.conf</param-value>
         </init-param>
         <load-on-startup>5</load-on-startup>
         </servlet>
    </web-app>
    It seems that the "SettingsServlet" servlet is not started at the startup.Even it's started in the tomcat window I am getting something like
    (SEVERE: Parse error at line......column...:Element type ....not declared ..)
    and that for the servlet-name, parma-name,servlet-class, init-param...etc
    Do I missed something in the configuration?, please tcheck the few lines above. because Simply I got stuck ! ,,,,,Please help me to fix it, I am waiting for you reply guys.
    Thanks and Regards,
    kifwet

    Take a look at the header of your web.xml file, the part about:<!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd"> And go check the dtd for your version.
    Some versions are very picky about the order of parameters.
    Hope this helps.

  • Win 98SE Startup Logon Problem

    All our Win 98SE had the startup logon problem when we migrated to Cisco 1240AP. Previously, we don't had this problem when we are still using the SMC AP.
    When we want to login to windows 2000 Domain during startup, the system will complain that it can't find a DC and we had to click ok to proceed. Once login, we can see that it can detect the AP with good signal strength. Then we need to logoff and then only we can login to the Domain without any problem.
    But when we restart the system to login to the Domain again, the same problem occurs. Only when you click ok to login without network and then logoff again to login without restart the system, then the PC can find the Domain and login without problem. All our PCs are using the static IP assignment with DNS and WINS configure.
    We are currently using the DLink client wireless adapter and we had try to change to Belkin client wireless adapter with more recent Win98 driver but with the same problem.
    Our Window XP don't had this issue. As i had said, previously when we are using a SMC AP, we don't had this problem.
    Anyone here had the same problem that had a solution ?
    Thanks.
    CMYip

    Yes. The solution was to upgrade to upgrade the customer's laptops to WinXP.
    (Drive mappings were also a related issue).

Maybe you are looking for

  • How to find material recieved with excise duty or without excise duty

    HI how to find material recieved with or without excise duty , and which table  these data store . Because we need to develope one new report. Regards Ganesh

  • How to change the pitch of a sound file

    This is not an iTunes problem, but I don't know where else to go and it is iTunes-mp3 related. I play keyboards and sometimes the tune I wish to accompany playing in iTunes is just a bit off. I can't change my keyboard settings for that. Is there any

  • Track of users for deleted query variants

    Hello Gurus,   I would want to know if any particular transaction is there for tracking users who deleted the query variants. I might have to recreate few of them needed for development. Thanks, Kind Regards, Sunitha

  • About WareHouse Query

    Hello Experts. i want to the show the list warehouses from the table OIBT, i know there is simple query for getting all the ware houses but i want few of them. Here is my Query in which u can figure it out that what warehouses i need .. Select Distin

  • How to lodge a formal complaint for billing errors???

    I have had billing errors for the past 2 months.  I speak to customer service and they keep (very nicely) taking my data and my bills are still coming in wrong. Does anyone know how to escalate? Thanks!