[Datasource Configuration] - driver-class makes no difference
by jepper
jepper [http://community.jboss.org/people/jepper] created the discussion
"driver-class makes no difference"
To view the discussion, visit: http://community.jboss.org/message/641770#641770
--------------------------------------------------------------
Hi
I want to set up p6spy, but jboss is not using the pass thru driver it appears.
My question is: Is <driver-class> effectively ignored but it's presence required?
Setup:
jboss 6.1.0 final
mysql 5.5
Both running on the same windows XP machine.
CLASSPATH: D:\opt\jboss\jboss-6.1.0.Final\server\all\conf;D:\opt\jboss\jboss-6.1.0.Final\bin\run.jar
D:\opt\jboss\jboss-6.1.0.Final\server\all\conf\spy.properties
D:\opt\jboss\jboss-6.1.0.Final\server\all\lib\p6spy.jar
D:\opt\jboss\jboss-6.1.0.Final\server\all\deploy\mysql-ds.xml
It seems I can enter any random string in the <driver-class> tag. It makes no difference. I start jboss with a database with no tables. New jboss tables are created as expected, despite driver-class not being meaningful. If I delete the tag however, jboss complains and cannot speak to the database.
mysql-ds.xml
<datasources>
<local-tx-datasource>
<jndi-name>DefaultDS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/jbossdb</connection-url>
<driver-class>randomblah</driver-class>
<user-name>myuser</user-name>
<password>#</password>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
mysql> show tables;
+-------------------+
| Tables_in_jbossdb |
+-------------------+
| hilosequences |
| timers |
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641770#641770]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[jBPM] - Ruletask Execution Query
by Shaun Willows
Shaun Willows [http://community.jboss.org/people/traveller10] created the discussion
"Ruletask Execution Query"
To view the discussion, visit: http://community.jboss.org/message/641763#641763
--------------------------------------------------------------
During some experimentation with JBPM 5.1, I happened upon some strange behaviour regarding rule tasks. I simplified the workflow to isolate my problem, and have attached the containing eclipse project in a zip archive to this post.
The application generates a list of POJOs that represents rows in a file and their associated row numbers. It starts the simple workflow with the list provided as a process variable. The first task (a script task) in the workflow derives a smaller sub-list and stores it in a process variable. It also updates a looper counter. The second script task inserts all of the objects in the sub-list to the working memory. A rule task then runs which should create ValidationError objects for invalid rows and ExtractedField objects for valid ones. The last script task extracts the generated objects from the working memory using drools queries, and prints the results to System.out.
During the first iteration of the loop
The particular workflow I was working on at the time had a cycle/loop. Each iteration of the loop contains a rule task. A script task immediately prior to the rule task is responsible for inserting every object in a list into the working memory. The list is a process variable
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641763#641763]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[jBPM] - Unable to complete the process of sample project(Perfromance Evaluation)
by Karthikeyan Sekar
Karthikeyan Sekar [http://community.jboss.org/people/a02918] created the discussion
"Unable to complete the process of sample project(Perfromance Evaluation)"
To view the discussion, visit: http://community.jboss.org/message/641724#641724
--------------------------------------------------------------
Hi All,
I am working on jBPM5.2 and trying to execute a sample project (performance evaluation).In jBPM console,I had logged in as krisv and made self evaluation Then, I had logged in as john and evaluated krisv .Then I had logged in as mary and evaluated krisv.when I logged is as mary I got the following error as follows
2011-12-15 15:26:15,022 [FATAL] Uncaught Exception:
java.lang.IllegalArgumentException:
*empty argument*
at Unknown.dA(JsArrayString.java:42)
at Unknown.jHb(StackTraceCreator.java:366)
at Unknown.iS(JSONParser.java:48)
at Unknown.Fyc(DTOParser.java:347)
at Unknown.pGc(LoadActivityDiagramAction.java:65)
at Unknown.Ewc(AbstractRESTAction.java:86)
at Unknown.nN(Request.java:287)
at Unknown.VN(RequestBuilder.java:393)
at Unknown.anonymous(XMLHttpRequest.java:258)
at Unknown.kz(Impl.java:146)
at Unknown.anonymous(Impl.java:56)
Please help me regarding this issue.
Thanks in advance...............
Regards,
Karthikeyan Sekar
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641724#641724]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[JBoss Cache] - Replication timeout
by Georg Kompacher
Georg Kompacher [http://community.jboss.org/people/korki] created the discussion
"Replication timeout"
To view the discussion, visit: http://community.jboss.org/message/641701#641701
--------------------------------------------------------------
Hi all,
we are using jboss as 5.0.1 with 3 nodes and we sometimes we are getting Replication timeout exceptions such as:
org.jboss.cache.lock.TimeoutException: Replication timeout for 10.255.248.46:50923
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:768)
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:716)
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:721)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)
at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutKeyValueCommand(ReplicationInterceptor.java:107)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:119)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutKeyValueCommand(InvocationContextInterceptor.java:82)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287)
at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:555)
at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:287)
at org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager.internalBind(JBossCacheDistributedTreeManager.java:623)
at org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager.rebind(JBossCacheDistributedTreeManager.java:224)
at org.jboss.ha.jndi.HAJNDI.rebind(HAJNDI.java:187)
at sun.reflect.GeneratedMethodAccessor357.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:318)
at $Proxy431.rebind(Unknown Source)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:575)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:540)
at javax.naming.InitialContext.rebind(InitialContext.java:408)
at org.jboss.util.naming.Util.rebind(Util.java:131)
at org.jboss.util.naming.Util.rebind(Util.java:117)
What could be the problem and how can we deal with it?
Thanks,
Georg
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641701#641701]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[jBPM] - jbpm console process management dependency on task server
by Anand Awasthi
Anand Awasthi [http://community.jboss.org/people/anand.awasthi] created the discussion
"jbpm console process management dependency on task server"
To view the discussion, visit: http://community.jboss.org/message/641601#641601
--------------------------------------------------------------
Hi all,
I have noticed that JBPM Console - Process Management code needs Task Server up and running , if Task Server (e.g. MinaTaskService) is not running then i get following error when i try to load process definitions. Does this dependency still exist in 5.2 release ?
:
[12/14/11 13:50:21:884 EST] 0000002a SystemOut O 2011-12-14 13:50:21,883 DEBUG [WebContainer : 6] jta.JtaTransactionManager - No JTA TransactionManager found at fallback JNDI location [java:/TransactionManager]
javax.naming.NameNotFoundException: Name not found in context "java:".
at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1837)
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1166)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:1095)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1233)
at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:395)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:214)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:154)
at javax.naming.InitialContext.lookup(InitialContext.java:436)
at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:88)
at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:62)
at org.drools.persistence.SingleSessionCommandService.initTransactionManager(SingleSessionCommandService.java:243)
at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:155)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:88)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:71)
at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131)
at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:141)
at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641601#641601]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months