[jBPM Users] - Re: Websphere 6.1 and jBPM 4
by Sunilkt
I spent a lot of time but able to deploy the jBPM4.0 on was6.1
Here is the info which will help :-
Components:
Component ----- Deployment Artifact
Console UI ----- gwt-console.war
Console Server----- gwt-console-server.war
Domain model ----- gwt-console-rpc.jar
Integration Layer ----- gwt-console-server-integration.jar
before deploying the web application it needs to create a schema for running application properly ,schema script is there in the downloaded jBPM4.0, Even without schema it is possible to run application but u won't be able to see any thing on screen :)
Download the jBPM form location
http://www.jboss.org/jbossjbpm/jbpm_downloads/
The Components are in available in lib directory.
jbpm-4.0\lib
Deployment of console UI/Server component on server
Import gwt-console.war and gwt-console-server.war in eclipse as war project file.
Map all the jar files in build path of server project which is available in lib directory.
Now run the server adding both the war files.
You will able to see a login page which is a client interface after giving credential test/test application redirect to server pages .
ENJOY........
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265387#4265387
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265387
16 years, 6 months
[JBoss Cache Users] - upgradeLock(): failed
by jelevy01
We are attempting to get the second level cache going within JBoss 4.2.2 under anything more then a little load we start getting many upgradeLock exceptions. I haven't been able to find any information on the exception or how to troubleshoot it.
6:41:00,973 ERROR Line: 124 [org.jboss.cache.lock.ReadWriteLockWithUpgrade] upgradeLock(): failed
| 16:41:00,979 ERROR Line: 301 [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
| org.hibernate.cache.CacheException: org.jboss.cache.lock.UpgradeException failure upgrading lock: fqn=/MeetMoi_ear,mDate-ejb_jar,matching-ejbPU/com/mdate/ejb/matching/UserCacheEntity/com.mdate.ejb.matching.UserCacheEntity#8889CAE0CFD2F407013079880AD89C6D, caller=GlobalTransaction:<192.168.1.186:40795>:40, lock=read owners=[GlobalTransaction:<192.168.1.186:40795>:38] (activeReaders=1, activeWriter=null, waitingReaders=1, waitingWriters=0, waitingUpgrader=0)
|
Thanks
J
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265375#4265375
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265375
16 years, 6 months
[Security] - TimedCachePolicy.insert... Attempt to insert duplicate entry
by jaredrob
Hello everyone,
I see this stack trace very intermittently when my bean attempts to run a JPA query, and I'm looking for ideas on what the problem could be and how to solve it.
I'm running with JBoss 5.0.1GA on linux with an Oracle data source. The oracle-ds.xml has the directive "<security-domain>EncryptOraclePassword</security-domain>".
java.lang.IllegalStateException: Attempt to insert duplicate entry
at org.jboss.util.TimedCachePolicy.insert(TimedCachePolicy.java:219)
at org.jboss.security.plugins.auth.JaasSecurityManagerBase.updateCache(JaasSecurityManagerBase.java:751)
at org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:504)
at org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid(JaasSecurityManagerBase.java:365)
at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:160)
at org.jboss.security.integration.JBossSecuritySubjectFactory.createSubject(JBossSecuritySubjectFactory.java:90)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:687)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:495)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:46)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
at org.hibernate.loader.Loader.doQuery(Loader.java:696)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.doList(Loader.java:2228)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
at org.hibernate.loader.Loader.list(Loader.java:2120)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:88)
at com.myorganization.UserLocatorLocalBean.findUser(UserLocatorLocalBean.java:200)
the findUser() method is running the following code:
Query q = entityManager.createNamedQuery("findUser");
q.setParameter("username", username);
Object obj = q.getSingleResult();
// ...
The named query:
@NamedQuery(name = "findUser", query = "SELECT e from UserEntity e where e.username = :username")
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265369#4265369
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265369
16 years, 6 months