0 Replies Latest reply on Dec 18, 2002 5:44 PM by Ross Mills

    can't find javax.security.auth.Subject on OS X

    Ross Mills Newbie

      Hi,

      When I try to run jboss-3.2.0beta2_tomcat-4.1.12 on OS X, I get the following error over and over again...

      java.lang.NoClassDefFoundError: javax/security/auth/Subject

      Any ideas?

      Thanks,
      Ross


      Here's what my startup screen looks like...

      ================================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/jboss/jboss-3.2.0beta2_tomcat-4.1.12

      JAVA: /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/bin/java

      JAVA_OPTS: -Dprogram.name=run.sh

      CLASSPATH: /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../Classes/i18n.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../Classes/ui.jar:/usr/local/jboss/jboss-3.2.0beta2_tomcat-4.1.12/bin/run.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../Classes/classes.jar

      ================================================================================


      Here's what the error stack track looks like...

      2002-12-18 14:29:36,958 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.jca:service=LocalTxDS,name=Default
      DS with code: org.jboss.resource.connectionmanager.RARDeployment
      2002-12-18 14:29:36,974 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/usr/local/jboss/jboss-3.2
      .0beta2_tomcat-4.1.12/server/default/deploy/hsqldb-ds.xml
      java.lang.NoClassDefFoundError: javax/security/auth/Subject
      at java.lang.Class.getMethods0(Native Method)
      at java.lang.Class.getMethods(Class.java:737)
      at org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:154)
      at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:63)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:129)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:64)
      at org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:50)
      at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:91)
      at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:79)
      at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:141)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:994)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:954)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:322)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:91)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:168)
      at org.jboss.system.ServiceConfigurator.processDependency(ServiceConfigurator.java:452)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:365)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:188)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:131)
      at org.jboss.system.ServiceController.install(ServiceController.java:226)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:230)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      (etc...)