[JBoss Cache] - Cache Problem (1.4 with 4.2.2)
by Venkatesh Balaji
Venkatesh Balaji [http://community.jboss.org/people/venquet] created the discussion
"Cache Problem (1.4 with 4.2.2)"
To view the discussion, visit: http://community.jboss.org/message/631073#631073
--------------------------------------------------------------
Dear All,
We are having strange issues with UDP based cache clustering, suddently at some point of time replication totally gets stopped between the nodes. Currently we deployed jboss-cache for HTTP-Session for non-sticky application so we are getting trouble at many of times in the day.
Also we tried to migrate with TCP based clustering, but with TCP based clustering we are facing two problems.
1. During node-2 start-up its not picking up the data available from node-1
2. When bringing down the node-2 server, all the cache entries created by node-2 were getting removed from node-1.
Above two cases were not happening in UDP based clustering. Please advise urgently.
API : JBoss-cache 1.4 with JBoss 4.2.2 / JDK 1.6
Thanks in advaice.
Rgds
Balaji
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/631073#631073]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
[Datasource Configuration] - oracle datasource error in Railo
by Roger Desenberg
Roger Desenberg [http://community.jboss.org/people/adwordsinventor] created the discussion
"oracle datasource error in Railo"
To view the discussion, visit: http://community.jboss.org/message/630990#630990
--------------------------------------------------------------
I have oracle 8i, and just recently installed Railo 3.3 with tomcat, and Railo does not set up the datasource as it is supposed.
The error message given is simply the number "4". Instead of a normal error message, the error message is just "4".
Problem list:
1) Railo administrator does not make any config file changes, returns an error message of "4", and does not create the connection between Oracle, tomcat and Railo. I tried to look up how to make manual file changes without using the RAILO administrator, but could not find dependable info.
2) ALSO - Railo/tomcat is serving up the "public_html" pages ok,
but everytime I use "https", which should serve the pages in private_html,
is actually serving up the pages in public_html.
I think I need to add something to the context path and docbase entries in the httpd.conf file.
I have tried several oracle jar files including classes12.ja, ojedbc5.jar and the ojedbc6.jar
ANY Ideas?
thanks,
roger
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630990#630990]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
[JNDI and Naming] - Upgrade JB6.0.0->6.1.0, now JMS ConnectionFactory not bound?
by Tom Harris
Tom Harris [http://community.jboss.org/people/tharris] created the discussion
"Upgrade JB6.0.0->6.1.0, now JMS ConnectionFactory not bound?"
To view the discussion, visit: http://community.jboss.org/message/630969#630969
--------------------------------------------------------------
Our application has been running fine on JBoss 6.0.0-Final for quite a while now. It uses HornetQ via JMS, and it uses Spring 3.0.6 to configure the queue listeners and senders.
When we upgraded to JBoss 6.1.0-Final, we are now getting a deployment failure:
13:09:44,669 ERROR [STDERR] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsConnectionFactory': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: ConnectionFactory not bound
13:09:44,669 ERROR [STDERR] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
... lots of irrelevant stack frames ...
13:09:44,779 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: ConnectionFactory not bound
13:09:44,779 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
... more irrelevant stack frames ...
Did something change between 6.0.0 and 6.1.0 that is making the JNDI binding fail? I tried dropping our war files into deploy after the server was fully running, same failure. I looked in the admin-console to find the JMS connection factory and its JNDI bindings, and it shows "java:/ConnectionFactory,java:/XAConnectionFactory". So, I'm not sure what the issue is... Does anyone have some ideas?
Contents of hornetq-jms.xml:
<configuration xmlns="urn:hornetq"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
<connection-factory name="InVMConnectionFactory">
<xa>true</xa>
<connectors>
<connector-ref connector-name="in-vm" />
</connectors>
<entries>
<entry name="java:/ConnectionFactory" />
<entry name="java:/XAConnectionFactory" />
</entries>
</connection-factory>
<queue name="DLQ">
<entry name="/queue/DLQ"/>
</queue>
<queue name="ExpiryQueue">
<entry name="/queue/ExpiryQueue"/>
</queue>
<queue name="applicationSpecificQueue">
<entry name="java:/queue/applicationSpecificQueue"/>
</queue>
</configuration>
Spring bean configuration file:
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
xmlns:jee="http://www.springframework.org/schema/jee" xmlns:lang="http://www.springframework.org/schema/lang"
xmlns:jms="http://www.springframework.org/schema/jms" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"
default-autowire="byName">
<jee:jndi-lookup id="jmsConnectionFactory" jndi-name="java:/ConnectionFactory"
expected-type="javax.jms.ConnectionFactory" lookup-on-startup="true" />
<bean id="jndiDestinationResolver" class="org.springframework.jms.support.destination.JndiDestinationResolver" />
<bean id="applicationSpecificQueueListener" class="com.company.ApplicationSpecificQueueListener" />
<jms:listener-container container-type="default" destination-type="queue"
destination-resolver="jndiDestinationResolver" connection-factory="jmsConnectionFactory"
acknowledge="auto" concurrency="1">
<jms:listener destination="java:/queue/applicationSpecificQueue" ref="applicationSpecificQueueListener" method="onMessage" />
</jms:listener-container>
</beans>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630969#630969]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
[jBPM] - Re: JBPM 3.1 Exception thrown on EndState
by Al Daher
Al Daher [http://community.jboss.org/people/baltajino] created the discussion
"Re: JBPM 3.1 Exception thrown on EndState"
To view the discussion, visit: http://community.jboss.org/message/630935#630935
--------------------------------------------------------------
i analysed the log Information, there was something suspicious happening in my process.
The process cgoes as follows:
Start---->validateNode(actionhandler1)---->decisionNodeUponValidation(actionhandler2)----->End\or go further
in actionHandler1 ihad the following code:
Line1 if(startDate.before(currentDate))
Line2 {
Line3 executionContext.setVariable(ProjectManagementProcessConstants.VAR_PROJECT_STATUS, Status.REJECTED);
Line4 executionContext.leaveNode();
Line5 }
Line6 else if(projecttitle==null || projecttitle.equals(""))
Line7 {
Line8 executionContext.setVariable(ProjectManagementProcessConstants.VAR_PROJECT_STATUS, Status.REJECTED);
Line9 executionContext.leaveNode();
Line10 }
Line11 executionContext.setVariable(ProjectManagementProcessConstants.VAR_PROJECT_STATUS, Status.APPROVED);
Line12 executionContext.leaveNode();
according my test, it shall go through line 3 and 4 and after that actionhandler2 shall be called and then to endState will be reached. So fas so good. And it happens indeed BUT:
after getting out of End State the code completes to line 11 and 12 in actionHandler1. Now the Variable Status is has changed But actionHandler1 has not finished. So while leaving EndState it goes furrther in actionHandler1 and actionHandler2. in actionHandler2 it fires a a leavenode(transition1) and tries to go to a transition1 which does not exist in End State. Hence the exception can't leave node 'EndState(endProjectManagementProcess)' without leaving transition.
Bottom Line: LEAVENODE FUNCTION IS NOT THE SAME AS RETURN
That is something NEW AND INTERESTING to learn
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630935#630935]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months