Class Not Found Exception (am_as81_agent)

I am running:

* Application Server PE9

* System Access Manager 7.1

* Application Server 8.1 Agent 2.2

* A cocoon based web application

I have verified that the cocoon based application works correctly in the application server when setup to not use the Agent.

I am able to sign into the Access Manager and configure everything as needed.

After I install and deploy the agent I get a ClassNotFound error when trying to access the agent. I have the agent.jar file in the server classpath, I have also tried creating a lib directory under the WEB-INF folder and putting agent.jar in that folder, but the ClassNotFound error remains.

I have placed the stack trace below.

I looked around the sun site for the Agent Source code, but I could not find the download for it to really dig into the code to find out what is going on.

Has anyone come up against this issue before? Any directions or advice would be appreciated.

Thanks,

Dan Curran

Servlet.service() for servlet Cocoon threw exception

java.lang.NoClassDefFoundError

at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFi lter.java:184)

at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBas eFilter.java:246)

at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.jav a:36)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:216)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:184)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 276)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextVal ve.java:240)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 179)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)

at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)

at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java: 120)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:13 7)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)

at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorT ask.java:667)

at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(Proces sorTask.java:574)

at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.ja va:844)

at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask .java:287)

at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)

at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)

at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)

[3678 byte] By [Dan_Currana] at [2007-11-26 20:20:22]
# 1

Hello,

Try to set the Access manager related files like am_sdk.jar, am_services.jar and so on in the Environment class path variables and also pu the same stuff's in the application server JVM setting both in server as well as in the default class path suffix,

Try once more. It will work. I had faced the same prob and rectified. In case if u have any queries/ideas, let me know.

Thanx,

TKT. Kandasaami

kandasaamia at 2007-7-10 0:44:46 > top of Java-index,Web & Directory Servers,Directory Servers...