JiveJdon3运行成功,登录不成功,请问为什么?

07-07-13 joshuafan
在JBuilder上启动成功,也能注册成功。但是登录的时候报错,admin登录管理页面也报错,请帮忙看一下原因,错误如下:

12:13,531 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files

java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found

at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)

at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)

at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)

at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)

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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)

at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)

at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)

at javax.security.auth.login.LoginContext.login(LoginContext.java:579)

at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)

at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)

at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)

at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)

at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)

at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

at java.lang.Thread.run(Thread.java:595)

joshuafan
2007-07-13 18:18
我看了日志,启动的时候报了几个错,一个是

2007-07-13 17:52:39 DEBUG [MainDeployer.java:1155] org.jboss.util.NestedThrowable.parseManifestLibraries() - org.jboss.util.NestedThrowable.detectDuplicateNesting=true

org.jboss.deployment.DeploymentException: url file:/E:/jdon_jboss_mysql/jboss/server/default/deploy/jbossws.sar/activation.jar could not be opened, does it exist?

at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)

at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

还有一个是:

2007-07-13 17:52:39 DEBUG [MainDeployer.java:1155] org.jboss.deployment.MainDeployer.parseManifestLibraries() - The manifest entry in file:/E:/jdon_jboss_mysql/jboss/server/default/deploy/jbossws.sar/jaxb-impl.jar references URL file:/E:/jdon_jboss_mysql/jboss/server/default/deploy/jbossws.sar/jsr173_1.0_api.jar which could not be opened, entry ignored

org.jboss.deployment.DeploymentException: url file:/E:/jdon_jboss_mysql/jboss/server/default/deploy/jbossws.sar/jsr173_1.0_api.jar could not be opened, does it exist?

at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)

at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

joshuafan
2007-07-13 18:20
然后是:

2007-07-13 17:52:39 DEBUG [MainDeployer.java:1155] org.jboss.deployment.MainDeployer.parseManifestLibraries() - The manifest entry in file:/E:/jdon_jboss_mysql/jboss/server/default/deploy/jbossws.sar/jaxb-impl.jar references URL file:/E:/jdon_jboss_mysql/jboss/server/default/deploy/jbossws.sar/jaxb1-impl.jar which could not be opened, entry ignored

org.jboss.deployment.DeploymentException: url file:/E:/jdon_jboss_mysql/jboss/server/default/deploy/jbossws.sar/jaxb1-impl.jar could not be opened, does it exist?

at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)

at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

还有:

2007-07-13 17:52:46 DEBUG [CorbaORBService.java:200] org.jboss.iiop.CorbaORBService.startService() - Ignoring sunJDK14IsLocalBugFix=true due to inability to load org.jboss.iiop.SunJDK14IsLocalBugFix

java.lang.NoClassDefFoundError: com/sun/corba/se/internal/iiop/ShutdownUtilDelegate

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)

at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)

at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)

at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)

at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)

at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at org.jboss.iiop.CorbaORBService.startService(CorbaORBService.java:193)

joshuafan
2007-07-13 18:21
还有几个JMS的,应该没有关系

我调整了一下jar包的应用,现在,每次登录在报1楼的那个错之前又增加了一个:

2007-07-13 17:53:29 INFO [Debug.java:133] STDOUT.log() - 2007-07-13 17:53:29,906 [http-0.0.0.0-8080-13] ERROR com.jdon.bussinessproxy.target.DefaultTargetServiceFactory - [JdonFramework]create error: java.lang.Exception: java.lang.ClassCastException: org.jboss.tm.TxManager

2007-07-13 17:53:29 INFO [Debug.java:133] STDOUT.log() - 2007-07-13 17:53:29,906 [http-0.0.0.0-8080-13] ERROR com.jdon.util.Debug - com.jdon.aop.interceptor.PoolInterceptor

java.lang.NullPointerException

at com.jdon.aop.interceptor.PoolInterceptor.invoke(PoolInterceptor.java:105)

at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvocation.java:84)

at com.jdon.jivejdon.auth.PermissionInterceptor.invoke(PermissionInterceptor.java:94)

at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvocation.java:84)

at com.jdon.aop.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:69)

at com.jdon.aop.reflection.ProxyMethodInvocation.proceed(ProxyMethodInvocation.java:84)

at com.jdon.aop.AopClient.invoke(AopClient.java:95)

at com.jdon.bussinessproxy.dyncproxy.DynamicProxyWeaving.invoke(DynamicProxyWeaving.java:62)

at $Proxy62.getThread(Unknown Source)

at com.jdon.jivejdon.presentation.action.query.ThreadPopularAction.findModelIFByKey(ThreadPopularAction.java:37)

at com.jdon.strutsutil.ModelListAction.fetchModel(ModelListAction.java:243)

at com.jdon.strutsutil.ModelListAction.getModelList(ModelListAction.java:185)

at com.jdon.strutsutil.ModelListAction.setModellistByKey(ModelListAction.java:101)

at com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:72)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

请帮我看一下。谢谢

banq
2007-07-16 13:38
>No properties file: users.properties

没有配置容器安全登录,见JiveJdon3说明书中关于login-config.xml一段。

猜你喜欢