Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 566493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:59:00+00:00 2026-05-13T12:59:00+00:00

I use Eclipse with Websphere server . I need to add a session listener

  • 0

I use Eclipse with Websphere server .

I need to add a session listener . I added the class SessionListener.java in the package net.test . When I add the < listener > tag to the web.xml file , I get the folowing error :

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.<init>(URL.java:602)
    at java.net.URL.<init>(URL.java:499)
    at java.net.URL.<init>(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

This is my web.xml file :

<?xml version="1.0" encoding="UTF-8"?>
<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">
  <display-name>odyssey</display-name>

  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
  <listener>
        <listener-class>net.testt.SessionListener</listener-class>
    </listener>  

</web-app>

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 …

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:59:00+00:00Added an answer on May 13, 2026 at 12:59 pm

    This is a (nasty) bug in WASCE. It should have been "file:///C:/Program Files/IBM/....". The file:// is here the protocol which was missing due to the space in Program Files. The IBM guys should have quoted path names, but they apparently overlooked it.

    To fix this problem, either install WASCE in a path without spaces, or upgrade to the latest version available.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 302k
  • Answers 302k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I don't know of anything that will simultaneously write to… May 13, 2026 at 8:22 pm
  • Editorial Team
    Editorial Team added an answer You can define your own templates, that Views will use… May 13, 2026 at 8:22 pm
  • Editorial Team
    Editorial Team added an answer You can use xp_cmdshell. Example: EXECUTE master.dbo.xp_cmdshell 'DIR "C:\YourDirectory\" /A-D… May 13, 2026 at 8:22 pm

Related Questions

I've been introduced to this wonderful project, xhtmlrenderer; the flying saucer project . Problem
I am calling a vendor's Java API, and on some servers it appears that
I use Eclipse with external projects - i.e. projects created from existing source. Poking
I use Eclipse with ant scripts, and Eclipse works well with the default JRE
I use Eclipse with Dvorak-QWERTY Commands (a Mac option). I am running OS 10.6.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.