Home > 1327 prunsrv c > 1327 prunsrv.c error load configuration failed

1327 prunsrv.c error load configuration failed

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the

"the System Cannot Find The Registry Key For Service" 'prunsrv'

workings and policies of this site About Us Learn more about Stack procrun Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs

Tomcat

Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unable to start Tomcat 6 .exe on Windows7 up vote 1 down vote favorite Not able to start the tomcat6 server. In command window I run: c:...Tomcat\apache-tomcat-6.0.35\bin>tomcat6.exe It shows the following exceptions. [warn] The system cannot find the Registry key for service 'tomcat6' [error] Load configuration failed [error] The system cannot find the file specified. [error] Commons Daemon procrun failed with exit value: 2 (Failed to load configuration) [error] The system cannot find the file specified. I am using java 1.6.0_30 64 bit, please help me out. Thanks in advance. java tomcat6 share|improve this question edited Jun 1 '13 at 18:13 Marcel Stör 9,57332576 asked May 31 '13 at 8:01 John 817 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote The installation process obviously failed. Try to run it again. The user who runs the installation process needs permissions to write to the registry. If that doesn't work you may start Tomcat from the batch file (startup.bat) in c:...Tomcat\apache-tomcat-6.0.35\bin. share|improve this answer edited Jun 1 '13 at 20:04 answered Jun 1 '13 at 11:22 Marcel Stör 9,57332576 I also so tried by executing startup.bat but i did not find any use: It is displaying as following: D:\Users\Softwares\Tomcat\apache-tomcat-6.0.35\bin>startup.b‌at Using CATALINA_BASE: "D:\Users\Softwares\Tomcat\apache-tomcat-6.0.35" Using CATALINA_HOME: "D:\Users\Softwares\Tomcat\apache-tomcat-6.0.35" Using CATALINA_TMPDIR: "D:\Users\Softwares\Tomcat\apache-tomcat-6.0.35\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.6.0_30" Using CLASSPATH: "D:\Users\Softwares\Tomcat\apache-tomcat-6.0.35\bin\bootstra‌p.jar" –John Jun 3 '13 at

♦ Locked 11 messages dkarr Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2 Due to constraints on my current work, my JAVA_HOME points to a JDK 1.4.2 distro. When I installed Tomcat 5.5.25, I pointed it to a Java 5 JDK that I have installed. It appears to be working relatively http://stackoverflow.com/questions/16852561/unable-to-start-tomcat-6-exe-on-windows7 well. I wanted to try installing Tomcat 6, to take a look at JSF 1.2. When I installed it, I pointed it to the same JDK that I'm using for Tomcat 5. When I start it, it fails almost immediately. I believe it's failing because the Tomcat 5 installation used the same display name for http://tomcat.10.x6.nabble.com/Problems-installing-Tomcat-6-along-existing-Tomcat-5-and-JAVA-HOME-points-to-1-4-2-td2086417.html the service that Tomcat 6 tries to use. This is ironic, as I have no intention of using the Windows service, I just used the installed because it's more convenient than the zip file. The console output is: [2008-01-27 17:13:10] [420 prunsrv.c] [error] The system cannot find the file specified. [2008-01-27 17:13:10] [1327 prunsrv.c] [error] Load configuration failed The "logs" directory only has "jakarta_service_20080127.log", which has: [2008-01-27 17:01:37] [info] Procrun (2.0.3.0) started [2008-01-27 17:01:37] [info] Service Tomcat6 name Apache Tomcat [2008-01-27 17:01:37] [420 service.c] [error] The name is already in use as either a service name or a service display name. [2008-01-27 17:01:37] [606 prunsrv.c] [error] Failed installing Tomcat6 service [2008-01-27 17:01:37] [info] Procrun finished. [2008-01-27 17:01:42] [info] Procrun (2.0.3.0) started [2008-01-27 17:01:42] [info] Service Tomcat6 name Apache Tomcat [2008-01-27 17:01:42] [420 service.c] [error] The name is already in use as either a service name or a service display name. [2008-01-27 17:01:42] [606 prunsrv.c] [error] Failed installing Tomcat6 service [2008-01-27 17:01:42] [info] Procrun finished. ---------------------------------------------

Jones on-line!See this thread for details. Win a copy of Functional Reactive Programming this week in the Other Languages forum! Post Reply Bookmark Topic Watch https://coderanch.com/t/546147/gc/Apache-foundations-prunsrv-exe Topic New Topic programming forums Java Java JSRs Mobile Certification Databases Caching Books Engineering Languages Frameworks Products This Site Careers Other all forums Forum: General Computing Apache foundations' prunsrv.exe issue priyas sakorikar Greenhorn Posts: 7 posted 5 years ago Hi All, I am trying to make a windows service with java.I used Apache foundations' prunsrv.exe for 1327 prunsrv.c the same.The code written is package myService1; public class MyService1 { public static void main(String args[]) { stopped = false; System.out.println("My Service Started " + new java.util.Date()); } } I compiled this code and tried to run it at commandline with following statement: MyService1.exe //IS//MyService1 --Install=MyService1.exe --Description="My Java Service" --Classpath= C:\Documents and Settings\Prv --StartMode=java --StartClass=myService1.MyService1 --StartParams=start --StdOutput=auto --StdError=auto 1327 prunsrv.c error --JavaHome=c:\Program Files\Java\jdk1.6.0_21\bin --StartMethod=start --Jvm=C:\Program Files\Java\jre6\bin\client\jvm.dll I tried to start this from administrative tools -> Service But could not. On command prompt I tried MyService //TS//MyService which is used ot run service from commandline. I am gettting error: Service 'MyService1' is missing the ImageFile I googled it. somewhare I found that if I copy msvcr71.dll from jdk/jre/bin to system32 directory the problem will be solved. But it didnot work. Please do help at the earliest. Peter Johnson author Bartender Posts: 5856 7 I like... posted 5 years ago You must place any parameters that include directories with spaces in their paths within quotes. For example: . . . "--Jvm=C:\Program Files\Java\jre6\bin\client\jvm.dll" If you don't it will be interpreted as two different parameters, with "--Jvm=C:\Program" being the first, which is meaningless. JBoss In Action priyas sakorikar Greenhorn Posts: 7 posted 5 years ago I tried that.. but now i am not getting any output at console. I tried to change the name of the exe again and then tried with //TS option direct

 

Related content

No related pages.