You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by lekkie <le...@gmail.com> on 2010/05/05 17:15:04 UTC
because of Failed to resolve endpoint: nmr://nmrendpointname due
to: No component found with scheme: nmr
I realised whenever I start servicemix from the commandline using
servicemix.bat (in karaf.home/bin), the NMR is usually resolved, however if
I start same servicemix using the windows service (created by java wrapper),
it refuses to find the NMR component.
See my wrapper.conf file below:
#********************************************************************
# ServiceMix Wrapper Properties
#
#********************************************************************
# Java Application
#wrapper.java.command=c:/jdk1.5.0_10/bin/java
#wrapper.java.command=java
wrapper.java.command=C:/Program Files/Java/jdk1.6.0_16/bin/java
# Java Main class. This class must implement the WrapperListener interface
# or guarantee that the WrapperManager class is initialized. Helper
# classes are provided to do this for you. See the Integration section
# of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
#wrapper.app.parameter.1=org.codehaus.classworlds.Launcher
wrapper.app.parameter.1=org.apache.felix.karaf.main.Bootstrap
# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
wrapper.java.classpath.1=lib/wrappertest.jar
wrapper.java.classpath.2=lib/wrapper.jar
#wrapper.java.classpath.3=lib/classworlds-1.0.1.jar
wrapper.java.classpath.3=lib/karaf.jar
wrapper.java.classpath.4=lib/karaf-jaas-boot.jar
wrapper.java.classpath.5=conf
wrapper.java.classpath.6=.
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=lib
# Java Additional Parameters
#wrapper.java.additional.1=
wrapper.java.additional.1=-Dderby.system.home="data/derby"
wrapper.java.additional.2=-Dderby.storage.fileSyncTransactionLog=true
wrapper.java.additional.3=-Dcom.sun.management.jmxremote
wrapper.java.additional.4=-Dclassworlds.conf="conf/servicemix.conf"
wrapper.java.additional.5=-Dservicemix.home="d:/progress/apache-servicemix-4.2.0-fuse-01-00"
wrapper.java.additional.6=-Djava.endorsed.dirs="lib/endorsed"
wrapper.java.additional.7=-server
wrapper.java.additional.8=-Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger
wrapper.java.additional.9=-Dkaraf.startLocalConsole=false
wrapper.java.additional.10=-Dkaraf.startRemoteShell=true
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=64
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=512
# Application parameters. Add parameters as needed starting from 1
#wrapper.app.parameter.1=
wrapper.startup.timeout=20
#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM
# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=DEBUG
# Log file to use for wrapper output logging.
wrapper.logfile=logs/wrapper.log
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=DEBUG
# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0
# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0
# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=NONE
#********************************************************************
# Wrapper Windows Properties
#********************************************************************
# Title to use when running as a console
wrapper.console.title=ServiceMix Service Bus
#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
wrapper.ntservice.name=Fuse ServiceMix
# Display name of the service
wrapper.ntservice.displayname=Fuse ServiceMix Service Bus
# Description of the service
wrapper.ntservice.description=Fuse ServiceMix Service Bus
# Service dependencies. Add dependencies as needed starting from 1
#wrapper.ntservice.dependency.1=
# Mode in which the service is installed. AUTO_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START
# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false
What could be the cause?
--
View this message in context: http://old.nabble.com/because-of-Failed-to-resolve-endpoint%3A-nmr%3A--nmrendpointname-due-to%3A-No-component-found-with-scheme%3A-nmr-tp28462382p28462382.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.