Service specific error 2 (0x2)

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

  1. #1

    Default Service specific error 2 (0x2)

    Hey CF guru's, need a hand -

    New Dell server runing Win2003, just downloaded CFMX7 30 day trial. I have
    spent over 2 weeks getting this to run correctly. Uninstalled, reinstalled on
    different machines, same issue. Also have installed CFMX updater. Here are the
    error logs it throws:

    coldfusion-err.log

    [1]org.xml.sax.SAXParseException: Expected "</service>" to terminate element
    starting on line 128.
    at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
    at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
    at org.apache.crimson.parser.Parser2.maybeElement(Unk nown Source)
    at org.apache.crimson.parser.Parser2.content(Unknown Source)
    at org.apache.crimson.parser.Parser2.maybeElement(Unk nown Source)
    at org.apache.crimson.parser.Parser2.parseInternal(Un known Source)
    at org.apache.crimson.parser.Parser2.parse(Unknown Source)
    at org.apache.crimson.parser.XMLReaderImpl.parse(Unkn own Source)
    at org.xml.sax.helpers.XMLReaderAdapter.parse(Unknown Source)
    at
    jrunx.kernel.DeploymentService.parseDescriptorURL( DeploymentService.java:70)
    at jrunx.kernel.DeploymentService.loadServices(Deploy mentService.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1628)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1523)
    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 jrunx.kernel.JRun.startByNTService(JRun.java:427)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)
    [0]javax.management.MBeanException: Exception thrown in operation loadServices
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1644)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1523)
    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 jrunx.kernel.JRun.startByNTService(JRun.java:427)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)

    coldfusion-out.log

    {Heap before GC invocations=1:
    Heap
    PSYoungGen total 3584K, used 3071K [0x10010000, 0x10410000, 0x138f0000)
    eden space 3072K, 99% used [0x10010000,0x1030fec8,0x10310000)
    from space 512K, 0% used [0x10390000,0x10390000,0x10410000)
    to space 512K, 0% used [0x10310000,0x10310000,0x10390000)
    PSOldGen total 4096K, used 0K [0x138f0000, 0x13cf0000, 0x30010000)
    object space 4096K, 0% used [0x138f0000,0x138f0000,0x13cf0000)
    PSPermGen total 16384K, used 2243K [0x30010000, 0x31010000, 0x38010000)
    object space 16384K, 13% used [0x30010000,0x30240da0,0x31010000)
    0.000: [GC 3071K->641K(7680K), 0.0076881 secs]
    Heap after GC invocations=1:
    Heap
    PSYoungGen total 3584K, used 625K [0x10010000, 0x10420000, 0x138f0000)
    eden space 2944K, 0% used [0x10010000,0x10010000,0x102f0000)
    from space 640K, 97% used [0x102f0000,0x1038c460,0x10390000)
    to space 576K, 0% used [0x10390000,0x10390000,0x10420000)
    PSOldGen total 4096K, used 16K [0x138f0000, 0x13cf0000, 0x30010000)
    object space 4096K, 0% used [0x138f0000,0x138f4000,0x13cf0000)
    PSPermGen total 16384K, used 2243K [0x30010000, 0x31010000, 0x38010000)
    object space 16384K, 13% used [0x30010000,0x30240da0,0x31010000)
    } Starting Macromedia JRun 4.0 (Build 92909), coldfusion server
    {Heap before GC invocations=2:
    Heap
    PSYoungGen total 3584K, used 3568K [0x10010000, 0x10420000, 0x138f0000)
    eden space 2944K, 99% used [0x10010000,0x102eff68,0x102f0000)
    from space 640K, 97% used [0x102f0000,0x1038c460,0x10390000)
    to space 576K, 0% used [0x10390000,0x10390000,0x10420000)
    PSOldGen total 4096K, used 16K [0x138f0000, 0x13cf0000, 0x30010000)
    object space 4096K, 0% used [0x138f0000,0x138f4000,0x13cf0000)
    PSPermGen total 16384K, used 3544K [0x30010000, 0x31010000, 0x38010000)
    object space 16384K, 21% used [0x30010000,0x30386000,0x31010000)
    1.720: [GC 3584K->684K(7680K), 0.0084564 secs]
    Heap after GC invocations=2:
    Heap
    PSYoungGen total 3584K, used 562K [0x10010000, 0x10420000, 0x138f0000)
    eden space 3008K, 0% used [0x10010000,0x10010000,0x10300000)
    from space 576K, 97% used [0x10390000,0x1041c900,0x10420000)
    to space 576K, 0% used [0x10300000,0x10300000,0x10390000)
    PSOldGen total 4096K, used 122K [0x138f0000, 0x13cf0000, 0x30010000)
    object space 4096K, 2% used [0x138f0000,0x1390e8a0,0x13cf0000)
    PSPermGen total 16384K, used 3544K [0x30010000, 0x31010000, 0x38010000)
    object space 16384K, 21% used [0x30010000,0x30386000,0x31010000)
    }

    Any ideas what is causing this? I have read the articles on changing the heap
    sizes and I have been trying to tweak that, with no avail.

    -Tomb

    Tombraider007 Guest

  2. Similar Questions and Discussions

    1. URGENT!: Increase Heap Size - service-specific error 2
      Hi there, I am having one of this performance issues that is driving me mad with my Coldfusion 6.1 Application Server running big queries from SQL...
    2. Error - Running ColdFusion as a specific user
      I followed the instructions in http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17279 using an active directory domain accoun and cannot...
    3. specify specific IP when using web service
      I have a vendor that only allows their web service to be used whitelist IP addresses. We currently have a system with two IPs, call them X (the...
    4. Windows 2003 server web service consumer with interop cannot impersonate a specific user
      Hello, I have a .Net class library that is a web service consumer. This .Net web service consumer DLL is instantiated by a VB6 ActiveX EXE...
    5. PLEASE: "service specific error 1 (0x 1)" APACHE WON'T RESTART!
      Terry S. wrote: I'd suggest an apache support forum might be better for this. It sounds like the computers support of the service is ok but the...
  3. #2

    Default Re: Service specific error 2 (0x2)

    Are you running IIS?
    mprest Guest

  4. #3

    Default Re: Service specific error 2 (0x2)

    Yes, sorry about that, I am running IIS 6


    Tombraider007 Guest

  5. #4

    Default Re: Service specific error 2 (0x2)

    Anyone out there.... Hello? Need some help here...
    Tombraider007 Guest

  6. #5

    Default Re: Service specific error 2 (0x2)

    Anyone out there.... Hello? Need some help here...
    Tombraider007 Guest

  7. #6

    Default Re: Service specific error 2 (0x2)

    When are these errors occuring? What are you doing at the time? Do certain things work and others don't?

    Andy
    xentrix Guest

  8. #7

    Default Re: Service specific error 2 (0x2)

    Andy -

    Thank you so much for your post. Its when I try to start the Cold Fusion
    service. The ODBC agent and the ODBC Server are running, along with IIS and
    its sub components. So when I click START service on CF this is exactly what
    happens:

    Service throws this error:

    Windows could not start the Coldfusion MX 7 Application Server on Local
    Computer. For more information, review the System Event Log. If this is a
    non-Microsoft service, contact the service vendor, and refer to
    service-specific error code 2.

    Event Viewer:

    (APPLICATION)

    The Coldfusion MX 7 Application Server could not be started. Check the server
    "coldfusion" log files for more information. Event ID: 259

    The ColdFusion MX 7 Application Server service for the "coldfusion" server is
    logging system output to C:\CFusionMX7\runtime\logs\coldfusion-out.log and
    system errors to C:\CFusionMX7\runtime\logs\coldfusion-err.log. Event ID:7

    (SECURITY)

    none

    (System)

    The ColdFusion MX 7 Application Server service terminated with
    service-specific error 2 (0x2).

    For more information, see Help and Support Center at
    [url]http://go.microsoft.com/fwlink/events.asp[/url]. Event ID: 7024

    The ColdFusion MX 7 Application Server service entered the stopped state.
    For more information, see Help and Support Center at
    [url]http://go.microsoft.com/fwlink/events.asp[/url]. Event ID: 7036

    The ColdFusion MX 7 Application Server service was successfully sent a start
    control.
    For more information, see Help and Support Center at
    [url]http://go.microsoft.com/fwlink/events.asp[/url]. Event ID: 7035

    Then, the Coldfusion log files are posted in the previous posting.

    Tombraider007 Guest

  9. #8

    Default Re: Service specific error 2 (0x2)

    Out of curiosity ... do you have any datasources named "service"?

    Andy
    xentrix Guest

  10. #9

    Default Re: Service specific error 2 (0x2)

    I do not have any datasources called "service".
    Tombraider007 Guest

  11. #10

    Default Re: Service specific error 2 (0x2)

    Right, was just checking as having a datasource with that name can cause your
    error.

    Try starting CF from the command line from within c:\cfusionmx7\runtime\bin,
    using:
    jrunsvc.exe -starttimeout 900 "ColdFusion MX 7 Application Server"

    Let me know what you get here.

    Andy


    xentrix Guest

  12. #11

    Default Re: Service specific error 2 (0x2)

    The failure you're seeing is that of the XML parser. Can you post your jvm.args?
    ke4pym Guest

  13. #12

    Default Re: Service specific error 2 (0x2)

    I'm getting the same error after I installed the CF 7.01 updater and it's
    driving me crazy. My JVM in JRun was dated 11/30/2005 when I ran the updater.
    I looked through all the args and they matched up. I'm not overly experienced
    with it, but nothing looked like a problem to me.

    When I run c:\cfusionmx7\runtime\bin, using:
    jrunsvc.exe -starttimeout 900 "ColdFusion MX 7 Application Server" the error
    msg I get is:
    "Cannot find c:\cfusionmx7\runtime\bin" which is ludicrous- the file is there
    and I'm using it. I can even enter the subdirectory and run the file on the
    command line within that directory and I still get the message.

    Could it be a weird windows permissions issue caused by the updater?

    thanks for anything, Don

    dontgd Guest

  14. #13

    Default Re: Service specific error 2 (0x2)

    Did you rebuild the machine since getting it from Dell? I'm using Dell servers,
    W2003, IIS6, but I installed and setup the OS myself and have not had any kind
    of problems at all on multiple servers. If you've got the default OS install on
    yours, there might be some Dell specific security configuration that is
    preventing the install from succeeding. I even built a test machine with WinXP
    Prof last week and installed the developers version and it works fine.

    Are you doing a stand-alone or multi-server install? Did you by any chance
    change the credentials the service runs under in the Services MMC? I run mine
    under a domain account so it can get to network resources and the account has
    to have "run as a service" rights and must be in the Local Administrators group.

    spikehenning Guest

  15. #14

    Default Re: Service specific error 2 (0x2)

    You are going to need to uninstall, reboot and then clean EVERYTHING
    out of your temp file that can be deleted before re-installing.

    sherwin.harris@gmail.com Guest

  16. #15

    Default Re: Service specific error 2 (0x2)

    Still working with this issue. We have a fleet of a half dozen laptops and 4-5
    desktops used in offline presentations. They are straight from Dell. no
    custom modifications are made to the OS whatsoever. No strangely named
    datasources are used. They are running Windows XP and are updated weekly. The
    laptops are running McAfee security. The desktops are running Windows
    Firewall. Both box types run CFMX 6.1 with zero problems. I discovered this
    error in September 2005 and reported it to Macromedia. In November I spent
    three days on this task, documenting settings and reinstalling. It never
    worked. I determined the cheapest thing for us to do was let Team Macromedia
    or the company solve the problem and release an update. 6 months later we're
    still waiting and people are still posting this same issue to the forums. Our
    clients will purchase the CF 7 licenses after positive response to these laptop
    demos. Until I have CF7 license keys then it seems I can't get real support on
    this one. Catch 22. Regardless, this problem is well-documented on the
    forums, yet Team Macromedia hasn't successfully responded to it and often times
    the fourth or fifth reply still wants another person's logs...

    I have followed every suggestion that was posted as of November 2005- none
    worked- and will now review posts made since then.

    It's intriguing that it may be a dell issue because we have a complete dell
    fleet here.

    In July I did identify issues with running coldfusion and McAfee identity
    theft or whatever that product was. That McAffee product is disabled and was
    never installed on the desktops.

    I am a 10 year CF veteran who now needs a plug-and-play tool for his team.

    Don

    dontgd Guest

  17. #16

    Default Re: Service specific error 2 (0x2)

    First, check that the prots are not being blocked by a server security policy.

    Second, try changing the username that the service uses to log on.

    Worked for me
    jozza.net 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