You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/03/24 09:03:53 UTC

DO NOT REPLY [Bug 27894] New: - jmx throws exception if TC installation path contains spaces

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27894

jmx throws exception if TC installation path contains spaces

           Summary: jmx throws exception if TC installation path contains
                    spaces
           Product: Tomcat 5
           Version: 5.0.19
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: holbitlan@gmx.de


I tried to run TC 5.0.19 with mx4j-1.1.1 and mc4j-1.2beta4.

As I read in http://mc4j.sourceforge.net/usageTomcat.html that the JMX RI (JSR
160) in tomcat is still not working I followed the instructions given there to
use mx4j 1.1.1.

Whenever I install tomcat to a path that contains spaces (e.g. the default
"C:\...\Apache Software Foundation\Tomcat 5.0") I get the following exception at
startup:

--snip
24.03.2004 08:57:00 org.apache.jk.common.JkMX loadAdapter
SCHWERWIEGEND: MX4j RMI adapter not loaded: javax.management.MBeanException:
nested exception is javax.naming.CommunicationException [Root exception is
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
        java.net.MalformedURLException: no protocol: Software]
24.03.2004 08:57:00 org.apache.jk.common.JkMX loadAdapter WARNUNG: No adaptors
were loaded but mx.enabled was defined.
--snap

When move the TC homedir to a path that does NOT contain spaces, anything works
fine!!

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org