[jboss-user] [Installation, Configuration Deployment] - Error installing to Start: name=persistence.unit:unitName=#
Hi, I am trying to deploy an EJB3 on jBoss 5.0.0.GA and I am receiving this message error: | 02:59:52,044 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#sample state=Create | javax.persistence.PersistenceException: [PersistenceUnit: sample] Unable to build EntityManagerFactory | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) | at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) | 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.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) | at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121) | at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51) | 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:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | 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
[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa
Sorry i meant persistence.xml and not persistence.properties Stress effect !! i still have the problem HLLL View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268936#4268936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - task timers
Hi. I am using Jbpm 3.2.3 on Jboss 4.2.3.GA. I have many processes where I have to check a condition in a manually or in a automatic way and the check have to be completed into a time range. For this target, I use the following task-node: | task-node name=check create-tasks=false end-tasks=true | event type=node-enter | action class=org.process.StartCheck/action | /event | event type=node-leave | action class=org.process.DefaultEnd/action | /event | | timer name=check duedate=2 seconds repeat=4 seconds | action class=org.process.CheckTimer/action | /timer | | task name=check-manual | event type=task-start | action class=org.process.DefaultStart/action | /event | event type=task-end | action class=org.process.DefaultEnd/action | /event | /task | | task name=check-automatic | event type=task-start | action class=org.process.DefaultStart/action | /event | event type=task-end | action class=org.process.DefaultEnd/action | /event | | timer name=check-automatic duedate=2 seconds repeat=2 seconds | action class=org.process.AutomaticCheck/action | /timer | /task | | transition to=notify success name=OK/transition | transition to=notify failure name=KO/transition | /task-node | The manual check (first task) uses a form where the user manually clicks on OK/KO buttons. Automatic check (second task) is performed with a class in the timer action that executes a query on a database and signal to the corret OK/KO transition. To the events node-leave, node-enter, task-start and task-end are associated classes (DefaultStart and DefaultEnd) to trace the execution. StartCheck creates the correct task (from a configuration parameter): | public abstract class StartCheck implements ActionHandler { | @Override | public void execute(ExecutionContext executionContext) throws Exception { | // get check type (manual or automatic) | // checkType = ... | | // get the task-name from the check type (check-manual or check-automatic) | // taskName = ... | | // create task instance | TaskNode taskNode = (TaskNode) executionContext.getNode(); | | Task task = taskNode.getTask(taskName); | | Token token = executionContext.getToken(); | | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); | | TaskInstance taskInstance = tmi.createTaskInstance(task, token); | | taskInstance.start(); | } | } | CheckTimer notifies if the check is over: | public abstract class CheckTimer implements ActionHandler { | @Override | public void execute(ExecutionContext executionContext) throws Exception { | // get time range (startDate and endDate) from configuration parameters | | // checks that new Date() is in the range (startDate, endDate) | | // notify user | } | } | AutomaticCheck executes the automatic check: | public abstract class AutomaticCheckAction implements ActionHandler { | @Override | public void execute(ExecutionContext executionContext) throws Exception { | // isOK is setted after a query on a database | boolean isOK = ... | | Token token = executionContext.getToken(); | token.signal(isOK ? OK : KO); | } | } | When the execution enters in this node, the task creation is correct and also the task-node timer is created. If the check type is manual then the execution stops in the check-manual task and with the form we can select the OK/KO transition. But if the check type is automatic, the timer associated with the check-automatic task is never created
[jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 lookup from Pojo and Injection
Thanks for help your answers realy help. I understand that I can't be sure that I get the same instance (of Stateless) in the same transaction by lookup. Is there exists other way to pass some data from one statelsss to other in the same transaction In web application I used to it HttpSession and setAttribute. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268940#4268940 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM 4.2 Maven
Is there jBPM 4.2 archetype for projects? I need to build .bar/.jar and deploy .bar file to database... Please help :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268941#4268941 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.2 Maven
A .bar-file is nothing else than a .jar-file with a process definition and furhter specific content like task-forms for example. To deploy .bar-files you can use the ant-task supplied with jBPM. It deploys takes the process definition from the .bar-file and deploys it directly to the database. HTH View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268942#4268942 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio
Hi all, Just want to share the solution After searching and testing , i think i have found the root cause of that weird exception. its because i let hibernate manage my transaction instead of spring. so its better to have spring manage transaction. The concept of current=true in spring transaction interceptor also correct. I already enable current=true and it works perfectly with current=true in hibernate session if we let spring manage transaction because if we initialize spring context with required transaction at first time, we always have transaction. So by right mandatory attributes is better then required attributes. So we will make sure every thread has active transaction otherwise it will throw exception. Note that if we set current=false in hibernate session configuration, we still can run it. However if you rollback using spring transaction, it will not rollback. I have tested it by putting exception after deploy process to JBPM. and its not rollback at all. I will try whether this behavior same if we use data source (JNDI), JTA, as well as oracle dialect. Hopefully everything don't have same problem :) Thanks in advance, Best Regards, Suganda View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268946#4268946 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jbpm 4.2] My first simple application doesn't work :(
Sorry but I don't understood. Could you tell me how I've to change the code of my previous application for example? Thanks (I referenced all the needed libraries now) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268950#4268950 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Problem combining two loginmodules for SSO with Active D
Anyone who has an idea how I can login with Kerberos and retrieve the roles from Active Directory? I did some more research but could not find a solution for my problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268954#4268954 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: CacheListener is (unduly) notified of rollbacked operati
The CacheListener is a local observer: it sees changes to the local copy of the cache. If a transaction is started on the master node (master for a given interaction, otherwise nodes need not be symmetric), and it is rolled back, changes are not replicated to the slave nodes. Thus on slave nodes, the CacheListener is not notified of any change on rollback. So the only problem is that the master node's CacheListener IS notified even in case of rollback. So you don't need the workaround if, on the master node, you don't need the notification. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268955#4268955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployed application steals logging from JBoss. How to p
I do not know the app - this is only binary code. What I see it deploys its own log4j and use such properties for logging: log4j.rootCategory=ERROR, CONSOLE,MYLOG | | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender | log4j.appender.CONSOLE.Threshold=ERROR | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout | log4j.appender.CONSOLE.layout.ConversionPattern=%d{dd/MM/yy HH:mm:ss} %5p [%t] (%F:%L) - %m%n | | log4j.appender.MYLOG=org.apache.log4j.DailyRollingFileAppender | log4j.appender.MYLOG.DatePattern='_'MMdd'.log' | log4j.appender.MYLOG.File=server/default/log/mylog.log | log4j.appender.MYLOG.Append=true | log4j.appender.MYLOG.layout=org.apache.log4j.PatternLayout | log4j.appender.MYLOG.layout.ConversionPattern=%d{dd/MM/yy HH:mm:ss} %5p [%t] (%F:%L) - %m%n JBoss logs must not be affected by any deployed application. If there is no any configuration changes which can protect against such hostile behaviour this is security bug in JBoss. Before I start looking how to file a bug report to JBoss I would like to make sure there is no known protection to JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268957#4268957 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.2 Maven
sebastian.s wrote : A .bar-file is nothing else than a .jar-file with a process definition and furhter specific content like task-forms for example. To deploy .bar-files you can use the ant-task supplied with jBPM. It deploys takes the process definition from the .bar-file and deploys it directly to the database. | | HTH Well, then i'll use ant. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268960#4268960 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Problem to run jBPM under jBoss and searching for PVM do
Hi kukeltje, first of all thanks for the reply :) 1) I tried a clean jboss 5.1.0 AS and it starts without problems, then I installed jbpm and there are a lot of exception. This is the first one: | 11:40:08,195 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Class not found for XADataSource com.mysql.jdbc.jdbc2.optional.MysqlXADataSource; - nested throwable: (java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlXADataSource from baseclassloa...@17704b7{vfsclassloaderpolicy@d6c6a0{name=vfsfile:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/ domain=classloaderdom...@eb67e8{name=defaultdomain parentPolicy=BEFORE parent=org.jboss.bootstrap.noannotationurlclassloa...@867e89} roots=[memorycontexthand...@9068528[path= context=vfsmemory://5c4o03-4x3cun-g2stpfuk-1-g2stpzvd-17 real=vfsmemory://5c4o03-4x3cun-g2stpfuk-1-g2stpzvd-17], filehand...@10536304[path=jbpm/jbpm-service.sar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/], delegatinghand...@16936351[path=jbpm! /jbpm-service.sar/freemarker.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/freemarker.jar], delegatinghand...@7016550[path=jbpm/jbpm-service.sar/jbpm-console-form-plugin.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-form-plugin.jar], delegatinghand...@16898138[path=jbpm/jbpm-service.sar/jbpm-console-graphView-plugin.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-graphView-plugin.jar], delegatinghand...@2304605[path=jbpm/jbpm-service.sar/jbpm-console-integration.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-integration.jar], Dele! gatinghand...@11682775[path=jbpm/jbpm-service.sar/juel-engine.! jar cont ext=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/juel-engine.jar], delegatinghand...@25425762[path=jbpm/jbpm-service.sar/juel-impl.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/juel-impl.jar], delegatinghand...@15102430[path=jbpm/jbpm-service.sar/juel.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/juel.jar], delegatinghand...@20824308[path=jbpm/jbpm-service.sar/livetribe-jsr223.jar context=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/jbpm-4.2/jboss-5.1.0.GA/server/default/deploy/jbpm/jbpm-service.sar/livetribe-jsr223.jar]] delegates=null exported=[, de.odysseus.el.tree.impl, freemarker, org.jbpm.integration.console.forms, freemarker.ext.dom, de.odysseus.e! l.tree.impl.ast, org.jbpm.integration.console.graphView, META-INF.maven.org.livetribe.livetribe-jsr223, freemarker.ext.jython, javax.script, freemarker.ext.beans, META-INF.maven.org.jbpm.jbpm4.jbpm-console-integration, META-INF.maven.org.jbpm.jbpm4.jbpm-console-graphView-plugin, de.odysseus.el.tree, freemarker.debug.impl, freemarker.core, META-INF.maven.org.jbpm.jbpm4.jbpm-console-form-plugin, freemarker.ext.servlet, freemarker.ext.util, javax.el, de.odysseus.el.misc, freemarker.debug, freemarker.cache, de.odysseus.el.util, org.jbpm.integration.console, freemarker.ext.xml, META-INF, de.odysseus.el, freemarker.ext.jdom, freemarker.template.utility, freemarker.ext.jsp, freemarker.log, freemarker.ext.rhino, META-INF.services, com.sun.script.juel, freemarker.template, freemarker.ext.ant] IMPORT-ALLNON_EMPTY}})) | at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:465) | | I think that there's some problem with the mysql connection. Mysql is correctly running on port 3306, what could cause this excepiton? Does JBoss search for connection libraries in a wrong path? Doesn't JBoss have the correct privileges to access the database? Anything else? What could I do to solve? 2) I saw the documentation that you suggested, but I need documentation about the internal pvm's operation. For example, does it work like a state machine or like an Artificial Neural Network? etc. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268966#4268966 Reply
[jboss-user] [JBoss Messaging Users] - Durable subscriptions management via JMX console
Hello there, Is there any way of deleting a durable subscription from an existing topic via JMX console? I'm looking for an MBean operation that allows me to delete a durable subscription in case a faulty JMS client forgot to close it when it was no longer needed. I'm using JBoss AS 4.2.3.GA and JBoss Messaging 1.4.5.GA Thank you, Enrique. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268970#4268970 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Theme and layout settings for Configure Dashboard
Thanks Vijay. That does get the page using my theme. From your answer then, it looks like the layout that this page uses is hard coded to the generic maximised one. There's no way that you know to control this using the deployment descriptors? This also forces me to change that JSP to mimic the layout that I have created, rather than just being able to fully deploy my layout from a separate WAR file. Is that your understanding too? Cheers, Richard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268973#4268973 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - JBoss AS 5.1.0.GA + Seam 2.2.0 - ZipException: error in open
I am getting an error that seems to relate to https://jira.jboss.org/jira/browse/JBAS-6107, but the issue was resolved in the version I am running. The ear being deployed (to the server/all/farm directory). The application.xml in the META-INF directory has: module | ejbjboss-seam.jar/ejb | /module | Strict module loading is not enabled. There's a few other jars in the ear too. Any idea's as to what is causing this? The stack trace is as follows: 2009-12-04 13:13:28,140 INFO [javax.servlet.ServletContextListener] (main) Welcome to Seam 2.2.0.GA | 2009-12-04 13:13:28,497 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/pba]] (main) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: Error handling file /usr/share/jboss/jboss-5.1.0.GA/server/all/farm/9-hercules-ear.ear/jboss-seam.jar | at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:128) | at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:101) | at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:84) | at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:105) | at org.jboss.seam.init.Initialization.create(Initialization.java:122) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) | 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:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.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
[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console
No, I don't think JBM support this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268976#4268976 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console
Shame :-( Thanks for the quick reply. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268982#4268982 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console
HornetQ does support it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268986#4268986 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat Integration] - JBOSS 4.0.5 and tomcat 5.5.28
Hi, can somebody tell me what I have to do when I want to get proper tomcat 5.5.28 SAR for JBOSS 4.0.5? Is it possible to buy or what need to be done ? Thanks Michal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268987#4268987 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Performance JBoss 4.2.3 (and 5.1.0) compared to JBoss 4.
I got my application working under JBoss 5.1.0. The test with a load of 100 requests per second already failed (java.lang.OutOfMemoryError: PermGen space). I didn't tune JBoss, that could make a difference but probably not a very big one. Aren't there any performance testing results available which could give an idea of which throughput could be expected of a certain type of application deployed under JBoss? Regards, Erwin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269002#4269002 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Entity variable
I'm developing a Seam/jBPM4 web application. I can already hot deploy processes through the web interface, start and signal processes, storing String and Integer variables within them... My problem arises when I try to attach and store an entity variable. My application and jBPM share the same datasource, but I know mine uses JPA and jBPM uses Hibernate, so there's sort of mismatch. I tried the no-brainer: adding my entity as a variable and saving, but it obviously won't work: org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable I've debugged jBPM code and I've reached org.jbpm.pvm.internal.type.matcher.HibernateIdMatcher. The line where my variable will become UnpersistableVariable is sessionFactory.getClassMetadata(value.getClass()), which will return null. How should I configure class metadata? Can I share the entity between jBPM and Seam? Can I somehow hot deploy classes and metadata? (maybe in a .bar file) I've searched through the documentation and examples, but there's not much information on hibernate entities as variables. Thank you in advance! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269015#4269015 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR
Hi, in my Properties snippet, there is one thing you have to replace with your own config: the j2ee.clientName should be declared in your jboss-client.xml file. But you don't need this line if you don't want to use the ENC for lookup. What do you mean with sun server lib? Is your client actually a ejb app in a sun app server? It seems that you are missing big conceptual parts of EJB3. So I would advice you (as Jaikiran already did) to take the time and read a good book or at least some EJB tutorials ;-). Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269017#4269017 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Error with registering a RESTeasy Providerfactory
Hi, I get the following error: java.lang.ClassCastException: com.sun.jersey.server.impl.provider.RuntimeDelegateImpl cannot be cast to org.jboss.resteasy.spi.ResteasyProviderFactory | at org.jboss.resteasy.spi.ResteasyProviderFactory.getInstance(ResteasyProviderFactory.java:330) | at de.webshop.test.util.RegisterResteasy.register(RegisterResteasy.java:11) | at de.webshop.test.BestellverwaltungTest.setup(BestellverwaltungTest.java:56) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | at java.lang.reflect.Method.invoke(Method.java:617) | at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) | at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) | at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) | at org.junit.runners.ParentRunner.run(ParentRunner.java:236) | at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) After I run this code: package de.webshop.test.util; | | import org.jboss.resteasy.plugins.providers.RegisterBuiltin; | import org.jboss.resteasy.spi.ResteasyProviderFactory; | | public abstract class RegisterResteasy { | private static boolean registered = false; | | public static void register() { | if (!registered) { | ResteasyProviderFactory resteasyProviderFactory = ResteasyProviderFactory.getInstance(); | RegisterBuiltin.register( resteasyProviderFactory ); | registered = true; | } | } | } What can be the reason ? Thanks for help in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269030#4269030 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa
Hi, see http://www.jboss.org/community/wiki/EJB3relationships and search for your error message cannot simultaneously fetch multiple bags. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269031#4269031 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Remote and Local JMS Client Access
I have encountered a problem with our JBoss deployment (v 4.2.3) with JBossMQ. I can successfully configure the server to start and and accept connections from local or remote clients but NOT both. [1] The following startup script works fine for remote clients: $JBOSS_HOME/bin/run.sh -Djboss.bind.address=0.0.0.0 -Djava.rmi.server.hostname=10.0.0.100 -Djava.rmi.server.useLocalHostname=false Remote clients can connect with the following JNDI properties: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jboss.naming.client:org.jnp.interfaces java.naming.provider.url=jnp://10.0.0.100:1099 [2] Starting the service this way works fine for local clients: $JBOSS_HOME/bin/run.sh -Djboss.bind.address=0.0.0.0 -Djava.rmi.server.hostname=127.0.0.1 -Djava.rmi.server.useLocalHostname=false java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jboss.naming.client:org.jnp.interfaces java.naming.provider.url=jnp://127.0.0.1:1099 I can't understand why option [1] doesn't work for local clients too. I'm betting the answer is blindingly obvious to someone. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269032#4269032 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployed application steals logging from JBoss. How to p
I do not know of anything in JBoss AS to prevent this - any code can directly manage log4j. I still think you need to confront the originator of app about this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269047#4269047 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Remote and Local JMS Client Access
Why are you setting jboss.bind.address and java.rmi.server.hostname instead of passing -b 0.0.0.0 which should set both? As long as you set java.rmi.server.hostname to something other than 0.0.0.0, RMI connections will be accepted only on the IP address specified (that is, if you say 127.0.0.1, then only localhost can connect, etc.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269052#4269052 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Creating Queues Programaticly
Thanks I'll give that a shot. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269060#4269060 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: source for org.jboss.test.messaging.tools.container.Loca
Guess not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269061#4269061 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Support needed to install and use jBPM
Hi! I opened another topic because I really really need support. I'm trying to install jbpm4.2 and use it but I'm unable. I'm in very hurry, please anyone could help me? I tried to follow many tutorials to install it under jboss but nothing, I tried to learn how to use activity as described in PVM documentation but nothing, I don't know if my computer have some problem, if the documentation that I follow is referred to an old version or if is there some bug that prevent me to use jBPM. I can delete all version of jpbm jboss javajdk eclipse etc from my pc to restart with a clean installation, could you guide me step by step on how I can install and use jbpm? I would like to use the latest version of the programs, but if you are expert of an old version is ok, i'll download the versions of the programs that you suggest me. Please help me, they are two weeks that I try to use it!!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269062#4269062 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Roadmap of JBPM after 3.2
Hello, I think that is not entirely true. Here is a link from Orchestra - http://orchestra.ow2.org/xwiki/bin/view/Main/FAQPVM As a JBPM-BPEL extension user, the message is certainly not clear, it is really confusing. If Bull and JBoss have in fact decided to work together why is it not stated on JBPM site? If PVM is very powerful and next generation engine, why did JBoss decide to spin off new BPEL project on Apache ODE? If this is not the right forum to ask these questions, please let us know who do we contact at JBoss? We have been trying through official channels as we are also interested in JBoss support but haven't heard back anything so far. Thank you, Meghana View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269064#4269064 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Roadmap of JBPM after 3.2
Hi Meghana, At this time there is no BPEL 2.0 effort planned within the jBPM project. As Sebastian points out, the BPEL 2.0 offering of JBoss will include the Riftsaw project, which is based on Apache ODE. As you correctly state, the OW Orchestra project builds on top of the PVM, albeit an older version, which started out as a collaboration between jBPM, Bonita and Orchestra. How you should handle upgrading to a BPEL 2.0 offering (whether Riftsaw or Orchestra) really depends on the particular requirements that you have. Normally it shouldn't be a problem running the jBPM 3 with BPEL 1.1 along either one of the above solutions. Cheers, Koen View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269066#4269066 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Creating persisten queues
I was able to create a queue programmaticly, is there a way to make the queue/topic persistent? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269073#4269073 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: web service called from a portlet
ok that is now resolved View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269075#4269075 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Roadmap of JBPM after 3.2
Thank you Koen and others for taking time to respond to my post. That answers my question for now. Meghana View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269089#4269089 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR
Wolfgang Knauf wrote : Hi, | | in my Properties snippet, there is one thing you have to replace with your own config: the j2ee.clientName should be declared in your jboss-client.xml file. | But you don't need this line if you don't want to use the ENC for lookup. | | What do you mean with sun server lib? Is your client actually a ejb app in a sun app server? | | It seems that you are missing big conceptual parts of EJB3. So I would advice you (as Jaikiran already did) to take the time and read a good book or at least some EJB tutorials ;-). | | Best regards | | Wolfgang Hi Sir, Thank u for ur reply!! My client is an ejb application:and this it: | package ClientBeans; | | | | import java.util.Iterator; | import java.util.List; | import java.util.Properties; | | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import de.laliluna.library.Hotel; | import de.laliluna.library.HotelTestBean; | import de.laliluna.library.HotelTestBeanRemote; | | | public class ClientA { | | /** | * @param args | */ | | | | | public static void main(String[] args) { | | // Context context; | | | | | try | { | | Properties props = new Properties(); | props.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | props.setProperty(Context.URL_PKG_PREFIXES, org.jboss.naming.client); | props.setProperty(Context.PROVIDER_URL, jnp://localhost:1099); | // props.setProperty(j2ee.clientName, ClientNameFromJBossClientXML); | | InitialContext initialContext = new InitialContext(props); | | | | | | | //context = new InitialContext(); | | HotelTestBeanRemote beanRemote = (HotelTestBeanRemote) initialContext.lookup(HotelTestBean/local); | | beanRemote.test(); | | | | } catch (NamingException e) | { | e.printStackTrace(); | | throw new RuntimeException(e); | } | | | | | } | | } | I have an error when i start my jboos server , sop that's why the client can't be executed and this it: | | 04:38:38,232 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#sample state=Create | javax.persistence.PersistenceException: [PersistenceUnit: sample] Unable to build EntityManagerFactory | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) | at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at
[jboss-user] [Performance Tuning] - Re: Performance JBoss 4.2.3 compared to JBoss 4.0.2
It is difficult to give general number of expected throughput. It depends on your application, what it is, how it is built, the system on which it runs, how everything is configured etc. In your case, you definitely need to increase the permgen space. This should remain stable once all parts of your application have run at least once (as long as you don't redeploy). Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269098#4269098 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Problem to run jBPM under jBoss and searching for PVM do
Try adding the mysql driver jar manually to the classpath. This is missing in 4.2 (and there is a jira issue for it) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269100#4269100 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Support needed to install and use jBPM
-Silver- Posts like this won't get you much help. Saying that the manual (that everybody uses) does not work for you without giving information about the errors is not enough. I'm also sorry you have been working on this for two weeks. See my response in the other post View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269102#4269102 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Problem to run jBPM under jBoss and searching for PVM do
Oh, and about 2: It's not an Artificial Neural Network, it's based on superposition and entanglement and touches on EPR But on a more serious note, it is an advanced statemachine for process graphs. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269104#4269104 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Roadmap of JBPM after 3.2
Hmmm even I learned something. I only knew Bonita (XPDL) as implemented on the PVM... Cool to know View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269106#4269106 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Entity variable
It can be saved by jBPM if it is serializable. Other options will be worked out in future releases of jBPM. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269107#4269107 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Cannot call JBoss web service through intermediary (soapUI).
Hello, I'm having a bit of an odd problem. I have deployed a dummy JbossWS web service onto JBoss AS 5.0.1 and developed a client for it using Axis 1.5. This works fine. I then loaded up soapUI and pointed it to my web service and ran the test suite. Again, everything worked. However, when I attempt to connect through a soapUI mock service, I get an Missing operation for soapAction [http://hello.ws.com/HelloWorld/helloRequest] and body element [{http://hello.ws.com/}hello] with SOAP Version [SOAP 1.1] error. The WSDL's for the two web services are identical except that the one deployed by soapUI prefixes with ?xml version=1.0 encoding=UTF-8 ? while the version created by JBoss has no XMLDecl element. I'm not sure if this is a JBossWS, Axis or SoapUI, but I figured I'd try here first. Any one encountered anthing like this before? soapUI error: | org.apache.axis2.AxisFault: Missing operation for soapAction [http://hello.ws.com/HelloWorld/helloRequest] and body element [{http://hello.ws.com/}hello] with SOAP Version [SOAP 1.1] | at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:517) | at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371) | at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417) | at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) | at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) | at com.ws.hello.HelloWorldServiceStub.hello(HelloWorldServiceStub.java:181) | at com.test.TestHelloWorld.testHello(TestHelloWorld.java:27) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) | at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) | at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) | at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) | at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) | at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) | at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) | at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) | at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) | at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) | at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) | at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) | at org.junit.runners.ParentRunner.run(ParentRunner.java:220) | at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) | The web service: | package com.ws.hello; | | import javax.jws.WebService; | | | @WebService | public class HelloWorld { | public String hello(String name) { | return Hello +name; | } | } | The client: | package com.test; | | import java.io.IOException; | import java.rmi.RemoteException; | | import org.junit.BeforeClass; | import org.junit.Test; | | import com.ws.hello.HelloWorldServiceStub; | import com.ws.hello.HelloWorldServiceStub.*; | | public class TestHelloWorld { | private static HelloWorldServiceStub stub; | | @BeforeClass | public static void initialize() throws IOException{ | stub = new HelloWorldServiceStub(); | } | | @Test | public void testHello() throws RemoteException{ | Hello h = new Hello(); | h.setArg0(World); | HelloE e = new HelloE(); | e.setHello(h); | | HelloResponse r = stub.hello(e).getHelloResponse(); | System.out.println(r.get_return()); | } | } | The Axis log (long): | -
[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa
Wolfgang Knauf wrote : Hi, | | see http://www.jboss.org/community/wiki/EJB3relationships and search for your error message cannot simultaneously fetch multiple bags. | | Hope this helps | | WolfgangtHANK U MR KNAUF: all this error disappeared but when i run the client class i have this errors: | 18:21:20,877 DEBUG TimedSocketFactory:87 - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0 | javax.naming.NameNotFoundException: HotelTestBean not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) | at org.jnp.server.NamingServer.getObject(NamingServer.java:785) | at org.jnp.server.NamingServer.lookup(NamingServer.java:396) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) | at sun.rmi.transport.Transport$1.run(Unknown Source) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) | at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) | at sun.rmi.server.UnicastRef.invoke(Unknown Source) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682) | at javax.naming.InitialContext.lookup(Unknown Source) | at ClientBeans.ClientA.main(ClientA.java:54) | Exception in thread main java.lang.RuntimeException: javax.naming.NameNotFoundException: HotelTestBean not bound | at ClientBeans.ClientA.main(ClientA.java:64) | Caused by: javax.naming.NameNotFoundException: HotelTestBean not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) | at org.jnp.server.NamingServer.getObject(NamingServer.java:785) | at org.jnp.server.NamingServer.lookup(NamingServer.java:396) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) | at sun.rmi.transport.Transport$1.run(Unknown Source) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) | at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) | at sun.rmi.server.UnicastRef.invoke(Unknown Source) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682) | at javax.naming.InitialContext.lookup(Unknown Source) | at ClientBeans.ClientA.main(ClientA.java:54) | Help PLEASE!!! THANK YOU SO MUCH!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269112#4269112 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Error with registering a RESTeasy Providerfactory
You are mixing Jersey and RESTEasy. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269113#4269113 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - why would version == SocketWarpper.CLOSING ?
What would cause the version read over the wire to be SocketWrapper.CLOSING? Specifically, I'm looking at MicroSocketClientInvoker, line 629-ish from Remoting 2.2.2.SP8: if (version == SocketWrapper.CLOSING) | { |log.debug(Received version 254: treating as end of file); |throw new SocketException(end of file); | } I'm sending a message from a client, and I see no reason why this should be failing, but it does. The failure is due to that exception getting thrown above. I'm not sure what it means or what could cause it to happen. Any tips would be appreciated. :} View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269116#4269116 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: why would version == SocketWarpper.CLOSING ?
FWIW, I did read: http://www.jboss.org/index.html?module=bbop=viewtopicp=4134761#4134761 but this is happening consistently - its not like its a socket timeout or it does this sporadically. This happens every time I try to send a message in this one particular place in my code (where everywhere else, it is working). I'm trying to find out what's different between the code that works and the code that doesn't. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269117#4269117 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: why would version == SocketWarpper.CLOSING ?
Hi John, SocketWrapper.CLOSING should be sent only when a ServerThread shuts down and closes its socket. What's going on on the server side? -Ron View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269119#4269119 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: why would version == SocketWarpper.CLOSING ?
Ron, Ah.. I see it. On the server side, the message was received, but the de-serialization of one of my incoming objects within the message failed. Hence, the server socket closes immediately and hence why I get the error that I do on the client side. This looks like its a problem on my end. In short, I need to make sure I send an object that is de-serializable on the server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269120#4269120 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: why would version == SocketWarpper.CLOSING ?
http://www.fortunecity.com/lavender/tombstone/839/simpsons/Monty_excellent.wav View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269121#4269121 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user