Hi all,

I am attempting to do Custom Asserter and I modified the codes from the web which is originally for Weblogic 9.2.

I am hitting a ClassNotFound error even though the class file is actually there.

Currently, the auto generated MBI java file contains a
//@packageDescriptor

instead of package examples.security.providers.identityassertion.simp le (which i believe is the correct value)

Any idea how bypass this error ?

Triggering ./ant will give the following :
Buildfile: build.xml

build.mdf:
[java] Working directory ignored when same JVM is used.
[java] Parsing the MBean definition file: SimpleSampleServletAuthenticationFilter.xml
[java] Generating the source files...
[java] Generating the MBean interface file...
[java] Generating the MBean implementation file...
[java] Compiling the implementation file...
[java] Compiling these files test/SimpleSampleIdentityAsserterImpl.java
[java] Generating the MBI generator file...
[java] Compiling the MBI generator file...
[java] Compiling these files test/SimpleSampleIdentityAsserterMBI.java
[java] Creating the MBI file...
[java] Could not create MBI.
[java] java.lang.ClassNotFoundException: SimpleSampleIdentityAsserterMBI
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java: 199)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:219)
[java] at weblogic.management.commo.WebLogicMBeanMaker.main( WebLogicMBeanMaker.java:822)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(Exec uteJava.java:208)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute( ExecuteJava.java:150)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:4 43)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Jav a.java:163)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.ja va:108)
[java] at org.apache.tools.ant.Task.perform(Task.java:341)
[java] at org.apache.tools.ant.Target.execute(Target.java:30 9)
[java] at org.apache.tools.ant.Target.performTasks(Target.ja va:336)
[java] at org.apache.tools.ant.Project.executeTarget(Project .java:1339)
[java] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1255)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[java] at org.apache.tools.ant.Main.start(Main.java:196)
[java] at org.apache.tools.ant.Main.main(Main.java:235)
[java] Fatal errors occurred.

Attaching the files.

Any help is appreciated =)