[JBoss Cache: Core Edition] - JDBCCacheLoader Problem
by manoj.java
Hi,
I am using jboss cache with hibernate. While reading from cache sometime following exception is thrown.
java.lang.IllegalStateException: Failed to load node for fqn /fare/DEL/NAG/09-11-08: Interrupted while requesting permit! Waited 0 ms; - nested throwable: (javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms)
at org.jboss.cache.loader.JDBCCacheLoader.loadNode(JDBCCacheLoader.java:1121)
at org.jboss.cache.loader.JDBCCacheLoader.get(JDBCCacheLoader.java:263)
at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadData(CacheLoaderInterceptor.java:443)
at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadNode(CacheLoaderInterceptor.java:353)
at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:180)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365)
at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:138)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863)
at org.jboss.cache.TreeCache.get(TreeCache.java:3627)
at org.jboss.cache.TreeCache.get(TreeCache.java:3608)
at com.tg.cache.manager.FareCacheProviderImpl.getFromCache(FareCacheProviderImpl.java:170)
at com.tg.ws.abacus.AbacusFareService.getResponseFromCache(AbacusFareService.java:765)
at com.tg.ws.abacus.AbacusFareService.responseExistInCache(AbacusFareService.java:891)
at com.tg.ws.abacus.AbacusFareService_1_5.getFaresFromCacheOrWSForRequest(AbacusFareService_1_5.java:222)
at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:29)
at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:15)
at com.tg.parallel.concurrent.JavaConcurrentPoolExecutor$CallableAdapter.call(JavaConcurrentPoolExecutor.java:93)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Please let me know the work around for this.
Regard,
- Manoj
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163192#4163192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163192
17 years, 9 months
[JBoss Portal] - losing request attributes on struts bridge
by habicht
hi,
i wrote a portlet-struts application on jboss-portal 2.6 about 6 months ago (a phone book). now i try to add some new features (without yet changing the configs) and face the following problem. on the first page (/index) i use the action-class to pass two array-lists to the jsp (building_list and org_list). when a search is started i search a database for the given parameters and return another array-list (ausgabe) to the action class. there i use request.setAttribute(...) to pass it on to the second page (/input). my problem is that the first two array-lists are really passed on from the action-class but the third one isn't. the funny thing is that 6 months ago all three array-lists were passed on correctly.
struts-config.xml
<struts-config>
| <form-beans>
| <form-bean name="TelefonbuchForm" type="at.ooegkk.intranet.telefonbuch.forms.TelefonbuchForm"/>
| </form-beans>
| <action-mappings>
| <action
| path="/index"
| type="at.ooegkk.intranet.telefonbuch.action.TelefonbuchAction"
| scope="request"
| parameter="method">
| <forward name="input" path="/input.do"/>
| </action>
| <action
| path="/input" type="at.ooegkk.intranet.telefonbuch.action.TelefonbuchAction"
| scope="request"
| name="TelefonbuchForm"
| validate="true"
| input="/jsp/input.jsp"
| parameter="method">
| <forward name="input" path="/jsp/input.jsp"/>
| <forward name="success" path="/jsp/ergebnis.jsp"/>
| <forward name="successb" path="/jsp/ergebnis.jsp"/>
| <forward name="detail" path="/jsp/ergebnis_detail.jsp"/>
| </action>
| </action-mappings>
| <controller pagePattern="$M$P" inputForward="false" processorClass="org.apache.portals.bridges.struts.PortletRequestProcessor"/>
| <message-resources parameter="ApplicationResources" />
|
| <!-- ========== Plug Ins Configuration ================================== -->
| <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
| <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
| </plug-in>
| </struts-config>
struts-portlet-config.xml
<config>
| <portlet-url-type default="action"/>
| <render-context>
| <attribute name="anz_page"/>
| <attribute name="anz_result"/>
| <attribute name="anz_suche"/>
| <attribute name="at_beginning"/>
| <attribute name="at_end"/>
| <attribute name="ausgabe" keep="true"/>
| <attribute name="building_list"/>
| <attribute name="cur_page"/>
| <attribute name="from_it"/>
| <attribute name="gothere"/>
| <attribute name="name_error"/>
| <attribute name="org_list"/>
| <attribute name="persDetail"/>
| <attribute name="suchdaten"/>
| <attribute name="taetigkeit_error"/>
| <attribute name="TelefonbuchForm"/>
| <attribute name="to_it"/>
| </render-context>
| </config>
portlet.xml
<portlet-app id="TelefonbuchPortlet" version="1.0">
| <portlet id="telefonbuch-portlet">
| <init-param>
| <name>ServletContextProvider</name>
| <value>org.jboss.portal.portlet.bridge.JBossServletContextProvider</value>
| </init-param>
| <init-param>
| <name>ViewPage</name>
| <value>/index.do</value>
| </init-param>
| <portlet-name>telefonbuch-portlet</portlet-name>
| <display-name>Telefonbuch Portlet</display-name>
| <description>Das Telefonbuch Portlet</description>
| <portlet-class>org.apache.portals.bridges.struts.StrutsPortlet</portlet-class>
| <expiration-cache>0</expiration-cache>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>VIEW</portlet-mode>
| </supports>
| <portlet-info>
| <short-title>Telefonbuch</short-title>
| <keywords>Telefonbuch</keywords>
| </portlet-info>
| </portlet>
| </portlet-app>
technical:
Win XP Pro SP2
JDK 1.6.0_10
JBoss Portal 2.6.4 Bundle
Struts 1.2.7
Struts-Bridge 1.0.1
Hibernate 3.2
would be glad if someone could help me with this.
regards
Christof
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163188#4163188
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163188
17 years, 9 months
[JBoss jBPM] - Need steps to deploy BPEL in MySQL
by Music123
Hi,
I am new to JBPM. I need to create a sample web application using JBPM workflow.
Sample application needs to be created in both jPdl and BPEL languages with MySQL as database.I configured jPdl with MySQL.
Problem in jPdl:
I tried to deploy a processdefinition.xml file from servlet. If i am giving the processdefinition file as string then its working fine.
ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(
"<process-definition name='the baby process'>" +
" <start-state>" +
" " +
" </start-state>" +
" <task-node name='t'>" +
" " +
" " +
" " +
" " +
" </task-node>" +
" <end-state name='end' />" +
"</process-definition>"
);
if i try to deploy using "ProcessDefinition.parseXmlResource()" as shown below
ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource("processdefinition.xml");
Its giving me the following error:
org.jbpm.jpdl.JpdlException: [[ERROR] couldn't parse process definition]
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:172)
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
simpleTest.FirstServlet.deployProcessDefinition(FirstServlet.java:145)
simpleTest.FirstServlet.service(FirstServlet.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
I am struggling to configure BPEL with MySQL.
Problem in BPEL:
Could you please let me know the steps to configure BPEL with MySQL and how to create tables for BPEL?
I am getting the following error in JBOSS server:
javax.naming.NameNotFoundException: XAConnectionFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
at java.lang.Thread.run(Thread.java:619)
If anybody have sample web application using JBPM, please send me that too.
Please help me out to solve these issues. Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163180#4163180
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163180
17 years, 9 months
Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Unable to deliver message to the following recipients, because the message was forwarded more than the maximum allowed times. This could indicate a mail loop.
zavod(a)technodom.kz
17 years, 9 months