[jboss-user] [JBoss jBPM] - Re: JobExecutorThread
the usertransaction is eventually bound to the jndi tree. The problems seems to be is that the 'WorkflowService' is commencing *before* the hibernate service has bound the usertransaction to the jndi tree. i confirmed this by placing trace inside the workflow service code and the userTransaction is only bound some time after the workflow service has commenced. werid i know. i have no understanding how the hibernate service starts and it role in the user transaction/jndi binding. i dont know what differences between jbpm3.2.2-jbpm3.26 would cause such behaviour. -lp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248298#4248298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Noob in EJB3 :D
Never trust roseindia. That site is terrible! It does indeed matter whether the client is in- or outside the container. The creation of the InitialContext for example is quite different, requires more parameters when doing so from outside the container (things like where to find the container). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248299#4248299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Seam New Project Won't Deploy (JBoss Tools 3.1.0, Seam 2.2.0
Hi - I am trying to get a basic SEAM project to deploy on AS 5.1. The project is created via the new Project - Seam Web Project wizard In Eclipse Galileo. --Problem 1-- While setting up the SEAM properties for the project the wizard asks for the seam properties Seam Runtime. I have Seam 2.2 installed but when I try to use that the wizard complains that The selected seam appears to be of an incompatible version '2.2.0.GA''. So get around that I installed SEAM 2.0 and the previous problem is resolved. But I have on older version of seam. --Problem 2-- When I 'run on server' the ant script builds a .war file and deploys that. However JBOSS AS then throws exceptions 'File Not Found' trying to load files from the .war file. This is a windows system. The ant script uses the task to build the war file - should it use the ant task instead? Anyway, so I changed the build file to deploy the seam application unapacked to try to get around this problem. --Problem 3-- Now JBOSS throws exceptions as the seam app is loading :- Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory googling this seems to point to some conflict in which jsf libraries are being loaded. But being unfamiliar with JSF and SEAM I'm at a loss to know what the problem here is. Any help much appreciated.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248304#4248304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Seam New Project Won't Deploy (JBoss Tools 3.1.0, Seam 2
Further notes on the 1st post.. 1 - googling problem 1 I saw comments that SEAM 2.0 won't run on JBOSS AS 5.1. You need SEAM = 2.1. Is this true or false? Maybe that is a problem but as noted previously the seam project wizard rejects the SEAM 2.2 version. 2 - The ant script uses the task to build the war file - should it use the ant task instead? should read The ant script uses the jar task to build the war file - should it use the war task instead? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248305#4248305 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
hi, There are many things which you should do to migrate an application from jboss 4 to jboss 5. Please post the exceptions. This help to see which is running wrong. In web.xml for jboss 5. you should use this web-app xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248313#4248313 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Seam New Project Won't Deploy (JBoss Tools 3.1.0, Seam 2
Further info - same issue occurs with SEAM 2.1.2 2009-08-06 00:31:04,140 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-test1]] (main) Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248316#4248316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - missing dependency: could not find ejb3 deployment
Hello, I have a problem while deploying an EAR containing two JAR files. The first JAR file is called core-administration, the second one is called core-domain. Normally, JBoss deploys in alphabetical order, core-administration before core-domain. In core-administration I have an webservice, which includes an EJB from core-domain via @EJB annotation. The problem is, that core-domain is not yet deployed when core-administration needs it. Can somebody tell me what I need to do, that this works? Here is the exception: 09-08-06 09:24:05.585 | ERROR | org.jboss.ejb3.Ejb3Deployment| Exception while processing container metadata for EJB: AdministrationServiceImpl in unit: core-administration.jar | 09-08-06 09:24:05.585 | ERROR | org.jboss.kernel.plugins.dependency.AbstractKernelController | Error installing to Real: name=vfszip:/c:/jboss/server/default/deploy/test.ear/ state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Error deploying core-administration.jar: Exception while processing container metadata for EJB: AdministrationServiceImpl in unit: core-administration.jar | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | 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:619) | Caused by: java.lang.Exception: Exception while processing container metadata for EJB: AdministrationServiceImpl in unit: core-administration.jar | at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
here are some of jars i have to delete from project folder (Please delete them, is seams not anough to exclude them from project) xerces.jar jaxp-api.jar el-api.jar Could you post the libs reference of your project? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248319#4248319 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any
Thanks Clebert. Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248321#4248321 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: QuestionProblem for Demo on Spring Integration with jBP
this happens when your process has already ended View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248323#4248323 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Deployment of WAR slow
Thanks, but I run into problems using JBoss 5.1.0 GA with Eclipse Galileo. The app is deployed without errors, but then, after 10 seconds, it undeploys for no apparent reason: Log-excerpt: 2009-08-06 09:47:33,343 WARN [org.jboss.seam.async.QuartzDispatcher] (HDScanner) No seam.quartz.properties file. Using in-memory job store. | 2009-08-06 09:47:33,343 INFO [org.quartz.simpl.SimpleThreadPool] (HDScanner) Job execution threads will use class loader of thread: HDScanner | 2009-08-06 09:47:33,343 INFO [org.quartz.core.QuartzScheduler] (HDScanner) Quartz Scheduler v.1.5.2 created. | 2009-08-06 09:47:33,343 INFO [org.quartz.simpl.RAMJobStore] (HDScanner) RAMJobStore initialized. | 2009-08-06 09:47:33,343 INFO [org.quartz.impl.StdSchedulerFactory] (HDScanner) Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' | 2009-08-06 09:47:33,343 INFO [org.quartz.impl.StdSchedulerFactory] (HDScanner) Quartz scheduler version: 1.5.2 | 2009-08-06 09:47:33,343 INFO [org.quartz.core.QuartzScheduler] (HDScanner) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. | 2009-08-06 09:47:33,343 WARN [org.jboss.seam.security.permission.PersistentPermissionResolver] (HDScanner) no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required. | 2009-08-06 09:47:43,859 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) undeploy, ctxPath=/project | 2009-08-06 09:47:43,859 INFO [org.quartz.core.QuartzScheduler] (HDScanner) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. | 2009-08-06 09:47:43,859 INFO [org.quartz.core.QuartzScheduler] (HDScanner) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused. | 2009-08-06 09:47:43,859 INFO [org.quartz.core.QuartzScheduler] (HDScanner) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete. WHY? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248325#4248325 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Migrating from JBoss 4.0.5 to Jboss 4.2.3
What are the Jar files required in JBoss 4.2.3 server to pre-compile JSP files? In Jboss-4.0.5 , we used jasper-runtime.jar, jasper-compiler.jar, commons-el.jar to pre-compile JSPs. But these jar files are not available in the 4.2.3 version. I tried to compile JSPs using jbossweb.jar, jasper-jdt.jar present in jboss-web.deployer folder of Jboss 4.2.3, but the build fails as JSPC is not found. I guess the Jars available in jboss-web.deployer doesn't include anything that helps me to pre-compile the JSPs(correct me if I am wrong). If I paste jasper-runtime.jar, jasper-compiler.jar, commons-el.jar present in jbossweb-tomcat55.sar of Jboss 4.0.5 server into jboss-web.deployer folder of Jboss 4.2.3[though this is not the feasible solution for my problem], the build will be successful with no errors. I guess I'm out of luck for the moment and any information regarding server migration would be very helpful. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248326#4248326 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM + EMF/UML2 Crashes
Where is this code executed? In a custom activity? I don't see how jBPM could be the culprit in this case? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248328#4248328 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change hibernate , replace with other orm
Indeed ... JBoss helpdesk is already contacted multiple times, but they don't seem to get it fixed for one reason or another ... but don't worry - we keep pinging them. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248329#4248329 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM-4.0 configuration with eclipse fetching error
Try to run the ant demo.setup as described in the user guide. It will automatically download a compatible Eclipse version. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248331#4248331 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: What is the difference between a
A task node does not require to write custom Java handlers. A task node will create task records in the task table for every task defined. A node is nothing more than an interface. Your own implementation can do anything (print hello world, block the current thread, or actually do something useful). Task nodes are to be used for user interaction, Nodes must be used when the given set of activitity types is not enough for your use case. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248334#4248334 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: custom task id
I agree, the second option sounds more logical to me. Doesn't the TaskQuery.candidate() or TaskQuery.assignee() helps you out there? If you feel like something is missing there, you can file a Jira as Ronald mentions. If it's really urgent you can always use a plain Hibernate query (altough I'd rather see it on the right API interface ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248336#4248336 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Max Delivery Attempts ignored on Jboss 5.1 queue?
MDB's handle there own delivery. I think there is an activation property you can set. MDb's are notp art of messaging so the guys on the JCA forums or AS forums would be able to help. Or you could take a look at the AS docs. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248337#4248337 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - test on ejb3 with junit by eclipse
Dear all, I want to write JUnit Tests for my EJB3.0 SessionBeans. How do I access the application server? InitialContext ctx = new InitialContext(); bean = (BeanInterface) ctx.lookup(...); does not work since the initial context cannot be resolved (javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial). Obvoiusly, for the same reason, dependency injection doesn't work either: @EJB BeanInterface bean; What do I have to do? Best regards Alan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248339#4248339 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 on DB2
I've used jBPM 3.x on DB2 (v 9 I believe) for a large project. No problems at all (only had to change some varchar columns which were too big for the DBA's taste) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248340#4248340 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Signaling Transition from a Java State
The java activity is only used when you don't need runtime process information. Use the 'custom' activity instead (see http://docs.jboss.org/jbpm/v4.0/userguide/html_single/#custom ) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248343#4248343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Noob in EJB3 :D
initial context: | Properties properties = new Properties(); | properties.put(java.naming.factory.initial, | org.jnp.interfaces.NamingContextFactory); | properties.put(java.naming.factory.url.pkgs, | =org.jboss.naming:org.jnp.interfaces); | properties.put(java.naming.provider.url, 10.132.15.227:1099); | Context context; stack trace: Useraccount [id=1, profiles=null, userLogin=admin, userPassMd5=admin] | Exception in thread main javax.ejb.EJBException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:77) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:421) | at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232) | Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String | at org.hibernate.type.StringType.toString(StringType.java:67) | at org.hibernate.type.NullableType.nullSafeToString(NullableType.java:117) | at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:158) | at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136) | at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:61) | at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:514) | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1589) | at org.hibernate.loader.Loader.doQuery(Loader.java:696) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259) | at org.hibernate.loader.Loader.doList(Loader.java:2228) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125) | at org.hibernate.loader.Loader.list(Loader.java:2120) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67) | at com.ca.mailing.ProfileManagerBean.getUsProfileById(ProfileManagerBean.java:73) | 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
[jboss-user] [JBoss jBPM] - Re: taskform in the start activity - form vars dont get pers
Your other issue is interesting. Process variables from the start form should be available in the next activitites (altough they might not be persisted yet in the database, that's for performance reasons). Could you file a Jira issue precisly explaining your issue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248345#4248345 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: TaskQuery w/ ProcessInstanceId possible?
This is certainly possible and is coverd by our QA test suite (see for example TaskQueryProcessTest). | ListTask parisTasks = taskService | .createTaskQuery() | .processInstanceId(parisProcessInstance.getId()) | .list(); | How is the process instance created (ie post your createProcessInstance() method)? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248347#4248347 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Does anyone know how to add Website Identity Icon - favicon.
I am trying to deploy a war file for my app and want to set my own website Icon. The problem is that the icon defaults to the Jboss favicon.ico. I have put the icon in the root of the war file and referenced it from the index.html file using link rel=shortcut icon href=/favicon.ico type=image/x-icon/ Does anyone know if there is a way I can set the icon so it picks up the one included in the war file. cheers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248348#4248348 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Deployment of WAR slow
Oh boy! I must say that Seam deployments in AS-5.0.x and AS-5.1.0 have (known) issues. As you noticed, 5.0 did not identify the changes to .xhtml and did not redeploy. AS-5.1.0 does the exact opposite, it finds that Seam deployments need to be redeployed (for no valid reason) :) Fortunately there's a workaround. Follow this thread (and other linked threads there) http://www.jboss.org/index.html?module=bbop=viewtopict=159500. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248350#4248350 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 4 reminders
Looks good to me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248357#4248357 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Discover running JBoss server instance on the local network
Hello all, I'm wondering is it possible for a client to discover an alive instance of JBoss server on the local network? Suppose local network is not very big, but the clients may start and finish many times, and it's better for them to have no config at all at the time of starting up. Instead, all config is obtained from the server somewhere on the network. That way server instance should be found somehow. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248359#4248359 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Integration problem of jBPM 4, Spring and Hibernate
The method startUpJBPM() is totally unnecessary, since the processEngine and services should have been built by SpringConfiguration bean. To deploy your process, you could get the repositoryService from spring context: | RepositoryService repositoryService = ac.getBean(repositoryService); | repositoryService.createDeployment().addResourceFromClasspath(jpdl/process.jpdl.xml).deploy(); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248363#4248363 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: QuestionProblem for Demo on Spring Integration with jBP
Thanks for your quick answer. What does that mean? Undeploy method with jBPM Testcase is working fine. But after integration with spring, it cause the error. How can i solve this problem? Could you explain solution with detail description? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248369#4248369 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Seam New Project Won't Deploy (JBoss Tools 3.1.0, Seam 2
I think, the best place for Seam related questions is the Seam user forum http://seamframework.org/Community/SeamUsers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248370#4248370 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Deployment of WAR slow
THANK! I got it working. The 1-sec hot deployment is awesome! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248371#4248371 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Max Delivery Attempts ignored on Jboss 5.1 queue?
I have posted this message already on JBoss Messaging forum, but they suggested to change forum. Guess EJB3 people might help. They suggested this should work fine and that this is MDB issue. I have very simple queue. Both producer an consumers are EJB3 (Stateless session and MDB) I have set attribute: attribute name=MaxDeliveryAttempts13/attribute in *-service.xml file. Value is visible form JBoss AS Administration console, configuration view of a queue (Max Delivery Attempts). But, when message delivering files (Ejb3 MDB), after only 5 (not 13 as expected), I got message: WARN [AbstractDLQHandler] Message redelivered=6 max=5 sending it to the dlq delegator-JBossMessage[20471539334316035]:PERSISTENT, deliveryId=25 Afterward, message is moved to DLQ as expected. It is not even 10, which is expected default value. Some other attributes, like attribute name=RedeliveryDelay17000/attribute Works as expected (delay between two attempts to deliver message is 17 seconds). Is this me doing something wrong, or JBoss is ignoring this parameter? How to set it up? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248372#4248372 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: test on ejb3 with junit by eclipse
anonymous wrote : (javax.naming.NoInitialContextException: Need to specify class name in | environment or system property, or as an applet parameter, or in an application | resource file: java.naming.factory.initial). | See this http://www.jboss.org/community/wiki/GetquotjavaxnamingNoInitialContextExceptionquot View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248375#4248375 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: TaskQuery w/ ProcessInstanceId possible?
But that is exactly what he does: TaskQuery taskQuery2 = getTaskService().createTaskQuery(); | taskQuery2.processInstanceId(processInstance.getId()); | ListTask taskList2 = taskQuery2.list(); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248379#4248379 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM-4.0 configuration with eclipse fetching error
could u please tell me the correct eclipse version name. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248382#4248382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: test on ejb3 with junit by eclipse
Hi Alan, for using Dependeny injection in your Unit Tests (which are actually application clients), you have to do some very special tasks to start it. Here is a doc which describes the required steps for a standalone application client: http://www.jboss.org/community/wiki/HowtouseanapplicationclientinJBoss-5 But I fear this cannot be applied to JUnit, as you cannot use org.jboss.client.AppClientMain to run a test. So I think you have to perform a JNDI lookup in the JUnit tests. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248389#4248389 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss 4.2.3 and Security Annotations
Hi, yes, those annotations are supported for JBoss 4.2.x. I cannot point you to a better documentation, but feel free to ask questions here. Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248391#4248391 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: test on ejb3 with junit by eclipse
Thank a lot!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248393#4248393 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - About ProcessInstance Variables size
Hello , I have a trouble when I insert some variable as String into ContextInstance, the code like this: TaskInstance task = jbpmContext.getTaskInstance(taskInstanceId); task.getContextInstance().setVariable(key, value); the value variables is a String with large size, there is a exception will be throw like this: Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column 'STRINGVALUE_' at row 1 I want to kown that how can I save a String with large size into the ContextInstance as a instance variable? ps: I used jbpm 3.1.3 , mysql 5.0. ps2:Could I change the size of the 'STRINGVALUE_' filed? Thanx. Sweet View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248395#4248395 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.6.SP1 on Weblogic 11gR1
Hi, i have somes questions. 1- If i try to use the jBPM jobscheduler, what happen to timers and asynchronism ? It will not use EJB timer and JMS (with queues JbpmJobQueue and JbpmCommandQueue ) for this but your own JobExecutor that's right ? And i can delete jbpm-enterprise.jar so ;-)? 2- Why have you created these EJBs if your own implementation is good ? Actually, under my jboss as, in deploy/jBPM/jbpm-service.sar, my jbpm.cfg.xml file is : jbpm-configuration | | jbpm-context | service name=persistence factory=org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory / | service name=message factory=org.jbpm.msg.jms.JmsMessageServiceFactory / | service name=scheduler factory=org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory / | service name=tx factory=org.jbpm.tx.TxServiceFactory / | service name=authentication factory=org.jbpm.security.authentication.DefaultAuthenticationServiceFactory / | /jbpm-context | | string name=jbpm.classLoader value=context / | | null name=jbpm.job.executor / | | /jbpm-configuration So, persistence, tx and authentification are still OK but i have to change: service name=message factory=org.jbpm.msg.db.DbMessageServiceFactory / service name=scheduler factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory / and put, like in the default configuration file: bean name=jbpm.job.executor class=org.jbpm.job.executor.JobExecutor | field name=jbpmConfigurationref bean=jbpmConfiguration //field | field name=namestring value=JbpmJobExecutor //field | field name=nbrOfThreadsint value=1 //field | field name=idleIntervalint value=5000 //field | field name=maxIdleIntervalint value=360 //field !-- 1 hour -- | field name=historyMaxSizeint value=20 //field | field name=maxLockTimeint value=60 //field !-- 10 minutes -- | field name=lockMonitorIntervalint value=6 //field !-- 1 minute -- | field name=lockBufferTimeint value=5000 //field !-- 5 seconds -- | /bean Is it right ? Thx for all. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248404#4248404 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - seam 2.1 not working for me
hi all, ive created a new seam project 2.1 with jboss server 5.0 and the login and samples pages goes well, but i got two problems one, althoug the database connection its ok, in the log there its the next error: 2009-08-06 11:30:46,890 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) could not get database metadata com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'system_sequences' in information_schema second: if i try to create a new page, for example an html it works, but ive tested all the options for a xhtml file, then it crash at running the page, different results but at least the page its not rendered and the server says errors like : (http-localhost%2F127.0.0.1-8080-1) End JSF request for /pruebaSeam/aaa.seam 2009-08-06 12:10:20,078 DEBUG [org.jboss.seam.web.ExceptionFilter] (http-localhost%2F127.0.0.1-8080-1) handling uncaught exception javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248406#4248406 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: taskform in the start activity - form vars dont get pers
I never knew that you can attach form in start node in jBPM4, what's the use case ? Regards, Setya View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248409#4248409 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM-4.0 configuration with eclipse fetching error
the jee one... eclipse-jee-galileo-*.* View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248418#4248418 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: About ProcessInstance Variables size
3.1.3? Striking that there are so many questions about 3.1 releases lately If you have the knowledge on how to change the STRINGVALUE_ field I see no reason why you couldn't View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248420#4248420 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Cannot get all process definition keys - named query missing
=== Environment == - jBPM Version : JBPM4 - Database : Oracle Enterprise - JDK : java version 1.6.0_10 - Container : java version 1.6.0_10 - Configuration : basic configuartion - Libraries : === Process == === Environment == - jBPM Version : which version of jBPM are you using? - Database : which database and which version of that database - JDK : which Java version are you using? use 'java -version' to find out - Container : which Java version are you using? use 'java -version' to find out - Configuration : is your jbpm.cfg.xml only importing files from the jbpm.jar lib itself? or did you create a custom config file? - Libraries : are you using the exact versions of the libs from inside the jbpm distribution of the version that you're using? or did you change some of the libs? === Process == ?xml version=1.0 encoding=UTF-8? task g=134,223,92,52 name=task2 candidate-groups=sales task g=129,325,92,52 name=task3 candidate-groups=sales === API === public List getAllWorkflows() throws Exception { Configuration configuration = new Configuration(); processEngine = configuration.buildProcessEngine(); return ((ExecutionServiceImpl)processEngine.getExecutionService()).getCommandService().execute(new FindProcessDefinitionKeysCmd()); } === Stacktrace == org.hibernate.MappingException: Named query not known: findProcessDefinitionKeys at org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:93) at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1287) at org.jbpm.pvm.internal.hibernate.DbSessionImpl.findProcessDefinitionKeys(DbSessionImpl.java:110) at org.jbpm.pvm.internal.cmd.FindProcessDefinitionKeysCmd.execute(FindProcessDefinitionKeysCmd.java:38) at org.jbpm.pvm.internal.cmd.FindProcessDefinitionKeysCmd.execute(FindProcessDefinitionKeysCmd.java:33) 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:54) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at hu.docmgmt.jbpm4.ejb.Jbpm4Bean.getAllWorkflows(JbpmUser.java:61) === Debug logs == past debug logs here === Problem description = I want to get the all deployed processes using the jbpm engine. It looks like there is no named query findProcessDefinitionKeys, which want the hibernate use in DbSessionImpl class . Is there an other way to get all processes? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248423#4248423 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring
Removing the current=true attribute: Caused by: org.hibernate.HibernateException: No CurrentSessionContext configured! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248424#4248424 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Integration problem of jBPM 4, Spring and Hibernate
shiyeling wrote : Try add spring to the read context of script manager | | | script-manager default-expression-language=juel default-script-language=juel | | read-contexts=execution, environment, process-engine, spring write-context= | | script-language name=juel factory=org.jbpm.pvm.internal.script.JuelScriptEngineFactory / | | /script-manager | | It was the same result that cannot find property TestCon. Do you have any sugguestion? Besides, I don't understand the meaning and possible values of the parameters of read-contexts. Are there any documents and suggested reading for this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248435#4248435 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wsconsume and implementing interface top-down
i think you may have your implementation strategies mixed up. if you're using wsconsume, it assumes that you've already written the webservice, and wsconsume helps create the client interface. if you're using wsprovide, it assumes you've written the WSDL and need to generate the server side stubs. Why fits your scenario better? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248436#4248436 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Noob in EJB3 :D
Hi, according to the exception, there is a java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String in code called from com.ca.mailing.ProfileManagerBean.getUsProfileById(ProfileManagerBean.java:73). So maybe your ID property has type int while you try to load some data with a string parameter. Take a look at this code, and if you don't see a solution, post getUsProfileById and your entity bean. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248437#4248437 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss 4.2.3 and Security Annotations
For AS 4.x and EJB3, these might help: http://www.jboss.org/ejb3/docs/tutorial/ http://www.jboss.org/ejb3/docs/tutorial/security/security.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248439#4248439 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: eclipse jboss aop
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp souma wrote : | how want you, we learn this jbossaop ??? | Most people look at the tutorial examples that are in the distribution View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248440#4248440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JPA ManyToMany problem
according to example at: http://www.jboss.org/index.html?module=bbop=viewtopict=159562I I get errors: UserActionArchive [userActionArchiveId=1, userName=asd] | Exception in thread main java.lang.reflect.UndeclaredThrowableException | at $Proxy5.getUsProfileById2(Unknown Source) | at com.ch.mailing.client.UserClient.main(UserClient.java:86) | Caused by: java.lang.ClassNotFoundException: org.hibernate.collection.PersistentSet | at org.jboss.remoting.serialization.ClassLoaderUtility.loadClass(ClassLoaderUtility.java:103) | at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:86) | at java.lang.ClassLoader.loadClassInternal(Unknown Source) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Unknown Source) | at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:179) | at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) | at java.io.ObjectInputStream.readClassDesc(Unknown Source) | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) | at java.io.ObjectInputStream.readObject0(Unknown Source) | at java.io.ObjectInputStream.defaultReadFields(Unknown Source) | at java.io.ObjectInputStream.readSerialData(Unknown Source) | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) | at java.io.ObjectInputStream.readObject0(Unknown Source) | at java.io.ObjectInputStream.readObject(Unknown Source) | at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:119) | at java.io.ObjectInputStream.readExternalData(Unknown Source) | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) | at java.io.ObjectInputStream.readObject0(Unknown Source) | at java.io.ObjectInputStream.defaultReadFields(Unknown Source) | at java.io.ObjectInputStream.readSerialData(Unknown Source) | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) | at java.io.ObjectInputStream.readObject0(Unknown Source) | at java.io.ObjectInputStream.readObject(Unknown Source) | at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObjectVersion2_2(JavaSerializationManager.java:238) | at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:138) | at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:123) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:1220) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:850) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165) | at org.jboss.remoting.Client.invoke(Client.java:1724) | at org.jboss.remoting.Client.invoke(Client.java:629) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) | at $Proxy3.invoke(Unknown Source) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) | at $Proxy5.getUsProfileById2(Unknown Source) | at com.ch.mailing.client.UserClient.main(UserClient.java:86) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JPA ManyToMany problem
The link is not working. The PersistentSet is located into hibernate3.jar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248448#4248448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
SUPER THANKS, ITS WORKING!! I was able to deploy 3 of my wars, but the last one is throwing an exception on ServletContextListener here's an excerpt...help would be greatly appreciated 2009-08-06 08:27:35,306 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[war file]] (main) Exception sending context destroyed event to listener instance of class com.X.ApplicationContextListener java.lang.NoClassDefFoundError at com.galaxyplus.fiapi.ApplicationContextListener.contextDestroyed(ApplicationContextListener.java:29) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3949) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4437) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at org.jboss.web.deployers.WebModule.start(WebModule.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 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:206) at $Proxy38.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.start(ServiceController.java:460) at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
[jboss-user] [JBoss Tools (users)] - Re: seam 2.1 not working for me
micuentadecasa wrote : hi all, ive created a new seam project 2.1 with jboss server 5.0 and the login and samples pages goes well, but i got two problems | Please use AS 5.1 instead of 5.0 and if possible upgrade to Seam 2.2 to have fixes needed for proper Seam execution. anonymous wrote : | one, althoug the database connection its ok, in the log there its the next error: | 2009-08-06 11:30:46,890 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) could not get database metadata | com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'system_sequences' in information_schema | does not look like a seam nor as 5 issues. Looks more like you using the wrong dialect for your database? anonymous wrote : | second: if i try to create a new page, for example an html it works, but ive tested all the options for a xhtml file, then it crash at running the page, different results but at least the page its not rendered and the server says errors like : | please try the above versions. anonymous wrote : | (http-localhost%2F127.0.0.1-8080-1) End JSF request for /pruebaSeam/aaa.seam | 2009-08-06 12:10:20,078 DEBUG [org.jboss.seam.web.ExceptionFilter] (http-localhost%2F127.0.0.1-8080-1) handling uncaught exception | javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción | at | Would be able to help better if your error messages weren't localized /max View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248457#4248457 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
Is com.galaxyplus.fiapi.ApplicationContextListener your code? java.lang.NoClassDefFoundError | at com.galaxyplus.fiapi.ApplicationContextListener.contextDestroyed(ApplicationContextListener.java:29) It seems that in line 29 a class is accessed which is missing in your deployment. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248462#4248462 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Error in bea consumer configuration(WSRP)
Hi friends, I am trying to use demo WSRP consumer hosted by BEA, by entering the WSDL URL: http://wsrp.bea.com:7001/producer/producer?WSDL. But After clicking Refresh Save it gives me this error java.lang.RuntimeException: java.lang.RuntimeException: Couldn't initialize services for WSDL at 'http://wsrp.bea.com:7001/producer/producer?WSDL' Cause:java.lang.RuntimeException: Couldn't initialize services for WSDL at 'http://wsrp.bea.com:7001/producer/producer?WSDL' What would be the reason, Can anyone plz help me in resolving this error. Thanks Regards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248463#4248463 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Error in
Look at the server log, there might be more details there. It might just be that BEA's public producer is temporarly unavailable... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248464#4248464 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Configuring JNDI Datasource (MySQL-5.1.36) in JBOSS 5.1.
The jndi name can be anything. You just have to remember that name so that you can use it while looking up your datasource in the code. So if jndiname is: jndi-namexyz/jndi-name Then your code to lookup the datasource (within the server) will be: | Context ctx = new InitialContext(); | DataSource ds = (DataSource) ctx.lookup(java:xyz); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248471#4248471 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO not able to build the src folder..
Hi Anil, I am trying to use some more jar file during customizing the JBoss SSO code. I am using 'commons-fileupload-1.2.1.jar,commons-io-1.4.jar'. I include them into eclipse class path. Eclipse compiler is compiling it without any error. But when I am trying to deploy the new updated code with ant build.xml, I am getting following error. I know during ant build it may not be getting the class path. Where to specify it? I tried specifying it in file 'jboss-sso-1.0CR1\components\tools\etc\buildfragments\libraries.ent', but getting the same build error. Please help me. I added following lines in jboss-sso-1.0CR1\components\tools\etc\buildfragments\libraries.ent : property name=multi-part.root value=${project.thirdparty}/multi-part/ | property name=multi-part.lib value=${multi-part.root}/lib/ | path id=multi-part.classpath | filelist dir=${multi-part.lib} files=commons-fileupload-1.2.1.jar,commons-io-1.4.jar/ | /path Deploy error using ant build.xml: configure-libraries: | configure-modules: | configure-defaults: | configure-tools: | init: | _default:compile-classes: | [javac] Compiling 1 source file to C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\output\classes | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:49: package org.apache.commons.fileupload does not exist | [execmodules] import org.apache.commons.fileupload.FileItem; | [execmodules] ^ | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:50: package org.apache.commons.fileupload does not exist | [execmodules] import org.apache.commons.fileupload.FileUploadException; | [execmodules] ^ | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:51: package org.apache.commons.fileupload.servlet does not exist | [execmodules] import org.apache.commons.fileupload.servlet.ServletFileUpload; | [execmodules] ^ | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:151: cannot find symbol | [execmodules] symbol : variable ServletFileUpload | [execmodules] location: class org.jboss.security.federation.servlet.SSOFederationDRxServer | [execmodules] boolean isMultiPart = ServletFileUpload.isMultipartContent(request); | [execmodules] ^ | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:154: cannot find symbol | [execmodules] symbol : class ServletFileUpload | [execmodules] location: class org.jboss.security.federation.servlet.SSOFederationDRxServer | [execmodules] ServletFileUpload fileUpload = new ServletFileUpload(); | [execmodules] ^ | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:154: cannot find symbol | [execmodules] symbol : class ServletFileUpload | [execmodules] location: class org.jboss.security.federation.servlet.SSOFederationDRxServer | [execmodules] ServletFileUpload fileUpload = new ServletFileUpload(); | [execmodules]^ | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:161: cannot find symbol | [execmodules] symbol : class FileUploadException | [execmodules] location: class org.jboss.security.federation.servlet.SSOFederationDRxServer | [execmodules] } catch (FileUploadException e) { | [execmodules] ^ | [execmodules] C:\App\workspaces\drxworkspace\jboss-sso-1.0CR1\components\jboss_federation_server\src\main\org\jboss\security\federation\servlet\SSOFederationDRxServer.java:169: cannot find symbol | [execmodules] symbol : class FileItem | [execmodules] location: class org.jboss.security.federation.servlet.SSOFederationDRxServer | [execmodules] FileItem item = (FileItem) itr.next(); | [execmodules] ^ | [execmodules]
[jboss-user] [JBoss Cache: Core Edition] - Re: Transactions Created On Reads Holding Up Writers ???
Hi, sorry for the late response. 1) Red Hat does offer paid support for JBoss Cache as a part of the JBoss EAP subscription. 2) Interesting that using the dummy TM solves the problem - it is still a real TM capable of holding real locks. It's just that other components in the app server won't be using it as well. Perhaps there is some contention there. 3) jmxStats: could you please create a JIRA for this, and preferably attach a simple unit test? 4) Eviction: the general solution here is to either reduce the wakeup interval (JBC 3 uses millis to measure this so you can go under 1s if needed) or increase the eviction queue size. This may well be why your readers are hanging. Cheers Manik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248479#4248479 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
Thanks for the suggestion. Yes that my code. But the interesting part is, same war works perfect on Jboss-4.0.5 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248481#4248481 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Where is the TreeCacheMBean class?
TreeCacheMBean was deprecated in 2.x and removed in 3.x. Look for CacheJmxWrapperMBean instead. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248482#4248482 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: taskform in the start activity - form vars dont get pers
Hi there, Sorry, I should have checked the JIRAs first :)..would have saved me the code digging. This one does seem to cover the future implementation of declarative task history auditing : https://jira.jboss.org/jira/browse/JBPM-2416 I will open a JIRA on the other issue (start form params not being available till we have a task in the process). The use case for us was that a user submits a help request form. On this form s/he makes some selections which drive decisions immediately on the form submission (eg is a lab approval needed etc). You can associate forms with the start activity in JBPM4. We got the idea from the updated taskform sample here: http://www.jorambarrez.be/blog/2009/07/21/jbpm-4-0-basic-taskform-tutorial-whats-new-part-4/ (thanks Joram - that was a great blog entry. Very clear explanations - Helped kickstart our pilot ) Regards, Lalit View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248483#4248483 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
hmm it seems that lib is not correctly use from your project. try to add this to your jboss-web.xml class-loading java2ClassLoadingCompliance=false loader-repository com.example:archive=unique-archive-name loader-repository-configjava2ParentDelegation=false /loader-repository-config /loader-repository /class-loading Do you use JFS in your application? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248486#4248486 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: TaskQuery w/ ProcessInstanceId possible?
Yep, that is exactly what I am doing, and I swear it does not work. Possibly there is something strange caused by the fact that we are using HSQLDB under the test suite, but we have been using that for years on our project. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248487#4248487 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Is IP Multicast Secured?
I am running a jboss eap 4.3.0 cluster with 3 nodes. The communication between 3 nodes is based on JGroups protocol by using UDP/IP Multicast. I am curious security mechanism about the Multicast address,e.g. by default in cluster-service.xml udpGroup:228.1.2.3:45567 It seems that anyone could use this address and try to join the Multicast Group. Can some bad guy in the network easily write a program or directly run another jboss server to listen on this Multicast address/port and fetch the packet(information)??? If yes, how to secure it? Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248489#4248489 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: broadcast packet flooding the network
I'm not aware of any JBoss code that uses broadcast. Certainly not in the clustering libraries, which only use multicast or unicast. Suggest you use a tool like wireshark to track down what these packets are. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248490#4248490 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
I had the same error on migration app form jboss 4 to 5.1. In Jboss 5 there are many libs which is include within and cause conflict with libs from your project folder. Either you try to delete libs from your project or if you need them to compiling code, just copy the libs from your jboss folder into your project. Futhermore there many modified configuration for different technology you use. So it could be helpfull to tell which technology you use on your app (Spring, JFS...) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248491#4248491 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: TaskQuery w/ ProcessInstanceId possible?
Please post your complete unit test. We are also using HSQLDB in development so the error should pop up with us too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248493#4248493 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: taskform in the start activity - form vars dont get pers
JIRA for the issue relating to the start taskform params not being available without a halt : https://jira.jboss.org/jira/browse/JBPM-2471 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248495#4248495 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any
clebert.suco...@jboss.com wrote : | You could set paging-max-global-size-bytes to something very close to your full memory. Say..if you have 1G memory. Put it 700MiB (700 * 1024 * 1024). | Actually, I would recommend keeping it at the default value of -1, and just specifying paging parameters at an address level. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248496#4248496 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss 4.2.3 and Security Annotations
Thanks for the responses. I will check out those tutorials. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248498#4248498 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO not able to build the src folder..
Hi Anil, I got the solution of ant build issue. I added new classpath in build.xml of module sso-federation-server. | jboss-sso-1.0CR1\components\jboss_federation_server\build.xml: | !-- Configure thirdparty libraries -- | call target=configure-libraries/ | path id=library.classpath | path refid=sun.servlet.classpath/ | path refid=jakarta.log4j.classpath/ | path refid=org.opensaml.classpath/ | path refid=jboss-system.classpath/ | path refid=multi-part.classpath/ | /path Now ant deploy is working. Thanks Nikhil View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248499#4248499 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248499 ___ 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.0(JDK6) on Fedora Core 10, computer often shut
The computer shuts down? Why ask about it here and not on the Fedora forum? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248501#4248501 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] regarding seam,jsf,icefaces
Hi, Can somebody tell the difference between icefaces,seam and jsf coming with JBoss 4.3.0 EAP. what is the jsf version coming with Jboss 4.3.0 EAP. If you have already used JSF with JBoss 4.3.0 server please let me know which one to use for development as I am new to JSF. Regards, Naveen -Original Message- From: jboss-user-boun...@lists.jboss.org [mailto:jboss-user-boun...@lists.jboss.org] On Behalf Of nikhilg Sent: Thursday, August 06, 2009 9:46 AM To: jboss-user@lists.jboss.org Subject: [jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO not able to build the src folder.. Hi Anil, I got the solution of ant build issue. I added new classpath in build.xml of module sso-federation-server. | jboss-sso-1.0CR1\components\jboss_federation_server\build.xml: | !-- Configure thirdparty libraries -- | call target=configure-libraries/ | path id=library.classpath | path refid=sun.servlet.classpath/ | path refid=jakarta.log4j.classpath/ | path refid=org.opensaml.classpath/ | path refid=jboss-system.classpath/ | path refid=multi-part.classpath/ | /path Now ant deploy is working. Thanks Nikhil View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248499#4248499 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Connecting without JNDI?
We are running portlets in WebSphere, using Java 1.4. We want to send messages to a JBoss queue, running Java 1.5. Trying to connect using JNDI is not working, since the JBoss jars are 1.5 and I get an unsupported major/minor error when I try to create the InitialContext. Can we connect straight to JBoss without using JNDI? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248505#4248505 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: StructureDeployer that supports subdeployments
I've tried this with the ESB and I'm using the following configuration for the GroupingStructure: bean name=GroupingStructure class=org.jboss.soa.esb.listeners.deployers.mc.GroupingStructure | property name=shortCircuitFilter | inject bean=EsbFilter/ | /property | property name=metaDataPaths | array elementClass=java.lang.String | valueMETA-INF/value | value./value | /array | /property | property name=libs | set elementClass=java.lang.String | value./value | valuejars/value | /set | /property | property name=libFilter | inject bean=JarFilter/ | /property | property name=groups | set elementClass=java.lang.String | value./value | valuewars/value | /set | /property | property name=groupFilter | inject bean=WarFilter/ | /property | /bean I've simply copied your GroupingStructure into our project for the time being hence the different package name. So we can now have jars in either the root, or in a sub directory named 'jars'. And we can have wars in either the root, or in a sub directory named 'wars'. Now, we are going to have users that have wars in sub directories that have different names then 'wars'. These users will have the following options (as I see it): 1. Renaming their sub directory to 'wars'. 2. Adding their sub directory names to the 'groups' list above. 3. Add a META-INF/jboss-structure.xml to their .esb archive: ?xml version=1.0 encoding=UTF-8? | structure | context | path name=/ | metaDataPath | path name=META-INF/ | path name=./ | /metaDataPath | classpath | path name=/ | path name=. suffixes=.jar/ | /classpath | /context | context | path name=subdir/testwar.war/ | metaDataPath | path name=WEB-INF/ | /metaDataPath | classpath | path name=subdir/testwar.war/WEB-INF/classes/ | /classpath | /context | /structure | 4. Last resort (because of the negative performance impact) activate the DirectoryStructure by uncommenting it in deployers/directory-deployer-jboss-beans.xml. Have I missed any options here? Thanks for writing the GroupingStructure! I think it will be very useful. Regards, /Daniel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248507#4248507 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 4.2.1 HTTPS connections problem
I am using HTTPS connector and all works fine until the following scenario happends: 1) browser sends request (server gets it) 2) server is bussy processing it (JSP, struts) 3) connection is dropped by: - browser refresh, or - using a new link The result is that the processing thread remains open indefinetly, as can be seen in http://localhost:8080/status. Problem is that the CPU goes 100% after that. Few requests like that and all CPU cores are locked up and the server nearly freezes. I have to restart JBoss after that. Server runs on CentOS 5.3. I could not reproduce it on Windows. Debugger attached shows a stack trace 100% in JBoss libraries. The HTTPS connector is configured with no particullar settings (keystore removed): Any ideeas of a setting to avoid this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248511#4248511 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from JBoss 4.0.5 to Jboss 4.2.3
Try downloading JBoss Web (http://jboss.org/jbossweb/downloads/jboss-web/). I think it has the JARs you need to compile JSPs. (AS 4.2.x and later use JBoss Web as the servlet container.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248512#4248512 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM4] Task still in Active Activies after being comple
Thanks shiva0, that's working well. Still I quite don't understand the behaviour as I don't have to update the instance when completing other activities. Can anyone give me a short explanation, please, I haven't seen anything like this in the docs so far and I would like to understand what I'm doing ;) Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248513#4248513 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
Thanks a lot for your suggestion guys. I am using Spring and no JFS. Meanwhile I'll make java2ClassLoadingCompliance change and test it out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248514#4248514 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm4.1 task duedate does not persist
I have duedate attribute set in a task like this: When process arrive Step1, task was created notification and reminder fired correctly but I check the table JBPM4_TASK the DUEDATE_ is null, Is this normal behavior? Is there any way I can get the task duedate through the api ? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248515#4248515 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Does anyone know how to add Website Identity Icon - favi
Try removing the '/' from in front of favicon.ico - I think that with that slash the browser attempts to read the icon from the ROOT context. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248516#4248516 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm4.1 task duedate does not persist
sorry this is the xml: |task name=Step1 duedate=3 minutes |notification/ | reminder duedate=3 minutes/ | transition name=deny to=end/ | transition ame=approve to=Step2/ |/task | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248517#4248517 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migrating from Jboss4.0.5 to jboss 5.1.0 - Help needed
Thanks a lot for your suggestions guys. I am using Spring, JAXB, and NO JFS. Meanwhile I'll add java2ClassLoadingCompliance and test it out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248518#4248518 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: UNmanaged JBoss Connection Pool wanted!
To add more: Yes, I have tried the typical SEAM annotations to signify to the container that I will handle transaction management via | @TransactionManagement(TransactionManagementType.BEAN) | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) | at both the calling action class level and down in the class that handles the alternate persistence scheme. Thanks again for any help! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248519#4248519 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss 4.2.3 and Security Annotations
The security tutorial mentions that I need to use the jboss annotation org.jboss.ejb3.security.SecurityDomain, but it doesn't seem to exist in the jars that come with 4.2.3. I added all the jars in the jboss lib directory to my external library, but still don't have access to this class. Is there another jar file I need? Thanks again for the help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248520#4248520 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM4] Task still in Active Activies after being comple
Nevermind, I mixed it up, of course I have to update the instance each time. No way to edit own posts here? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248521#4248521 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
Bijith, I saw that Andy closed your Jira saying that fix was done. I have the same problem like you - Is it working for you with trunk build? Thought Andy will comment what he fixed but didnt see any explanation. At my company we're thinking to use the JBoss core API instead of JMS - I see benefit on that but not sure how it will evolve in the future. Thanks, Abdel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248522#4248522 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm4.1 task duedate does not persist
I was working around and solve this problem by 1. get the task 2. query its reminder's Job 3. get remider's duedate Thanks for looking. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248599#4248599 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248599 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user