[Clustering/JBoss] - Weird clustererror
by Metalhead
Hello, I'm experiencing some weird errors... my guess is it has something to do with clustering... (using JBoss 4.0.3)
We're developping in a small team, in one chamber, using the same switch.
Now, when my colleague starts jboss first, and after that I start JBoss, my Application fails.
This is part of the console of my colleague (ELECTRA);
08:23:01,392 WARN [FD] I was suspected, but will not remove myself from membership (waiting for EXIT message)
| 08:23:02,892 WARN [CoordGmsImpl] I am the coord and I m being am suspected -- will probably leave shortly
| 08:23:08,970 WARN [FD] I was suspected, but will not remove myself from membership (waiting for EXIT message)
| 08:23:10,470 WARN [CoordGmsImpl] I am the coord and I m being am suspected -- will probably leave shortly
| 08:23:11,986 WARN [FD] I was suspected, but will not remove myself from membership (waiting for EXIT message)
| 08:23:13,486 WARN [CoordGmsImpl] I am the coord and I m being am suspected -- will probably leave shortly
| 08:23:13,986 WARN [GMS] checkSelfInclusion() failed, 172.16.3.82:1321 is not a member of view [HYPERION:1234|4] [HYPERION:1234]; discarding view
| 08:23:13,986 WARN [GMS] I (172.16.3.82:1321) am being shunned, will leave and rejoin group (prev_members are [172.16.3.82:1321 HYPERION:1096 HYPERION:1234 ])
| 08:23:14,861 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is 172.16.3.82:2157
| -------------------------------------------------------
| 08:23:16,564 ERROR [ClientGmsImpl] suspect() should not be invoked on an instance of org.jgroups.protocols.pbcast.ClientGmsImpl
| 08:23:19,532 ERROR [ClientGmsImpl] suspect() should not be invoked on an instance of org.jgroups.protocols.pbcast.ClientGmsImpl
| 08:23:21,861 WARN [ClientGmsImpl] handleJoin(172.16.3.82:2157) failed, retrying
| 08:23:30,861 WARN [ClientGmsImpl] handleJoin(172.16.3.82:2157) failed, retrying
| 08:23:36,907 INFO [TreeCache] viewAccepted(): new members: [HYPERION:1234, 172.16.3.82:2157]
And this is my console (HYPERION):
08:23:13,015 WARN [FD] ping_dest is null: members=[ELECTRA:1321, 172.16.3.77:1234], pingable_mbrs=[172.16.3.77:1234], local_addr=172.16.3.77:1234
| 08:23:16,015 WARN [FD] ping_dest is null: members=[ELECTRA:1321, 172.16.3.77:1234], pingable_mbrs=[172.16.3.77:1234], local_addr=172.16.3.77:1234
| 08:23:19,015 WARN [FD] ping_dest is null: members=[ELECTRA:1321, 172.16.3.77:1234], pingable_mbrs=[172.16.3.77:1234], local_addr=172.16.3.77:1234
| 08:23:23,343 ERROR [CoordGmsImpl] mbr ELECTRA:1321 is not a member !
| 08:23:23,343 INFO [TreeCache] viewAccepted(): new members: [172.16.3.77:1234]
| 08:23:23,359 ERROR [CoordGmsImpl] mbr ELECTRA:1321 is not a member !
Is this problem cluster-related? And if so, how can I fix this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983651#3983651
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983651
19Â years, 6Â months
[JBoss Seam] - Re: problem with deploying in JBoss
by mnrz
Hi
eventually, I could deploy it but jbpm doesnt work fine.
the "register" action I put in the jsp file does not meaning to the Seam and this is the Jbpm which should know it but it doesnt.
after clicking on Submit button no action fires and page stays intact.
jsp file
| .....
| <tr>
| <td>Password</td>
| <td><h:inputSecret value="#{user.password}" required="true"/></td>
| </tr>
| <!-- validateAll -->
| </table>
| <h:messages/>
|
| <h:commandButton type="submit" value="Register" action="register"/>
|
| </h:form>
| ......
|
backing bean:
| @Create
| @Begin(join=true,pageflow="SeamPracticePageFlow")
| public void begin() {
| userNotExists = false;
| }
|
|
myproject.jpdl.xml :
| <pageflow-definition name="SeamPracticePageFlow">
|
| <start-page name="start" view-id="/pages/register.jsp">
|
| <transition name="register" to="checkUser" >
| <action expression="#{register.register}" />
| </transition>
|
| </start-page>
|
| <decision name="checkUser" expression="#{register.alreadyExists}" >
| <transition name="false" to="registered" />
| <transition name="true" to="start" />
| </decision>
|
| <page name="registered" view-id="/pages/registered.jsp">
| <redirect/>
| <transition name="welcomeMessage" to="listMessage" >
| <action expression="/pages/messages.seam" />
| </transition>
| </page>
| ..........
|
|
thank you so much
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983649#3983649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983649
19Â years, 6Â months
[JNDI/Naming/Network] - Re: The JNDI problem when deploying the JPetStore with jboss
by jzhuqlfeixia
There are two tables using the 'ITEMID', I can't find where the problem is...
There are two Item.xml one is under %JPESTORE_HOME%\build\webapp\WEB-INF\classes\com\ibatis\jpetstore\persistence\sqlmapdao\sql
the content is:
| <?xml version="1.0" encoding="UTF-8" ?>
|
| <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
| "http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
| <sqlMap namespace="Item">
|
| <typeAlias alias="item" type="com.ibatis.jpetstore.domain.Item"/>
|
| <cacheModel id="itemCache" type="LRU">
| <flushInterval hours="24"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <cacheModel id="quantityCache" type="LRU">
| <flushInterval hours="24"/>
| <flushOnExecute statement="updateInventoryQuantity"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <select id="getItemListByProduct" resultClass="item" parameterClass="string" cacheModel="itemCache">
| SELECT
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5
| FROM ITEM I, PRODUCT P
| WHERE P.PRODUCTID = I.PRODUCTID
| AND I.PRODUCTID = #value#
| </select>
|
| <select id="getItem" resultClass="item" parameterClass="string" cacheModel="quantityCache">
| select
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5,
| QTY AS quantity
| from ITEM I, INVENTORY V, PRODUCT P
| where P.PRODUCTID = I.PRODUCTID
| and I.ITEMID = V.ITEMID
| and I.ITEMID = #value#
| </select>
|
| <select id="getInventoryQuantity" resultClass="int" parameterClass="string">
| SELECT QTY AS value
| FROM INVENTORY
| WHERE ITEMID = #itemId#
| </select>
|
| <update id="updateInventoryQuantity" parameterClass="map">
| UPDATE INVENTORY SET
| QTY = QTY - #increment#
| WHERE ITEMID = #itemId#
| </update>
|
| </sqlMap>
|
|
The other one is under %JPETSTORE_HOME%\src\com\ibatis\jpetstore\persistence\sqlmapdao\sql
the content is :
| <?xml version="1.0" encoding="UTF-8" ?>
|
| <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
| "http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
| <sqlMap namespace="Item">
|
| <typeAlias alias="item" type="com.ibatis.jpetstore.domain.Item"/>
|
| <cacheModel id="itemCache" type="LRU">
| <flushInterval hours="24"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <cacheModel id="quantityCache" type="LRU">
| <flushInterval hours="24"/>
| <flushOnExecute statement="updateInventoryQuantity"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <select id="getItemListByProduct" resultClass="item" parameterClass="string" cacheModel="itemCache">
| SELECT
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5
| FROM ITEM I, PRODUCT P
| WHERE P.PRODUCTID = I.PRODUCTID
| AND I.PRODUCTID = #value#
| </select>
|
| <select id="getItem" resultClass="item" parameterClass="string" cacheModel="quantityCache">
| select
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5,
| QTY AS quantity
| from ITEM I, INVENTORY V, PRODUCT P
| where P.PRODUCTID = I.PRODUCTID
| and I.ITEMID = V.ITEMID
| and I.ITEMID = #value#
| </select>
|
| <select id="getInventoryQuantity" resultClass="int" parameterClass="string">
| SELECT QTY AS value
| FROM INVENTORY
| WHERE ITEMID = #itemId#
| </select>
|
| <update id="updateInventoryQuantity" parameterClass="map">
| UPDATE INVENTORY SET
| QTY = QTY - #increment#
| WHERE ITEMID = #itemId#
| </update>
|
| </sqlMap>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983647#3983647
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983647
19Â years, 6Â months
[JNDI/Naming/Network] - Re: The JNDI problem when deploying the JPetStore with jboss
by jzhuqlfeixia
There are two tables using the 'ITEMID', I can't find where the problem is...
There are two Item.xml one is under %JPESTORE_HOME%\build\webapp\WEB-INF\classes\com\ibatis\jpetstore\persistence\sqlmapdao\sql
the content is:
| <?xml version="1.0" encoding="UTF-8" ?>
|
| <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
| "http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
| <sqlMap namespace="Item">
|
| <typeAlias alias="item" type="com.ibatis.jpetstore.domain.Item"/>
|
| <cacheModel id="itemCache" type="LRU">
| <flushInterval hours="24"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <cacheModel id="quantityCache" type="LRU">
| <flushInterval hours="24"/>
| <flushOnExecute statement="updateInventoryQuantity"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <select id="getItemListByProduct" resultClass="item" parameterClass="string" cacheModel="itemCache">
| SELECT
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5
| FROM ITEM I, PRODUCT P
| WHERE P.PRODUCTID = I.PRODUCTID
| AND I.PRODUCTID = #value#
| </select>
|
| <select id="getItem" resultClass="item" parameterClass="string" cacheModel="quantityCache">
| select
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5,
| QTY AS quantity
| from ITEM I, INVENTORY V, PRODUCT P
| where P.PRODUCTID = I.PRODUCTID
| and I.ITEMID = V.ITEMID
| and I.ITEMID = #value#
| </select>
|
| <select id="getInventoryQuantity" resultClass="int" parameterClass="string">
| SELECT QTY AS value
| FROM INVENTORY
| WHERE ITEMID = #itemId#
| </select>
|
| <update id="updateInventoryQuantity" parameterClass="map">
| UPDATE INVENTORY SET
| QTY = QTY - #increment#
| WHERE ITEMID = #itemId#
| </update>
|
| </sqlMap>
|
|
The other one is under %JPETSTORE_HOME%\src\com\ibatis\jpetstore\persistence\sqlmapdao\sql
the content is :
| <?xml version="1.0" encoding="UTF-8" ?>
|
| <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
| "http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
| <sqlMap namespace="Item">
|
| <typeAlias alias="item" type="com.ibatis.jpetstore.domain.Item"/>
|
| <cacheModel id="itemCache" type="LRU">
| <flushInterval hours="24"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <cacheModel id="quantityCache" type="LRU">
| <flushInterval hours="24"/>
| <flushOnExecute statement="updateInventoryQuantity"/>
| <property name="size" value="100"/>
| </cacheModel>
|
| <select id="getItemListByProduct" resultClass="item" parameterClass="string" cacheModel="itemCache">
| SELECT
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5
| FROM ITEM I, PRODUCT P
| WHERE P.PRODUCTID = I.PRODUCTID
| AND I.PRODUCTID = #value#
| </select>
|
| <select id="getItem" resultClass="item" parameterClass="string" cacheModel="quantityCache">
| select
| ITEMID,
| LISTPRICE,
| UNITCOST,
| SUPPLIER AS supplierId,
| I.PRODUCTID AS "product.productId",
| NAME AS "product.name",
| DESCN AS "product.description",
| CATEGORY AS "product.categoryId",
| STATUS,
| ATTR1 AS attribute1,
| ATTR2 AS attribute2,
| ATTR3 AS attribute3,
| ATTR4 AS attribute4,
| ATTR5 AS attribute5,
| QTY AS quantity
| from ITEM I, INVENTORY V, PRODUCT P
| where P.PRODUCTID = I.PRODUCTID
| and I.ITEMID = V.ITEMID
| and I.ITEMID = #value#
| </select>
|
| <select id="getInventoryQuantity" resultClass="int" parameterClass="string">
| SELECT QTY AS value
| FROM INVENTORY
| WHERE ITEMID = #itemId#
| </select>
|
| <update id="updateInventoryQuantity" parameterClass="map">
| UPDATE INVENTORY SET
| QTY = QTY - #increment#
| WHERE ITEMID = #itemId#
| </update>
|
| </sqlMap>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983646#3983646
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983646
19Â years, 6Â months