[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage

2009-07-20 Thread alfred.rsa
Hi Alessio Thanks for the reply. No I create the SOAP message by getting an instance of the SOAP MessageFactory and then adding elements to the body. When i use the SoapMessage writeTo method to a file, it contains no CRLF pairs, but when I intercept the message using WireShark, I see the CRLF'

[jboss-user] [JBossWS] - Using SUN's SAAJ implementation

2009-07-06 Thread alfred.rsa
Hi I have been struggling to get a JAX-RPC client to work on JBoss. The reason seems to be due to the CRLF characters inserted between the elements of the SOAP request. This does not happen when running outside of JBoss using SUN's SAAJ. Also when I deploy my EAR file on Glassfish, it works pr

[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage

2009-07-02 Thread alfred.rsa
Using WireShark to intercept the transmission, I found that the JBoss SOAPElement.setvalue implementation seems to add a carriage return linefeed combination to my text which causes the Web Service to crash: 37 32 0d 0a 3c 65 6e 76 3a 45 6e 76 65 6c 6f 70 72..te | 0070 73 74 5f 66 6e

[jboss-user] [JBossWS] - Newlines/spaces in SOAPMessage

2009-07-01 Thread alfred.rsa
Hi guys I have code that works when I call it from a stand-alone application, but when I call it from within JBoss, I get a NPE from the Web service I am calling. The problem seems to be newline or space characters between the XML tags of the SOAP message. When I use the stand-alone code I get t

[jboss-user] [JBoss Messaging] - Notification when Topic is destoyed

2009-02-25 Thread alfred.rsa
Hi We are using JBM 1.4 SP3 and our applications uses a topic to send messages. We look up the connection factory, create a connection and set an ExceptionListener on the connection. My problem is that an exception is only fired when JBM is shut down and not when the Topic is destroyed. If the

[jboss-user] [JBoss Messaging] - JBM behind a firewall

2008-04-16 Thread alfred.rsa
Hi guys We are running JBM behind a firewall and need to know which ports to open. We currently have the following open: - 1099 - 1098 - 3517 - 4457 - 4460 Are these ok and will JBM always use these. We did a netstat on a test machine to look at the incoming connections to find these. And

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging via .Net

2008-02-04 Thread alfred.rsa
Thanks Tim I'm looking forward to the first release of JBM 2 Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126437#4126437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126437 _

[jboss-user] [JBoss Messaging] - JBoss Messaging via .Net

2008-01-30 Thread alfred.rsa
Hi We have client running .Net applications that need to connect to our queues on JBoss Messaging. Is this at all possible, and if so how do they go about doing this? Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124742#4124742 Reply to the

[jboss-user] [Management, JMX/JBoss] - Re: XMBean and SubscriptionList

2007-11-08 Thread alfred.rsa
I found my mistake, thanks for your patience. The code should be | MBean Attribute. | SubscriptionList | org.w3c.dom.Element | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103084#4103084 Reply to the post : http://ww

[jboss-user] [Management, JMX/JBoss] - Re: XMBean and SubscriptionList

2007-11-08 Thread alfred.rsa
Thanks - I did try that but I couldn't find an example of it, this is what I tried and it didn't work | MBean Attribute. | SubscriptionList | java.util.List | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103076#

[jboss-user] [Management, JMX/JBoss] - Re: XMBean and SubscriptionList

2007-11-08 Thread alfred.rsa
Hi Dimitris Here is the rest of my config - I only showed the notifications. I am using XMBeans because it seemed to be the most convenient way of adding method/parameter names and descriptions in the JMX console. I tried normal MBeans, dynamic and model mbeans as well. I like XMBeans the best.

[jboss-user] [Management, JMX/JBoss] - Re: XMBean and SubscriptionList

2007-11-08 Thread alfred.rsa
Last try... | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102808#4102808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102808 ___

[jboss-user] [Management, JMX/JBoss] - Re: XMBean and SubscriptionList

2007-11-08 Thread alfred.rsa
Sorry, this is my xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102806#4102806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102806 __

[jboss-user] [Management, JMX/JBoss] - XMBean and SubscriptionList

2007-11-07 Thread alfred.rsa
Hi I have changed my mbeans to xmbeans by having the class extend xmbean. But now my in my *-service.xml the SubscriptionList attribute fails with the following: DeploymentException: No Attribute found with name: SubscriptionList this is my xml

[jboss-user] [JBossWS] - Initializing parameters in a webservice

2007-11-04 Thread alfred.rsa
Hi guys I want to be able to add init-params or something similar to my deployment descriptor and access it from my webservice (through injection if possible) If I add the following to my web.xml: dispatcherName FNB.Commercial.BFLo:service=JMSDataDispatcherService

[jboss-user] [JBossWS] - Re: NoSuchMethodError exception on webservice invocation

2007-11-02 Thread alfred.rsa
Hi guys I took the exact same web service and deployed it in my web module and now it works. What could be the reason that it does not work when deploying in the ejb module? Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101234#4101234 Reply

[jboss-user] [JBossWS] - Re: NoSuchMethodError exception on webservice invocation

2007-11-02 Thread alfred.rsa
This is my request POST http://10.204.72.87:8080/BFlo-BFlo-ejb/DownloadRequest HTTP/1.1 SOAPAction: "" Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Type: text/xml;charset="utf-8" User-Agent: hudson-jaxws-2.1.2-nightly-push-32 Host: 10.204.72.87

[jboss-user] [JBossWS] - Re: NoSuchMethodError exception on webservice invocation

2007-11-02 Thread alfred.rsa
Hi Rukus My WebService is: @WebService() @Stateless() public class DownloadRequest { @WebMethod(operationName = "requestDataQueue") public String requestDataQueue(@WebParam(name = "fileID") String fileID) { return "Test"; } } I have no web.xml as the webservice is in my ejb

[jboss-user] [JBossWS] - NoSuchMethodError exception on webservice invocation

2007-11-01 Thread alfred.rsa
Hi guys Im using JBoss 4.2.2GA and JBossWS 2.0.1GA I exposed a simple method as a web service but when I call it from the client I get the following exception: java.lang.NoSuchMethodError: org.jboss.ejb3.stateless.StatelessBeanContext.getWebServiceContextProperty()Lorg/jboss/injection/lang/ref

[jboss-user] [Management, JMX/JBoss] - Re: JMX notifications

2007-11-01 Thread alfred.rsa
Hi Dimitris I removed the @Service and @Management annotations and this solved the problem. Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101149#4101149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [Management, JMX/JBoss] - JMX notifications

2007-10-29 Thread alfred.rsa
I am having difficulty in getting notifications to work I have 2 MBeans and one must dispatch and the other receive notifications. The dispatcher extends ServiceMBeanSupport (and also uses the @Service annotation). It send by creating a notification and sending it with: Notification notification

[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0GA freezes when reading queue

2007-10-18 Thread alfred.rsa
Hi Tim I did distribute the patched jar to the client and it is first in the classpath. BUT in a late-night cut-and-paste accident I copied the jar to the default instance and not the messaging instance. After doing that the problem was solved. Thanks for your help Alfred View the original

[jboss-user] [JBoss Messaging] - JBM 1.4.0GA freezes when reading queue

2007-10-18 Thread alfred.rsa
Hi guys I am using JBM 1.4.0GA on JBoss AS 4.2.1GA. I have Siebel clients connecting to one of the default queues (A) remotely. They are able to send data to the queue, but when they try to read it they don't get any messages and on my side I get the following exception: 10:30:56,051 WARN [Bi

[jboss-user] [JBossWS] - 2.0.1 Installation issue

2007-08-23 Thread alfred.rsa
Hi guys The ws 2.0.1GA install fails when using the deploy-jboss42-endorsed target as it does not contain stacklibs="${lib.dir}" Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077178#4077178 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [Security & JAAS/JBoss] - Connecting to Secured WebService

2007-05-22 Thread alfred.rsa
Hi I have a piece of code that connects to secured web service using certificates. The problem is that when I use it within an application in JBoss it doesn't work anymore. Do I have to add the certificates in a different way? My code is as follows: System.setProperty("javax.net.de

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Exception when getting connection from ConnectionPool

2007-02-19 Thread alfred.rsa
Hi guys. I am using JBoss 4.0.5 GA, and DB2 JDBC driver com.ibm.db2.jcc.Driver to persist data ia a DB (DB2 ver 8.1). Unfortunately the legacy code gets a connection (and closes it in a finally block) for each record that is persisted. This works for a few thousand records, but when I start per

[jboss-user] [JBoss Messaging] - Re: Messaging works in stand-alone client but not in Enterpr

2007-02-06 Thread alfred.rsa
Tim Thanks for your help. I will have a look at scoping the ear again now I have more info. Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012095#4012095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Messaging] - Re: Messaging works in stand-alone client but not in Enterpr

2007-02-06 Thread alfred.rsa
Hi Tim Thanks for the advice. I actually did try http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance but I couldn't get it to work. Just one thing though, if replacing the jars is not recommended why is it listed as the work-around for

[jboss-user] [JBoss Messaging] - Re: Messaging works in stand-alone client but not in Enterpr

2007-02-05 Thread alfred.rsa
Hi all I found the bug. It is related to a bug in Messaging 1.0.1SP2, JBMESSAGING-682: The cause is version of jboss-remoting.jar in server/messaging/lib and server/messaging/deploy are different. The ant script that comes with JBoss Messaging does not overwrite jboss-remoting.jar in server/me

[jboss-user] [JBoss Messaging] - Messaging works in stand-alone client but not in Enterprise

2007-02-05 Thread alfred.rsa
Hi guys I use JBoss 4.0.5GA and Messaging 1.0.1.SP2. I have eventually got a stand-alone app to work with the JMS server. All the JMS stuff was put in a JAR file. The problem is now when I include my JMS JAR into an enterpise application it fails again with "Failed to config client side AOP".

[jboss-user] [JBoss Messaging] - Re: How to get the number of subscribers to a queue

2007-01-19 Thread alfred.rsa
Thanks Tim That is very bad news for me. Any idea why it was left out? Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004144#4004144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004144 ___

[jboss-user] [JBoss Messaging] - How to get the number of subscribers to a queue

2007-01-19 Thread alfred.rsa
Hi Can anyone please tell me how to get the number of subscribers subscribed to a queue. With MQ I used to interrogate the SubscribersCount property. Regards Alfred Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003796#4003796 Reply to the post : ht

[jboss-user] [JBoss Messaging] - Re: Messaging 1.0.1SP2 problems

2007-01-18 Thread alfred.rsa
Hi Ovidiu Thanks for the response. Ok I started from scratch and this is what I did. - Uninstalled JBoss and deleted the JBoss directory. - Made sure that there isn't any jboss-messaging-client.jar lying around. - Installed JBoss 4.0.5 GA. - Installed JBM 1.0.1 SP2 and successfully ran the que

[jboss-user] [JBoss Messaging] - Messaging 1.0.1SP2 problems

2007-01-18 Thread alfred.rsa
Hi I have installed messaging 1.0.1 SP2 on JBoss 4.0.5GA. And I keep getting the following exception: 20:14:23,921 ERROR [ServerThread] failed to process invocation. java.io.IOException: Can not read data for version 6. Supported versions: 1,2 at org.jboss.remoting.transport.socket.Se