users@glassfish.java.net

problems with glassfish v1

From: <glassfish_at_javadesktop.org>
Date: Thu, 10 May 2007 05:18:15 PDT

good day

i'm having problems running webapp (which runs perfectly under glassfish v2) under glassfish v1.

1. exception

[#|2007-05-08T14:15:32.160+0400|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_Th
readID=15;_ThreadName=httpWorkerThread-8080-1;_RequestID=aab04a79-0a81-411f-8735-6857854595e6;|Appli
cationDispatcher[/amsc] Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items" in <forEach>
        at org.apache.taglibs.standard.tag.common.core.ForEachSupport.toForEachIterator(ForEachSupport.java:274)
        at org.apache.taglibs.standard.tag.common.core.ForEachSupport.supportedTypeForEachIterator(ForEachSupport.java:238)
        at org.apache.taglibs.standard.tag.common.core.ForEachSupport.prepare(ForEachSupport.java:155)

is thrown at line <c:forEach items="#{row.specification}" var="attr">

row.specification is declared as List<AttributeType>, and AttributeType is a object's descendant, which implements Serializable.

2. exception

 [#|2007-05-07T18:54:05.797+0400|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.j
sf.lifecycle|_ThreadID=14;_ThreadName=httpWorkerThread-8080-1;_RequestID=55d591dd-5fe9-4972-ba46-db0
9b8b9c280;|executePhase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl_at_538793) threw exceptio
n java.lang.IllegalStateException: ru.amfitel.m3000.ui.selfcare.core.mbean.AccountBean$1gotoAccountsListener
        at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:98)
        at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1414)
        at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1276)

at line <f:actionListener binding="#{actionListener2}"/> in a tag file

actionListener is :

        public ActionListener getGotoAccountsListener()
        {
                class gotoAccountsListener implements ActionListener
                {
                        public void processAction(ActionEvent event) throws AbortProcessingException
                        {
                                gotoAccounts(event);
                        }
                }
                return new gotoAccountsListener();
        }

can anyone give me a clue?
[Message sent by forum member 'dimm' (dimm)]

http://forums.java.net/jive/thread.jspa?messageID=216307