Re: Lab 0 - Step 11

"Geeta Ramani" <[email protected]>
Newsgroups gmane.comp.java.mvc.devel
Organization Central Maine Power Company
Message-ID <[email protected]>
Adrain:

The xml file I was talking about was webapps/webCMS/WEB-INF/web.xml. That has a couple of refs to "test"
that I had to take out.  I am not sure about your otther error..

Geeta

[email protected] wrote:

> Thanks for the earlier reply.
>
> Earlier I heard from the class that you had to comment out certain lines
> about test servlet in the resin.conf file.
>
> The only reference in my resin.conf is
>
>     <host-default>
>       <class-loader>
>         <!--
>            - If true, the classloader order follows the Servlet spec.
>            - If false, the classloader order follows the JDK spec.
>           -->
>         <servlet-hack>false</servlet-hack>
>
>         <compiling-loader path='webapps/WEB-INF/classes'/>
>         <library-loader path='webapps/WEB-INF/lib'/>
>       </class-loader>
>
> Do I have a different version of resin from the rest of the class.  Also I
> am getting error messages with resin start up.  Does anyone have a similar
> problem??  (See error messages and version of JDK and resin below.)
>
> On the surface, it looks like I have a problem with HostEntry.java  If
> worse come to worse, I suppose I can always look at the open source.
> Just wonder if anyone may have insights into this problem.  For now, I can
> still carry on the lab work although I have to use another Servlet
> container.
>
> C:\jasic>java -version
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01)
> BEA WebLogic JRockit(R) Virtual Machine (build
> 8.0-1.4.1_01-win32-CROSIS-20030124-1058, Native Threads, Generational Con
> current Garbage Collector)
>
> Resin 3.0.0-beta (built Thu Feb 13 18:21:13 PST 2003)
> Copyright(c) 1998-2002 Caucho Technology.  All rights reserved.
>
> Starting Resin on Sat, 01 Mar 2003 18:17:33 +0000 (GMT)
> [18:17:35.743] ServletServer[] starting
> [18:17:35.923] java.lang.RuntimeException:
> javax.management.MalformedObjectNameException: ObjectName: Invalid value ->
> [18:17:35.923]  at
> com.caucho.jmx.Jmx.createJMXContext(Ljava.lang.ClassLoader;)Ljavax.management.MBeanServer;(Jmx.java:9
> 4)
> [18:17:35.923]  at com.caucho.server.host.Host.<init>()V(Host.java:125)
> [18:17:35.923]  at com.caucho.server.host.HostEntry.createHostInt
> ()Lcom.caucho.server.host.Host;(HostEntry.java:365)
> [18:17:35.923]  at com.caucho.server.host.HostEntry.createHost
> ()Lcom.caucho.server.host.Host;(HostEntry.java:253)
> [18:17:35.923]  at com.caucho.server.host.HostContainer.start
> ()V(HostContainer.java:452)
> [18:17:35.923]  at com.caucho.server.resin.ServletServer.start
> ()V(ServletServer.java:490)
> [18:17:35.923]  at com.caucho.server.resin.ResinServer.start
> ()V(ResinServer.java:134)
> [18:17:35.923]  at com.caucho.server.resin.Resin.init()V(Resin.java:233)
> [18:17:35.923]  at com.caucho.server.resin.Resin.main
> ([Ljava.lang.String;)V(Resin.java:350)
> [18:17:35.923] Caused by: javax.management.MalformedObjectNameException:
> ObjectName: Invalid value ->
> [18:17:35.923]  at
> javax.management.ObjectName.validateAndAdd(Ljava.lang.Object;Ljava.util.Hashtable;Ljava.util.Map;)V(O
> bjectName.java:440)
> [18:17:35.923]  at
> javax.management.ObjectName.initObjectName(Ljava.lang.String;Ljava.util.Hashtable;Ljava.util.ArrayLis
> t;)V(ObjectName.java:409)
> [18:17:35.923]  at
> javax.management.ObjectName.<init>(Ljava.lang.String;Ljava.util.Hashtable;)V(ObjectName.java:254)
> [18:17:35.923]  at
> com.caucho.jmx.Jmx.createJMXContext(Ljava.lang.ClassLoader;)Ljavax.management.MBeanServer;(Jmx.java:9
> 2)
> [18:17:35.923]  ... 8 more
> [18:17:35.963] http listening to *:80
> [18:17:36.063] hmux listening to *:6802
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.