Tomcat 5.5.23: SessionBean & ApplicationBean init() methods not firing

My JSC projects will not work on Tomcat 5.5.23 because ApplicationBean init() and the SessionBean init() are not firing.

The projects work OK on Weblogic 8.1 and the JSC dev server.

I have followed the instructions given in

http://developers.sun.com/docs/jscreator/help/2update1/deploy/howtodeploy/deplo y_tomcat.html

AND

http://wiki.netbeans.org/wiki/view/DeploymentOnExternalTomcatforNB6

AND have added:

<listener>

<listener-class>com.sun.faces.config.ConfigureListener</listener-class >

</listener>

to my web.xml files but no success.

This problem has been raised before but unfortunately no solution is given. http://forum.java.sun.com/thread.jspa?threadID=5137210

Can someone please help?

Thanks

[813 byte] By [Sentenzaa] at [2007-11-27 4:39:28]
# 1
I also had problems with Tomcat 5.5.20. Check your logs for errors. Best solution yet, is to use Tomcat 5.5.17.regards Grzegorz
Grzegorz.Kluczeka at 2007-7-12 9:50:08 > top of Java-index,Development Tools,Java Tools...
# 2
Thanks . . . this worked.Note to JSC dev team: i think this problem needs to be investigated!
Sentenzaa at 2007-7-12 9:50:08 > top of Java-index,Development Tools,Java Tools...
# 3
Looking into it. I think you may have to explicitly call the life cycle methods for this to work on 5.5.20+ releases.Thanks for bringing it to our attention./sqad
skja at 2007-7-12 9:50:08 > top of Java-index,Development Tools,Java Tools...
# 4

One of our engineers got a chance to investigate this further. It turns out to be a bug with Tomcat (5.5.20+).

Please refer to:

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

The workaround now would be to place your app in a directory that contains no spaces.

As per the tomcat bug eval:

[quote]Fixed in svn and will be included in 5.5.24 onwards.[/quote]

Let us know if the workaround works? We'll update the netbeans tomcat wiki with the above mentioned information.

/sqad

skja at 2007-7-12 9:50:08 > top of Java-index,Development Tools,Java Tools...