Hi,

I am trying to deploy an ear application(abc5EAR) on Websphere Application
Server. The application consist of certain EJB's. During application
deployment I am leaving all the options for deployment as default. I am
getting following error on the admin console and hence am not able to
install the application :

************************************************** **************************
************************
Could not set classpath for abc5EJB
>com.ibm.etools.ejbdeploy.EJBDeploymentException (Could not set classpath

for abc5EJB)

Java Model Exception: Java Model Status [Cannot nest 'C:Program
Files/WebSphere/AppServer/lib/rsadapter.rar' inside library 'C:Program
Files/WebSphere/AppServer/lib'.]

at
org.eclipse.jdt.internal.core.JavaModelOperation.e xecute(JavaModelOperation.
java:367)

at
org.eclipse.jdt.internal.core.JavaModelOperation.r un(JavaModelOperation.java
:684)

at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1595)

at
org.eclipse.jdt.internal.core.JavaElement.runOpera tion(JavaElement.java:543)

at
org.eclipse.jdt.internal.core.JavaProject.setRawCl asspath(JavaProject.java:2
159)

at
org.eclipse.jdt.internal.core.JavaProject.setRawCl asspath(JavaProject.java:2
175)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.setupJarProjectClasspat
h(BatchExtension.java:911)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.runEarDeploy(BatchExten
sion.java:296)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.access$0(BatchExtension
..java:257)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on$RunDeploy.run(BatchExte
nsion.java:240)

at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1595)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on$RunDeploy.execute(Batch
Extension.java:224)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.run(BatchExtension.java
:187)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:85
)

at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:58
)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl
..java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at
com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoad er.run(BootLoaderLoader.ja
va:255)

at
com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.ex ecute(BatchDeploy.java:133
)

at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDepl oy.java:80)

at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy. java:309)

EJBDeploy level: 20040331_1846-WB213-AD-V512D-W5

ADMA5007I: EJBDeploy completed on
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\app_102a046959f \dpl\dpl_abc5EAR.ear

ADMA5008E: EJBDeploy failed on
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\app_102a046959f \dpl\dpl_abc5EAR.ear:
com.ibm.websphere.management.exception.AdminExcept ion: ADMA0063E: Error in
EJB deploy - [An unexpected exception was thrown. Halting execution.]

ADMA5011I: Cleanup of temp dir for app abc5EAR done.

ADMA5014E: Installation of application abc5EAR failed.

Installation of application abc5EAR failed.

************************************************** **************************
***************


Has any one ever faced such kind of exception ? If yes then please let me
know how to proceed.

Regards
Tulika