[JBoss jBPM] - jbpm-console login failed - please help struggling for 3 wee
by arpan25
Hi,
i am using jbpm-3.2.6.SP1 with JBoss-4.2.2.GA and I am unable to login to the jbpm console with a invalid username or password error..
I Have the database with the tables loaded with data.. Please help
15:35:09,220 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.lang.NullPointerException)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:144)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:141)
at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:206)
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:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
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:603)
at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
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:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:428)
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:138)
at com.mysql.jdbc.jdbc2.optional.MysqlXADataSource.getXAConnection(MysqlXADataSource.java:58)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:136)
... 36 more
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241594#4241594
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241594
16 years, 9 months
[JBoss AOP] - No ClassLoaders found for: sun.reflect.GeneratedMethodAccess
by lawc
Hi,
I have a pointcut defined on a method to be intercepted.
The method can be called from a stateless EJB or a MDB. Interception happens succesfully on the method invocation in both cases.
However, once invoked via the MDB, the exception below is thrown everytime the method is called from the stateless EJB.
I am using JBoss 4.2.2. I have tried several versions of JBoss AOP (1.5.5 to 2.1.1), but get the same behaviour.
I would appreciate any help in resolving this problem.
java.lang.RuntimeException: Unable to load class sun.reflect.GeneratedMethodAccessor664
| at org.jboss.aop.pointcut.SecurityActions$LoadClassAction$2.loadClass(SecurityActions.java:86)
| at org.jboss.aop.pointcut.SecurityActions.loadClass(SecurityActions.java:43)
| at org.jboss.aop.pointcut.CFlow.matchesClass(CFlow.java:124)
| at org.jboss.aop.pointcut.CFlow.matches(CFlow.java:88)
| at org.jboss.aop.pointcut.CFlow.matches(CFlow.java:72)
| at org.jboss.aop.pointcut.CFlowStack.matches(CFlowStack.java:59)
| at org.jboss.aop.pointcut.CFlowMatcher.visit(CFlowMatcher.java:133)
| at org.jboss.aop.pointcut.ast.ASTCFlow.jjtAccept(ASTCFlow.java:37)
| at org.jboss.aop.pointcut.CFlowMatcher.visit(CFlowMatcher.java:73)
| at org.jboss.aop.pointcut.ast.ASTCFlowExpression.jjtAccept(ASTCFlowExpression.java:37)
| at org.jboss.aop.pointcut.CFlowMatcher.matches(CFlowMatcher.java:55)
| at mx.service.JoinPoint_execute_N_4908115578183543373_1.getCFlow0(JoinPoint_execute_N_4908115578183543373_1.java)
| at mx.service.JoinPoint_execute_N_4908115578183543373_1.<init>(JoinPoint_execute_N_4908115578183543373_1.java)
| at mx.service.JoinPoint_execute_N_4908115578183543373_1.invokeJoinpoint(JoinPoint_execute_N_4908115578183543373_1.java)
| at mx.service.MeasureService$MeasureServiceAdvisor.execute_N_4908115578183543373(MeasureService$MeasureServiceAdvisor.java)
| at mx.service.MeasureService.execute(MeasureService.java)
| at mx.service.MeasureService.execute(MeasureService.java:324)
| at mx.service.Measurement$MeasureCommand.execute(Measurement.java:455)
| at mx.service.Measurement$MeasureCommand.execute(Measurement.java:434)
| at mx.runtime.command.CommandServiceImpl.executeCommand(CommandServiceImpl.java:63)
| at mx.runtime.command.CommandServiceBean.doExecute(CommandServiceBean.java:141)
| at mx.runtime.command.CommandServiceBean.executeCommandNonTransactional(CommandServiceBean.java:87)
| at sun.reflect.GeneratedMethodAccessor664.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
| at org.jboss.aspects.tx.TxInterceptor$Supports.invoke(TxInterceptor.java:144)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)
| at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:115)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: sun.reflect.GeneratedMethodAccessor664
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at org.jboss.aop.pointcut.SecurityActions$LoadClassAction$2.loadClass(SecurityActions.java:82)
| ... 57 more
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241592#4241592
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241592
16 years, 9 months
[Clustering/JBoss] - Re: Farm deployment errors with large WAR files
by bstansberry@jboss.com
How are you deploying the file? Placing it in farm on one node? Copying it to farm on both? Copying it to both and then starting the 2 nodes?
I'd think the first, but I want to be sure.
I'll assume it's the first and the node where it successfully deployed was the one where you copied the file and that was 10.200.90.105.
The logging you reported happens when the hot deploy scanner thread on 10.200.90.103 tries to acquire a lock to scan the farm dir, and can't after (configurable) 60 secs. The 10.200.90.105 node is holding the lock, which it will do while trying to push the war to the cluster. The ERROR msg should probably be a WARN, as this isn't necessarily a problem (e.g. if you are pushing huge content). But 60 seconds to push 2MB? Something's wrong there. Plus it sounds like the war *never* deploys.
Can you turn on TRACE logging in the server.log files for the following categories, test deploying the war and then zip and mail me the log files? Categories are:
org.jgroups.protocols.UDP
org.jgroups.protocols.pbcast.NAKACK
org.jboss.system.server.profileservice.clustered
org.jboss.ha.framework.server.lock
org.jboss.profileservice.cluster.repository
Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241585#4241585
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241585
16 years, 9 months