[JBoss/Spring Integration] - what is the meaning of this exception ::Validator [com.XXX.v
by chaituu
ERROR [org.springframework.web.servlet.DispatcherServlet] Could not complete request
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PartyForm' defined in null: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Validator [com.XXX.validators.PartyValidator@427262] does not support command class [com.XXX.forms.BusinessFormBackingObject]
java.lang.IllegalArgumentException: Validator [com.XXX.validators.PartyValidator@427262] does not support command class [com.XXX.forms.BusinessPartyFormBackingObject]
at org.springframework.web.servlet.mvc.BaseCommandController.initApplicationContext(BaseCommandController.java:240)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:79)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:84)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:240)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:347)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166581#4166581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166581
17 years, 9 months
[JBoss Cache: Core Edition] - Jboss Cluster with Window NLB
by ericncc
Hi,
I've setup 2 machine to run both MS NLB for load balancing and Jboss AS 4.2.2GA for Clustering.
1st machine's IP address is 192.168.0.3
2nd machine's IP address is 192.168.0.7
The virtual IP exposed by the NLB for both machines is 192.168.0.225
I've start the Jboss Server to run under all mode which as below:-
run -b 0.0.0.0 -c all
I've change the ClusterConfig for both all\deploy\cluster-service.xml and all\deploy\jboss-web-cluster.sar\META-INF\jboss-service.xml file to run under TCP setting as below :-
===============================================
<TCP start_port="7810" loopback="true"
tcp_nodelay="true"
recv_buf_size="20000000"
send_buf_size="640000"
discard_incompatible_packets="true"
enable_bundling="false"
max_bundle_size="64000"
max_bundle_timeout="30"
use_incoming_packet_handler="true"
use_outgoing_packet_handler="false"
down_thread="false" up_thread="false"
use_send_queues="false"
sock_conn_timeout="300"
skip_suspected_members="true"/>
<TCPPING initial_hosts="192.168.0.3[7810],192.168.0.7[7810]" port_range="3"
timeout="3000"
down_thread="false" up_thread="false"
num_initial_members="3"/>
<MERGE2 max_interval="100000"
down_thread="false" up_thread="false" min_interval="20000"/>
<FD_SOCK down_thread="false" up_thread="false"/>
<FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
<VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
<pbcast.NAKACK max_xmit_size="60000"
use_mcast_xmit="false" gc_lag="0"
retransmit_timeout="300,600,1200,2400,4800"
down_thread="false" up_thread="false"
discard_delivered_msgs="true"/>
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
down_thread="false" up_thread="false"
max_bytes="400000"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"
down_thread="false" up_thread="false"
join_retry_timeout="2000" shun="true"
view_bundling="true"/>
<FC max_credits="2000000" down_thread="false" up_thread="false"
min_threshold="0.10"/>
<FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
<pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
===============================================
Everything seems ok when I startup both server. And I can see that both server was detect and join with each other in the same cluster.
But I get the below error message keep showing in both server console.
Error keep showing in machine 192.168.0.7
===============================================
15:28:50,343 WARN [GMS] failed to collect all ACKs (1) for view [192.168.0.7:2872|1] [192.168.0.7:2872, 192.168.0.3:119
9] after 5000ms, missing ACKs from [192.168.0.7:2872] (received=[]), local_addr=192.168.0.7:2872
15:28:52,312 WARN [Digest] entry for 192.168.0.3:1199 was overwritten with low=0, high=0, highest seen=-1
===============================================
Error keep showing in machine 192.168.0.3
===============================================
-------------------------------------------------------
GMS: address is 192.168.0.3:1219
-------------------------------------------------------
00:35:11,924 WARN [GMS] join(192.168.0.3:1219) sent to 192.168.0.7:2872 timed out, retrying
00:35:15,950 INFO [TreeCache] viewAccepted(): [192.168.0.7:2872|7] [192.168.0.7:2872, 192.168.0.3:1199, 192.168.0.3:120
9, 192.168.0.3:1214, 192.168.0.3:1219]
00:35:16,020 WARN [STATE_TRANSFER] state received from 192.168.0.7:2872 is null, will return null state to application
00:35:20,958 INFO [TreeCache] viewAccepted(): [192.168.0.7:2872|8] [192.168.0.7:2872, 192.168.0.3:1199, 192.168.0.3:120
9, 192.168.0.3:1214, 192.168.0.3:1219]
===============================================
It seems like the State was not transfer among the server.
What I've doing wrong with my configuration? How to resolve the error message? your help is much appreciated! Thank You!
Regards,
Eric
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166579#4166579
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166579
17 years, 9 months
[Installation, Configuration & DEPLOYMENT] - Host name issue while deploying WebService
by rohit.macherla
Hi,
I have a WebService created as a .war file with the implementation class developed in Java and properly annotated. When I deploy the War file, i.e., when I put the WAR file in the /server/default/deploy folder, the WSDL is generated automatically and is in the location /data/wsdl/<app-name>.
But this WSDL has the SOAP:ADDRESS field as something like this :
http://STD42S15.tndsdc.bsnl.co.in:8080/CompositeWebServiceForServiceOrder...
The problem is with the hostname. JBoss 4.2.2.GA is the version that I am using and it is installed on HP-UX platform. When I get the hostname of the server by typing the "hostname" in the Unix window, I get only :
STD42S15
According to our server admin, the fully qualified name "STD42S15.tndsdc.bsnl.co.in" is present only in the DNS names config.
I want my WebService to be generated with the SOAP:ADDRESS :
http://STD42S15:8080/CompositeWebServiceForServiceOrder/CompositeWebServi...
I mean without the .tndsdc.bsnl.co.in
When I change the jboss-service.xml entry of the following :
anonymous wrote :
|
| <!-- The Bind address and Port -->
| ${jboss.bind.address}
| 8083
| <!-- The address to use for the host portion of the RMI codebase URL -->
| ${java.rmi.server.hostname}
| <!-- Should non-EJB .class files be downloadable -->
|
to
anonymous wrote :
|
| <!-- The Bind address and Port -->
| ${jboss.bind.address}
| 8083
| <!-- The address to use for the host portion of the RMI codebase URL -->
| STD42S15
| <!-- Should non-EJB .class files be downloadable -->
|
I thought the problem would be resolved, but it hasn't. Whenever I start the server, from the logs i can see that the bind.address is still "STD42S15.tndsdc.bsnl.co.in". I thought 0.0.0.0 would be the bind address as i start my server using the command
anonymous wrote : ./run.sh -b 0.0.0.0
Any help on how to change the default host name would be appreciated.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166577#4166577
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166577
17 years, 9 months