Non-HTTP(S) Servlets

I'd like to use servlets to provide services over a non-HTTP protocol (e.g. FTP, NNTP, SMTP, etc.). The existence of the Servlet -> GenericServlet -> HTTPServlet hierarchy suggests this is supposed to be possible but I'm not sure how to do it. The main problem I see is getting my servlet container to know what protocol (IP port) I want to use.
So, are non-HTTP servlets supposed provide their own logic to set up a socket listener in the Servlet.init() method, manage their own thread pool, and dispatch requests to servlet instances as they are received? Or, is there some service provider API I can use to plug a non-HTTP service into my servlet container?
BTW, I'd like to do this in a J2EE v1.3 server.
Thanks, Dave

I'd like to use servlets to provide services over a
non-HTTP protocol (e.g. FTP, NNTP, SMTP, etc.)My first reaction would be "don't".
In an HTTP request, there is a bunch of headers, which the servlet container uses to decide which servlet it will invoke. There are no such headers in e.g. FTP. Even if you manage to subclass Servlet to FTPServlet, the web server doesn't know how that FTP requests should be routed to that servlet.
The piece of code that listens to port 80 etc really wants to see "GET", "POST" etc plus an URL on the first line of incoming data. That code won't respond well to seeing SMTP's "HELO".
That being said, you can put such protocols in a web server or app server. Write a thread that creates a server socket for the appropriate port and then sits in accept(). When a connection comes in, it starts a new per-client thread which talks SMTP or whatever over the incoming socket. Pretty basic client/server socket programming.
Also, to me, the servlet model appears inappropriate for FTP et al: a servlet services one request, then exits. FTP, NNTP and SMTP are all more like a discussion than request-reply.
In theory, it would be possible to fashion e.g. an SMTP server as a sort of a servlet. Instead of doGet() and such perhaps you'd have doHELO(), doMAIL_FROM(), doDATA() etc. But that seems overly complicated... Seems easier to me to do simply:
    while (true)
        read socket input a line at a time;
        if (in data mode) {
            check for end-of-message;
            append to string buffer;
        } else {
            tokenize it;
            obey the incoming command;
    }Maybe if you really want to use the servlet model, write a Servlet-like class that has a doCommand() method and make the "obey the incoming command" bit above call that. I'm not sure how much that buys, though. There are enough small differences in things like command tokenizing to make code reuse in the various protocol "servlets" difficult.
Btw, FTP in particular is an incredibly messy protocol. Implement that one only if you absolutely must, and even then crib some existing public domain implementation as a base. Active/passive, separate command/data channels, a wide range of buggy FTP clients, security difficult to get right, ... ouch...

