0 Replies Latest reply on Oct 11, 2001 5:21 PM by Mike

    deploy problem with tutorial2.ear

    Mike Newbie

      In the JBoss security tutorial with 2 session beans and a servlet, the server issues some warnings and then throws an exception (see listing below) when deploying tutorial2.ear. From the warning msgs, seems it's a deployment descriptor problem. I corrected what I thought was a problem in the deployment descriptor for ssbean2.jar (fully qualified path not specified in build.xml "jar2" target), but still no luck. tutorial1.ear (which is very similar except for the LoginModule) deploys w/o a problem. Anyone seen this before or know what the problem may be?

      Thanks,

      Mike


      [Container factory] Deploying:file:/C:/JBoss-2.4.1a_Tomcat-3.2.3/jboss/tmp/deploy/Default/tutorial2.ear
      [Verifier] Verifying file:/C:/JBoss-.4.1a_Tomcat-.2.3/jboss/tmp/deploy/Default/tutorial2.ear/ejb1006.jar
      [Verifier]
      Bean : StatelessSession
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods.

      [Verifier]
      Bean : StatelessSession
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home interface in the home element.

      [Verifier]
      Bean : StatelessSession
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote interface in the remote element.

      (repeats for StatefulSession bean)...

      [Container factory] Deploying StatelessSession
      [Default] lookup securityDomain manager name: java:/jaas/example2
      [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@7894ce
      [JaasSecurityManagerService] setCachePolicy, c=null
      [JaasSecurityManagerService] Added example2, org.jboss.security.plugins.JaasSecurityManager@7894ce to map
      [Container factory] Deploying StatefulSession
      [Default] lookup securityDomain manager name: java:/jaas/example2
      [Container factory] java.lang.ClassNotFoundException: org.jboss.docs.jaas.howto.SessionHome

      (and exception continues...)