This will help you:
 
 
-----Ursprüngliche Nachricht-----
Von: Jeffrey Porter [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 27. September 2005 14:53
An: MyFaces Discussion
Betreff: RE: myfaces-1.1.0-examples.zip Simple.war - Why is there no listener-class in the web.xml?

 

I’ve found the reason for this problem.

 

It seems that my version of JBoss doesn’t like the examples. E.g. blank.war

 

What I have setup

 

JBoss 4.02 – Portal release

ActiveBPEL

            Container being used: ALL

 

Not sure which of these parts or the combination of these causes the problem.

 

I’ve tested against a new download of…

 

JBoss 4.0.2

JBoss 4.0.2 – Portal

 

Both of these work fine with the DEFAULT container.

 

I’m not going to look into the reason any further at the moment since my project has postponed the use of ActiveBPEL.

 

Anyone else having the same problem might want to test the blank.war file in the ALL container and/or ActiveBPEL.

 

Hope this helps someone else out.

 

JP.

 

 

-----Original Message-----
From: Jeffrey Porter [mailto:[EMAIL PROTECTED]
Sent:
27 September 2005 11:06
To: [email protected]
Subject: myfaces-1.1.0-examples.zip Simple.war - Why is there no listener-class in the web.xml?

 

 

Hello all,

 

Hoping you can shed some light on the following questions I have.

 

I’m learning from the file myfaces-1.1.0-examples.zip

 

Questions:

 

Why is there no Listener class defined in the web.xml?

How does the example work?

 

I’ve placed simple.war into a ear file which works fine, except when I rename simple.war to anything else e.g. billy.war

When I do this I get the following error message…

 

java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

 

(I update the application xml with the same context & file name)

 

Thanks

Jeff

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to