0 Replies Latest reply on May 7, 2006 5:09 AM by au lai seong

    start jboss error ->NoClassDefFoundError: com/sun/activation

    au lai seong Newbie

      Why?

       [exec] ===============================================================================
       [exec] .
       [exec] JBoss Bootstrap Environment
       [exec] .
       [exec] JBOSS_HOME: D:\j\Program\jboss-4.0.3SP1\bin\\..
       [exec] .
       [exec] JAVA: C:\jdk1.5.0_01\bin\java
       [exec] .
       [exec] JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
       [exec] .
       [exec] CLASSPATH: C:\jdk1.5.0_01\lib\tools.jar;D:\j\Program\jboss-4.0.3SP1\bin\\run.jar
       [exec] .
       [exec] ===============================================================================
       [exec] .
       [exec] 17:05:22,993 INFO [Server] Starting JBoss (MX MicroKernel)...
       [exec] 17:05:23,023 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
       [exec] 17:05:23,034 INFO [Server] Home Dir: D:\j\Program\jboss-4.0.3SP1
       [exec] 17:05:23,034 INFO [Server] Home URL: file:/D:/j/Program/jboss-4.0.3SP1/
       [exec] 17:05:23,044 INFO [Server] Patch URL: null
       [exec] 17:05:23,044 INFO [Server] Server Name: default
       [exec] 17:05:23,044 INFO [Server] Server Home Dir: D:\j\Program\jboss-4.0.3SP1\server\default
       [exec] 17:05:23,044 INFO [Server] Server Home URL: file:/D:/j/Program/jboss-4.0.3SP1/server/default/
       [exec] 17:05:23,044 INFO [Server] Server Temp Dir: D:\j\Program\jboss-4.0.3SP1\server\default\tmp
       [exec] 17:05:23,044 INFO [Server] Root Deployment Filename: jboss-service.xml
       [exec] 17:05:24,726 INFO [ServerInfo] Java version: 1.5.0_01,Sun Microsystems Inc.
       [exec] 17:05:24,726 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_01-b08,Sun Microsystems Inc.
       [exec] 17:05:24,736 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
       [exec] 17:05:25,958 INFO [Server] Core system initialized
       [exec] 17:05:30,795 INFO [WebService] Using RMI server codebase: http://jAu:8083/
       [exec] 17:05:30,865 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
       [exec] 17:05:32,247 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
       [exec] 17:05:36,733 WARN [ServiceController] Problem starting service jboss.ws4ee:service=JAFConfigService
       [exec] java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
       [exec] at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:111)
       [exec] at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
       [exec] at org.jboss.webservice.jaf.JAFConfigService.start(JAFConfigService.java:53)
       [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [exec] at java.lang.reflect.Method.invoke(Method.java:585)
       [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       [exec] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       [exec] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       [exec] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:960)
       [exec] at $Proxy0.start(Unknown Source)
       [exec] at org.jboss.system.ServiceController.start(ServiceController.java:428)
       [exec] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [exec] at java.lang.reflect.Method.invoke(Method.java:585)
       [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       [exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       [exec] at $Proxy4.start(Unknown Source)
       [exec] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
       [exec] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
       [exec] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
       [exec] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
       [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [exec] at java.lang.reflect.Method.invoke(Method.java:585)
       [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       [exec] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       [exec] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       [exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       [exec] at $Proxy9.deploy(Unknown Source)
       [exec] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
       [exec] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
       [exec] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
       [exec] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
       [exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       [exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       [exec] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [exec] at java.lang.reflect.Method.invoke(Method.java:585)
       [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       [exec] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       [exec] at $Proxy0.start(Unknown Source)
       [exec] at org.jboss.system.ServiceController.start(ServiceController.java:428)
       [exec] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [exec] at java.lang.reflect.Method.invoke(Method.java:585)
       [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       [exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       [exec] at $Proxy4.start(Unknown Source)
       [exec] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
       [exec] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
       [exec] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
       [exec] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
       [exec] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
       [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [exec] at java.lang.reflect.Method.invoke(Method.java:585)
       [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       [exec] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       [exec] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       [exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       [exec] at $Proxy5.deploy(Unknown Source)
       [exec] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
       [exec] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
       [exec] at org.jboss.Main.boot(Main.java:187)
       [exec] at org.jboss.Main$1.run(Main.java:438)
       [exec] at java.lang.Thread.run(Thread.java:595)