Creating a connection for Tomcat 5.5 in MC4J

Posted on 2007-09-28
Last Modified: 2013-12-02

As specified in the documentation, I added the following to catalina.bat:

set CATALINA_OPTS=" \ \ \"

However, when I create a new connection for this server, I get IOException: Check service availability.

The parameters I'm using are:
server connection type: Tomcat 5.5+
Initial Context Factory: com.sun.jndi.rmi.registry.RegistryContextFactory
Server URL: service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi

Something is not setup properly, any idea what?

Thanks in advance!

Question by:aquarius003

    Author Comment

    Additional note: the service  is live and kicking at the time of this error.
    LVL 23

    Accepted Solution

    set these to JAVA_OPTS variable

    Author Comment

    Hmnmm, says to put it in CATALINA_OPTS. However, it works when they're moved to JAVA_OPTS.

    LVL 23

    Expert Comment

    May be this link needs a change.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting ( to http…
    -Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now