0 Replies Latest reply on Jan 30, 2006 4:38 PM by Vikas Bhatia

    Deploying JAR in jboss issues

    Vikas Bhatia Newbie

      Hi

      I am trying facing the following problem while deploying a jar in jboss 4.0.3. Please help.I am stuck with this.

      [.deployment.EARDeployer] Init J2EE application: file:/C:/jboss-4.0.3SP1/server/did/deploy/did-od.ear
      2006-01-30 13:23:25,638 WARN [org.jboss.deployment.MainDeployer] Found non-jar deployer for data-management-ejb.jar: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
      2006-01-30 13:23:58,769 WARN [org.jboss.ejb.EJBDeployer] Verify failed; continuing
      java.lang.NoClassDefFoundError: javax/security/auth/login/LoginException
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
      at java.lang.Class.privateGetPublicMethods(Class.java:2488)
      at java.lang.Class.getMethods(Class.java:1406)
      at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:664)
      at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:834)
      at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:64)
      at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:166)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:559)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at java:438)

      Please note that jaas.jar which contains the class javax/security/auth/login/LoginException is present in the ear I am trying to deploy and also in the jar's manifest.mf Class-Path attribute has this jar. Still it is not able to figure out the class

      I would appreciate any help as soon as possible since I am stuck with this since last 3-4 days