nextuser 9 de mar. de 2010
carneiro 9 de mar. de 2010
Fala nextuser,
Vi o link, mas não entendi bem qual a solução. Estou adotando um método de integração corretamente, tanto que funciona em qualquer servidor, menos em um especialmente.
Você teria mais alguma dica?
O meu arquivo de configuração do wrapper.conf:
# ********************************************************************
# System Properties
# ********************************************************************
# Location of your Mule installation .
wrapper . java . additional .1 = - Dmule . home = "%MULE_HOME%"
wrapper . java . additional .1 . stripquotes = TRUE
wrapper . java . additional .2 = - Dmule . base = "%MULE_BASE%"
wrapper . java . additional .2 . stripquotes = TRUE
##########################################################################################
# CUSTOMIZACAO FLNFE - BERBEL
wrapper . app . parameter .1 = - config
wrapper . app . parameter .2 = "%MULE_HOME%\apps\flnfe-1.0.0\conf\commons\flnfe-mule-config.xml"
wrapper . working . dir = % MULE_HOME % \ apps \ flnfe - 1.0.0
##########################################################################################
# *** IMPORTANT ***
# If you enable any of the options below , you _must_ change the & lt ; n & gt ; to be a
# consecutive number ( based on the number of additional properties ) otherwise
# Java will not parse this properties file correctly !
# ( see http : //wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html)
# *** IMPORTANT ***
# Debug remotely , the application will wait for the external debugger to connect .
# wrapper . java . additional .3 = - Xdebug - Xnoagent - Djava . compiler = NONE - Xrunjdwp : transport = dt_socket , server = y , suspend = n , address = 5005
# Specify an HTTP proxy if you are behind a firewall .
# wrapper . java . additional . & lt ; n & gt ;= - Dhttp . proxyHost = YOUR_HOST
# wrapper . java . additional . & lt ; n & gt ;= - Dhttp . proxyPort = YOUR_PORT
# wrapper . java . additional . & lt ; n & gt ;= - Dhttp . proxyUsername = YOUR_USER_NAME
# wrapper . java . additional . & lt ; n & gt ;= - Dhttp . proxyPassword = YOUR_PASSWORD
# Identification of your Mule server
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . serverId = YOUR_MULE_SERVER
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . clusterId = YOUR_MULE_CLUSTER
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . domainId = YOUR_MULE_DOMAIN
# Mule ' s working directory for SEDA queue persistence , transactions , etc .
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . workingDirectory =. / . mule
# Miscellaneous settings
wrapper . java . additional .4 = - Dmule . encoding = UTF - 8
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . endpoints . synchronous = false
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . remoteSync = false
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . timeout . synchronous = 10000
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . timeout . transaction = 30000
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . systemModelType = seda
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . clientMode = false
# Debug options
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . disable . threadsafemessages = false
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . message . cacheBytes = true
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . message . cacheOriginal = true
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . streaming . enable = true
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . message . assertAccess = true
# wrapper . java . additional . & lt ; n & gt ;= - Dmule . transform . autoWrap = true
# ********************************************************************
# Wrapper Properties
# ********************************************************************
# Uncomment this line in the case of startup failure .
# wrapper . debug = true
# Java Application
# wrapper . java . command = java
wrapper . java . command = C : / Program Files / Java / jdk1 .6.0 _16 / bin / java
# Java Main class
# wrapper . java . mainclass = org . mule . module . boot . MuleBootstrap
# Java Classpath
wrapper . java . classpath .1 = % MULE_LIB %
wrapper . java . classpath .2 = % MULE_EXE %/ .. / conf
wrapper . java . classpath .3 = % MULE_HOME %/ lib / boot /* . jar
# Java Native Library Path ( location of . DLL or . so files )
wrapper . java . library . path .1 = % LD_LIBRARY_PATH %
wrapper . java . library . path .2 = % MULE_HOME %/ lib / boot
# Increase the default startup timeout so that the JVM has enough
# time to download the required jars on a slow connection
wrapper . startup . timeout = 120
wrapper . ping . timeout = 120
# Initial Java Heap Size ( in MB )
wrapper . java . initmemory = 1034
# Maximum Java Heap Size ( in MB )
wrapper . java . maxmemory = 1034
# ********************************************************************
# Wrapper Logging Properties
# ********************************************************************
# Format of output for the console . ( See docs for formats )
wrapper . console . format = M
# Log Level for console output . ( See docs for log levels )
wrapper . console . loglevel = INFO
# Log file to use for wrapper output logging .
wrapper . logfile = % MULE_EXE %/ .. / logs /% MULE_APP % . log
# Format of output for the log file . ( See docs for formats )
wrapper . logfile . format = M
# Log Level for log file output . ( See docs for log levels )
wrapper . logfile . loglevel = INFO
# 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 : 10 m = 10 megabytes .
wrapper . logfile . maxsize = 1 m
# 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 = 10
# 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 = % MULE_APP_LONG %
# ********************************************************************
# 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 = MULE_FLNFE
# Display name of the service
wrapper . ntservice . displayname = MULE_FLNFE
# Description of the service
wrapper . ntservice . description = MULE_FLNFE
# 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
# Do not edit lines below !
# This include should point to wrapper - additional . conf file in the same directory as this file
# ATTENTION : Path must be either absolute or relative to wrapper executable .
# include % MULE_EXE %/ .. / conf / wrapper - additional . conf
VALEU!