Hi Asankha,

I use the ESB 1.6 instead of the ESB 1.5 and now I get the JMX connection
:-)

Your solution is very useful, thanks for your sample.

Greetings



Hartmut Zimmermann


Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany


www.basf-it-services.com


BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike




                                                                       
             "Asankha C.                                               
             Perera"                                                   
             <[EMAIL PROTECTED]                                          An
             >                          [email protected]         
             Gesendet von:                                           Kopie
             esb-java-user-bou                                         
             [EMAIL PROTECTED]                                           Thema
                                        Re: Antwort: Re: [esb-java-user]
                                        Basicquestions!!!              
             12.02.2008 08:24                                          
                                                                       
                                                                       
              Bitte antworten                                          
                    an                                                 
             [EMAIL PROTECTED]                                         
                   2.org                                               
                                                                       
                                                                       




Hi Hartmut

Your file is missing the following lines as per the comments on
https://wso2.org/jira/browse/ESBJAVA-425

wrapper.java.additional.13=-Dcom.sun.management.jmxremote.port=9999
wrapper.java.additional.14=-Dcom.sun.management.jmxremote.authenticate=false

wrapper.java.additional.15=-Dcom.sun.management.jmxremote.ssl=false
wrapper.java.additional.16=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true


This should solve your problem

asankha

[EMAIL PROTECTED] wrote:
> Hi Asankha,
>
> I think that is the problem I can't anything in my wso2-esb.log about JMX
> Service URL.
>
>
>
#********************************************************************
# Wrapper Properties
#********************************************************************
# Java Application
wrapper.java.command=java

# set the working directory to the ESB_HOME
wrapper.working.dir=../..

# 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

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.1=%CLASSPATH%
wrapper.java.classpath.2=webapp/WEB-INF/lib/wrapper-3.2.3.jar
wrapper.java.classpath.3=webapp/WEB-INF/lib/patches
wrapper.java.classpath.4=webapp/WEB-INF/lib/patches/*.jar
wrapper.java.classpath.5=webapp/WEB-INF/lib
wrapper.java.classpath.6=webapp/WEB-INF/lib/synapse-*.jar
wrapper.java.classpath.7=webapp/WEB-INF/lib/*.jar
wrapper.java.classpath.8=tomcat/lib
wrapper.java.classpath.9=tomcat/lib/*.jar
wrapper.java.classpath.10=webapp/WEB-INF/classes/conf
wrapper.java.classpath.11=webapp/WEB-INF/lib/extensions
wrapper.java.classpath.12=webapp/WEB-INF/lib/extensions/*.jar

# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=webapp/WEB-INF/lib
wrapper.java.library.path.2=tomcat/lib

# Java Additional Parameters
wrapper.java.additional.1=-Desb.xml=webapp/WEB-INF/classes/conf/server.xml
wrapper.java.additional.2=-Dsynapse.xml=webapp/WEB-INF/classes/conf/synapse.xml

wrapper.java.additional.3=-Daxis2.xml=webapp/WEB-INF/classes/conf/axis2.xml
wrapper.java.additional.4=-Daxis2.repo=repository
wrapper.java.additional.5=-Djava.endorsed.dirs=webapp/WEB-INF/lib/endorsed
wrapper.java.additional.6=-Desb.home=.
wrapper.java.additional.7=-Dserver-web.xml=webapp/WEB-INF/classes/conf/server-web.xml

wrapper.java.additional.8=-Dmime-mappings.xml=webapp/WEB-INF/classes/conf/mime-mappings.xml

wrapper.java.additional.9=-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XMLGrammarCachingConfiguration

wrapper.java.additional.10=-Dlog4j.configuration=file:webapp/WEB-INF/classes/conf/log4j.properties

wrapper.java.additional.11=-Djava.io.tmpdir=work/temp/esb
wrapper.java.additional.12=-Dresolve.root=repository
wrapper.java.additional.13=-Dcom.sun.management.jmxremote.port=9999
wrapper.java.additional.14=-Dcom.sun.management.jmxremote.authenticate=false

wrapper.java.additional.15=-Dcom.sun.management.jmxremote.ssl=false
wrapper.java.additional.16=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true


# Initial Java Heap Size (in MB) - compute according to system
wrapper.java.initmemory=128

# Maximum Java Heap Size (in MB) - compute according to system
wrapper.java.maxmemory=128

# Application parameters.  Add parameters as needed starting from 1
wrapper.app.parameter.1=org.wso2.esb.ServiceBus
wrapper.app.parameter.2=START

#********************************************************************
# 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=logs/wso2-esb-process.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=5m

# 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=5

# 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=WSO2 Enterprise Service Bus (ESB)

#********************************************************************
# 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=WSO2ESB

# Display name of the service
wrapper.ntservice.displayname=WSO2 Enterprise Service Bus (ESB)

# Description of the service
wrapper.ntservice.description=WSO2 Enterprise Service Bus (ESB)

# 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

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user



_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to