[JBoss-user] [JBossWS] - About doc/literal in jboss-4.0.1sp1
Hi, There was a bug with namespace URIs being NULL in JBoss 4.0.1sp1 for document/literal web services. It has been fixed in JBoss-4.0.2. Are there any plans for making the fix available for JBoss 4.0.1sp1 also. Please see: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63230 Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877071#3877071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877071 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: DII call with literal & xsi in SOAP request
I don't have to use a DII Client. A Dynamic Proxy client would be fine for me. But I did follow the tutorial and ended up getting errors in the dynamic proxy. I posted those on : http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63230 I also posted the soap message that is being generated by the client and I suspect it has something to do with the settings related to document/literal style services. I couldn't find on the tutorial whether there is any additiona setup required for dynamic proxies for document literal services (as there is required for DIIs). Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875913#3875913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875913 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: DII call with literal & xsi in SOAP request
Noel, are DII or dynamic proxy clients supported for document/literal or document style services by JBossWS yet? If so, is there a tutorial on how to write these since I think they require some settings apart from the rpc/literal DII/Dynamic Proxy clients. Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875834#3875834 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875834 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean
Finally I was able to see the SOAP message being sent to JBoss. I think this should provide a clue to what is going on here. | | http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> | | http://sidcomtest.com";> |http://sidcomtestclient.com"; xmlns=""> | | | | | | The exception received from JBoss is : | 12:38:12,027 INFO [AxisServlet] java.lang.IllegalArgumentException: Namespace URI cannot be null | 12:38:12,027 ERROR [Engine] StandardWrapperValve[SidStringBean]: Servlet.service() for servlet SidSt | ringBean threw exception | java.lang.NullPointerException | at org.apache.axis.encoding.DeserializationContextImpl.getTypeMapping(DeserializationContext | Impl.java:604) | at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(DeserializationContex | tImpl.java:564) | at org.apache.axis.encoding.DeserializationContextImpl.getDeserializerForType(Deserializatio | nContextImpl.java:596) | at org.apache.axis.message.SOAPFaultBuilder.onStartChild(SOAPFaultBuilder.java:370) | at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextIm | pl.java:1166) | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( | Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at javax.xml.parsers.SAXParser.parse(Unknown Source) | at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java | There is more stacktrace after this but I think this should provide a clue. Please assist, Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875810#3875810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875810 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean
Also to create the service endpoint, I followed the tutorial for creating a anonymous wrote : Document style service. I am not sure if I need to do any additional settings in the Dynamic proxy client for this. I know one needs to set certain properties in the Call Object when to specify document style or rpc style, but I am dealing with the port directly. The port class was also generated as explained in the Document Style client step by step tutorial. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875769#3875769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875769 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean
This is JBoss 4.0.1 sp1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875765#3875765 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875765 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean
Okay, I got 1 step further but I think this should really work now but I still see an exception. Below is my code: | | ServiceFactory factory = ServiceFactory.newInstance(); | QName sName = new QName("http://sidtest.com";, "SidTestService"); | URL wsdlURL = new URL("http://ny731-4w-324a:8080/sidtest-ejb/SidTestPort?wsdl";); | Service service = factory.createService(wsdlURL, sName); |QName pName = new QName("http://sidtest.com";, "SidTestPort"); | SidTest port = (SidTest)service.getPort(pName, SidTest.class); | SayHello request = new SayHello(); | SayHelloResponse res = new SayHelloResponse(); | if(port == null) | System.out.println("Port is null"); | else | res = port.sayHello(request); | | | | and here's the exception: | java.lang.NullPointerException | at org.apache.axis.client.AxisClientProxy.proxyParams2CallParams(AxisClientProxy.java:123) | at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:185) | at $Proxy0.sayHello(Unknown Source) | at com.sidtestclient.SidDIIClient.main(SidDIIClient.java:36) | | | | I belive the proxy is being created and I am also getting a reference to the port but when I call the method it throws a NullPointerException. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875666#3875666 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875666 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBossWS web-service from a Stateless Session Bean
I was able to do this but I have been unable to create a client application for the deployed web service. I was trying to make a DII client but I keep getting the following exception: | xception in thread "Thread-1" java.lang.NoClassDefFoundError: javax/wsdl/factory/WSDLFactory | at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:404) | at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393) | at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245) | at java.lang.Thread.run(Unknown Source) | javax.xml.rpc.ServiceException: Error processing WSDL document: | javax.xml.rpc.ServiceException: Error processing WSDL document: | javax.xml.rpc.ServiceException: Cannot find service: {http://sidtest.com}SidTestService | at org.apache.axis.client.Service.initService(Service.java:278) | at org.apache.axis.client.Service.(Service.java:193) | at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:232) | at com.sidtestclient.SidDynaClient.main(SidDynaClient.java:24) | | Is it possible to have a Dynamic Proxy or a DII for a Document/Literal type web service with JBoss WS at this point? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875649#3875649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875649 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Problems by deploying the WS-Wiki-Example
Hi, I opened an issue: http://jira.jboss.com/jira/secure/ManageAttachments.jspa?id=12314629 Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875632#3875632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875632 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Problems by deploying the WS-Wiki-Example
Hi, I did a fresh install (newly downloaded release) of JBoss 4.0.1 sp1 and still have the same problem. This is what my web.xml looks like: | http://java.sun.com/dtd/web-app_2_3.dtd";> | | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; | version="2.4"> | | | SidTest | com.sidtest.SidTestWrappedImpl | | | | SidTest | /SidTest | | | | Here's the application.xml | | | SidTest WebService | | | sidtest.war | /sidtest | sidtest.wsr | | | | | Please help, Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875617#3875617 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875617 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Serializers generated by wscompile
Thanks for the answer, I have ordered that book :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875612#3875612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875612 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Problems by deploying the WS-Wiki-Example
Hi, I have the same exception. Did you find a solution to this? The class in the servlet-class tag is present in the war file classes directory but it is not a Servlet class since it is being used to deploy a web service, as described in the JBossWS document style web services tutorial. The class declaration is : | public class SidTestWrappedImpl implements SidTestWrapped {} | | public interface SidTestWrapped extends Remote {} | Thx, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875592#3875592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875592 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Serializers generated by wscompile
Hi, One thing that is confusing me (forgive me if I missed it from the tutorials) are the Serializers/DeSerializers that are being generated by wscompile. I need to use these on the client side since the Stub class generated by wscompile makes use of these. But if I use these Serializers/DeSerializers on the client side, don't I need to do 1 of the following 2 things: (1. Use the same generated Serializers/DeSerializers on the server side (JBoss) also by specifying these in ws4ee-deployment.xml for each type. OR (2. Specify the BeanSerializer/BeanDeserializer for every wrapper type generated by wscompile. Please help, Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875516#3875516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875516 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBossWS web-service from a Stateless Session Bean
Hi, I am trying to create a JBossWS web-service from a stateless session bean, but not getting much success. Is this how it should be done: (1. Create an SEI (extends Remote) and write a Session Bean. (2. From these 2 classes, generate the .wsdl using wscompile: wscompile -define... (3. Generate the jaxrpc-mapping file from the .wsdl using wscompile -gen.. I am able to do the above and deploy the web-service and the wsdl shows up via http://localhost:8080/ws4ee But obviously a lot is missing here since I haven't used any other .java or .class files generated by wscompile and I am not sure how to proceed from this point on. Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875499#3875499 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875499 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array
You are right, I have a DII client and I just did the following: | call.setProperty(ENCODING_STYLE_PROPERTY, ""); | call.setProperty(Call.OPERATION_STYLE_PROPERTY, "document"); | This also gave an error message, 14:33:30,750 ERROR [ServerEngine] Server error | java.lang.IllegalArgumentException: Namespace URI cannot be null | at org.apache.axis.utils.Mapping.setNamespaceURI(Mapping.java:87) but it's a different one. I haven't used wscompile to generate the DII client and just wrote my own plus I haven't played around enough with it to complain yet :) Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875478#3875478 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875478 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array
Hi, I am using a ws4ee-deployment.xml file and the resulting .wsdd is pasted below: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I will also paste an excerpt from my .wsdl just in case: | | | http://data.wseetest1.bb"; xmlns="http://www.w3.org/2001/XMLSchema";> |http://schemas.xmlsoap.org/soap/encoding/"/> | | | | | | | | | | | | http://interfaces.wseetest1.bb"; xmlns="http://www.w3.org/2001/XMLSchema";> |http://schemas.xmlsoap.org/soap/encoding/"/> | | | | http://schemas.xmlsoap.org/wsdl/"/> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875429#3875429 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875429 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array
Also, I tried without my ws4ee-deployment.xml and in this case the .wsdd uses the following mappings: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That is the MetaDataBeanSerializerFactory. I copied the last 2 typeMapping entries as they are into my ws4ee-deployment.xml and simply changed the Serializer/DeSerializers to org.apache.axis.encoding.ser.BeanSerializerFactory and so on, but whether I use the ws4ee-deployment.xml or not, I receive the same error message. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875438#3875438 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875438 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Array element type mismatch error while accessing array of C
Hi, I am getting the following error message from JBoss 4.0.1 sp1 while acessing a method int printTypes(ComplexTypeArray ctr) ERROR [BeanPropertyTarget] Could not convert [Lbb.wseetest1.data.ComplexType; to bean f | s[0]', type [Lbb.wseetest1.data.ComplexType; | ERROR [RPCInvocation] java.lang.IllegalArgumentException: array element type mismatch | egalArgumentException: array element type mismatch | g.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:243) | g.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:305) | g.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:664) | g.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:590) | g.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl | | g.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:252) | g.apache.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:138 | | g.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:436) | g.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextIm | | g.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244) | g.apache.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:138 | | g.apache.axis.message.RPCElement.deserialize(RPCElement.java:262) | g.apache.axis.message.RPCElement.getParams(RPCElement.java:396) | g.apache.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java I am not sure why this is since the type of the ComplexType element that it is trying to assing to an element of the array, is the same anonymous wrote : [Lbb.wseetest1.data.ComplexType I am successfully able to access a method returning a ComplexType that is not an array, though. Please help. Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875342#3875342 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875342 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - 2 Masters in a Singleton service!
Hi, I am able to consistently replicate a case where I get 2 Masters elected in a Singleton service deployed on 2 hosts on the same cluster. This is what I did: (Using JBoss 3.2.3.) (1. Started JBOss and the singleton service on a host, say Host A. This becomes the Master. (2. Started JBoss and the singleton service on another host, say Host B. (3. Host A is the Master at this point. (4. I remove the LAN cable and disconnect host A from the network. (5. Now Host B becomes the Master and host A remains to be the Master. Of course they are not on the same cluster any more since there is no conenctivity from host B to host A. (6. Now I reconnect the LAN cable to host A to restore connectivity. Host B receives a cluster membership changed event and shows host A as 1 of the members in the cluster. (7. Host A also shows host B in its list of cluster members, BUT remains to be the Master! Hence we have 2 masters at this point, both Host A and host B, that are on the same cluster. I was able to see this problem in JBoss 3.2.3. This problem DOES NOT happen in JBoss 4.0.1 sp1. Please advise, Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874937#3874937 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874937 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Notification when a node is connected to the network
Hi, I don't seem to be getting the cluster membership event on the node I took away from the network. Below is a summary of exactly what I did: A Singleton service subscribes to the HAMembershipListener. JBoss version 3.2.3 (1. Started JBoss on Host A, service is Master here. (2. Started JBoss on Host B, service is not Master here. (3. Confirm that Host A and B are on the same cluster (received Membership changed event on Host B with Delta 1) (4. Pulled the network cable from host B. The service on Host A received a membership changed event. The service on Host B did not. (5. Reconnected the network cable. The service on Host A received a membership changed event.. The service on Host B did not. (6. Host B received the trace: 09:08:57,666 INFO [STDOUT] --- GMS: address is NY731-4W-324a:4844 (additional data: 17 bytes) --- 09:08:57,666 ERROR [up] corr == null 09:08:57,666 ERROR [up] corr == null Thats all that happenned. Is this the expected behavior? Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873753#3873753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873753 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Notification when a node is connected to the network
Hi, I have a service that listens to cluster membership events. It also uses a channel to which all memers of the group subscribe. Now suppose the network cable is unplugged from 1 of the nodes, the rest of the cluster receives cluster membership notifications with a dead member. Now if I reconnect this host to the network, is there a way of knowing that this node has rejoined the cluster on this node itself. I know that the other cluster members will get a membership changed, but this node doesn't get such an event. Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873637#3873637 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873637 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Programatically removing a node from a cluster
Got it. Thx! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872950#3872950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872950 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Programatically removing a node from a cluster
Hi, Is it possible to programatically remove a node from a cluster, if it's Address is known? If so, can someone point me to the API? Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872922#3872922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872922 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - EJBTimerService
Hi, I am trying to configure and run JBOSS 4.0.1. I have removed hsqldb-ds.xml since I don't want to use Hypersonic. My previous version, 3.2.6 worked fine with this change but in 4.0.1 EJBTimerService has a problem at startup. I think this is because EJBTimerService is linked to Hypersonic DB in some way. Is there a way I could have EJBTimerService start up without hsql? Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869290#3869290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869290 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - RMIServerSocketAddr
Hi, I am trying to switch to JBOSS 4.0.1 from JBOSS 3.2.6. I noticed a new attribute, RMIServerSocketAddr. Specifically, jboss-service.xml contains the following line: custom Can anyone tell me what this attribute means and whether I need to do anything to it for the switch from 3.2.6 to 4.0.1? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869070#3869070 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869070 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user