[jboss-user] [JMX] - Re: Server started notification in JBAS 5.0.1?
I try to do the same. I'd like to be notified when the server is started. I use JBoss 5.1.0. Do you have a sample on how to do that ? Is there an XML to update or create in JBoss AS ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257240#4257240 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
it is read from the processdefinition xml file itself. Which task is active is based on the name. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257241#4257241 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: superstate timer error
3.3.0 == 3.2.5, 3.3.1 == 3.2.6. Have you tried the latest version already (keep in mind that the 3.3 branch was dropped) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257242#4257242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
there was a change in the businesscalendar config afaik between 4.0, and 4.1 (or was it towards 4.2, not fully sure). Did you change versions? If so, search the jira for the related task and see if it is the possible cause. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257243#4257243 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBpm 4.1 and Tomcat
Search the forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257244#4257244 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
But the information is exposed nowhere via an API? Can I get a copy of the process definition xml via the API? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257245#4257245 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failover trouble mod_jk
Thank you Brian for your explanation. So I think I am waiting 5.2 released. Regards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257246#4257246 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
I'll have a look into JIRA and I will verify that I am not mixing up files from different versions. But what about my actual problem (see my last post). How do I get rid of the task which is not needed anymore? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257247#4257247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Error when calling web service within JBoss
Hi Peter. Thanks for answering my question. I'm starting the server by running \jboss\bin\run.bat. I pass in some arguments from the batch file. One of these are the endpoint address: http://127.0.0.1:8080/[foldername]/[webservice_name]?wsdl. I'm ot using the -b parameter as far as i can see. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257248#4257248 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBpm 4.1 and Tomcat
And yes there is example code. You can use the lines of code the jbpm-console uses to get the context. Then your webapp should work in JBoss and in Tomcat. Look into my post about JNDI. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257249#4257249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: InstanceAlreadyExistsException During hot deployment
you can disable the jmx statistics in JBossCache, but that would rather be a workaround. jmxStatistics | enabled=false/ You should check why the MBean with the given name doesn't get unregistered. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257252#4257252 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: JBoss: Windows vs Linux
Hi thanks for your replies! The point is that I think that the JVM performs better in Linux than in Windows and that's why I though that JBoss in Linux should perform better than in windows. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257255#4257255 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Issues About JobExecutor in Jbpm 3.3.0GA
Hi, I had a few questions about job executor and jbpmcontext, 1.Do we need to close jbpmContext every time after we used it?Like: public myMethod(){ | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | . | jbpmContext.close(); | } 2.In jbpm.cfg.xml,if I set jobExecutor singleton=false ,what will happen? bean name=jbpm.job.executor class=org.jbpm.job.executor.JobExecutor singleton=true 3.In the jbpm source code ,there is a class DbMessageService.java,below is source code of this class,Could any one tell me why use synchronized here? public void close() { | if ( (hasProducedJobs) | (jobExecutor!=null) |) { | log.debug(messages were produced, job executor will be signalled); | synchronized(jobExecutor) { | jobExecutor.notify(); | } | } | } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257257#4257257 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: NullPointerException using identityService
cjmanju123 wrote : Sorry here it is again, I had removed the following entry from the jbpm.cfg.xml. | | import resource=jbpm.identity.cfg.xml / I have the same error when trying to create Users / Groups through the IdentityService in JBPM 4.1 : java.lang.NullPointerException | at org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd.execute(CreateGroupCmd.java:48) | at org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd.execute(CreateGroupCmd.java:32) | at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) | at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | at org.jbpm.pvm.internal.svc.IdentityServiceImpl.createGroup(IdentityServiceImpl.java:70) I have investigated it a bit, and it seems some classes are somehow Missing in the JBPM4.1 I am working with. These classes are (from what I have tried from now) : org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd org.jbpm.pvm.internal.identity.cmd.CreateUserCmd I was expecting it to be with the other classes of the same package and downloadable with the following maven dependency : dependency | groupIdorg.jbpm.jbpm4/groupId | artifactIdjbpm-pvm/artifactId | version4.0/version | /dependency Do I have missed something ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257258#4257258 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: NullPointerException using identityService
please read 4.1 in the dependency rather than 4.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257260#4257260 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: NullPointerException using identityService
Hum. Should have red the topic twice before deciding it was not containing the solution of my problem. Sorry. Damn Mondays ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257262#4257262 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Unable to get the jca-config example to work
First, I'd recommend you use beta5. Also moving this question to the hornetq forum View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257265#4257265 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Invalidation-only cache
One more question though - do I understand right from the javadoc that putForExternalRead is non-transactional? Meaning that if a change something in a TX in the persistent store, and then call putForExternalRead with the changes, other transactions will see the change, making it a dirty read? Although I'll probably won't be able to use it anyway, as I'm not able to deploy cache 2 on AS 4.2 ;) (Hibernate stops finding the datasource in jndi ...) Adam View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257266#4257266 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Local Port in JBoss Messaging
Hi We are using JBoss Messaging. In our new setup there is a firewall between the server and client. Therefore we do not want to use random ports in our JMS setup. We have set attribute name=secondaryBindPort44580/attribute |attribute name=secondaryConnectPort44590/attribute in our server setup. This seems to work fine. However the client then says OK, you can contact me on this port nnn. And nnn seems to be random. I have googled this issue and it seems that under jboss.mq UIL2 you could set a client local port. Is this same possible with JBoss Messang and JBoss Remoting? Thanks in advance, Morten View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257267#4257267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Invalidation-only cache
Another idea, using JBC 1.4.1; for put operations, which shouldn't cause invalidation, maybe I could use an Option with cache mode == LOCAL. For the remove operation, I could use INVALIDATION_SYNC, which should propagate. Do you see any obstacles here? :) Adam View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257268#4257268 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Local Port in JBoss Messaging
By the way we are using JBoss 4.2.3 GA with JBoss Messaging 1.4.4 installed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257269#4257269 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - JBoss tools - deploy of new classes
I've just started with Eclipse and JBoss tools for Seam. I find hot deployment great feature. However I got problems when adding new java class to project. I click 'refresh', 'run as' etc. but class file is never found. Precisely, I see the .class file is added into deployed project on jboss, but when I reference fx some function returning string (to display it on the page) nothing happens. It's just blank - no errors. I have to use this combination, but it takes more time than 'redeploy' under Netsbeans: JBoss Server view - 'myproject'-remove from context menu - Run as... Option of project 'restart' is unavailable from context menu. Is this an only way I do it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257270#4257270 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
Full Stacktrace .. | ### EXCEPTION ### | 11:00:39,186 INF | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.completetask...@1c01ba9 | org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#2] | at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409) | at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108) | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) | at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getHistoryActivityInstanceDbid(ExecutionImpl_$$_javassist_4.java) | at org.jbpm.pvm.internal.history.events.TaskComplete.process(TaskComplete.java:49) | at org.jbpm.pvm.internal.history.HistorySessionImpl.process(HistorySessionImpl.java:31) | at org.jbpm.pvm.internal.history.HistoryEvent.fire(HistoryEvent.java:61) | at org.jbpm.pvm.internal.task.TaskImpl.historyTaskComplete(TaskImpl.java:305) | at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:190) | at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:186) | at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:58) | at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32) | at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) | at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | at org.jbpm.pvm.internal.svc.TaskServiceImpl.completeTask(TaskServiceImpl.java:88) | at org.jbpm.examples.userescalation.EscalationTest.testTaskEscalaton(EscalationTest.java:70) | 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 junit.framework.TestCase.runTest(TestCase.java:164) | at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80) | at junit.framework.TestCase.runBare(TestCase.java:130) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:120) | at junit.framework.TestSuite.runTest(TestSuite.java:230) | at junit.framework.TestSuite.run(TestSuite.java:225) | at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) | ### EXCEPTION ### | 11:00:39,186 SEV | [BaseJbpmTestCase] | ### EXCEPTION ### | 11:00:39,186 SEV | [BaseJbpmTestCase] TEST THROWS EXCEPTION: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#2] | org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#2] | at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409) | at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108) | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) | at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getHistoryActivityInstanceDbid(ExecutionImpl_$$_javassist_4.java) | at
[jboss-user] [JBoss Messaging Users] - Re: Local Port in JBoss Messaging
My impression is that remoting don't have such a param that control the client port. You need to confirm with remoting team I think. Howard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257276#4257276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Local Port in JBoss Messaging
By the way I'm unable to make it work even if start the setup without a firewall between. As soon as I enable secondaryBindPort and secondaryConnectPort on the JMS server, the setup fails: Here is the log: | 2009-09-28 11:12:57,398 DEBUG [org.jboss.remoting.Client] Client[343601588:5c4o13w-3h0dq-g05023zr-1-g0504qi9-6].connect(ConsolidatedListener(UNINITIALIZED)) | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting maxPoolSize to 200 | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting shouldCheckConnection to false | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting timeout to 0 | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] constructed | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting maxPoolSize to 200 | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting shouldCheckConnection to false | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] setting timeout to 0 | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.transport.bisocket.BisocketClientInvoker] Setting ping frequency to: 214748364 | 2009-09-28 11:12:57,413 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] connecting | 2009-09-28 11:12:57,414 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] Creating semaphore with size 200 | 2009-09-28 11:12:57,414 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] added new pool ([]) as ServerAddress[10.44.41.61:4557, NO enableTcpNoDelay timeout 0 ms, maxPoolSize=200] | 2009-09-28 11:12:57,414 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] connected | 2009-09-28 11:12:57,414 TRACE [org.jboss.remoting.Client] Client[343601588:5c4o13w-3h0dq-g05023zr-1-g0504qi9-6] enableLease: true | 2009-09-28 11:12:57,414 TRACE [org.jboss.remoting.Client] Client[343601588:5c4o13w-3h0dq-g05023zr-1-g0504qi9-6] calling MicroRemoteClientInvoker.establishLease() | 2009-09-28 11:12:57,414 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] sending initial lease ping to server to determine if server has leasing enabled. | 2009-09-28 11:12:57,414 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] initiating lease for leasePingerId 5c4o13w-3h0dq-g05023zr-1-g0504qiu-9 | 2009-09-28 11:12:57,414 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557](1) invoking InvocationRequest[26b12ba3, $PING$] | 2009-09-28 11:12:57,415 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] obtained semaphore: 199 | 2009-09-28 11:12:57,415 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] creating socket | 2009-09-28 11:12:57,417 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/admin-1.34-SNAPSHOT.ear/admin-webapp-1.34-SNAPSHOT.war/ | 2009-09-28 11:12:57,440 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[536cf1d3, bisocket://AMISQL02:4557] created socket: Socket[addr=/10.44.41.61,port=4557,localport=52114] | 2009-09-28 11:12:57,440 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] constructing org.jboss.jms.client.remoting.ClientSocketWrapper instance for Socket[addr=/10.44.41.61,port=4557,localport=52114], using timeout 0 | 2009-09-28 11:12:57,440 TRACE [org.jboss.remoting.transport.socket.SocketWrapper]
[jboss-user] [jBPM Users] - Violation of unique constraint with two splits (JBPM-2553)
Tow split steps with two identical transition names cause a violation of unique constraint in JBPM4_EXECUTION table. Process Definition: ?xml version=1.0 encoding=UTF-8? | process key=test name=test xmlns=http://jbpm.org/4.0/jpdl; |start g=82,38,41,27 name=start1 | transition g=-43,-18 name=to fork1 to=fork1/ |/start |fork g=79,112,25,20 name=fork1 | transition name=to task1 to=task1 g=-44,-18/ | transition name=to task2 to=task2 g=-44,-18/ |/fork |fork g=88,263,65,27 name=fork2 | transition name=to task1 to=task4 g=-44,-18/ | transition name=to task3 to=task3 g=-44,-18/ |/fork |task assignee=test name=task1 g=75,189,60,42 | transition name=to fork2 to=fork2 g=-43,-18/ |/task |task name=task2 g=163,117,61,31/ |task name=task3 g=189,268,59,37/ |task name=task4 g=93,340,52,40/ | /process | Test code: | ProcessEngine processEngine = Configuration.getProcessEngine(); | RepositoryService repositoryService = (RepositoryService) processEngine.get(RepositoryService.class); | String deploymentId = repositoryService | .createDeployment() | .addResourceFromClasspath(test.jpdl.xml) | .deploy(); | Execution execution = processEngine.getExecutionService().startProcessInstanceByKey(test); | Task task = (Task)processEngine.getTaskService().findPersonalTasks(test).get(0); | processEngine.getTaskService().completeTask(task.getId(),to fork2); | Exception: | Caused by: java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_CT_970 in statement [update JBPM4_EXECUTION set DBVERSION_=?, ACTIVITYNAME_=?, PROCDEFID_=?, HASVARS_=?, NAME_=?, KEY_=?, ID_=?, STATE_=?, SUSPHISTSTATE_=?, PRIORITY_=?, HISACTINST_=?, PARENT_=?, INSTANCE_=?, SUPEREXEC_=?, SUBPROCINST_=? where DBID_=? and DBVERSION_=?] | at org.hsqldb.jdbc.Util.throwError(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) | at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2435) | ... 39 more | The related jira issue was closed by Ronald but I don't understand why the process definition is indicated as invalid...? http://jira.jboss.org/jira/browse/JBPM-2553 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257282#4257282 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - How to make automatic funtional testing for a wokflow Web Ap
For a Web Application except for wokflow, it's easy to automate using DbUnit + HttpUnit(or HtmlUnit). Because a submit action is tested after setting a little pre-conditions. But for a wokflow Web Application, it's exhausted to set pre-conditions from state_n to state_n+1. Please give some hints. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257283#4257283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Configuring jboss cache clustering only
In a clustered application all that is required is that the jboss cache replication behavior. Can I thus conclude that all other clustering services - HASingleton/ HA Session , JNDI Clustering can be easily commented out? Or is there any dependency of the Jboss Cache on any other service? Please guide. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257284#4257284 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBpm 4.1 and Tomcat
Thanks. Using ProcessEngine processEngine = Configuration.getProcessEngine(); worked. I have run into another problem: My JBpm web app calls a web service. The client is based on Axis2. I get this exception: org.jbpm.pvm.internal.wire.Wireexception: couldnot invole method . I first had to delete xercelImpl.jar from the Axis2 lib. Still it does not work. I looked at this thread: http://www.jboss.org/index.html?module=bbop=viewtopicp=4254632#4254632 Sebastian, how could you solve this problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257288#4257288 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Violation of unique constraint with two splits (JBPM-255
fork/join pairs have to be fully nested. Task 1 is used in both fork1 and fork 2 at the same time. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257289#4257289 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat
How did you solve this problem of getting axis2 client work with jBPM? Please share the detailed steps. See my original post at: http://www.jboss.org/index.html?module=bbop=viewtopicp=4257288#4257288 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257290#4257290 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How to make automatic funtional testing for a wokflow We
anonymous wrote : But for a wokflow Web Application, it's exhausted to set pre-conditions from state_n to state_n+1. Can you elaborate... I miss the difference with normal webapps How/when do you set preconditions, and why do you think this is not possible with workflow (framework) based applications? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257293#4257293 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBpm 4.1 and Tomcat
Unjar the Axis2 war-file and remove all the jars from the lib-folder which are not in the following list: | activation-1.1.jar | antlr-2.7.7.jar | axiom-api-1.2.8.jar | axiom-dom-1.2.8.jar | axiom-impl-1.2.8.jar | axis2-adb-1.5.jar | axis2-adb-codegen-1.5.jar | axis2-codegen-1.5.jar | axis2-corba-1.5.jar | axis2-fastinfoset-1.5.jar | axis2-java2wsdl-1.5.jar | axis2-jaxbri-1.5.jar | axis2-jaxws-1.5.jar | axis2-jibx-1.5.jar | axis2-json-1.5.jar | axis2-kernel-1.5.jar | axis2-metadata-1.5.jar | axis2-mtompolicy-1.5.jar | axis2-saaj-1.5.jar | axis2-spring-1.5.jar | axis2-transport-http-1.5.jar | axis2-transport-local-1.5.jar | axis2-xmlbeans-1.5.jar | bcel-5.1.jar | commons-codec-1.3.jar | commons-fileupload-1.2.jar | commons-httpclient-3.1.jar | commons-io-1.4.jar | commons-logging-1.1.1.jar | geronimo-activation_1.1_spec-1.0.1.jar | geronimo-annotation_1.0_spec-1.1.jar | geronimo-javamail_1.4_spec-1.6.jar | geronimo-jaxws_2.1_spec-1.0.jar | geronimo-jta_1.1_spec-1.1.jar | geronimo-saaj_1.3_spec-1.0.1.jar | geronimo-stax-api_1.0_spec-1.0.1.jar | geronimo-ws-metadata_2.0_spec-1.1.2.jar | httpcore-4.0.jar | icu4j-2.6.1.jar | jaxb-api-2.1.jar | jaxb-impl-2.1.7.jar | jaxb-xjc-2.1.7.jar | jaxen-1.1.1.jar | jdom-1.0.jar | jettison-1.0-RC2.jar | jibx-bind-1.2.1.jar | jibx-run-1.2.1.jar | log4j-1.2.15.jar | mail-1.4.jar | mex-1.5-impl.jar | neethi-2.0.4.jar | soapmonitor-1.5.jar | woden-api-1.0M8.jar | woden-impl-dom-1.0M8.jar | wsdl4j-1.6.2.jar | wstx-asl-3.2.4.jar | xalan-2.7.0.jar | xml-resolver-1.2.jar | xmlbeans-2.3.0.jar | XmlSchema-1.4.3.jar | xom-1.0.jar | Then create a new .war-File and deploy it. P.S.: Hope this is the correct list. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257295#4257295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat
Sorry but I did not notice that there have been questions regarding my solution. Take a look into the new thread started by nchandra33 to see the list. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257299#4257299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
Hello Ronald, thank you for your answer. Could you point me to the file where the reading of the co-ordinates to show the current process diagram is done? Thanks, Sebastian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257302#4257302 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
Okay, I overlooked getActivityCoordinates() in RepositoryService. But how to retrieve the process image from the engine? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257304#4257304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist Users] - what happened to $r?
Shouldn't that work? class Foo { | Object foo() { | return new Object(); | } | } | | public class Main { | public static void main(String[] args) throws NotFoundException, CannotCompileException { | ClassPool cp = ClassPool.getDefault(); | CtClass foocls = cp.get(jatest.Foo); | CtMethod m = foocls.getMethod(foo, ()Ljava/lang/Object;); | m.insertBefore($r x = new Object();); | } | } I get: compile error: no such class: $r View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257305#4257305 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - Re: JNDI ObjectFactory - run-time registration
OK, everything turned out to be simple, as always... Method bind(String name, Object object) of javax.naming.Context can accept objects of type javax.naming.Reference as well, so this API enables the following code for binding ObjectFactory implementation to JNDI names: Reference ref = new Reference(myFactoryClassName, myFactoryClassName, null); | | Context context = new InitialContext(); | | context.bind(services/serviceName1, ref); | context.bind(services/serviceName2, ref); | context.bind(services/serviceName3, ref); And every time the client code will lookup any of the above example JNDI names via context.lookup(...) our ObjectFactory will return the necessary proxy objects for accessing the target services. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257307#4257307 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
getResourceAsStream (like you normally would loading an image from a classpath ;-)) om the RepositoryService. You just have to know the name of the image as it was deployed in the process archive. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257309#4257309 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBpm 4.1 and Tomcat
Oops but this did not work. The exception is cryptic: ...Wireexception:could not invoke method on ...:org/apache/axis2/databinsing/ADBBean Any solutions? Sebastian, can you please recheck the libs? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257310#4257310 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Stateless Session Bean and JMS best practice
This probably best aimed at the App server developers, however this article may help http://www.jboss.org/community/wiki/ShouldIcacheJMSconnectionsandJMSsessions View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257315#4257315 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
might be because the process is actually already ended Can you check? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257316#4257316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBpm 4.1 and Tomcat
I checked, they should be alright. As far as I understood from your posts your situation is a bit different. You are invoking web services from a process so you are not using the war, are you? My struggle was deploying Axis2 to offer webservices on the same Tomcat installation jBPM uses. You should put the necessary jars (my list) in the lib-Folder of your Tomcat installation. I have not done this before and I am also new to Axis2 so I probably won't be able to help you. The exception message tells nothing since you cut off a lot. You wrote databinsing and not databinding. Was this a typo when you posted the exception message here or is this sth. about your configuration? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257318#4257318 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
There is an additional task to complete afterwards which I have not completed so the process should not be ended. I am doing an assertTrue(processInstance.isActive(task2)); in the unit test and it does not fail. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257320#4257320 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBpm 4.1 and Tomcat
Thanks. I could get it working. Keeping the axis2 jar in the WEB-INF/lib did not work. As you suggested, I moved it to Tomcats lib folder and things worked. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257322#4257322 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
| repositoryService.getResourceAsStream(deploymentId, resourceName) | And I have to know the deploymentId. Is there a way to determine to which deployment a process belongs? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257323#4257323 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
I mean: a process definition belongs View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257324#4257324 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Intermittent failures in multithreaded test
Hi Alessio, I built and installed the new stack and the problem went away :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257326#4257326 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - There are too many DEBUG written to the
I have a problem: There are too many DEBUG messages written to the server.log file so the hard disc gets full every several days. The DEBUG message looks as follow. | | 2009-09-25 16:18:54,204 DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=Naming | 2009-09-25 16:18:54,205 DEBUG [org.jboss.naming.NamingService] Creating jboss:service=Naming | 2009-09-25 16:18:54,205 DEBUG [org.jboss.naming.NamingService] Created jboss:service=Naming | 2009-09-25 16:18:54,225 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss:service=Naming dependents are: [] | 2009-09-25 16:18:54,225 DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=Naming | 2009-09-25 16:18:54,225 DEBUG [org.jboss.system.ServiceController] Ignoring create request for service: jboss:service=Naming | 2009-09-25 16:18:54,225 DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=JNDIView | 2009-09-25 16:18:54,225 DEBUG [org.jboss.naming.JNDIView] Creating jboss:service=JNDIView | 2009-09-25 16:18:54,225 DEBUG [org.jboss.naming.JNDIView] Created jboss:service=JNDIView | 2009-09-25 16:18:54,226 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss:service=JNDIView dependents are: [] | 2009-09-25 16:18:54,226 DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=SecurityConfig | 2009-09-25 16:18:54,226 DEBUG [org.jboss.security.plugins.SecurityConfig] Creating jboss.security:service=SecurityConfig | 2009-09-25 16:18:54,226 DEBUG [org.jboss.security.plugins.SecurityConfig] Created jboss.security:service=SecurityConfig | 2009-09-25 16:18:54,226 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.security:service=SecurityConfig dependents are: [] | 2009-09-25 16:18:54,226 DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=XMLLoginConfig | 2009-09-25 16:18:54,226 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Creating jboss.security:service=XMLLoginConfig | 2009-09-25 16:18:54,226 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Created jboss.security:service=XMLLoginConfig | 2009-09-25 16:18:54,227 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.security:service=XMLLoginConfig dependents are: [] | 2009-09-25 16:18:54,227 DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=JaasSecurityManager | 2009-09-25 16:18:54,227 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Creating jboss.security:service=JaasSecurityManager | I've set the option everywhere in jboss-log4j.xml to INFO but it doesn't help. Can someone help? Here is my jboss-log4j.xml: | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE log4j:configuration SYSTEM log4j.dtd | | !-- = -- | !-- -- | !-- Log4j Configuration -- | !-- -- | !-- = -- | | !-- $Id: jboss-log4j.xml 75507 2008-07-08 20:15:07Z stan.silv...@jboss.com $ -- | | !-- || For more configuration infromation and examples see the Jakarta Log4j || owebsite: http://jakarta.apache.org/log4j | -- | | log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=false | |!-- = -- |!-- Preserve messages in a local file -- |!-- = -- | |!-- A time/date based rolling appender -- |appender name=FILE class=org.jboss.logging.appender.DailyRollingFileAppender | errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ | param name=File value=${jboss.server.log.dir}/server.log/ | param name=Append value=false/ | | !-- Rollover at midnight each day -- | param name=DatePattern value='.'-MM-dd/ | | !-- Rollover at the top of each hour | param name=DatePattern value='.'-MM-dd-HH/ | -- | | layout class=org.apache.log4j.PatternLayout | !-- The default pattern: Date Priority [Category] Message\n -- | param name=ConversionPattern value=%d %-5p [%c] %m%n/ | | !-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n | param name=ConversionPattern value=%d %-5r %-5p [%c] (%t:%x) %m%n/ | -- | /layout |/appender | |!-- A size based file rolling appender |appender name=FILE class=org.jboss.logging.appender.RollingFileAppender | errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ | param
[jboss-user] [EJB 3.0 Users] - @Resource and systemproperties-service.xml
Hi all, I have a SLSB with a @Resource annotation : import org.jboss.ejb3.annotation.Depends; @Stateless(name = SimpleSLSBResource, mappedName = SimpleEJB30SLSBResource) @Remote({com.jp.ejb3.ISimpleSLSB.class}) @Depends({jboss:type=Service,name=SystemProperties}) public class SimpleSLSBResource implements ISimpleSLSB { @Resource(name = serverName) String = testserver; and i also have a ejb-jar.xml to define the resource : ejb-nameSimpleSLSBResource/ejb-name env-entry env-entry-nameserverName/env-entry-name env-entry-typejava.lang.String/env-entry-type env-entry-value${serverName}/env-entry-value /env-entry and finally a systemProperties-service.xml to set the value of the resource : serverName=production When i start my JBoss AND THEN deploy my EJB, serverName is resolved to production = OK When i start my JBoss with my EJB in the deploy directory, serverName is not resolved (= ${serverName}) = KO I'm working on JBoss 5.1.0GA, jdk6. Have I made a mistake with the @Depends tag ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257332#4257332 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Local Port in JBoss Messaging
Solved it. I just set the secondaryBindPort and not the secondaryConnectPort, then it seems to work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257333#4257333 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - css with multiple portlets
Hi, I'm working with richfaces 3.3.1.GA portletbridge 1.0.0.CR1 facelets 1.1.14 jsf 1.2_13 jboss 4.2.3.GA I have a problem using own css-statements and showing more than one portlet with a html-table-element on a portal-page. First portlet defines a series of *.xhtml-sites for a panel-bar subnavigation (with ui:include) and one of the included xhtml sites defines own css-elements, for a table-layout: | ?xml version=1.0 encoding=utf-8? | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:a4j=http://richfaces.org/a4j; | xmlns:rich=http://richfaces.org/rich; | | style type=text/css | .pisTableClass { | width: 295px; | border-top: 0px; | border-left: 0px; | border-bottom: 0px; | border-right: 0px; | margin: 0px 0px 0px 0px; | padding: 0px 0px 0px 0px; | empty-cells: hide; | } | | .pisColumnClass { | border-top: 0px; | border-left: 0px; | border-bottom: 0px; | border-right: 0px; | margin: 0px 0px 0px 0px; | padding: 1px 1px 1px 1px; | white-space: nowrap; | empty-cells: hide; | } | ... | /style | | | h:form id=pisFormClassifyPanel |a4j:outputPanel id=pisClassifyPanel styleClass=pisTableClass | | rich:dataGrid value=#{classifyBean.klassenProperties} | var=props id=pisClassifyTable styleClass=pisTableClass | columnClasses=pisColumnClass columns=1 | ... | /rich:dataGrid | /h:form | Above styles should hide the border of the table and this is what happens. But with a second portlet on the same portal-page and a second html-table-element ... | h:form | rich:dataTable id=testTableForCSS | /rich:dataTable | /h:form | ... the border is available again. Without the second portlet on the page everything works as expected. Some not acceptable workaorund: With integrating the same CSS inside the *.xhtml of the second portlet the border disappears. It seems that the table-css is overwritten in the other portlet on the portal-page. No render option works me ... Here are the parts of my web.xml: | context-param |param-nameorg.richfaces.LoadStyleStrategy/param-name | param-valueALL/param-value | /context-param | | context-param | param-nameorg.richfaces.LoadScriptStrategy/param-name | param-valueALL/param-value | /context-param | | context-param | param-namejavax.portlet.faces.renderPolicy/param-name | param-valueDEFAULT/param-value | /context-param | | context-param | param-nameorg.ajax4jsf.RESOURCE_URI_PREFIX/param-name | param-valuerfRes/param-value | /context-param | .. and the jboss-portlet.xml ... | portlet | portlet-nameDPA.../portlet-name | header-content | script src=/faces/rfRes/org/ajax4jsf/framework.pack.js type=text/javascript/script | script src=/faces/rfRes/org/richfaces/ui.pack.js type=text/javascript/script | link rel=stylesheet type=text/css href=/faces/rfRes/org/richfaces/skin.xcss/ |/header-content | /portlet | Any hints? Thx, Gamba View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257336#4257336 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: css with multiple portlets
Sorry, wrong forum, please move it to the RichFaces Users forum View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257337#4257337 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Problem load balancing JMS
Hi, I'm having a bit of trouble load balancing my message producing SSBs and my MDBs under jboss 4.2.1. I have got a singleton JMS successfully switching between nodes when I shut the active one down so hopefully I'm almost there. However, my SSBs fail when trying to get the connection factory for the queue if they are not on the node running the jms instance. These a re EJB3 beans, the connection factory for my SSB is injected via @Resource(mappedName=ConnectionFactory) | private QueueConnectionFactory connectionFactory; and the code that fails is InitialContext ctx = new InitialContext(); | QueueConnection qu = connectionFactory.createQueueConnection(); | QueueSession session = qu.createQueueSession(false, | Session.AUTO_ACKNOWLEDGE); | Queue queue = (Queue) ctx.lookup(queue/SystemLogQueue) Presumably I need to make this refer to the HAJNDI? Can anyone recommended the best way to make this maintainable so it can be deployed under a clustered/non-clustered environment with the least effort? Kind Regards, Vic View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257338#4257338 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Re: Problem load balancing JMS
This is the JBoss AOP forum, use the clustering or jbossmq forum View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257340#4257340 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: css with multiple portlets
Actually, this should go here: http://www.jboss.org/index.html?module=bbop=viewforumf=273 Try upgrading to CR2 also. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257341#4257341 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: css with multiple portlets
Sorry, we are using CR2, my fault ... Ok, can you move the post, or should I post again? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257343#4257343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Re: Problem load balancing JMS
Sorry, about that, don't know how I chose the wrong forum, it think it was because I was searching earlier to see if I could use AOP to change the annotated values. Thanks, Vic View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257348#4257348 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Problem load balancing JMS
I'm having a bit of trouble load balancing my message producing SSBs and my MDBs under jboss 4.2.1. I have got a singleton JMS successfully switching between nodes when I shut the active one down so hopefully I'm almost there. However, my SSBs fail when trying to get the connection factory for the queue if they are not on the node running the jms instance. These a re EJB3 beans, the connection factory for my SSB is injected via @Resource(mappedName=ConnectionFactory) | private QueueConnectionFactory connectionFactory; and the code that fails is InitialContext ctx = new InitialContext(); | QueueConnection qu = connectionFactory.createQueueConnection(); | QueueSession session = qu.createQueueSession(false, | Session.AUTO_ACKNOWLEDGE); | Queue queue = (Queue) ctx.lookup(queue/SystemLogQueue) Presumably I need to make this refer to the HAJNDI? Can anyone recommended the best way to make this maintainable so it can be deployed under a clustered/non-clustered environment with the least effort? Kind Regards, Vic View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257352#4257352 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: css with multiple portlets
I have posted again in the correct forum. Sorry for this mistake. If it is possible, please delete this thread. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257356#4257356 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 5.1 JDK6 - IBM AIX 5.3 Java 1.6 - Failed to build
The error is in position 16:21:27,053 of the boot.log file . Thank in advance for any help !! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257363#4257363 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Generating DDL from annotated POJOs
I got your file and I can see that the console configuration refers to a hibernate.cfg.xml that does not exist. Is that intentional ? And if it is, any reason why you got that in there and expect it to be able to load without errors ? :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257366#4257366 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 5.1 JDK6 - IBM AIX 5.3 Java 1.6 - Failed to build
16:21:27,053 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: abstractkerneldeploym...@3c4d3c4d{name=file:/jboss/server/web/conf/bootstrap/vfs.xml installed=true beanfactories=[abstractbeanmetad...@3da73da7{name=vfscache bean=null properties=[realCache, permanentRoots] constructor=abstractconstructormetad...@3f4d3f4d{parameters=[null] factoryClass=org.jboss.virtual.spi.cache.VFSCacheFactory factoryMethod=getInstance} autowireCandidate=true start=abstractlifecyclemetad...@435e435e{ whenrequired=controllerst...@13181318{start} parameters= }}, abstractbeanmetad...@6e476e47{name=vfsnamesexceptionhandler bean=org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler properties= constructor=abstractconstructormetad...@6f716f71{parameters=[java.lang.string]} autowireCandidate=true}]} | org.jboss.deployers.spi.DeploymentException: Error deploying: file:/jboss/server/web/conf/bootstrap/vfs.xml | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Thread.java:735) | Caused by: | java.lang.IllegalStateException: ClassLoader has not been set That's a DEBUG message. You can ignore that. See this http://www.jboss.org/community/index.html?module=bbop=viewtopict=157579 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257380#4257380 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Problem load balancing JMS
I believe I've got this sorted, @Resource(mappedName=ConnectionFactory) to @Resource(mappedName=java:/JmsXA) appears to do the trick, for some reason I thought this was only going to be available when clustered. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257381#4257381 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Generating DDL from annotated POJOs
That was actually a relatively recent change. I've been playing with different options trying to get this to work. I did have a hibernate.cfg.xml. It wasn't clear initially (after deleting the file) how to get rid of the reference in the console configuration since the field is disabled, but then I remembered I have to set the configuration type to Core. Regardless, it has nothing to do with my problem. I started out without it, and after removing it, the problem persists. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257386#4257386 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Redirect JBoss root page to a different URL
Hi, We have an application which uses JBoss 4.0.2 as app and web server. It uses port 80. We want that when users go to http://servername:80 they are redirected to http:servername:80/abc/def.html automatically. Any idea how this can be done? Thanks in advance! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257393#4257393 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jbpm 4.1 installation problems on jboss 4.2.3
Did anyone successfully install jbpm 4.1 on jboss 4.2.3? If so, could you shed some light on the issues I'm having during the install. I get JbpmDS not bound errors. But I have that datasource defined in jbpm-hsqldb-ds.xml in the jboss/server/default/deploy/jbpm directory. I tried to put the ds xml file one directory above (in the deploy directory) but that didn't help either. Below is the stack trace. Any help would be appreciated. at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.acquireJobs(DispatcherThread.java:126) at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.run(DispatcherThread.java:67) Caused by: org.hibernate.HibernateException: Could not find datasource at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292) at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDescriptor.java:64) at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473) at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452) at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441) at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421) ... 32 more Caused by: javax.naming.NameNotFoundException: JbpmDS not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257394#4257394 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Intermittent failures in multithreaded test
That's really good to know Andrew, thanks for the tests. The GA version of 3.2.1 is coming around the end of October, btw. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257411#4257411 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Exposing/serving files via JBoss
You can create your own WAR as an exploded deployment (http://www.jboss.org/community/wiki/ExplodedDeployment) and place the files in there. You might have to add a mime-type to the web.xml (see the global web.xml at server/xxx/deployers/jbossweb.deployer for an example) P.S. You never said which version of JBoss AS so I assumed the latest - 5.x. If you are using a 4.x version I'll leave you to find the global web.xml. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257412#4257412 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Error when calling web service within JBoss
When you start the app server, a few lines before the started in xxx seconds message there is a message that looks like this: 2009-09-20 12:03:28,485 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 Post what you are getting. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257413#4257413 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: There are too many DEBUG written to the
Do you want to turn off all debugging? If so, then there are two possibilities. You only need to do one of them, not both. 1) Add a threshold to the FILE appender: | appender name=FILE class=org.jboss.logging.appender.DailyRollingFileAppender |. . . |param name=Threshold value=${jboss.server.log.threshold}/ |. . . 2) Add a priority to the root: root | priority value=INFO/ | appender-ref ref=CONSOLE/ | appender-ref ref=FILE/ |/root By the way, the FILE appender uses a rolling daily appender so each day you should get a new log file - why not simply have a cron script that runs every day and deletes all log files more than X days old? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257414#4257414 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - JBoss User Guide/Documentation PDF not found
Hi I would like to take JBoss portal for a test drive. I am trying to find out if there is a User Guide that shows the features of JBoss Portal. I viewed the video though. What I would like to do is look at the user guide and look if I can as a User on the Portal allow other users to download files that I uploaded to a repository. The max file size I am interested in is 2GB. thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257418#4257418 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: JBoss User Guide/Documentation PDF not found
Did you try the Documentation link on the Portal product page (http://jboss.org/jbossportal/)? The Portal includes a Content Management System that can be used to server files. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257427#4257427 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: JBoss User Guide/Documentation PDF not found
PeterJ wrote : Did you try the Documentation link on the Portal product page (http://jboss.org/jbossportal/)? | | The Portal includes a Content Management System that can be used to server files. No, I did not try that. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257429#4257429 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Re: Simple JPA question
I think that's because you're looking up the remote interface of userEao. Based on my experience, every single invocation to a remote interface (despite the target session bean is in the same environment) creates a new transaction/entitymanager, so the behavior you described above makes sense. If you want all your code to span a single transaction just try pulling the local interface from JNDI. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257434#4257434 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - JBoss Messaging Issues
Hi, I have JBoss-4.0.2 and JBoss-5.1.0.GA on my machine and I am trying to run both at the same time. I am running the all configuration for both of them. I've changed the ports for jboss 5 to use ports-02 and jboss 4 is using the default ports. Now when i start Jboss4 first it starts fine and then I start jboss5 is throws exception that: | 2009-09-28 17:09:01,655 ERROR [org.jboss.messaging.util.ExceptionUtil] (main) Queue[/queue/DLQ] startService | javax.jms.InvalidDestinationException: Destination DLQ already exists | at org.jboss.jms.server.DestinationJNDIMapper.registerDestination(DestinationJNDIMapper.java:122) | at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:150) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322) | at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189) | at $Proxy38.start(Unknown Source) | Anyways but the jboss starts up. So when both are up there is a client deployed in jboss4 which connects to a particular queue which is deployed on jboss4 and not on jboss5. When it tries to put the message on queue, It throws error as following: | 2009-09-28 15:46:47,891 DEBUG [net.plus.envoy.bt.jms.JmsSenderImpl] Queued message scheduled to be sent at Mon Sep 28 15:47:47 BST 2009 | 2009-09-28 15:46:47,908 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | javax.resource.spi.CommException: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)] | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:743) | at org.jboss.resource.adapter.jms.JmsManagedConnection.init(JmsManagedConnection.java:172) | at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.j | Don't know why is it using org.jboss.jms.client.JBossConnectionFactory instead of using jboss mq as queue is on jboss4. Any idea? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257435#4257435 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Postgresql Setval/Nextval Consequences Ignored
Apparently the consequences of using Setval or Nextval in Postgresql --apart from JPA-- is overlooked when JPA selects the next value in spite of JPQ querying the value. I've tried setting the value back to 1 and next-ing the value from Psql then querying it. Psql sees the change yet JPA does not. The id is annotated using @Id, @SequenceGenerator, and @GeneratedValue. Environment is Linux, Java 6, Jboss 5.1, and Postgresql 8.3. Anyone have any ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257440#4257440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Jbmp task recovery
Hello, i´m starting with jbmp, and i´m using a RemoteCommandService to execute my commands on server. Now i need to recover all task filter by actor and by the processinstance variables but with: command = new GetTaskListCommand(actor, true); result = (ArrayList) remoteCMDService.execute(command); only i can filter by actor and then i need to recover task.getProcessInstance().getContextInstance().getVariables() and filter in java. Is there another way to do it? sorry by my english and thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257443#4257443 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: HermesJMS config for Jboss Messaging resources?
Yes. It works perfectly with JBM 1.4. I benefited greatly from this visual tutorial: http://hermesjms.com/confluence/display/HJMS/JBoss+Tutorial Note: when you set up the JNDI InitialContext, you need to declare two attributes: 1. SecurityCredentials. 2. SecurityPrincipal. These two parameters are the jmx-console parameters which are by default: (admin, admin). Hope that was helpful. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257448#4257448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: superstate timer error
Thanks, will give it a try...too busy with other things and had missed this change... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257452#4257452 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Long-running tasks and async continuation
Hello, The documentation frames asynchronous continuation only within the context of automatic activities. Async is useful when a process shouldn't block the thread and/or transaction while an activity is being carried out. This is great, but how about long-running human tasks? They are not automatic activities, and there surely is a benefit in handling them asynchronously. I couldn't tell from the documentation whether tasks are considered async by default. Are they? If not, is there a way of making them async? Regards, George View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257454#4257454 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: @Resource and systemproperties-service.xml
env-entry-value${serverName}/env-entry-value Try env-entry-value${jboss.server.name}/env-entry-value View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257455#4257455 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
ok, and I only now see there are 3 identical timers on the transition. Can you remove those and also turn up the loglevel when running the unittest. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257457#4257457 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
I am going to turn up the loglevel. The process was deployed with just one timer, does not change anything. The duplicate timers are due to the GPD bug already reported in JIRA. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257458#4257458 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
I must be doing something wrong since I don't see more in the log. | handlers= java.util.logging.ConsoleHandler | redirect.commons.logging = enabled | | java.util.logging.ConsoleHandler.level = FINEST | java.util.logging.ConsoleHandler.formatter = org.jbpm.internal.log.LogFormatter | | org.jbpm.level=FINEST | org.jbpm.pvm.internal.tx.level=FINEST | org.jbpm.pvm.internal.wire.level=FINEST | org.jbpm.pvm.internal.util.level=FINEST | | org.hibernate.level=FINEST | org.hibernate.cfg.SettingsFactory.level=FINEST | org.hibernate.cfg.HbmBinder.level=FINEST | # org.hibernate.SQL.level=FINEST | # org.hibernate.type.level=FINEST | # org.hibernate.tool.hbm2ddl.SchemaExport.level=FINEST | org.hibernate.transaction.level=FINEST | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257461#4257461 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
Have a look at the sourcecode of the console or the jbpm testcase on how this is done (have no time to do that myself) things like 'grep -R getResourceAsStream |grep -v target |grep -v svn' work amazingly well if you do not have an ide at hand) I also found processDefinition.getImageResourceName() which can be used in the previously mentioned call View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257462#4257462 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
is the ds deployed at all? Can you check via the AS console? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257463#4257463 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Jbmp task recovery
create your own command? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257464#4257464 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Long-running tasks and async continuation
They are considered 'async' by default. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257465#4257465 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
Thanks for the hint Ronald, I managed to succeed without looking how the console deals with it. They only thing missing was getting the image from the deployment in a comfortable and general way. So your hint helps a lot. I am now doing the image manipulation myself. 1. I get the process image as a stream. 2. I use ImageIO to instantiate a BufferedImage. 3. I call getGraphics() on the BufferedImage to get an Graphics Context 4. I use getActiveActivities() to get hold of the active tasks 5. I determine the positions of the active tasks via the API 6. I paint a red rectangle around each active tasks using drawRect() and the co-ordinates of the tasks 7. I display the image in my application :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257466#4257466 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
I just wrote a long post thanking you for the hint, Ronald and explaining how I I succeded without looking deeper into the console code. Then I pushed submit and it disappeared. :( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257467#4257467 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
What the 3 console does (and I in my JSF console) is draw the rectangles in DHTML, so the image stays the same. Nice thing about that is that you can also display other details of a node on e.g. mouse-over etc. I'm not sure how the GWT console for 4 does this btw, might be like you do it or like I do it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257469#4257469 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: InstanceAlreadyExistsException During hot deployment
Disabling jmxStatistics does not help. I still got the same issue. But after doing more research, I came to know that this is the problem (or feature not sure :) ) with Websphere AS. I am trying to find out the solutions. If in the mean time, someone comes across some solution/workaround, please post here. Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257470#4257470 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Showing the process diagram in my own application
I noticed this because the console retrieves the image via the REST-interface and there is just the possibility to get the original image. I think both methods have advantages and disadvantages. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257471#4257471 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: superstate timer error
Hmm, same problem. Also, I had to change the datasource configuration in ..\jboss-4.2.3.GA\server\default\deploy\ejb-deployer.xml and ..\jboss-4.2.3.GA\server\default\deploy\jbpm\jbpm-enterprise.jar\META-INF\jbosscmp-jdbc.xml from DefaultDS to JbpmDS otherwise I got a JDBC connection failure on the first timer. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257474#4257474 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Can not install JBoss Tools in Eclipse Galileo
i have grabbed a galileo download and unzipped it. Then go to Help/Install New Software, type the 3.1M3 update site, select only the first option -not sdk, not birt/maven integration- and after some 20 minutes or so an error pops up saying that some dependencies are missing. It says the names that seems to be some obscure versions of existing packages. I then retrieved the individual plugins I am interested in: Seam, Hibernate, RichFaces, JBossAS, FreeMarker. I unzipped them over a clean Galileo, and I get Hibernate and JSF. I don't see anything related to JBoss AS, Seam, or FreeMarker. Is it possible to install 3.1M3 on top of standard JEE Galileo, or should I get some internal release or what? Thanks in advance Ernesto Cullen View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257479#4257479 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: InstanceAlreadyExistsException During hot deployment
Thanks Mircea.Markus. Some more information: Websphere appends cellName, nodeName and server name (node1) to whever ClusterName I specify in the treecache.xml. During hot deployment, jboss cache jars try to find if there is any MBean with name TreeCache-Cluster. It does not find any and tries to create a new MBean with Name TreeCache-Cluster. In the process, websphere again appends the same information (cellName, nodeName ...etc) and it finds that there is bean with this name already exists and hence I get the exception. For the sake of experiment: I gave the name to ClusterName attribute as anonymous wrote : TreeCache-Cluster,cell=TD2471N | ode01Cell,node=TD2471Node01,process=server1, which Websphere was complaining. And it all started working OK. But this definitely not a solution because this information is machine specific. Let me know how to fix it. Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257482#4257482 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - JDBCCacheLoader failed to obtain connection with JNDI naming
I am using: - JBoss AS 4.2.3.GA - JBoss Cache 3.2.0 in the configuration, I am setting the loader as: | loaders passivation=false shared=false | loader class=org.jboss.cache.loader.JDBCCacheLoader async=true fetchPersistentState=true ignoreModifications=false purgeOnStartup=false | | properties | cache.jdbc.datasource=java:/DefaultDS | cache.jdbc.table.name=jbosscache | cache.jdbc.table.create=true | cache.jdbc.table.drop=false | /properties | /loader | /loaders | But this throws exception during startup due to not able to grab a connection using the datasource specified above, and when I inspect the JNDI tree, the DefaultDS does exist. So I traced into it, it seems that, when retrieving the datasource using the JNDI name, it can not find the the factory class org.jboss.naming.NonSerializableFactory class, which included in the jboss-common-core.jar file and deployed with my EAR file, and therefore, returns a null. The original ClassNotFound exception is ignored in the javax.naming.spi.NamingManager class when it tries to instantiate the factory class. I don't understand why this class is not found, as it is already included in the EAR/lib folder. The class that tries to lookup the JNDI datasource is org.jboss.cache.loader.ManagedConnectionFactory, which is in the jbosscache-core.jar file, and is in the same EAR/lib folder. So it should be able to see the NonSerializableFactory class just fine. I wonder if I am the only one having this problem using the JDBCCacheLoader with JNDI name. Any help is appreciated. Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257486#4257486 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: superstate timer error
Your last two remarks are not jBPM specific. jBPM 3 uses EJB timers by default and they use the DefaultDS since they are not jbpm specifc. (you need a DefaultDS to for JMS etc... Not sure though if this has changed in 3.2(.7) trunk. And there have been some other changes regarding db stuff in the latest trunk (which is 3.2 based since 3.3 has been dropped) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257489#4257489 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Can not install JBoss Tools in Eclipse Galileo
Exactly which URL did you use for Tools 3.1.m3? I installed using the link from the Development Updates, sans BIRT, and that worked just fine. Exactly what missing dependencies were mentioned? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257490#4257490 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user