title: Problem adding <listener> to web.xml in eclipse
body: <p>I use Eclipse with Websphere server . </p>
  
  <p>I need to add a session listener  . I added the class SessionListener.java in the package net.test . When I add the &lt; listener > tag to the web.xml file , I get the folowing error :</p>
  
  <pre><code>Distribution of configuration failed.  See log for details.
    Error unmarshaling return; nested exception is: 
      java.net.MalformedURLException: no protocol: Files/IBM/WebSphere/AppServerCommunityEdition/repository/org/apache/geronimo/modules/geronimo-common/2.0.1/geronimo-common-2.0.1.jar
    java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: 
      java.net.MalformedURLException: no protocol: Files/IBM/WebSphere/AppServerCommunityEdition/repository/org/apache/geronimo/modules/geronimo-common/2.0.1/geronimo-common-2.0.1.jar
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:141)
      at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(RMIConnectionImpl_Stub.java:400)
      at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:984)
      at org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:890)
      at org.apache.geronimo.system.jmx.KernelDelegate.invoke(KernelDelegate.java:551)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
      at java.lang.Thread.run(Thread.java:810)
    Caused by: java.net.MalformedURLException: no protocol: Files/IBM/WebSphere/AppServerCommunityEdition/repository/org/apache/geronimo/modules/geronimo-common/2.0.1/geronimo-common-2.0.1.jar
      at java.net.URL.&lt;init&gt;(URL.java:602)
      at java.net.URL.&lt;init&gt;(URL.java:499)
      at java.net.URL.&lt;init&gt;(URL.java:448)
      at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:762)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:162)
      at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:632)
      at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:259)
      at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:212)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1568)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1490)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1723)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1932)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1856)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1743)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:363)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:231)
      ... 9 more
  </code></pre>
  
  <p>This is my web.xml file :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"&gt;
    &lt;display-name&gt;odyssey&lt;/display-name&gt;
  
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
    &lt;listener&gt;
          &lt;listener-class&gt;net.testt.SessionListener&lt;/listener-class&gt;
      &lt;/listener&gt;  
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>When I remove the  tag , everything works fine ... Please help ... I really need that listener to do the cleanup works to keep track of the current ONLINE USERS ...</p>