[jboss-user] [jBPM Users] - SQLException throws after changing C3P0 configuration
Hi All, We are developing a work flow based system using JBPM 3.1.4, Struts and Hibernate 3. All is working good until we changed some configuration to implement the Threading and C3P0 for concurrent users. The configuration for this in hibernate.cfg.xml is as below: | jdbc:oracle:thin:@:1521:orcl | username | pass | thread | org.hibernate.connection.C3P0ConnectionProvider | | | org.hibernate.cache.EhCacheProvider | true | false | | 4 | 4 | 5000 | 0 | 300 | 1 | | There are two types of errors throwing after implementing the same, 1) Closed ResultSet : Error Console for the error is as below: | | java.sql.SQLException: Closed Resultset: next | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222) | at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:916) | at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:181) | at com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2859) | at com.elitecore.workorder.subscriberapplication.dao.SubscriberApplicationDao.getSearchedGroupCusto | merByCustomerId(SubscriberApplicationDao.java:739) | at com.elitecore.workorder.subscriberapplication.manager.BulkNewProvisionManager.getSearchedGroupCu | stomerByCustomerId(BulkNewProvisionManager.java:321) | at com.elitecore.workorder.subscriberapplication.action.SearchCustomerAction.searchGroupCustomer(Se | archCustomerAction.java:121) | 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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) | at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170) | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) | at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.elitecore.workorder.jbpm.session.JbpmSessionConversationFilter.doFilter(JbpmSessionConversat | ionFilter.java:78) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | | The code snap for the same is : | JbpmContext jbpmContext = JbpmContextManager.getJbpmContext(); | PreparedStatement pst = null; | StringBuffer sbQuery = new StringBuffer(); | | sbQuery.append("select DISTINCT c.id,c.clientName,c.clientTitle, c.PANGIRNO,c.headquarteraddressid, "); | sbQuery.append("c.customerid,c.PANGIRNO from tblmclient c "); | | if(accessLevel !=null && accessLevel.equalsIgnoreCase("LDCA")){ | sbQuery.append("join tbltassignedlocation al on al.locationtypeid=C.ldcabcaid "); | }else if(accessLevel !=null && accessLevel.equalsIgnoreCase("Region")){ | sbQuery.append("join tbltassignedlocation al on al.locationtypeid=C.regionid "); | | }else if(accessLevel !=null && accessLevel.equalsIgnoreCase("Circle")){ | sbQuery.append("join tbltassignedlocation al on al.locationtypeid=c.circleid "); | } | sbQuery.append("where upper(c.customerid) like (?) "); | sbQ
[jboss-user] [Installation, Configuration & Deployment] - Re: Proxy Configuration
Hello Wolfgang, I still have the 407 Error Code :/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266688#4266688 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: End tasks in a Fork
Finally have figured out the problem: dropped token.signal() from my custom controller's submitTaskVariables. Thanks for help, Santanu, really appreciate that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266684#4266684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: End tasks in a Fork
Hi Alla, I am not able to reproduce the problem. This is Jpdl I executed: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And after execution of task1 when I ask for the current unfinished tasks I get task2 only. Below is the log I am getting: 09:12:55,546 DEBUG GraphElement:170 - event 'task-end' on 'Task(Task 1)' for 'Token(/to-task-1)' 09:12:55,546 DEBUG GraphElement:170 - event 'task-end' on 'Task(Task 1)' for 'Token(/to-task-1)' 09:12:55,546 DEBUG TaskInstance:484 - completion of task 'Task 1' results in taking the default transition 09:12:55,546 DEBUG TaskInstance:484 - completion of task 'Task 1' results in taking the default transition 09:12:55,546 DEBUG GraphElement:170 - event 'before-signal' on 'TaskNode(task-node1)' for 'Token(/to-task-1)' 09:12:55,546 DEBUG GraphElement:170 - event 'before-signal' on 'TaskNode(task-node1)' for 'Token(/to-task-1)' 09:12:55,546 DEBUG GraphElement:170 - event 'node-leave' on 'TaskNode(task-node1)' for 'Token(/to-task-1)' 09:12:55,546 DEBUG GraphElement:170 - event 'node-leave' on 'TaskNode(task-node1)' for 'Token(/to-task-1)' 09:12:55,562 DEBUG GraphElement:170 - event 'transition' on 'Transition(to-the-end)' for 'Token(/to-task-1)' 09:12:55,562 DEBUG GraphElement:170 - event 'transition' on 'Transition(to-the-end)' for 'Token(/to-task-1)' 09:12:55,562 DEBUG GraphElement:170 - event 'node-enter' on 'Join(join1)' for 'Token(/to-task-1)' 09:12:55,562 DEBUG GraphElement:170 - event 'node-enter' on 'Join(join1)' for 'Token(/to-task-1)' 09:12:55,562 DEBUG Join:115 - forcing version increment on parent token Token(/) 09:12:55,562 DEBUG Join:115 - forcing version increment on parent token Token(/) Hibernate: update JBPM_TOKEN set VERSION_=? where ID_=? and VERSION_=? 09:12:55,578 DEBUG Join:206 - join will not yet reactivate parent: found concurrent token 'Token(/to-task-2)' 09:12:55,578 DEBUG Join:206 - join will not yet reactivate parent: found concurrent token 'Token(/to-task-2)' 09:12:55,578 DEBUG GraphElement:170 - event 'after-signal' on 'TaskNode(task-node1)' for 'Token(/to-task-1)' 09:12:55,578 DEBUG GraphElement:170 - event 'after-signal' on 'TaskNode(task-node1)' for 'Token(/to-task-1)' I see nothing abnormal there as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266683#4266683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: Unabled to return specified bean factory in web applicat
OK, so we solved the parent application context lookup problem. The next one is a classloader problem: org.springframework.beans.factory.BeanFactory is an interface and org.jboss.spring.factory.NamedXmlApplicationContext implements it, but I suspect you also have Spring bundled inside your war and that confuses the classloader. One thing I would try would be to remove the spring jars from both the deployer and the war and put them in your /lib folder (e.g. default/lib or whatever). Thus, both the deployer and your web application will use the same version of the classes (in the CL sense). Hope that helps, Marius View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266682#4266682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Re: how to create PersistenceUnit and map to dataSource prog
Thanks for help. Is the persistence unit name required to be defined in a persistence.xml? what is the property name for data source in the map? Thanks! Dave View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266681#4266681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: Unabled to return specified bean factory in web applicat
Marius, Thank you so much. With the changes as you suggested, I am moving forward one more step further, but still got the following exception. [CODE] 2009-11-19 20:15:58,943 INFO [STDOUT] 20:15:58,943 ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [mainApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'mainApplicationContext' must be of type [org.springframework.beans.factory.BeanFactory], but was actually of type [org.jboss.spring.factory.NamedXmlApplicationContext] at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:410) at org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:341) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:195) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [/CODE] The bean factory retrieved from JNDI is not the expected type. As I mentioned in the original request, the binded bean in JNDI by spring deployer is [CODE] MySpringBean org.jboss.spring.factory.NamedXmlApplicationContext [/CODE] Why the spring deployed put NamedXmlApplicationContext into JNDI instead of Spring Bean factory? Did I do something wrong? Or there is any special configuration needed in my jboss-spring.xml (the spring context file of my spring archive)? Thanks, Ivan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266678#4266678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Examples Using Topic
Are there any recent tutorial/examples on using JMS queues and topics with in JBOSS? I've found serveral but all seem to have issues finding NamingContextFactory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266675#4266675 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Configuring JBoss to use Microsoft ADAM(LDAP) for authentica
OK guys, We're having issues with login, while attempting to use Microsoft ADAM(LDAP) with JBoss 4.2.3. Is anyone else using ADAM as an authentication layer? I can't tell if JBoss is attempting to lookup an account via ADAM. The only references that I can find are with Microsoft AD, and JBoss Portal. http://www.jboss.org/community/wiki/ConfigurePortalForMicrosoftActiveDirectory http://blog.jboss-portal.org/2007/06/ldap-support-tutorial-for-jboss-portal.html Please advise. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266674#4266674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: Unabled to return specified bean factory in web applicat
Hi Ivan, Try creating an xml called beanRefContext.xml and place it on the classpath - eg. inside WEB-INF/classes - you need that for the ContextSingletonBeanFactoryLocator. Place your element inside that xml and remove it from the web context definition. BTW - using classpath*:*.xml may not be such a good idea, since the XmlWebApplicationContext will try to use any xml on the classpath as a Spring definition (at the very least, try to create a pattern that is somehow unique to your application). For example, in this case it will load beanRefContext.xml too (which is completely useless, albeit inoffensive). Cheers, Marius View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266672#4266672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: Unabled to return specified bean factory in web applicat
Thank you so much for the quick reply. I have same feeling about JDNI lookup. But what is the correct way to retrieve it? Is there any example of retrieving deployed bean from web app? Thanks, Ivan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266671#4266671 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Web server configuration will not start...
I'm having the same problem with 4.2.3GA when I try to start it in eclipse. I can see in the console that the server has started. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266670#4266670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: Unabled to return specified bean factory in web applicat
My first guess would be that you're using jndi-lookup wrong. Dunno otherwise why it would call your mainAppContext a bean here: anonymous wrote : | org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'mainApplicationContext' is defined | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=429#429 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.1 Problems running the Demo package
To fix this problem when running with Oracle db make sure the classes12.jar and ojdbc14.jar are in the System CLASSPATH. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=426#426 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Unabled to return specified bean factory in web application
Hi, I am using jboss JBoss 4.2.2GA release, and want to deploy some common spring beans and make them available to all other web services or EJBs within same jboss environment. It seems that jboss spring deployer is a good choice. I downloaded deployer version 2, then created some simple test. The MySrpingBean.spring can be deployed on jboss properly proved by the following lines in jboss log: Bean factory [MySpringBean] binded to local JNDI And I also saw the following information from jboss jmx-console JNDI view: MySpringBean org.jboss.spring.factory.NamedXmlApplicationContext Basically, all above indicated my spring has been deployed and registered into local JDNI. However, when I created a simple web application to retrieve it. I got the following exception: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [mainApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'mainApplicationContext' is defined at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:410) at org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:341) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:195) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) 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:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(M
[jboss-user] [JBoss Cache Users] - Re: Problem with marshalling object.
Is there any solution to this issue? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266659#4266659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Unable to re-publish war to jboss without restart (Spring 3,
Hello, This was posted on the Spring forums, but we're not sure if it's a problem related to our project setup or jboss.. so hopefully one of these two sites can help shed some light! We have a project using Spring 3.0.0 RC1 with Hibernate 3, running on JBoss 4.2.2.GA, and have a small but annoying issue republishing the war. Every time we do, we receive the following error and must restart the container. Once it has been restarted, it initializes everything fine. We are hoping to eliminate the task of restarting the container every time we make a change and republish. There appears to be an issue injecting the session factory the second time around. 10:15:44,296 INFO [STDOUT] [DEBUG] 10:15:44 org.hibernate.cfg.AnnotationConfiguration - Process hbm files | 10:15:44,296 INFO [STDOUT] [DEBUG] 10:15:44 org.hibernate.cfg.AnnotationConfiguration - Process annotated classes | 10:15:44,296 INFO [STDOUT] [ INFO] 10:15:44 org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.defaultlistablebeanfact...@10d2cf0: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,disDao,trPlDao,disService,trPlService,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.beans.factory.config.PropertyPlacehol! derConfigurer#0,dataSource,sessionFactory,transactionManager]; root of factory hierarchy | 10:15:44,312 INFO [STDOUT] [DEBUG] 10:15:44 org.springframework.beans.factory.support.DisposableBeanAdapter - Invoking destroy method 'close' on bean with name 'dataSource' | 10:15:44,312 INFO [STDOUT] [ERROR] 10:15:44 org.springframework.web.context.ContextLoader - Context initialization failed | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'disDao' defined in file [C:\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp6306950577408655593PathwaysCAS-exp.war\WEB-INF\classes\main\java\com\\pcas\repository\DisDaoImpl.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.SessionFactory]: : Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/pcas-data.xml]: Invocation of init method failed; nested exception is java.lang.reflect.UndeclaredThrowableException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/pcas-data.xml]: Invocation of init method failed; nested exception is java.lang.reflect.UndeclaredThrowableException | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:698) | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:192) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:978) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:880) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450) | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:289) | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188) | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:543) | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:730) | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:387) | at org.springframework.web.context.ContextLoader.creat
[jboss-user] [EJB 3.0 Users] - Re: Resolve an EJB Module Remote or Local type in a web appl
Thaks a lot this conf work also with JBoss Tools View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266647#4266647 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Resolve an EJB Module Remote or Local type in a web appl
Thaks; "Wolfgang Knauf" wrote : | do you use Eclipse Web Tools Platform or JBoss Tools? | I'm using JBoss Tools View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266644#4266644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: login failed in jbpm console
Please read the documentation. If you have set up the example identities you can use them to login to the jBPM-console or any other user you have set up manually in the database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266642#4266642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Re: ConcurrentModificationException during JBoss 5.0.1.GA st
It seems I screwed up when uploading 2.1.6.GA, I'll try to do that tomorrow. However, 2.1.5.GA should also contain the bug fix. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266641#4266641 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Signavio design modeler
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266640#4266640 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process variables and Process Instances
AFAIK it is not possible via the API right now. There was a request like this a couple of weeks ago in the forums, I think. Some people argued that it would be hard to maintain indexes for searches like this and some others argued that for real life usage it would be necessary. Please search the forum and JIRA. Maybe you can achieve what you want to do by using a custom Hibernate query for instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266639#4266639 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - custom cacheloader - howto?
I'd like to write custom CacheLoader retrieving data via HTTP. I've started with dummy implementation ettending AbstractCacheLoader but I'm still not sure what should return from Map get(Fqn fqn) {...} I wanted it to return constant value set by cacheloader config but when I read the result in my junit test, it's always null. Please can you explain or, even better, give me some simple example ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266636#4266636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - JBoss 6.0.M1 and ejb 3.1 (JSR 318)
i found jboss 6.0.1.M1 for download here : http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-5.x-sun16/ Does this jboss ejb 3.1(JSR 318) supported ??? Regards, Paata Lominadze, Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266634#4266634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jBPM-3.2] - org.jbpm.graph.def.Node Classs
| String deploymentId = repositoryService.createDeployment().addResourceFromString("xmlstring.jpdl.xml", workFlowXml).deploy(); | //now we query the process definition | ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery().deploymentId(deploymentId).uniqueResult(); | I think the way you are getting deployment is correct. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266632#4266632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Re: ConcurrentModificationException during JBoss 5.0.1.GA st
Hi Everybody! I am having the same problem!! http://www.jboss.org/index.html?module=bb&op=viewtopic&t=163972 The last stable version is with a problem to download ERROR: No such category: jboss-aop-2.1.6.GA.zip Someone have other link? Also, This must be compiled? can anyone give me some instruction or manual about how to install / upgrade this on jBoss? PS: i not developer, i'm the operations guy =)) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266631#4266631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Issue with jbpm 4.2 -> designer plugin in eclipse
You have to mention explicitly in the xml file in jBPM 4.X where as in jBMP3.x we can do it with GPD tool View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266630#4266630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266630 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jBoss AS 5.1 Cluster - Problem 01
Many Thanks for the help! =) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266629#4266629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266629 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Signavio design modeler
I want to use signavio to design the work flow i have followed the developer guide 17.2. Installation There are several ways of installing Signavio into your web container: Use the demo.setup.jboss/tomcat scripts in $jbpm_home/install Use the install.signavio.into.jboss/tomcat scripts in $jbpm_home/install Copy the $jbpm_home/install/src/signavio/jbpmeditor.war to your web container But i am unable to open in the browser. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266628#4266628 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - login failed in jbpm console
I am not able login into the jbpm console. I have deployed the gwt-jbpm-console.war file in the server when can i find the authentication details in server? Thanks harish View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266625#4266625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266625 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Process variables and Process Instances
how can we get the process instance when you pass process variables associatd with it ?I mean when we pass the process variable i need to get the process instance associated with it .is there any query to get it ? please mention the query if we have one. Thanks harish View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266624#4266624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - soap calls over SSL
I have a jboss web service that is calling another jboss SSL web service via SOAP. How does the calling web service need to be configured? What does it need as far as a keystore, truststore, or jboss configuration? I'd like to set up the calling web service's JVM to perform the work, so that the application code doesn't require certificate configuration. There is plenty of documentation on how to configure a web service to be accessed by a browser, but I cannot locate documentation on this scenario. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266619#4266619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Linkage error when packaging metro
I added an entry to jboss-web.xml, but still get errors below. Help Please ;) com.example:archive=petersLoader java2ParentDelegation=false 12:25:04,853 INFO [http] WSSERVLET12: JAX-WS context listener initializing 12:25:05,462 SEVERE [http] WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:224) at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:61) at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:127) at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:79) at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:152) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266615#4266615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jBPM-3.2] - org.jbpm.graph.def.Node Classs
Thanks for your reply I am not sure how to get ProcessDefinition (like from which class etc..). But i am able to get the deployments by using the below code. String lDeploymentID = lRepositoryService.createDeployment().setName(workflowname).addResourceFromString("xmlstring.jpdl.xml", lWorkflowXML).deploy(); List deployments = RepositoryService.createDeploymentQuery().deploymentDbid(Long.parseLong(lDeploymentID)).list(); Is this the correct way to get the specific deployment from db? Also how can i get the ProcessDefinition object once deploy the xml string? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266610#4266610 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: TimerService Restart Issue
Try our latest EJB3 plugin http://www.jboss.org/ejb3/ejb3plugin.html against AS-5.1.0. The latest download is available here http://www.jboss.org/ejb3/downloads.html If the latest plugin too doesn't solve your issue then please post the entire details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266605#4266605 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - jbossws does not emit xml declaration on soap response
Hi, I'm trying to implement a webservice for a Microsoft Office protocol. It identifies itself as User-Agent: SOAP Toolkit 3.0. However I can't get it to work and now I've been able to decode the acctual SSL traffic. I'm comparing what my service responds with a working service. The only difference I can see (except for the server header and some X- headers which shouldn't matter is that JbossWS starts the soap response like this: while Microsoft-IIS/7.0 starts it like this: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> I'd be supprise if it's the namespace declarations (soap, xsi and xsd vs env) that cause the problem, although may be. Apart from that the difference is that IIS emits a xml declaration and it use double quote for the namespace declaration in envelope while JbossWS use single quote. Is it possible to configure JbossWS to output like IIS in this case? Any experience on interoperability on this user agent with JbossWS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266597#4266597 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Web server configuration will not start...
Did not try earlier versions ;) Ultimately - i moved passed by startiing with standard, and ripping out stuff. I have not troubleshot what exactly the diff is between my custom web, and the 5.1 provided web. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266594#4266594 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: How to disable Transfer-encoding: chunked from server si
Pls disregard from this post, I've now been able to decode the SSL traffic that the acctual client use and Transfer-encoding: chunked is not used. I see another thing though that I'll might get back to you about after investigating some more. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266589#4266589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: TimerService Restart Issue
I've just had a similar issue with Timer and EJB injection, at application redeploy / server restart. Direct JNDI lookup didn't work out as well. What I did is a partial workaround - I switched to timer start thru MBean in sar module and I do reset all the timers in MBean stop() method. This way I don't get any perstent timers kept but there's no any classloader / "Could not dereference object" errors at new timers creation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266587#4266587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266587 ___ 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
One way to debug may be to put a breakpoint in Hibernate SessionImpl.close() method. And then look down the stack to find out what has resulted in that close call. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266583#4266583 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Getting persistence units programatically for JTA
Hello, I'm developing an application and I have to use the same JPA beans in multiple databases in the same application. The solution that I've thought is to create various persistence units, one for every database and use them in my beans. The problem of this approach is that I cannot use the @PersistenceContext or @PersistenceUnit annotations since the persistence unit for those elements is fixed and I need to get it programatically. On every request I have to decide which database to use. I tried using the Persistence.createEntityManagerFactory call in my EJB but it fails because my datasource (and my persistence unit) are configured to use JTA and I get the error: Caused by: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager I could configure them as RESOURCE_LOCAL but I'm only going to use them in EJBs and I'd like to have automatic transaction management, and so, I want JTA. I don't know if that's possible. Has anybody managed to get it? Do I have to loose JTA? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266582#4266582 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Re: how to create PersistenceUnit and map to dataSource prog
The only solution that I've found is to create the Entity Managers (and factories) through the Persistence.createEntityManagerFactory method passing it a Map with the JNDI direction of the new datasource. You can also pass the datasource connection information by hibernate properties in the same map. See: http://docs.jboss.org/hibernate/stable/entitymanager/reference/en/html/configuration.html In the section 2.2.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266579#4266579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Creating LDAP, URL and JMS resources
I am trying to create resources for example like URL, LDAP and JMS. Can some one point to me the documentation on how to create these different resources. Thanks in advance . Anant View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266569#4266569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jBoss AS 5.1 Cluster - Problem 01
I would actually recommend that you post this in the other thread that i pointed you to. The AOP team might have inputs on what needs to be done. Maybe this error message could probably even be ignored. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266563#4266563 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Prevent EJB deployment with sar
"Falcor1" wrote : | | I do realize that I could produce 2 separate jars, one with interfaces only and one with implementation. | | That seems like a bit of a maintenance hassle though and complicates the build process. | | It's not about a maintenance hassle, it's actually the right way to do it. The .sar is a client of the EJB and hence should only have the bean interfaces and not the implementation class. Including the implementation class is equivalent to deploying a new bean. "Falcor1" wrote : | Another downside is that @Stateless defaults the mapped name attribute to the implementation class, so the clients of my stateless session beans look them up by using | | Implementation.class.getSimpleName() + "/remote" | | I guess I could explicitly set the mapped name to the interface, but again thats more work and more maintenance. Yes, that's the default. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266562#4266562 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266562 ___ 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
I had DBIdGenerator in my config , i rolled back everything to see whats causing the problem .. May be i had id-generator in my config + hibernate-configuration as you said. Not sure if this was causing the Spring session to be closed after creating id ? I will try it and let you know .. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266561#4266561 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Proxy Configuration
Hi, you might give this a try: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57390 But it seems that "http.proxyUser" and "http.proxyPassword" are not java networking standard. It depends on the module which tries to connect to the internet whether it supports them or not. So, what part fails? Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266560#4266560 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - How to disable Transfer-encoding: chunked from server side?
I have a problem to access a web service on jbossws from a client with User-Agent: SOAP Toolkit 3.0 (Microsoft Office). I've compared the messages on soap level with a service that works and they are the same. The only difference I can see is that jbossws's response use Transfer-encoding: chunked which the other doesn't. Information I found indicates that this client can't handle chunked encoding. I found in your wiki how to disable it from client side but nothing about server sida. Is there a way? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266557#4266557 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jBoss AS 5.1 Cluster - Problem 01
The last stable version is with a problem to download ERROR: No such category: jboss-aop-2.1.6.GA.zip Someone have other link? THis must be compiled? can anyone give me some instruction? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266556#4266556 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Re: aop.xml to pass parameters to interceptor
Was just reading the reference manual and the schema, realised should prbably be done that way. Should have done that first!! Thanks for the reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266555#4266555 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Re: aop.xml to pass parameters to interceptor
| | | | MockEmailer | | | mock-jpa-helper | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266553#4266553 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - End tasks in a Fork
My process is a fork with two task nodes and a join. I trigger the process to start both tasks and then end each of them. During the execution of end() on task 1, the task is being submitted and then immediately re-instantiated. So when the token is at the join, I still have a freshly created task 1 pending in the actor's queue. Also, it seems like though 'task-end' is called on the child token, the root token proceeds with 'node-enter' on the same task. Here's the process definition: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here's the snippet of the execution: | | ProcessInstance processInstance = new ProcessInstance(processDefinition); | | Token token = processInstance.getRootToken(); | assertEquals("start", token.getNode().getName()); | | token.signal(); | | Map childTokens = token.getActiveChildren(); | assertTrue(childTokens.size() > 0); | | final Iterator iterator = childTokens.values().iterator(); | Token oneBranchToken = iterator.next(); | TaskMgmtInstance taskManagementInstance = oneBranchToken .getProcessInstance().getTaskMgmtInstance(); | Collection taskInstances = | taskManagementInstance.getUnfinishedTasks(oneBranchToken ); | TaskInstance taskInstance = taskInstances.iterator().next(); | taskInstance.end(); | | jbpmContext.save(processInstance); | Here's the debug log snippet that shows task 1 being submitted and then immediately initialized again: 08:48:11,091 DEBUG|main|: [GraphElement:fireEvent:179] event 'after-signal' on StartState(start) for Token(/) 08:48:11,091 DEBUG|main|: [GraphElement:fireEvent:179] event 'task-end' on Task(Task 1) for Token(/to-task-1) 08:48:11,091 DEBUG|main|: [Controller:submitTaskVariables:23] -current node::Task 1 08:48:11,091 DEBUG|main|: [GraphElement:fireEvent:179] event 'before-signal' on Fork(fork1) for Token(/) 08:48:11,091 DEBUG|main|: [GraphElement:fireEvent:179] event 'node-leave' on Fork(fork1) for Token(/) 08:48:11,091 DEBUG|main|: [GraphElement:fireEvent:179] event 'transition' on Transition(to-task-1) for Token(/) 08:48:11,091 DEBUG|main|: [GraphElement:fireEvent:179] event 'node-enter' on TaskNode(task-node1) for Token(/) 08:48:11,107 DEBUG|main|: [Controller:initializeTaskVariables:17] -current node::Task 1 08:48:11,107 DEBUG|main|: [GraphElement:fireEvent:179] event 'task-create' on Task(Task 1) for Token(/) 08:48:11,107 DEBUG|main|: [TaskInstance:setActorId:258] assigning task 'Task 1' to 'analyst' 08:48:11,107 DEBUG|main|: [GraphElement:fireEvent:179] event 'task-assign' on Task(Task 1) for Token(/) 08:48:11,107 DEBUG|main|: [GraphElement:executeAction:271] executing Action(Task 1) 08:48:11,107 DEBUG|main|: [Token:lock:748] token[2489] is locked by token[2489] 08:48:11,107 DEBUG|main|: [Mail:send:189] skipping mail because there are no recipients 08:48:11,122 DEBUG|main|: [Token:unlock:765] token[2489] is unlocked by token[2489] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266552#4266552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Prevent EJB deployment with sar
The sar contains the class files for the MBean interface and implementation, it also contains a jar file that has the stateless bean interfaces and the implementations with @Stateless annotation. I do realize that I could produce 2 separate jars, one with interfaces only and one with implementation. That seems like a bit of a maintenance hassle though and complicates the build process. Another downside is that @Stateless defaults the mapped name attribute to the implementation class, so the clients of my stateless session beans look them up by using Implementation.class.getSimpleName() + "/remote" I guess I could explicitly set the mapped name to the interface, but again thats more work and more maintenance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266549#4266549 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - aop.xml to pass parameters to interceptor
Hi All, I'm experiencing behaviour that seems bizarre to me, hoefully someone can explain it to me. aop.xml | | | | | | MockEmailer | | | | | | mock-jpa-helper | | | | | So i'm using AOP to mock out certain calls when unit testing. I thought I could use a GenericInterceptor and pass it different attributes, shown in aop.xml. However this is not the behaviour I'm experiencing. Although I'm intercepting the CardJPAHelper constructor, the mockObjectName set in the GenericInterceptor is "MockEmailer". Apparently it is the first entry in aop.xml that sets the mockObjectName, I have verified this by changing the order they appear in the xml. Have I misunderstood how to define the pointcut in aop.xml? Any help appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266548#4266548 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process Instace is created - But not able to see that in
i'm working with the 3.2.6sp1 and then i deploy a processdefinition, and create the session the same as swatis, i can't see the instance process image on the jbpm console. how can i deploy de process from java with the process image? thanks, noicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266543#4266543 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: nested forks
Thank you very much for the contribution, both solutions worked. in the end I did was change the line that You mentioned earlier, concurrentRoot = execution.getParent (); by concurrentRoot = execution; and it worked perfectly Thank you very much ;) Greetings View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266536#4266536 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Web server configuration will not start...
does it work with other versions of AS or is it 5.1.GA specfific ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266531#4266531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: message publishing to stopped topic
Do you have any test to reproduce this? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266529#4266529 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - jboss + resource factories
Im trying to configure a custom resource factory explained in: http://www.jboss.org/file-access/default/members/jbossweb/freezone/docs/latest/jndi-resources-howto.html#Adding Custom Resource Factories but it doesn´t work in jboss 4.2.3 How can i register an objectFactory in jboss 4.2.3? Thank you in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266525#4266525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Exclude EJB from global SecurityDomain?
Hi Wolfgang, Thanks for your hints. However, as you suspected, these settings still require previous authentication. I believe the best workaround would be to create a separate EJB module for the UserService so it can have a default security domain different from the one used in the rest of the application. The only other solution that comes to my mind is to completely remove the default security domain and use bean level annotations. The risk of forgetting to add them to new beans is high so I'll go for the two module approach. Dennis View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266524#4266524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - JBossPortal and sticky_session on load balancing
Hi all, I use JBossAS 4.2.3 and JBossPortal 2.6.8. I have 2 JBossAS with JBossPortal as producer load balanced with mod_jk (with sticky_session activated). And another JBossAS with JBossPortal as consumer. The pb is that actions and render are balanced on different server. I think the solution is to use initCookie but i don't know how to configure JBossPortal producers to require cookie ??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266523#4266523 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - Re: Custom resource factory accessible through JNDI
Did you find a solution?] thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266522#4266522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Exclude EJB from global SecurityDomain?
Hi Dennis, I don't know whether this is possible, but there are two things I would try: 1) take a look at the "@PermitAll" annotation for the ejb methods (or the "unchecked" element in "ejb-jar.xml"). 2) There is a "@RunAs" annotation, but probably this also invokes your login module. Hope that one of them helps. Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266518#4266518 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: jndi, rebind, java.io.NotSerializableException
Ok, i copy/pasted the class in my webapp. This works now without dependencies to JBoss, thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266512#4266512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [JBPM4] Multiple Assignment of a task in jBPM4
This JIRA suggestion is related to this. Don't forget to vote for it. https://jira.jboss.org/jira/browse/JBPM-2414?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266511#4266511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Resolve an EJB Module Remote or Local type in a web appl
Hi, do you use Eclipse Web Tools Platform or JBoss Tools? If you use WTP: you have to add an "Java EE Module Dependency". See this screenshot: http://www.cs.hs-rm.de/~knauf/KomponentenArchitekturen2008/stateless/webmoduledependencies.png Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266506#4266506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Bisocket connection won't be closed if pulling out the e
The full subject should be "Bisocket connection won't be closed if pulling out the ethernet cable between client and server. The failure detection module won't close the failure connection, as a result, the subsequent requests will hang after connection account exceeds the threshold" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266490#4266490 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Bisocket connection won't be closed if pulling out the ether
We are using JBoss App Server 4.2.3.GA, JBoss Messaging 1.4.5 GA and JBoss Remoting 2.2.3 SP1. In our application, there are a lot of Message listeners running on the client side, these message listeners will receive messages from queue/topic deployed in JBoss Messaging Configuration: We created our own JMS Connection factory which uses the default remoting connector. As you know, the default remoting connector is configured to use the bisocket transport. We didn't change the default value of the remoting connector | | |org.jboss.jms.wireformat.JMSWireFormat |org.jboss.jms.wireformat.JMSWireFormat |jms |false |${jboss.bind.address} |4457 |org.jboss.jms.client.remoting.ClientSocketWrapper |org.jboss.jms.server.remoting.ServerSocketWrapper | |1 |214748364 |10 |org.jboss.jms.server.remoting.DirectThreadPool | | |true | | |1 |1 |5000 |false | | 0 | | |10 | | |200 | | | | | During we run our application, we open the JBoss web console to monitor the value of currentClientPoolSize under "Jboss.remoting" JMX MBean. How to reproduce this issue: 1. Run 5 message listeners in the client side to receive messages from JBoss Messaging, then we observe the value of currentClientPoolSize is 10 2. After processing several messages, we manually pull out the ethernet cable. The value of currentClientPoolSize is still 10. 3. We run another 5 message listeners in client side, then the value of currentClientPoolSize will become 20 4. After we do the same operations above several times, the value of currentClientPoolSize will increase continuously. Once the value of currentClientPoolSize is equal to the MaxPoolSize, then the subsequent incoming client requests will hang, and we will encounter the following exception in server side 2009-10-20 18:08:09,655 ERROR [org.jboss.remoting.transport.socket.ServerThread] Worker thread initialization failure | | java.net.SocketException: Connection reset | | at java.net.SocketInputStream.read(SocketInputStream.java:168) | | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) | | at java.io.BufferedInputStream.read(BufferedInputStream.java:235) | | at java.io.FilterInputStream.read(FilterInputStream.java:66) | | at org.jboss.remoting.transport.socket.ServerThread.readVersion(ServerThread.java:859) | | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:545) | | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:406) | | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173) | Conclusion: JBoss Messaging won't close the failure connections if they are caused by manually pulling out ethernet cable. As a result, the value of currentClientPoolSize will increase continuously and finally the new client requests will hang Note: If we killed the process of message listener in client side, then the value of currentClientPoolSize will decrease to 0 immediately, it seems that the server could detect the failure connection and perform the corresponding resource releasing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266489#4266489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: jndi, rebind, java.io.NotSerializableException
"delbd" wrote : | Second, this mean changing eveywhere my code calls like context.lookup(name) to something like NonSerializableFactory.lookup(name). No. You will still do InitialContext.lookup(name), internally it's handled by ObjectFactory. It's only during the binding that you will use the NonSerializableFactory. And yes, it does introduce a dependency on JBoss code. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266473#4266473 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Proxy Configuration
Hi, I found the system properties to set so: set JAVA_OPTS=-Dhttp.proxyHost= -Dhttp.proxyPort= thaht works but I get the code 407. So how can I set username and password ? Thanks in advance ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266472#4266472 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: jndi, rebind, java.io.NotSerializableException
Not possible. I already found this class, but it has two main problem. First, it introduces a dependency to jboss in my code, while i would like to stick with pure J2EE available specs. Second, this mean changing eveywhere my code calls like context.lookup(name) to something like NonSerializableFactory.lookup(name). I'd like not to change the code just because jboss has decided tha purely local objects need to be serialized. This doc http://docs.jboss.org/jbossas/admindevel326/html/ch3.chapter.html states anonymous wrote : Subcontexts and object bindings directly under java: are only visible within the JBoss server virtual machine and not to remote clients. Any other context or object binding is available to remote clients, provided the context or object supports serialization. [] | | An example of where the restricting a binding to the java: context is useful would be a javax.sql.DataSource connection factory that can only be used inside of the JBoss server where the associated database pool resides. I see nowhere that is mandates objets are serializable and even if so, the only mention of serialization is about other context, not java: ones. However, the jboss still complains about serialization and fail while i bind an object to the name "java:Shark". Note that i tried "java:Shark", "java:comp/env/Shark" and "Shark", all are failing with serialization errors. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266469#4266469 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user