Startup failed: Timed out waiting for signal from JVM

2 respostas
C

Pessoal, boa tarde,

Algum de vcs já teve esse problem:

Startup failed: Timed out waiting for signal from JVM.

Estou o tendo quando inicializo o Mule. Aí ele reinicia a JVM e o Mule e tenta de novo, e dá o mesmo erro. Isso acontecepor 5 vezes até ele não tentar mais reiniciar.

Já tentei aumentar os timeouts, aumentar e diminuir a memória, habilitar e desabilitar a porta de debug, desabilitar antivirus no servidor, reiniciá-lo, e nada, rsrs.

Alguém tem alguma dica ou sugestao de como resolver o problema?

Obrigado/

2 Respostas

N

http://www.mulesoft.org/jira/browse/MULE-1212?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

C

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 <n> 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.<n>=-Dhttp.proxyHost=YOUR_HOST
#wrapper.java.additional.<n>=-Dhttp.proxyPort=YOUR_PORT
#wrapper.java.additional.<n>=-Dhttp.proxyUsername=YOUR_USER_NAME
#wrapper.java.additional.<n>=-Dhttp.proxyPassword=YOUR_PASSWORD

# Identification of your Mule server
#wrapper.java.additional.<n>=-Dmule.serverId=YOUR_MULE_SERVER
#wrapper.java.additional.<n>=-Dmule.clusterId=YOUR_MULE_CLUSTER
#wrapper.java.additional.<n>=-Dmule.domainId=YOUR_MULE_DOMAIN

# Mule's working directory for SEDA queue persistence, transactions, etc.
#wrapper.java.additional.<n>=-Dmule.workingDirectory=./.mule

# Miscellaneous settings
wrapper.java.additional.4=-Dmule.encoding=UTF-8
#wrapper.java.additional.<n>=-Dmule.endpoints.synchronous=false
#wrapper.java.additional.<n>=-Dmule.remoteSync=false
#wrapper.java.additional.<n>=-Dmule.timeout.synchronous=10000
#wrapper.java.additional.<n>=-Dmule.timeout.transaction=30000
#wrapper.java.additional.<n>=-Dmule.systemModelType=seda
#wrapper.java.additional.<n>=-Dmule.clientMode=false

# Debug options
#wrapper.java.additional.<n>=-Dmule.disable.threadsafemessages=false
#wrapper.java.additional.<n>=-Dmule.message.cacheBytes=true
#wrapper.java.additional.<n>=-Dmule.message.cacheOriginal=true
#wrapper.java.additional.<n>=-Dmule.streaming.enable=true
#wrapper.java.additional.<n>=-Dmule.message.assertAccess=true
#wrapper.java.additional.<n>=-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: 10m = 10 megabytes.
wrapper.logfile.maxsize=1m

# 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!

Criado 9 de março de 2010
Ultima resposta 9 de mar. de 2010
Respostas 2
Participantes 2