Re: Struts 2 dynamic menu issue
Jayaram Gokulan <karamvan-/[email protected]> Fri, 17 Apr 2009 07:06:44 -0700 (PDT)
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
--===============5769158770678499552==
Content-Type: multipart/alternative; boundary="0-279198508-1239977204=:18311"
--0-279198508-1239977204=:18311
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Matt,
=A0
Need help on this
=A0
I set the repository in my Action as below
package gov.mn.commerce.eassessment.security.action;
import gov.mn.commerce.eassessment.framework.action.BaseAction;
import gov.mn.commerce.eassessment.security.model.BusinessFunction;
import gov.mn.commerce.eassessment.security.model.Roles;
import gov.mn.commerce.eassessment.security.model.UserProfile;
import gov.mn.commerce.eassessment.security.service.AuthorizationManager;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import javax.servlet.http.Cookie;
import javax.servlet.jsp.JspException;
import net.sf.navigator.displayer.DropDownMenuDisplayer;
import net.sf.navigator.displayer.MenuDisplayer;
import net.sf.navigator.displayer.MenuDisplayerMapping;
import net.sf.navigator.menu.MenuComponent;
import net.sf.navigator.menu.MenuRepository;
import com.opensymphony.xwork2.Preparable;
public class AuthorizationAction extends BaseAction implements Preparable {
/**
*=20
*/
private static final long serialVersionUID =3D 1L;
public AuthorizationManager authorizationManager;
public void prepare() {
}
/**
* To get the Menu structure and values from the table, adn setting values
* into session
*=20
* @return String
*/
public String getUserBusinessfunctions()throws JspException,IOException {
UserProfile user =3D null;
if (getCurrentUser() !=3D null) {
user =3D getCurrentUser();
log.debug("::::::::::Current UserprofileId:::::::::"
+ user.getUserProfileId());
}
Long domainid=3D(Long)getSession().getAttribute("domainid");
if(domainid!=3Dnull)
{
Cookie cookie=3Dnew Cookie("domainid",domainid.toString());
getResponse().addCookie(cookie);
}
if (getCurrentUser() !=3D null) {
Set<Roles> roles=3DgetCurrentUser().getRoles();
Map<Long,BusinessFunction> businessFunctionList=3Dnew TreeMap<Long, Busines=
sFunction>();
for(Roles roles2:roles)
{
for(BusinessFunction businessFunction:roles2.getBusinessFunctions())
{
if(!businessFunctionList.containsKey(businessFunction.getFunctionId()))
businessFunctionList.put(businessFunction.getFunctionId(), businessFunction=
);
}
}
MenuRepository repository =3D new MenuRepository();
LinkedHashMap displayerList=3Dnew LinkedHashMap();
List<Long> keys=3Dnew ArrayList<Long>(businessFunctionList.keySet());
for(int i=3D0;i<businessFunctionList.size();i++)
{
MenuComponent menuComponent=3Dnew MenuComponent();
log.error(businessFunctionList.size());
log.error(keys.get(i));
menuComponent.setName(businessFunctionList.get(keys.get(i)).getName());
MenuComponent parentmenu=3Dnew MenuComponent();
parentmenu.setName(businessFunctionList.get((businessFunctionList.get(keys.=
get(i))).getFunctionId()).getName());
menuComponent.setParent(parentmenu);
menuComponent.setLocation(businessFunctionList.get(keys.get(i)).getUrl());
menuComponent.setTitle(businessFunctionList.get(keys.get(i)).getName());
repository.addMenu(menuComponent);
DropDownMenuDisplayer displayer=3Dnew DropDownMenuDisplayer();
displayer.display(menuComponent);
displayerList.put(keys.get(i),displayer);
}
// repository.setDisplayers(displayerList);
getSession().setAttribute("repository",repository);
}
return "mainMenu";
}
public AuthorizationManager getAuthorizationManager() {
return authorizationManager;
}
public void setAuthorizationManager(
AuthorizationManager authorizationManager) {
this.authorizationManager =3D authorizationManager;
}
}
=A0
My menu.jsp
=A0
<@page import=3D"net.sf.navigator.displayer.MenuDisplayer",
"net.sf.navigator.displayer.MenuDisplayerMapping"/>
<menu:useMenuDisplayer name=3D"Velocity" config=3D"/templates/xtree.html"
repository=3D"repository">
<c:forEach var=3D"menu" items=3D"${repository.topMenus}">
<menu-el:displayMenu name=3D"${menu.name}" />
</c:forEach>
</menu:useMenuDisplayer>
=A0
I get the below exception
=A0
[4/17/09 19:35:27:125 IST] 00000059 SystemErr R java.lang.IllegalArgumentEx=
ception: InputStream to parse is null
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at org.apache.commons.diges=
ter.Digester.parse(Digester.java:1882)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at net.sf.navigator.menu.Me=
nuRepository.load(MenuRepository.java:202)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at net.sf.navigator.menu.Me=
nuContextListener.contextInitialized(MenuContextListener.java:62)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.wswebcontaine=
r.webapp.WebApp.notifyServletContextCreated(WebApp.java:652)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.webcontainer.=
webapp.WebApp.commonInitializationFinish(WebApp.java:355)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.wswebcontaine=
r.webapp.WebApp.initialize(WebApp.java:292)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.wswebcontaine=
r.webapp.WebGroup.addWebApplication(WebGroup.java:92)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.wswebcontaine=
r.VirtualHost.addWebApplication(VirtualHost.java:157)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.wswebcontaine=
r.WebContainer.addWebApp(WebContainer.java:671)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.wswebcontaine=
r.WebContainer.addWebApplication(WebContainer.java:624)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.webcontainer.=
component.WebContainerImpl.install(WebContainerImpl.java:335)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.webcontainer.=
component.WebContainerImpl.start(WebContainerImpl.java:551)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.runtime.compo=
nent.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1274)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.runtime.compo=
nent.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImp=
l.java:1138)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.runtime.compo=
nent.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.runtime.compo=
nent.ApplicationMgrImpl.startModule(ApplicationMgrImpl.java:1744)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.runtime.compo=
nent.ApplicationMgrImpl._startModule(ApplicationMgrImpl.java:1692)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.reflect.NativeMethod=
AccessorImpl.invoke0(Native Method)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.reflect.NativeMethod=
AccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.reflect.DelegatingMe=
thodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at java.lang.reflect.Method=
.invoke(Method.java:615)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.reflect.misc.Trampol=
ine.invoke(MethodUtil.java:62)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.reflect.GeneratedMet=
hodAccessor15.invoke(Unknown Source)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.reflect.DelegatingMe=
thodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at java.lang.reflect.Method=
.invoke(Method.java:615)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.reflect.misc.MethodU=
til.invoke(MethodUtil.java:265)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at javax.management.modelmb=
ean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at javax.management.modelmb=
ean.RequiredModelMBean.invoke(RequiredModelMBean.java:971)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.jmx.mbeanserver.=
DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.jmx.mbeanserver.=
MetaDataImpl.invoke(MetaDataImpl.java:238)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.jmx.interceptor.=
DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833=
)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.jmx.mbeanserver.=
JmxMBeanServer.invoke(JmxMBeanServer.java:802)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.Ad=
minServiceImpl$1.run(AdminServiceImpl.java:1106)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.security.util=
.AccessController.doPrivileged(AccessController.java:118)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.Ad=
minServiceImpl.invoke(AdminServiceImpl.java:999)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java=
:196)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.StartDeploymentTask.fineGrainUpdate(StartDeploymentTask.java=
:149)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:79)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:=
1057)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:669)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.ja=
va:477)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:438)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.security.util=
.AccessController.doPrivileged(AccessController.java:118)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.jav=
a:425)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.re=
pository.FileRepository.postNotify(FileRepository.java:1761)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.re=
pository.FileRepository.update(FileRepository.java:1306)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.re=
pository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryCli=
ent.java:189)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.sm.workspace.=
impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapt=
er.java:637)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.sm.workspace.=
impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1858)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.sm.workspace.=
impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1805)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.sm.workspace.=
impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:479)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:158)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.SchedulerImpl.cleanup(SchedulerImpl.java:378)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.ws.management.ap=
plication.SchedulerImpl.run(SchedulerImpl.java:284)
[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at java.lang.Thread.run(Thr=
ead.java:797)=0A=0A=0A
--0-279198508-1239977204=:18311
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"=
top" style=3D"font: inherit;"><DIV>Hi Matt,</DIV>
<DIV> </DIV>
<DIV>Need help on this</DIV>
<DIV> </DIV>
<DIV>I set the repository in my Action as below</DIV><B><FONT color=3D#7f00=
55 size=3D2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>package</B></FONT></FONT><FONT size=3D2> gov.mn.commerce.ea=
ssessment.security.action;</DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> gov.mn.commerce.eas=
sessment.framework.action.BaseAction;</DIV></FONT><B><FONT color=3D#7f0055 =
size=3D2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> gov.mn.commerce.eas=
sessment.security.model.BusinessFunction;</DIV></FONT><B><FONT color=3D#7f0=
055 size=3D2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> gov.mn.commerce.eas=
sessment.security.model.Roles;</DIV></FONT><B><FONT color=3D#7f0055 size=3D=
2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> gov.mn.commerce.eas=
sessment.security.model.UserProfile;</DIV></FONT><B><FONT color=3D#7f0055 s=
ize=3D2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> gov.mn.commerce.eas=
sessment.security.service.AuthorizationManager;</DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.io.IOException=
;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=
=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.util.ArrayList=
;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=
=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.util.LinkedHas=
hMap;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 s=
ize=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.util.List;</DI=
V></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.util.Map;</DIV=
></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.util.Set;</DIV=
></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> java.util.TreeMap;<=
/DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> javax.servlet.http.=
Cookie;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055=
size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> javax.servlet.jsp.J=
spException;</DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> net.sf.navigator.di=
splayer.DropDownMenuDisplayer;</DIV></FONT><B><FONT color=3D#7f0055 size=3D=
2><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> net.sf.navigator.di=
splayer.MenuDisplayer;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT =
color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> net.sf.navigator.di=
splayer.MenuDisplayerMapping;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2=
><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> net.sf.navigator.me=
nu.MenuComponent;</DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> net.sf.navigator.me=
nu.MenuRepository;</DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>import</B></FONT></FONT><FONT size=3D2> com.opensymphony.xw=
ork2.Preparable;</DIV>
<P align=3Dleft></DIV></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=
=3D#7f0055 size=3D2>
<P align=3Dleft>public</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT col=
or=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>class</B></FONT></FONT=
><FONT size=3D2> AuthorizationAction </FONT><B><FONT color=3D#7f0055 size=
=3D2><FONT color=3D#7f0055 size=3D2>extends</B></FONT></FONT><FONT size=3D2=
> BaseAction </FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055=
size=3D2>implements</B></FONT></FONT><FONT size=3D2> Preparable {</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>/**</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*</FONT></FONT><FONT size=3D2> </DIV>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*/</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>private</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT color=
=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>static</B></FONT></FONT>=
<FONT size=3D2> </FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>final</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT color=
=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>long</B></FONT></FONT><F=
ONT size=3D2> </FONT><I><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c=
0 size=3D2>serialVersionUID</I></FONT></FONT><FONT size=3D2> =3D 1L;</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>public</B></FONT></FONT><FONT size=3D2> AuthorizationManager <=
/FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c0 size=3D2>authori=
zationManager</FONT></FONT><FONT size=3D2>;</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>public</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT color=
=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>void</B></FONT></FONT><F=
ONT size=3D2> prepare() {</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>/**</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*</FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#3f5fbf size=
=3D2><FONT color=3D#3f5fbf size=3D2>To</FONT></FONT><FONT size=3D2> </FONT>=
<FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf size=3D2>get</FONT></F=
ONT><FONT size=3D2> </FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f=
5fbf size=3D2>the</FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#3f5fbf=
size=3D2><FONT color=3D#3f5fbf size=3D2>Menu</FONT></FONT><FONT size=3D2> =
</FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf size=3D2>struct=
ure</FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#3f5fbf size=3D2><FON=
T color=3D#3f5fbf size=3D2>and</FONT></FONT><FONT size=3D2> </FONT><FONT co=
lor=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf size=3D2>values</FONT></FONT><=
FONT size=3D2> </FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf =
size=3D2>from</FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#3f5fbf siz=
e=3D2><FONT color=3D#3f5fbf size=3D2>the</FONT></FONT><FONT size=3D2> </FON=
T><FONT color=3D#3f5fbf
size=3D2><FONT color=3D#3f5fbf size=3D2>table,</FONT></FONT><FONT size=3D2=
> </FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf size=3D2>adn<=
/FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#3f5fbf size=3D2><FONT co=
lor=3D#3f5fbf size=3D2>setting</FONT></FONT><FONT size=3D2> </FONT><FONT co=
lor=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf size=3D2>values</DIV></FONT></=
FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*</FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#3f5fbf size=
=3D2><FONT color=3D#3f5fbf size=3D2>into</FONT></FONT><FONT size=3D2> </FON=
T><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf size=3D2>session</DI=
V></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*</FONT></FONT><FONT size=3D2> </DIV>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*</FONT></FONT><FONT size=3D2> </FONT><B><FONT color=3D#7f9fbf si=
ze=3D2><FONT color=3D#7f9fbf size=3D2>@return</B></FONT></FONT><FONT size=
=3D2> </FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf size=3D2>=
String</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2><FONT color=3D#3f5fbf=
size=3D2>*/</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>public</B></FONT></FONT><FONT size=3D2> String getUserBusiness=
functions()</FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 s=
ize=3D2>throws</B></FONT></FONT><FONT size=3D2> JspException,IOException {<=
/DIV>
<P align=3Dleft>UserProfile user =3D </FONT><B><FONT color=3D#7f0055 size=
=3D2><FONT color=3D#7f0055 size=3D2>null</B></FONT></FONT><FONT size=3D2>;<=
/DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>if</B></FONT></FONT><FONT size=3D2> (getCurrentUser() !=3D </F=
ONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>null</=
B></FONT></FONT><FONT size=3D2>) {</DIV>
<P align=3Dleft>user =3D getCurrentUser();</DIV>
<P align=3Dleft></FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c0=
size=3D2>log</FONT></FONT><FONT size=3D2>.debug(</FONT><FONT color=3D#2a00=
ff size=3D2><FONT color=3D#2a00ff size=3D2>"::::::::::Current UserprofileId=
:::::::::"</DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft>+ user.getUserProfileId());</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft>Long domainid=3D(Long)getSession().getAttribute(</FONT><FON=
T color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"domainid"</FONT>=
</FONT><FONT size=3D2>);</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>if</B></FONT></FONT><FONT size=3D2>(domainid!=3D</FONT><B><FON=
T color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>null</B></FONT></=
FONT><FONT size=3D2>)</DIV>
<P align=3Dleft>{</DIV>
<P align=3Dleft>Cookie cookie=3D</FONT><B><FONT color=3D#7f0055 size=3D2><F=
ONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=3D2> Cookie(</=
FONT><FONT color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"domaini=
d"</FONT></FONT><FONT size=3D2>,domainid.toString());</DIV>
<P align=3Dleft>getResponse().addCookie(cookie);</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>if</B></FONT></FONT><FONT size=3D2> (getCurrentUser() !=3D </F=
ONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>null</=
B></FONT></FONT><FONT size=3D2>) {</DIV>
<P align=3Dleft>Set<Roles> roles=3DgetCurrentUser().getRoles();</DIV>
<P align=3Dleft>Map<Long,BusinessFunction> businessFunctionList=3D</F=
ONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>new</B=
></FONT></FONT><FONT size=3D2> TreeMap<Long, BusinessFunction>();</DI=
V>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>for</B></FONT></FONT><FONT size=3D2>(Roles roles2:roles)</DIV>
<P align=3Dleft>{</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>for</B></FONT></FONT><FONT size=3D2>(BusinessFunction business=
Function:roles2.getBusinessFunctions())</DIV>
<P align=3Dleft>{</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>if</B></FONT></FONT><FONT size=3D2>(!businessFunctionList.cont=
ainsKey(businessFunction.getFunctionId()))</DIV>
<P align=3Dleft>businessFunctionList.put(businessFunction.getFunctionId(), =
businessFunction);</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft>MenuRepository repository =3D </FONT><B><FONT color=3D#7f00=
55 size=3D2><FONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=
=3D2> MenuRepository();</DIV>
<P align=3Dleft>LinkedHashMap displayerList=3D</FONT><B><FONT color=3D#7f00=
55 size=3D2><FONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=
=3D2> LinkedHashMap();</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></DIV>
<P align=3Dleft>List<Long> keys=3D</FONT><B><FONT color=3D#7f0055 siz=
e=3D2><FONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=3D2> A=
rrayList<Long>(businessFunctionList.keySet());</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>for</B></FONT></FONT><FONT size=3D2>(</FONT><B><FONT color=3D#=
7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>int</B></FONT></FONT><FONT s=
ize=3D2> i=3D0;i<businessFunctionList.size();i++)</DIV>
<P align=3Dleft>{</DIV>
<P align=3Dleft>MenuComponent menuComponent=3D</FONT><B><FONT color=3D#7f00=
55 size=3D2><FONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=
=3D2> MenuComponent();</DIV>
<P align=3Dleft></FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c0=
size=3D2>log</FONT></FONT><FONT size=3D2>.error(businessFunctionList.size(=
));</DIV>
<P align=3Dleft></FONT><FONT color=3D#0000c0 size=3D2><FONT color=3D#0000c0=
size=3D2>log</FONT></FONT><FONT size=3D2>.error(keys.get(i));</DIV>
<P align=3Dleft>menuComponent.setName(businessFunctionList.get(keys.get(i))=
.getName());</DIV>
<P align=3Dleft>MenuComponent parentmenu=3D</FONT><B><FONT color=3D#7f0055 =
size=3D2><FONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT size=3D2=
> MenuComponent();</DIV>
<P align=3Dleft>parentmenu.setName(businessFunctionList.get((businessFuncti=
onList.get(keys.get(i))).getFunctionId()).getName());</DIV>
<P align=3Dleft>menuComponent.setParent(parentmenu);</DIV>
<P align=3Dleft>menuComponent.setLocation(businessFunctionList.get(keys.get=
(i)).getUrl());</DIV>
<P align=3Dleft>menuComponent.setTitle(businessFunctionList.get(keys.get(i)=
).getName());</DIV>
<P align=3Dleft>repository.addMenu(menuComponent);</DIV>
<P align=3Dleft>DropDownMenuDisplayer displayer=3D</FONT><B><FONT color=3D#=
7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>new</B></FONT></FONT><FONT s=
ize=3D2> DropDownMenuDisplayer();</DIV>
<P align=3Dleft>displayer.display(menuComponent);</DIV>
<P align=3Dleft>displayerList.put(keys.get(i),displayer);</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></FONT><FONT color=3D#3f7f5f size=3D2><FONT color=3D#3f7f5f=
size=3D2>// repository.setDisplayers(displayerList);</DIV></FONT></FONT><F=
ONT size=3D2>
<P align=3Dleft>getSession().setAttribute(</FONT><FONT color=3D#2a00ff size=
=3D2><FONT color=3D#2a00ff size=3D2>"repository"</FONT></FONT><FONT size=3D=
2>,repository);</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>return</B></FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#=
2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"mainMenu"</FONT></FONT><FON=
T size=3D2>;</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>public</B></FONT></FONT><FONT size=3D2> AuthorizationManager g=
etAuthorizationManager() {</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>return</B></FONT></FONT><FONT size=3D2> </FONT><FONT color=3D#=
0000c0 size=3D2><FONT color=3D#0000c0 size=3D2>authorizationManager</FONT><=
/FONT><FONT size=3D2>;</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>public</B></FONT></FONT><FONT size=3D2> </FONT><B><FONT color=
=3D#7f0055 size=3D2><FONT color=3D#7f0055 size=3D2>void</B></FONT></FONT><F=
ONT size=3D2> setAuthorizationManager(</DIV>
<P align=3Dleft>AuthorizationManager authorizationManager) {</DIV>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2><FONT color=3D#7f0=
055 size=3D2>this</B></FONT></FONT><FONT size=3D2>.</FONT><FONT color=3D#00=
00c0 size=3D2><FONT color=3D#0000c0 size=3D2>authorizationManager</FONT></F=
ONT><FONT size=3D2> =3D authorizationManager;</DIV>
<P align=3Dleft>}</DIV>
<P align=3Dleft></DIV>
<P align=3Dleft>}</DIV></FONT>
<DIV> </DIV>
<DIV>My menu.jsp</DIV>
<DIV> </DIV><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=
=3D2>
<P align=3Dleft><</FONT></FONT><FONT size=3D2>@page import=3D"net.sf.nav=
igator.displayer.MenuDisplayer",</DIV>
<P align=3Dleft>"net.sf.navigator.displayer.MenuDisplayerMapping"/></DIV=
>
<P align=3Dleft></DIV></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#=
008080 size=3D2>
<P align=3Dleft><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT colo=
r=3D#3f7f7f size=3D2>menu:useMenuDisplayer </FONT></FONT><FONT color=3D#7f0=
07f size=3D2><FONT color=3D#7f007f size=3D2>name</FONT></FONT><FONT size=3D=
2>=3D</FONT><FONT color=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"=
Velocity" </FONT></FONT><FONT color=3D#7f007f size=3D2><FONT color=3D#7f007=
f size=3D2>config</FONT></FONT><FONT size=3D2>=3D</FONT><FONT color=3D#2a00=
ff size=3D2><FONT color=3D#2a00ff size=3D2>"/templates/xtree.html"</DIV>
<P align=3Dleft></FONT></FONT><FONT color=3D#7f007f size=3D2><FONT color=3D=
#7f007f size=3D2>repository</FONT></FONT><FONT size=3D2>=3D</FONT><FONT col=
or=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"repository"</FONT></F=
ONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080 size=3D2>></DIV=
></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>c:forEach </FONT></FONT><FONT color=3D#7f007f size=3D2><FONT=
color=3D#7f007f size=3D2>var</FONT></FONT><FONT size=3D2>=3D</FONT><FONT c=
olor=3D#2a00ff size=3D2><FONT color=3D#2a00ff size=3D2>"menu" </FONT></FONT=
><FONT color=3D#7f007f size=3D2><FONT color=3D#7f007f size=3D2>items</FONT>=
</FONT><FONT size=3D2>=3D"${repository.topMenus}"</FONT><FONT color=3D#0080=
80 size=3D2><FONT color=3D#008080 size=3D2>></DIV></FONT></FONT><FONT si=
ze=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2><</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#3=
f7f7f size=3D2>menu-el:displayMenu </FONT></FONT><FONT color=3D#7f007f size=
=3D2><FONT color=3D#7f007f size=3D2>name</FONT></FONT><FONT size=3D2>=3D"${=
menu.name}" </FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080 siz=
e=3D2>/></DIV></FONT></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2><FONT color=3D#008080=
size=3D2></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT color=3D#=
3f7f7f size=3D2>c:forEach</FONT></FONT><FONT color=3D#008080 size=3D2><FONT=
color=3D#008080 size=3D2>></DIV>
<P align=3Dleft></</FONT></FONT><FONT color=3D#3f7f7f size=3D2><FONT col=
or=3D#3f7f7f size=3D2>menu:useMenuDisplayer</FONT></FONT><FONT color=3D#008=
080 size=3D2><FONT color=3D#008080 size=3D2>></DIV></FONT></FONT>
<DIV> </DIV>
<DIV>I get the below exception</DIV>
<DIV> </DIV><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=
=3D2>
<P align=3Dleft>[4/17/09 19:35:27:125 IST] 00000059 SystemErr R </FONT></FO=
NT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>java.la=
ng.IllegalArgumentException</U></FONT></FONT><FONT color=3D#ff0000 size=3D2=
><FONT color=3D#ff0000 size=3D2>: InputStream to parse is null</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at org.apac=
he.commons.digester.Digester.parse(</FONT></FONT><U><FONT color=3D#000080 s=
ize=3D2><FONT color=3D#000080 size=3D2>Digester.java:1882</U></FONT></FONT>=
<FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at net.sf.n=
avigator.menu.MenuRepository.load(</FONT></FONT><U><FONT color=3D#000080 si=
ze=3D2><FONT color=3D#000080 size=3D2>MenuRepository.java:202</U></FONT></F=
ONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at net.sf.n=
avigator.menu.MenuContextListener.contextInitialized(</FONT></FONT><U><FONT=
color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>MenuContextListene=
r.java:62</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff=
0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(</FONT></FONT><=
U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>WebApp.java=
:652</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 =
size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.webcontainer.webapp.WebApp.commonInitializationFinish(</FONT></FONT><U><=
FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>WebApp.java:35=
5</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 siz=
e=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.wswebcontainer.webapp.WebApp.initialize(</FONT></FONT><U><FONT color=3D#=
000080 size=3D2><FONT color=3D#000080 size=3D2>WebApp.java:292</U></FONT></=
FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.wswebcontainer.webapp.WebGroup.addWebApplication(</FONT></FONT><U><FONT =
color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>WebGroup.java:92</U=
></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D=
2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.wswebcontainer.VirtualHost.addWebApplication(</FONT></FONT><U><FONT colo=
r=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>VirtualHost.java:157</U=
></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D=
2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.wswebcontainer.WebContainer.addWebApp(</FONT></FONT><U><FONT color=3D#00=
0080 size=3D2><FONT color=3D#000080 size=3D2>WebContainer.java:671</U></FON=
T></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</D=
IV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.wswebcontainer.WebContainer.addWebApplication(</FONT></FONT><U><FONT col=
or=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>WebContainer.java:624<=
/U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=
=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.webcontainer.component.WebContainerImpl.install(</FONT></FONT><U><FONT c=
olor=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>WebContainerImpl.jav=
a:335</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000=
size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.webcontainer.component.WebContainerImpl.start(</FONT></FONT><U><FONT col=
or=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>WebContainerImpl.java:=
551</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 s=
ize=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.runtime.component.ApplicationMgrImpl.start(</FONT></FONT><U><FONT color=
=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>ApplicationMgrImpl.java:=
1274</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 =
size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(</FONT=
></FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>De=
ployedApplicationImpl.java:1138</U></FONT></FONT><FONT color=3D#ff0000 size=
=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.runtime.component.DeployedModuleImpl.start(</FONT></FONT><U><FONT color=
=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>DeployedModuleImpl.java:=
569</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 s=
ize=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.runtime.component.ApplicationMgrImpl.startModule(</FONT></FONT><U><FONT =
color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>ApplicationMgrImpl.=
java:1744</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff=
0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.runtime.component.ApplicationMgrImpl._startModule(</FONT></FONT><U><FONT=
color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>ApplicationMgrImpl=
.java:1692</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#f=
f0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.refl=
ect.NativeMethodAccessorImpl.invoke0(</FONT></FONT><U><FONT color=3D#000080=
size=3D2><FONT color=3D#000080 size=3D2>Native Method</U></FONT></FONT><FO=
NT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.refl=
ect.NativeMethodAccessorImpl.invoke(</FONT></FONT><U><FONT color=3D#000080 =
size=3D2><FONT color=3D#000080 size=3D2>NativeMethodAccessorImpl.java:64</U=
></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D=
2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.refl=
ect.DelegatingMethodAccessorImpl.invoke(</FONT></FONT><U><FONT color=3D#000=
080 size=3D2><FONT color=3D#000080 size=3D2>DelegatingMethodAccessorImpl.ja=
va:43</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000=
size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at java.lan=
g.reflect.Method.invoke(</FONT></FONT><U><FONT color=3D#000080 size=3D2><FO=
NT color=3D#000080 size=3D2>Method.java:615</U></FONT></FONT><FONT color=3D=
#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.refl=
ect.misc.Trampoline.invoke(</FONT></FONT><U><FONT color=3D#000080 size=3D2>=
<FONT color=3D#000080 size=3D2>MethodUtil.java:62</U></FONT></FONT><FONT co=
lor=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.refl=
ect.GeneratedMethodAccessor15.invoke(Unknown Source)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.refl=
ect.DelegatingMethodAccessorImpl.invoke(</FONT></FONT><U><FONT color=3D#000=
080 size=3D2><FONT color=3D#000080 size=3D2>DelegatingMethodAccessorImpl.ja=
va:43</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000=
size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at java.lan=
g.reflect.Method.invoke(</FONT></FONT><U><FONT color=3D#000080 size=3D2><FO=
NT color=3D#000080 size=3D2>Method.java:615</U></FONT></FONT><FONT color=3D=
#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at sun.refl=
ect.misc.MethodUtil.invoke(</FONT></FONT><U><FONT color=3D#000080 size=3D2>=
<FONT color=3D#000080 size=3D2>MethodUtil.java:265</U></FONT></FONT><FONT c=
olor=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at javax.ma=
nagement.modelmbean.RequiredModelMBean.invokeMethod(</FONT></FONT><U><FONT =
color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>RequiredModelMBean.=
java:1089</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff=
0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at javax.ma=
nagement.modelmbean.RequiredModelMBean.invoke(</FONT></FONT><U><FONT color=
=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>RequiredModelMBean.java:=
971</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 s=
ize=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.=
jmx.mbeanserver.DynamicMetaDataImpl.invoke(</FONT></FONT><U><FONT color=3D#=
000080 size=3D2><FONT color=3D#000080 size=3D2>DynamicMetaDataImpl.java:231=
</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=
=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.=
jmx.mbeanserver.MetaDataImpl.invoke(</FONT></FONT><U><FONT color=3D#000080 =
size=3D2><FONT color=3D#000080 size=3D2>MetaDataImpl.java:238</U></FONT></F=
ONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.=
jmx.interceptor.DefaultMBeanServerInterceptor.invoke(</FONT></FONT><U><FONT=
color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>DefaultMBeanServer=
Interceptor.java:833</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT =
color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.sun.=
jmx.mbeanserver.JmxMBeanServer.invoke(</FONT></FONT><U><FONT color=3D#00008=
0 size=3D2><FONT color=3D#000080 size=3D2>JmxMBeanServer.java:802</U></FONT=
></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</DI=
V>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.AdminServiceImpl$1.run(</FONT></FONT><U><FONT color=3D#000080=
size=3D2><FONT color=3D#000080 size=3D2>AdminServiceImpl.java:1106</U></FO=
NT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</=
DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.security.util.AccessController.doPrivileged(</FONT></FONT><U><FONT color=
=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>AccessController.java:11=
8</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 siz=
e=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.AdminServiceImpl.invoke(</FONT></FONT><U><FONT color=3D#00008=
0 size=3D2><FONT color=3D#000080 size=3D2>AdminServiceImpl.java:999</U></FO=
NT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</=
DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.StartDeploymentTask.startDeployment(</FONT><=
/FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>Star=
tDeploymentTask.java:196</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><F=
ONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.StartDeploymentTask.fineGrainUpdate(</FONT><=
/FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>Star=
tDeploymentTask.java:149</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><F=
ONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.StartDeploymentTask.performTask(</FONT></FON=
T><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>StartDep=
loymentTask.java:79</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT c=
olor=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(</FONT><=
/FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>AppB=
inaryProcessor.java:1057</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><F=
ONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.AppBinaryProcessor.postProcess(</FONT></FONT=
><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>AppBinary=
Processor.java:669</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT co=
lor=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(</FON=
T></FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>A=
ppBinaryProcessor.java:477</U></FONT></FONT><FONT color=3D#ff0000 size=3D2>=
<FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.AppBinaryProcessor$2.run(</FONT></FONT><U><F=
ONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>AppBinaryProces=
sor.java:438</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D=
#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.security.util.AccessController.doPrivileged(</FONT></FONT><U><FONT color=
=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>AccessController.java:11=
8</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 siz=
e=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(</FONT=
></FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>Ap=
pBinaryProcessor.java:425</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><=
FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.repository.FileRepository.postNotify(</FONT></FONT><U><FONT c=
olor=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>FileRepository.java:=
1761</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 =
size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.repository.FileRepository.update(</FONT></FONT><U><FONT color=
=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>FileRepository.java:1306=
</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=
=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.repository.client.LocalConfigRepositoryClient.update(</FONT><=
/FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>Loca=
lConfigRepositoryClient.java:189</U></FONT></FONT><FONT color=3D#ff0000 siz=
e=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(</FONT></FONT>=
<U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>WorkSpaceM=
asterRepositoryAdapter.java:637</U></FONT></FONT><FONT color=3D#ff0000 size=
=3D2><FONT color=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.sm.workspace.impl.RepositoryContextImpl.update(</FONT></FONT><U><FONT co=
lor=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>RepositoryContextImpl=
.java:1858</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#f=
f0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.sm.workspace.impl.RepositoryContextImpl.synch(</FONT></FONT><U><FONT col=
or=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>RepositoryContextImpl.=
java:1805</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff=
0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.sm.workspace.impl.WorkSpaceImpl.synch(</FONT></FONT><U><FONT color=3D#00=
0080 size=3D2><FONT color=3D#000080 size=3D2>WorkSpaceImpl.java:479</U></FO=
NT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>)</=
DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.task.ConfigRepoHelper.removeWorkSpace(</FONT></FO=
NT><U><FONT color=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>ConfigR=
epoHelper.java:158</U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT co=
lor=3D#ff0000 size=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.SchedulerImpl.cleanup(</FONT></FONT><U><FONT colo=
r=3D#000080 size=3D2><FONT color=3D#000080 size=3D2>SchedulerImpl.java:378<=
/U></FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=
=3D2>)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at com.ibm.=
ws.management.application.SchedulerImpl.run(</FONT></FONT><U><FONT color=3D=
#000080 size=3D2><FONT color=3D#000080 size=3D2>SchedulerImpl.java:284</U><=
/FONT></FONT><FONT color=3D#ff0000 size=3D2><FONT color=3D#ff0000 size=3D2>=
)</DIV>
<P align=3Dleft>[4/17/09 19:35:27:203 IST] 00000059 SystemErr R at java.lan=
g.Thread.run(</FONT></FONT><U><FONT color=3D#000080 size=3D2><FONT color=3D=
#000080 size=3D2>Thread.java:797</U></FONT></FONT><FONT color=3D#ff0000 siz=
e=3D2><FONT color=3D#ff0000 size=3D2>)</DIV></FONT></FONT></td></tr></table=
><br>=0A=0A
--0-279198508-1239977204=:18311--
--===============5769158770678499552==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
--===============5769158770678499552==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
struts-menu-user mailing list
struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
--===============5769158770678499552==--