Similar Messages

  • Non-HTTP servlet

              I need to support concurrent access from multiple clients using a non-HTTP protocol
              over socket connection. One way is to write my socket server and create a new
              thread for each request. But WLS forbids user-created threads from calling into
              WLS components such as EJB. So I would like to write a non-HTTP servlet so that
              the WLS servlet container will create a new thread calling into the servlet and
              have the servlet calling EJBs on this WLS created thread. But is there a way to
              plug a subclass of GenericServelt into WLS?
              Thanks,
              T Tse
              

    I don't think there is a way to use non-HTTP servlet's, but still you can use WLS
              execute queue and execute threads, for example:
              ServerSocket serverSocket = new ServerSocket(...);
              for(;;) {
              new MyThread(new RequestHandler(serverSocket.accept())).start();
              class RequestHandler implements Runnable {
              Socket socket;
              public RequestHandler(Socket socket) {
              this.socket = socket;
              public void run() {
              // to see if this is executing on a WebLogic execute thread
              new Exception().printStackTrace();
              try {
              socket.close();
              } catch(Throwable whatever) {}
              class MyThread implements Schedulable, Triggerable {
              boolean done = false;
              Runnable runnable = null;
              Object sync = new Object();
              ScheduledTriggerDef std;
              public void join() throws InterruptedException {
              synchronized(sync) {
              if(!done) {
              sync.wait();
              public void run() {
                   if(runnable != null) {
                   runnable.run();
              public MyThread() {
              public MyThread(Runnable runnable) {
                   this.runnable = runnable;
              public boolean start() {
                   boolean ok = false;
                   try {
                   T3ServicesDef t3 = (T3ServicesDef)(new InitialContext()).lookup("weblogic.common.T3Services");
                   std = t3.time().getScheduledTrigger(this, this);
                   std.schedule();
                   ok = true;
                   } catch(NamingException ne) {
                   System.out.println(ne.getMessage());
                   } catch(TimeTriggerException tte) {
                   System.out.println(tte.getMessage());
                   return ok;
              public void trigger(Schedulable sched) {
                   try {
                   run();
                   } catch(Throwable t) {
                   System.out.println(t);
              synchronized(sync) {
              done = true;
              sync.notify();
              public long schedule(long time) {
                   return done ? 0 : 1;
              ttse <[email protected]> wrote:
              > I need to support concurrent access from multiple clients using a non-HTTP protocol
              > over socket connection. One way is to write my socket server and create a new
              > thread for each request. But WLS forbids user-created threads from calling into
              > WLS components such as EJB. So I would like to write a non-HTTP servlet so that
              > the WLS servlet container will create a new thread calling into the servlet and
              > have the servlet calling EJBs on this WLS created thread. But is there a way to
              > plug a subclass of GenericServelt into WLS?
              > Thanks,
              > T Tse
              Dimitri
              

  • Using Servlet for non HTTP purpose

    Hi,
    I have a requirement where I require tomcat to serve a non http request. Is there a way?

    The HTTP protocol begins with a line like:
    GET /some/thing HTTP/1.0
    Tomcat uses the "/some/thing" to find out to which servlet to give the request.
    If your protocol doesn't have that line, Tomcat is going to have a hard time knowing what to do with the request.
    You could write a thread that opens a ServerSocket, accepts incoming requests, and hands them off to a servlet-like system (perhaps even subclasses of Servlet). You could even run that thread within Tomcat. If you want/can restrict yourself to Tomcat, you may even be able to use parts of Tomcat's internals (the Service/Connector/Engine infrastructure or whatnot.) Whether this is a good approach depends on all kinds of details.

  • Non-http servlet engine?

    Hi, I'm new to servlet development and I'm not sure this question has been answered here before. So I apologize if it has.
    Basically I want to have an integrated server that can accept both http and non-http requests. So my initial thought was to write an HttpServlet and a GenericServlet. Then I googled for clues on how to implement that and found from the JavaRanch website http://faq.javaranch.com/java/ServletsFaq#otherProtocols that this task could be a daunting one because that'd imply that I have to write a new servlet engine.
    So my question is, is this true in your expert opinion? And, if the custom non-http protocol has a similar syntax as http (e.g. RTSP), is it possible to just extend the http servlet engine to support it? And would that be doable without much effort?
    Thanks,
    Liang.

    Would you actually need the entire servlet system for the new protocol? For your typical simple request/reply protocol you'd normally:
    Create a server socket.
    When a connection arrives, start a thread to service it.
    In the service thread, read and parse request.
    Send reply.
    Close socket, exit thread.
    A servlet system adds a bunch of stuff to that: a layer that allows you to configure pluggable request handlers; methdod-specific functions (POST -> doPost()); a ServletRequest object; etc. Are those things relevant to the new protocol? Do you have requests with URL-like things in the header, allowing routing requests to different servlets? Do you plan to have lots of servlets for the protocol (one servlet -> no much point in XML-configurable request routing)?
    I'd hope that I wouldn't need to implement a configurable request routing infrastructure. It's a lot of work if it's not really needed. Just write a socket server. If you have an associated web server (e.g. HTML pages from which the user starts RTSP requests) you can even run the socket server inside the servlet container if that helps.

  • Non https business card?

    Is there some way to have a non-https business card URL? I'd like to point to my SDN business card from YouTube, but it only allows http:
    Suggestions welcome

    Hi,
    http://www.sdn.sap.com:80/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=vqbhn9wvrj4%3d
    or make a short version via tinyurl.
    Eddy
    PS. Which type of SDN Ubergeek/BPX suit are <a href="/people/eddy.declercq/blog/2007/05/14/which-type-of-sdn-ubergeekbpx-suit-are-you">you</a>?
    Deadline: June 15th

  • Can't save non http bookmarks in firefox

    Can't save non http bookmarks in firefox
    Amongst standard website favourites saved on my IE toolbar i have several html documents/pages of my own making. These obviously begin with a non-http address.
    Examples are pages that contain an array of favourite webcams on a single page, or a page that opens up several related sports sites each in their own tab, or a stormchasing swathe of tabbed windows covering live video chase, weather radar, emergency service scanners etc. etc.
    An address would take the format on the lines of
    "C:\Documents and Settings\USERNAME\My Documents\Football Results and Tables\UK.html"
    Firefox insists on adding 'http' before the C:\ (plus unlike IE it also adds the %20 for spaces.)
    Can anyone help to to get FF to accept a favourite that is not a website.

    I just verified that it still works for me in Firefox 18.0, using the "star" in the Location Bar.
    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    When in Safe Mode... <br />
    * The status of plug-ins is not affected.
    * Custom preferences are not affected.
    * All extensions are disabled.
    * The default theme is used, without a persona.
    * userChrome.css and userContent.css are ignored.
    * The default toolbar layout is used.
    * The JIT Javascript compiler is disabled.
    * Hardware acceleration is disabled.
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Where is NetFramework 4.5 Non-HTTP Activation?

    Hi,
    The scenario is the following:
    SCCM 2012 R2 over Windows 2012 R2 Std.
    The following article: http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_Win2k12SiteSystemPrereqs states the following for Out of Band Service Point:
    NetFramework 4.5.
    HTTP Activation
    Non-HTTP Activation
    When I want to install Non-HTTP Activation for NetFramework 4.5, I get the following options:
    there is not Non-HTTP Activation checkbox under NetFramework 4.5.
    The question is:
    How to install Non-HTTP Activation for NetFramework 4.5 on Windows 2012 R2?
    Thanks in advance!

    Gerry should be right. See the feature and role list.
    http://blogs.technet.com/b/canitpro/archive/2013/04/23/windows_2d00_server_2d00_2012_2d00_roles_2d00_features.aspx
    Juke Chou
    TechNet Community Support

  • Resolving non http urls in JSP

    When I include an html hyperlink in my JSP as follows :
    Yahoo
    then the hyperlink on the web page points to
    http://www.yahoo.com
    However if I write the hyperlink as
    Yahoo
    then the hyperlink on the web page is wrongly created as
    http://<hostname>/www.yahoo.com
    This seems to be an issue with the JSP engine. I am using weblogic.
    Is there any way to resolve the non http urls?

    This has nothing to do with the JSP engine.
    <a href="www.yahoo.com">Yahoo</a> IS not a JSP tag and is not touched by the JSP engine.
    The problem you have is just your WEBBROWSER interpreting the url wrongly mainly becasue you have forgotten to provided the protocol your webbrowser has to use.

  • [HTTP:101216]Servlet: "jersey" failed to preload on startup in Web application:"

    Hi,
    i'm trying to deplay a restful webservice on a WL 10.3  with jdeveloper.  As soon as i try to deploy my webservice i'm getting the follwing error :
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "jersey" failed to preload on startup in Web application: "name.war".
    com.sun.jersey.spi.inject.Errors$ErrorMessagesException
        at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
        at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:137)
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:203)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:702)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:691)
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:438)
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:288)
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:587)
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:213)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:343)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:542)
        at javax.servlet.GenericServlet.init(GenericServlet.java:242)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
        at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
        at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
        at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    :com.sun.jersey.spi.inject.Errors.ErrorMessagesException:null
    What do i have to do to make it work?
    Best regards.

    Did you deploy and target the jersey libraries to your server (these can (usually) be found in the ${WL_HOME}/common/deployable-libraries). Deploy these as shared libraries and then reference it by using the following in the weblogic.xml file:
    <library-ref> 
        <library-name>jersey-bundle</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.5.1</implementation-version> 
      </library-ref>     
      <library-ref> 
        <library-name>jsr311-api</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.1</implementation-version> 
      </library-ref>
    Version can differ in your case (you have to check this when the libraries are deployed).

  • [HTTP:101216]Servlet: "action" failed to preload on startup in Web applicat

    Hi,
              I am trying to deploy a web application which uses struts1.1 in weblogic 92. while starting the service for the application i am getting the following error.
              weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "BlaBla".
              java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet
              at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
              at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
              at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
              at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
              at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1698)
              at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1675)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1595)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
              at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
              at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
              at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
              at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
              at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
              at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
              at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
              at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
              at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
              java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet
              at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
              at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
              at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
              at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
              at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1698)
              at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1675)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1595)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
              >
              <Aug 23, 2007 1:49:37 PM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application 'BlaBla'.>
              <Aug 23, 2007 1:49:37 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application 'BlaBla'.>
              <Aug 23, 2007 1:49:37 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
              weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "BlaBla".
              java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet
              at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
              at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
              at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
              at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
              at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1698)
              at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1675)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1595)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
              at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
              at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
              at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
              at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
              at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
              at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
              at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
              at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
              at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
              java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet
              at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
              at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
              at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
              at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
              at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1698)
              at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1675)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1595)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
              at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
              at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
              at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
              at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
              at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
              at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
              at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
              at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
              >
              [DEBUG] 23.08 13:49:38
              I don't understand how come it is not able to find ActionServlet even if it is there in my application ear.
              Please suggest.

    Did you deploy and target the jersey libraries to your server (these can (usually) be found in the ${WL_HOME}/common/deployable-libraries). Deploy these as shared libraries and then reference it by using the following in the weblogic.xml file:
    <library-ref> 
        <library-name>jersey-bundle</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.5.1</implementation-version> 
      </library-ref>     
      <library-ref> 
        <library-name>jsr311-api</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.1</implementation-version> 
      </library-ref>
    Version can differ in your case (you have to check this when the libraries are deployed).

  • [HTTP:101216]Servlet: "OnlineReserveren" failed to preload on startup in Web application: "Ruislip_Webservices". java.lang.IllegalStateException

    I try to migrate a Oracle iAS webservice to WebLogic 11g by just deploying the ear on WLS.
    This results into the following exception: Who can help fixing this error?
    [HTTP:101216]Servlet: "OnlineReserveren" failed to preload on startup in Web application: "Ruislip_Webservices". java.lang.IllegalStateException: could not find schema type named {{urn}OnlineReserveren/service/types}TSublocatieBase at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder$GlobalTypeNode.getSchemaType(AnonymousTypeFinder.java:182) at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(AnonymousTypeFinder.java:87) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.createBindingTypeFrom(Deploytime109MappingHelper.java:1111) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.processTypeMappings(Deploytime109MappingHelper.java:526) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBindingFileFrom109dd(Deploytime109MappingHelper.java:273) at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:171) at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86) at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:705) at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:201) at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:54) at weblogic.wsee.deploy.ServletDeployInfo.createWsService(ServletDeployInfo.java:91) at weblogic.wsee.deploy.DeployInfo.createWsPort(DeployInfo.java:372) at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:83) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Did you deploy and target the jersey libraries to your server (these can (usually) be found in the ${WL_HOME}/common/deployable-libraries). Deploy these as shared libraries and then reference it by using the following in the weblogic.xml file:
    <library-ref> 
        <library-name>jersey-bundle</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.5.1</implementation-version> 
      </library-ref>     
      <library-ref> 
        <library-name>jsr311-api</library-name> 
        <specification-version>1.1.1</specification-version> 
        <implementation-version>1.1.1</implementation-version> 
      </library-ref>
    Version can differ in your case (you have to check this when the libraries are deployed).

  • Exception:[HTTP:101216]Servlet: "AppManagerServlet" failed to preload

    Hi
    I am getting the below exception while trying to publish my EAR to weblogic 10.3 server.
    I have another EAR which gets deployed successfully but for this EAR I am getting this exception.I compared both the EARs but there is no much difference.
    Could any one please help me in resolving this issue?
    Searched in google but could not find a solution.
    Jan 9, 2013 1:57:17 PM GMT+05:30> <Error> <HTTP> <BEA-101216> <Servlet: "AppManagerServlet" failed to preload on startup in Web application: "MyApp".
    java.lang.IllegalArgumentException: No attributes are implemented
         at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:98)
         at com.bea.netuix.servlets.descriptor.WlpFrameworkCommonConfig.parseDescriptor(WlpFrameworkCommonConfig.java:139)
         at com.bea.netuix.servlets.descriptor.WlpFrameworkCommonConfig.<init>(WlpFrameworkCommonConfig.java:110)
         at com.bea.netuix.servlets.descriptor.WlpFrameworkCommonConfig.init(WlpFrameworkCommonConfig.java:72)
         at com.bea.netuix.servlets.manager.UIServlet.init(UIServlet.java:166)
         Truncated. see log file for complete stacktrace
    >
    <Jan 9, 2013 1:57:17 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1357719894679' for task '1'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "AppManagerServlet" failed to preload on startup in Web application: "".
    java.lang.IllegalArgumentException: No attributes are implemented
         at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:98)
         at com.bea.netuix.servlets.descriptor.WlpFrameworkCommonConfig.parseDescriptor(WlpFrameworkCommonConfig.java:139)
         at com.bea.netuix.servlets.descriptor.WlpFrameworkCommonConfig.<init>(WlpFrameworkCommonConfig.java:110)
         at com.bea.netuix.servlets.descriptor.WlpFrameworkCommonConfig.init(WlpFrameworkCommonConfig.java:72)
         at com.bea.netuix.servlets.manager.UIServlet.init(UIServlet.java:166)
         at com.bea.netuix.servlets.manager.SingleFileServlet.init(SingleFileServlet.java:77)
         at com.bea.netuix.servlets.manager.PortalServlet.init(PortalServlet.java:247)
         at com.bea.netuix.servlets.manager.PortalServlet.init(PortalServlet.java:229)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:531)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1915)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1889)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1807)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: 979875 on Jan 9, 2013 4:00 AM

    Hi,
    This issue is fixed and included in Oracle WebLogic Portal 9.2 MP3, 10.2 and later versions. It is recommended to upgrade to one of those versions to avoid this issue.
    please refer to KM note 1061492.1 on how to apply and download the patches
    If upgrade is not an immediate option, then the following one-off smart update patches can be applied to fix this issue.
    WLP Version | Patch ID | Passcode
    9.2 MP1 | ELAR | K34IBY2Y
    9.2 MP2 | W4M2 | EWSNLNUW
    10.0 MP1 | F69U | 34LV4NQX
    Once the patch is applied, clear the cache of all your existing domains following the steps:
    Stop all server(s).
    Delete any 'stage', 'tmp' & 'cache' directories under %DOMAIN_HOME%\servers\adminserver
    Delete any 'stage', 'tmp' & 'cache' directories under %DOMAIN_HOME%\servers\%YOUR_MANAGED_SERVER_NAME%
    Start the admin server
    Start the managed server(s)
    Regards,
    Kal

  • Non-HTTP(non-web) socket connection

    how do i setup non-HTTP(non-web) socket connection on my nokia 5235? please help...wanna whatsapp so badly

    Menu » Settings » Connectivity » Settings » Network destination » Internet
    Is that set correctly? Which network operator do you use? Because some operator in different countries with different settings, do not forget to mention your country, as well.

  • [HTTP:101216]Servlet:...........................error.

    Hi,
    We are into the migration of Linux to Solaries Server for weblogics. The application which was deployed on Linux Server has now to be deployed on Solaries server.
    Developers have modified the old application as per the solaries environment.
    But as we are deploying the application, we are getting the deployment as "Failed" with the error:
    [HTTP:101216]Servlet: "ReportServlet" failed to preload on startup in Web application: "procosys". java.lang.NullPointerException at com.hydro.htp.procosys.utilities.ProcosysProperties.get(ProcosysProperties.java:107) at com.hydro.htp.procosys.servlets.UtilityServlet.init(UtilityServlet.java:31) at com.hydro.htp.procosys.servlets.EJBServlet.init(EJBServlet.java:36) at com.hydro.htp.procosys.servlets.ReportServlet.init(ReportServlet.java:117) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:44) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:531) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1915) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1889) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1807) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Kindly share if any solution can be done.

    open a ticket with weblogic support

  • Plugin non-HTTP transports in JAX-RPC

    Is it possible to plugin a non-HTTP transports in JAX-RPC?
    I know that Apache SOAP provides a way of plugin non-HTTP transports for it,
    Is there any document that can teach me to write a non-HTTP transport and plug it into JAX-RPC?

    You cannot plug in non-HTTP transports into the JAX-RPC reference implementation.

Maybe you are looking for