java.lang.NullPointerException starting JNDI

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default java.lang.NullPointerException starting JNDI

    any idea what to do about this?

    -Michael

    01/16 11:09:41 Information [scheduler-15] - Starting client...
    01/16 11:09:41 Information [scheduler-15] - The metrics service is disabled
    for the J2EE edition
    01/16 11:09:41 Information [scheduler-15] - Starting xmlrpc...
    01/16 11:09:41 Information [scheduler-15] - Starting graphing...
    01/16 11:09:41 Information [scheduler-15] - Starting verity...
    01/16 11:09:41 Information [scheduler-15] - Starting archive...
    01/16 11:09:41 Information [scheduler-15] - Starting document...
    01/16 11:09:41 Information [scheduler-15] - Starting eventgateway...
    01/16 11:09:42 Information [scheduler-15] - Starting Event Backend Handlers
    01/16 11:09:42 Information [scheduler-15] - Initialized EventRequestDispatcher
    with a Thread Pool size of 20
    01/16 11:09:42 Information [scheduler-15] - Initializing EventRequestHandler
    01/16 11:09:42 Information [scheduler-15] - Starting Event Gateways
    01/16 11:09:42 Information [scheduler-15] - ColdFusion started
    01/16 11:09:42 Information [Thread-32] - Starting Gateway: ID=asynclog,
    Class=coldfusion.eventgateway.cfml.CfmlGateway
    Server cfusion ready (startup time: 13 seconds)

    Starting Macromedia JRun 4.0 (Build 106363), 2 server
    java.lang.NullPointerExceptionNo jndi.properties file was found in 2's
    SERVER-INF directory. The JRun kernel requires JNDI information.

    at java.util.Properties$LineReader.readLine(Propertie s.java:365)
    at java.util.Properties.load(Properties.java:293)
    at jrunx.No jndi.properties file was found in 2's SERVER-INF
    directory. The JRun kernel requires JNDI
    information.kernel.JRun.startServer(JRun.java:544)
    at jrunx.kernel.JRun.<init>(JRun.java:493)
    at jrunx.kernel.JRun$1.run(JRun.java:346)
    a
    t java.security.AccessController.doPrivileged(Native Method)
    at jrunx.kernel.JRun.start(JRun.java:343)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)
    [1]java.lang.NullPointerException: No URL or file descriptor available
    at
    jrunx.kernel.DeploymentService.loadServices(Deploy mentService.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
    com.sun.jmx.mbeanserver.StandardMetaDataImpl.invok e(StandardMetaDataImpl.java:41
    4)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDa taImpl.java:220)
    at
    com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(DefaultMBeanServerI
    nterceptor.java:815)
    at
    com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxM BeanServer.java:784)
    at jrunx.kernel.JRun.startServer(JRun.java:575)
    at jrunx.kernel.JRun.<init>(JRun.java:493)
    at jrunx.kernel.JRun$1.run(JRun.java:346)
    at java.security.AccessController.doPrivileged(Native Method)
    at jrunx.kernel.JRun.start(JRun.java:343)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)
    [0]javax.management.RuntimeMBeanException: RuntimeException thrown in
    operation loadServices
    at
    com.sun.jmx.mbeanserver.StandardMetaDataImpl.wrapR untimeException(StandardMetaDa
    taImpl.java:994)
    at
    com.sun.jmx.mbeanserver.StandardMetaDataImpl.invok e(StandardMetaDataImpl.java:43
    0)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDa taImpl.java:220)
    at
    com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(DefaultMBeanServerI
    nterceptor.java:815)
    at
    com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxM BeanServer.java:784)
    at jrunx.kernel.JRun.startServer(JRun.java:575)
    at jrunx.kernel.JRun.<init>(JRun.java:493)
    at jrunx.kernel.JRun$1.run(JRun.java:346)
    at java.security.AccessController.doPrivileged(Native Method)
    at jrunx.kernel.JRun.start(JRun.java:343)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)
    Caused by: java.lang.NullPointerException: No URL or file descriptor available
    at
    jrunx.kernel.DeploymentService.loadServices(Deploy mentService.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reNo jndi.properties file was found in 2's SERVER-INF
    directory. The JRun kernel requires JNDI information.
    flect.DelegatingMethodAccessorImpl.invoke(Delegati ngMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
    com.sun.jmx.mbeanserver.StandardMetaDataImpl.invok e(StandardMetaDataImpl.java:41
    4)
    ... 14 more


    veloopity Guest

  2. Similar Questions and Discussions

    1. Error with Flex 2.0 Beta 3,java.lang.NullPointerException
      Hi, I am using Flex 2.0, Beta 3. I am trying to follow the CFC/Flex examples at <a target=_blank class=ftalternatingbarlinklarge...
    2. Server Crashes: java.lang.NullPointerException / coldfusion.mail.MailSpooler.run
      Howdy all - I'm running Codfusion MX 6.1 (6,1,0,83762) Standard Edition on a Windows 2003 server with SP2. The Java VM version is: 1.4.2-b28. The...
    3. CFMX 7 - java.lang.NullPointerException occurred whenaccessing a Com object
      I tested the CFMX 7 (developer edition) with an application running in CF MX 6.1. I found that CFMX 7 is thowing the below error while accessing few...
    4. #19327 [Fbk->NoF]: java.lang.UnsatisfiedLinkError: no php_java in java.library.path
      ID: 19327 Updated by: sniper@php.net Reported By: chregu@php.net -Status: Feedback +Status: No...
    5. #19327 [Opn->Fbk]: java.lang.UnsatisfiedLinkError: no php_java in java.library.path
      ID: 19327 Updated by: iliaa@php.net Reported By: chregu@php.net -Status: Open +Status: Feedback Bug...
  3. #2

    Default Re: java.lang.NullPointerException starting JNDI

    .... 01/16 11:09:41 Information [scheduler-15] - Starting eventgateway...
    01/16 11:09:42 Information [scheduler-15] - Starting Event Backend Handlers
    01/16 11:09:42 Information [scheduler-15] - Initialized EventRequestDispatcher
    with a Thread Pool size of 20
    01/16 11:09:42 Information [scheduler-15] - Initializing EventRequestHandler
    01/16 11:09:42 Information [scheduler-15] - Starting Event Gateways
    01/16 11:09:42 Information [scheduler-15] - ColdFusion started
    01/16 11:09:42 Information [Thread-32] - Starting Gateway: ID=asynclog,
    Class=coldfusion.eventgateway.cfml.CfmlGateway
    Server cfusion ready (startup time: 13 seconds)

    Starting Macromedia JRun 4.0 (Build 106363), 2 server
    java.lang.NullPointerExceptionNo jndi.properties file was found in 2's
    SERVER-INF directory. The JRun kernel requires JNDI information....


    This suggests that an event gateway was scheduled to start. To verify, go to
    the Coldfusion Administration and look under Gateway Instances.
    Apparently, the jndi.properties file, which the gateway requires, misses some
    settings.



    BKBK 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