ColdFusion J2EE, serviceFactory goes away

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default ColdFusion J2EE, serviceFactory goes away

    This is really winding me up, been fighting since Sunday.
    The symptom is that the site is fine for a few hours, and then all pages
    return a 500 server error.

    This is an MX 6.1 with Updater on Weblogic 7 (latest patch set) with JRocket
    1.4.2_05 JVM on RedHat AS 2.1

    Google isn't being very helpful, and cf-talk is silent on the matter, and
    because CF *technically* installs and
    runs (for a bit) before crashing, MM tech. support won't talk to me either -
    correct ?

    The failure mode is that somewhere the ServiceFactory goes gaga ('caused by'
    in first log entry below), and then all subsequent requests fail with the
    same thing as in the 2nd log entry below.

    <12-May-2005 11:38:27 BST> <Error> <HTTP> <101017>
    <[ServletContext(id=257353425,name=ceo_platform,cont ext-path=)] Root cause of
    ServletException
    java.lang.ExceptionInInitializerError
    at

    coldfusion.filter.RequestMonitorFilter.isFilterEna bled()Z(RequestMonitorFilter.j
    ava:???)
    at

    coldfusion.CfmServlet.getFilterChain(Ljavax.servle t.ServletRequest;)Lcoldfusion.
    filter.FusionFilter;
    (CfmServlet.java:59)
    at

    coldfusion.CfmServlet.service(Ljavax.servlet.Servl etRequest;Ljavax.servlet.Servl
    etResponse;)V(CfmServlet.java:101)
    at

    coldfusion.bootstrap.BootstrapServlet.service(Ljav ax.servlet.ServletRequest;Ljav
    ax.servlet.ServletResponse;)V(BootstrapServlet.jav a:89)
    at

    weblogic.servlet.internal.ServletStubImpl$ServletI nvocationAction.run()Ljava.lan
    g.Object;
    (ServletStubImpl.java:1111)
    at

    weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(Ljavax.servlet.ServletRe
    quest;Ljavax.servlet.ServletResponse;Lweblogic.ser vlet.internal.FilterChainImpl;
    )V(ServletStubImpl.java:437)
    at

    weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(Ljavax.servlet.ServletRe
    quest;Ljavax.servlet.ServletResponse;)V(ServletStu bImpl.java:319)
    at

    weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run()Ljav
    a.lang.Object;
    (WebAppServletContext.java:5699)
    at

    weblogic.security.service.SecurityServiceManager.r unAs(Lweblogic.security.acl.in
    ternal.AuthenticatedSubject;Lweblogic.security.acl .internal.AuthenticatedSubject
    ;Ljava.security.PrivilegedAction;)Ljava.lang.Objec t;
    (SecurityServiceManager.java:690)
    at

    weblogic.servlet.internal.WebAppServletContext.inv okeServlet(Lweblogic.servlet.i
    nternal.ServletRequestImpl;Lweblogic.servlet.inter nal.ServletResponseImpl;)V(Web
    AppServletContext.java:3216)
    at

    weblogic.servlet.internal.ServletRequestImpl.execu te(Lweblogic.kernel.ExecuteThr
    ead;)V(ServletRequestImpl.java:2591)
    at

    weblogic.kernel.ExecuteThread.execute(Lweblogic.ke rnel.ExecuteRequest;)V(Optimiz
    ed
    Method)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread .java:223)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thre ad;)V(Unknown
    Source)
    Caused by: coldfusion.server.ServiceFactory$ServiceNotAvailab leException: The
    Runtime service is not available.
    at

    coldfusion.server.ServiceFactory.getRuntimeService ()Lcoldfusion.server.RuntimeSe
    rvice;
    (ServiceFactory.java:107)
    at

    coldfusion.filter.RequestMonitorFilter.<clinit>()V (RequestMonitorFilter.java:12)
    at jrockit.vm.RNI.getRunnableCode(I)I(Unknown Source)
    at jrockit.vm.RNI.trampoline()V(Unknown Source)
    ... 14 more
    >

    <12-May-2005 11:38:28 BST> <Error> <HTTP> <101017>
    <[ServletContext(id=257353425,name=ceo_platform,cont ext-path=)] Root cause of
    ServletException
    java.lang.NoClassDefFoundError: coldfusion/filter/RequestMonitorFilter
    at

    coldfusion.filter.RequestMonitorFilter.isFilterEna bled()Z(RequestMonitorFilter.j
    ava:???)
    at

    coldfusion.CfmServlet.getFilterChain(Ljavax.servle t.ServletRequest;)Lcoldfusion.
    filter.FusionFilter;
    (CfmServlet.java:59)
    at

    coldfusion.CfmServlet.service(Ljavax.servlet.Servl etRequest;Ljavax.servlet.Servl
    etResponse;)V(CfmServlet.java:101)
    at

    coldfusion.bootstrap.BootstrapServlet.service(Ljav ax.servlet.ServletRequest;Ljav
    ax.servlet.ServletResponse;)V(BootstrapServlet.jav a:89)
    at

    weblogic.servlet.internal.ServletStubImpl$ServletI nvocationAction.run()Ljava.lan
    g.Object;
    (ServletStubImpl.java:1111)
    at

    weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(Ljavax.servlet.ServletRe
    quest;Ljavax.servlet.ServletResponse;Lweblogic.ser vlet.internal.FilterChainImpl;
    )V(ServletStubImpl.java:437)
    at

    weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(Ljavax.servlet.ServletRe
    quest;Ljavax.servlet.ServletResponse;)V(ServletStu bImpl.java:319)
    at

    weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run()Ljav
    a.lang.Object;
    (WebAppServletContext.java:5699)
    at

    weblogic.security.service.SecurityServiceManager.r unAs(Lweblogic.security.acl.in
    ternal.AuthenticatedSubject;Lweblogic.security.acl .internal.AuthenticatedSubject
    ;Ljava.security.PrivilegedAction;)Ljava.lang.Objec t;
    (SecurityServiceManager.java:690)
    at

    weblogic.servlet.internal.WebAppServletContext.inv okeServlet(Lweblogic.servlet.i
    nternal.ServletRequestImpl;Lweblogic.servlet.inter nal.ServletResponseImpl;)V(Web
    AppServletContext.java:3216)
    at

    weblogic.servlet.internal.ServletRequestImpl.execu te(Lweblogic.kernel.ExecuteThr
    ead;)V(ServletRequestImpl.java:2591)
    at

    weblogic.kernel.ExecuteThread.execute(Lweblogic.ke rnel.ExecuteRequest;)V(Optimiz
    ed
    Method)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread .java:223)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thre ad;)V(Unknown
    Source)


    TomChiv Guest

  2. Similar Questions and Discussions

    1. ColdFusion in Oracle AS J2EE
      Platform: Linux (RHEL 3) I need help with deployment of ColdFusion as a J2EE app using an EAR file generated from the coldfusion-702-lin.bin...
    2. J2EE Enabled on ColdFusion Server
      I am trying to find an ISP that can host a ColdFusion MX 7 site on Win 2000 or Win 2003 The site needs J2EE Memory Variables enabled on the...
    3. coldfusion mx 7 for j2ee: tomcat won't stop
      Hi, I am running ColdFusion MX 7 for J2EE on Tomcat 5.0.28 on Red Hat Enterprise Linux 3 with Sun JVM 1.4.2_08. When I issue the shutdown...
    4. How to use java (j2ee) classes with coldfusion
      Hi, I'm searching for information , examples about using java classes (jar, war, ear) with coldfusion (6 or 7). Is it very relevant using java...
    5. Coldfusion + .NET or J2EE
      Since I have been reading the forums here I have often seen people post that Coldfusions new selling point is that it is a complement to .NET or...
  3. #2

    Default Re: ColdFusion J2EE, serviceFactory goes away

    The only slightly odd thing is that immediately before the initial
    ExceptionInInitializerError we have:
    ####<13-May-2005 06:49:01 BST> <Info> <HTTP> <GBB_AppServer> <ExecuteThread:
    '4' for queue: 'default'> <kernel identity> <> <101047> <[ServletContext
    (id=157796498,name=ceo_platform,context-path=)] CfmServlet: init>

    Shouldn'[t that already be init'ed ? What could make it try to re-init ?

    TomChiv Guest

  4. #3

    Default Re: ColdFusion J2EE, serviceFactory goes away

    Odder and odder, it appears we are consistently getting the below, like
    WebLogic is trying to restart ColdFusion but making a total hash of it?

    <13-May-2005 16:01:57 BST> <Info> <HTTP> <101047>
    <[ServletContext(id=158529739,name=ceo_platform,cont ext-path=)] /*: destroy>
    <13-May-2005 16:01:57 BST> <Info> <HTTP> <101047>
    <[ServletContext(id=158529739,name=ceo_platform,cont ext-path=)] /*: init>
    <13-May-2005 16:01:57 BST> <Info> <HTTP> <101047>
    <[ServletContext(id=158529739,name=ceo_platform,cont ext-path=)] /*: Using
    standard I/O>
    <13-May-2005 16:02:00 BST> <Info> <HTTP> <101047>
    <[ServletContext(id=158529739,name=ceo_platform,cont ext-path=)] MapImageHelper:
    destroy>
    <13-May-2005 16:02:00 BST> <Info> <HTTP> <101047>
    <[ServletContext(id=158529739,name=ceo_platform,cont ext-path=)] MapImageHelper:
    init>
    <13-May-2005 16:02:03 BST> <Info> <HTTP> <101047>
    <[ServletContext(id=158529739,name=ceo_platform,cont ext-path=)] CfmServlet:
    init>

    before our:

    <13-May-2005 16:02:03 BST> <Error> <HTTP> <101017>
    <[ServletContext(id=158529739,name=ceo_platform,cont ext-path=)] Root cause of
    ServletException
    java.lang.ExceptionInInitializerError

    TomChiv Guest

  5. #4

    Default Re: ColdFusion J2EE, serviceFactory goes away

    *Anyway*, after fighting into the wee hours all week, we think we have (touch
    wood) cracked the F**ker.
    Weblogic has a ServletReload parmeter, which says how ofton to check if a
    servlet 'has changed' (whatever that means) and reloads it if so. This defaults
    to '1' (second), and had been set like that for months.
    It has been set to '-1' (don't check ever) for nearly 3 days now, and no
    ExceptionInInitializerError followed by 500s.
    Rar.
    OK, so it fell over this morning with a stack overflow, but I feel that was
    our own fault - we need to roll back in the CFMX updater, weblogic SP's etc.
    etc.

    :the annoyed

    TomChiv Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139