Re: [JBoss-user] [JBoss.NET SOAP] - get rid of jboss-net/service and just have url have my given
acxsjones wrote: I am using jboss-net for webservices. I would like to make the url simple and not contain jboss-net or service. I can map service in the web.xml to a prefix of my own. But how do I tell JBoss to not require jboss-net in the url. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839148#3839148 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839148 I haven't tried this, but suspect that you just need to rename the jboss-net.sar directory, and the jboss-net.war directory within it. There might be one other config file that also needs changing, but that's what I'd start with. -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JBoss.NET SOAP] - JBossNET: method with argument
formenti wrote: View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3820343#3820343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820343 Hallo! I write a session bean exposed as a web service with JBoss.NET and XDoclet... If i try to call a test() method (it return a String) all is right! But if I try to call a method with a String parameter like test2(String test) it doesn't work! :( The error is: java.lang.NoClassDefFoundError at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:326) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233) Any idea?! Gio Gio, the obvious question is, have you put a test2(string test) method in your session bean and then also put this into the web-service.xml file? Or, rather put in the xdoclet tags to expose it as a web service? -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JBoss.NET SOAP] - JBossNET: method with argument
Yes... all the setup of WS is right... I deployed the EAR in a default.net server (a default server with the jboss-net.sar) because i don't want to load all the services of all server. Today I try the deploy in the all directory and it seems to work... maybe i need to put some JAR to the default.net/lib directoy. Any idea about the missing JARs? Gio -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Bruce Scharlau Inviato: venerdi 6 febbraio 2004 10.48 A: [EMAIL PROTECTED] Oggetto: Re: [JBoss-user] [JBoss.NET SOAP] - JBossNET: method with argument formenti wrote: View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3820343#3820343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820343 Hallo! I write a session bean exposed as a web service with JBoss.NET and XDoclet... If i try to call a test() method (it return a String) all is right! But if I try to call a method with a String parameter like test2(String test) it doesn't work! :( The error is: java.lang.NoClassDefFoundError --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss.net: How can I modify the service name displayed in WSDL?
Yeah, but it's the service name in the generated wsdl that's giving Rob grief. It's probably something burried in axis somewhere. I am not sure off the top of my head where to look for that. -jason On Jan 23, 2004, at 10:51 AM, Marek Lange wrote: Rob Moore wrote: I am using the jboss.net xdoclet task and have not been able to figure out how to modify the value that the jboss.net/axis services display for the service name of my session bean. Because it is a local bean, the service has 'Local' appended to the name session bean name automatically so that I end up with something like MySessionLocalService. While it is functional, I cringe at the name and would like to modify it. I thought this would be a fairly easy thing to do, but am unable to determine how to do so. Am I overlooking something or is this just a fact of life? @jboss-net.web-service urn=MyServiceName generates service name=MyServiceName provider=Handler for me. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss.net: SOAP Attachments anyone?
It sounds like the 'apachesoap:DataHandler' might not be mapped correctly. I achieve this using the following in the Axis WSDD file: service name=myservice provider=java:RPC xmlns:ns1=http://www.blah.com/myservice; parameter name=wsdlTargetNamespace value=http://www.blah.com/myservice/ parameter name=className value=com.blah.MyService/ parameter name=allowedMethods value=submitFile/ operation name=submitFile qname=submitFile returnQName=result returnType=xsd:string parameter name=someParam type=xsd:string/ parameter name=dh type=ns1:DataHandler/ /operation typeMapping deserializer=org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory languageSpecificType=java:javax.activation.DataHandler qname=ns1:DataHandler serializer=org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory encodingStyle=http://schemas.xmlsoap.org/soap/encoding// /service Note how the ns1:DataHandler parameter type is mapped to JAFDataHandlerSerializerFactory / JAFDataHandlerDeserializerFactory, and that ns1 is defined as a valid namespace on the service element. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Moore Sent: 27 January 2004 17:29 To: [EMAIL PROTECTED] Subject: [JBoss-user] jboss.net: SOAP Attachments anyone? I was trying to create a service that supports SOAP attachments and I was curious if anyone has been able to successfully do so on JBoss 3.2.x. If so, I'd certainly appreciate any hints or tips, 'cause I can't see how it can be done. I've tried using the JAF DataHandler as the parameter type, but I'm getting an undefined 'apachesoap:DataHandler' type in my wsdl, so it doesn't look like I'm on the right track there. Thanks, Rob --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss.net: How can I modify the service name displayed in WSDL?
Rob Moore wrote: I am using the jboss.net xdoclet task and have not been able to figure out how to modify the value that the jboss.net/axis services display for the service name of my session bean. Because it is a local bean, the service has 'Local' appended to the name session bean name automatically so that I end up with something like MySessionLocalService. While it is functional, I cringe at the name and would like to modify it. I thought this would be a fairly easy thing to do, but am unable to determine how to do so. Am I overlooking something or is this just a fact of life? @jboss-net.web-service urn=MyServiceName generates service name=MyServiceName provider=Handler for me. -marek --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss.net questions/ SAAJ
Marco, at least in head, saaj.jar should be part of the jboss-net.sar. So it should not be an installation question. We have contributed sample code that does web services over smtp (unfortunatly it has been temporarily rolledback, you will find it in org.jboss.net.axis.mail.handlers within Branch_4_0 or through BrowseCVS/Attic) which depends on it to my knowledge. CGJ -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Dienstag, 26. August 2003 21:32 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss.net questions/ SAAJ Dear Dr Jung, no i am not using JBoss.net/axis, or, well, i am not doing a RPC-style webservice, since the nature of my message exchange is that a 'structure' needs to be exchanged between the two clients. so, i have opted to use saaj api, and unfortunately only examples that i found about jboss.net was a rpc-style webservice. anyway, after testing and trying, i found out that ksoap interact perfectly with axis1_1RC2, and the jboss version that i am currently using (3.2.1) seems to use a different version of axis. when i copied the 1_1RC2 jars into jboss.net folder everything worked fine. i would be glad to startup with jboss.net using saaj, but i could not find any docs (and i wanted to try out to use struts along with webservices..). can you please point me to some jboss.net samples that uses saaj? with best regars marco mistroni -Original Message- From: ext Jung , Dr. Christoph [mailto:[EMAIL PROTECTED] Sent: 25 August, 2003 14:15 To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net questions/ SAAJ Marco, looks like you are not using server-side JBoss.net/Axis at all? The soap message (XML) is normally stored in the message body. It depends on the client/service/server configuration, whether SOAPAction headers are used to allow parseless routing/preprocessing. So you should rather ask the ksoap guys how to enable SOAPAction (if possible anyway). CGJ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 24. August 2003 12:32 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JBoss.net questions/ SAAJ hi all, has anyone ever tried to use SAAJ (ex JAXM) API with JBoss and J2ME (ksoap)? i am experiencing problems in retrieving the Envelope. i have written a J2ME client that sends SOAP messages to a backend component implemented using struts (Action class). the message sent by the J2ME client is the following: v:Envelope xmlns:i=http://www.w3.org/1999/XMLSchema-instance; xmlns:d=http://www.w3.org/1999/XMLSchema; xmlns:c=http://schemas.xmlsoap.org/soap/encoding/; xmlns:v=http://schemas.xmlsoap.org/soap/envelope/; v:Header / v:Body n0:agency id=o0 c:root=1 xmlns:n0=http://www.tgmm.com/agenciesdemo; name i:type=d:stringtestagency/name tel i:type=d:string12234/tel email i:type=d:string[EMAIL PROTECTED]/email contacted i:type=d:string01012003/contacted contactperson i:type=d:stringMyself/contactperson /n0:agency /v:Body /v:Envelope now, in the backend component i am writing the following code for getting the SOAP messge Enumeration enumeration = request.getHeaderNames(); MimeHeaders mimeHeaders = new MimeHeaders(); while (enumeration.hasMoreElements()) { String string1 = (String)enumeration.nextElement(); String string2 = request.getHeader(string1); mimeHeaders.addHeader(string1, string2); } System.err.println(Now instantianting message..); MessageFactory factory = MessageFactory.newInstance(); SOAPMessage message = factory.createMessage(mimeHeaders, stream); System.err.println(OK GOT THE MESSAGE..); SOAPPart soapPart = message.getSOAPPart(); System.err.println(OK GOT THE PART..); SOAPEnvelope envelope = soapPart.getEnvelope(); if(envelope== null) System.err.println(Envelope is null!); else { DOMSource source = (DOMSource)soapPart.getContent(); i keep on getting following printout from screen 13:25:10,927 ERROR [STDERR] Now instantianting message.. 13:25:10,977 ERROR [STDERR] OK GOT THE MESSAGE.. 13:25:10,977 ERROR [STDERR] OK GOT THE PART.. 13:25:11,007 ERROR [STDERR] Exception in reading stream: java.lang.NullPointerEx ception So, it seems that the code is failing when retrieving the Envelope.. anyone has done same thing and succeeded? if so, can you tell me what's wrong with the code? with best regards marco -Original Message- From: ext Jung , Dr. Christoph [mailto:[EMAIL PROTECTED] Sent: 18 August, 2003 11:10 To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net questions Hi Marco, of course you are free to use any client library
RE: [JBoss-user] JBoss.net questions/ SAAJ
Dear Mr Jung, yes axis was in jboss.net. but my jboss version (3.2.1) was dated back to may.. as a matter of fact, downloaded latest axis (final) everything works fine. no need now for saaj example... i have seen some examples (axis etc) and it is a matter of extending a prepackaged servlet and implement the onMessage() method if i m right... for my app i wanted to try something different (struts for example).. thanx 4 pointing my out the proper axis version (final)..i m now ready to put my staff on JB4.0.0 thanx again and regards marco -Original Message- From: ext Jung , Dr. Christoph [mailto:[EMAIL PROTECTED] Sent: 28 August, 2003 18:06 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss.net questions/ SAAJ Marco, at least in head, saaj.jar should be part of the jboss-net.sar. So it should not be an installation question. We have contributed sample code that does web services over smtp (unfortunatly it has been temporarily rolledback, you will find it in org.jboss.net.axis.mail.handlers within Branch_4_0 or through BrowseCVS/Attic) which depends on it to my knowledge. CGJ -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Dienstag, 26. August 2003 21:32 To: [EMAIL PROTECTED] Subject:RE: [JBoss-user] JBoss.net questions/ SAAJ Dear Dr Jung, no i am not using JBoss.net/axis, or, well, i am not doing a RPC-style webservice, since the nature of my message exchange is that a 'structure' needs to be exchanged between the two clients. so, i have opted to use saaj api, and unfortunately only examples that i found about jboss.net was a rpc-style webservice. anyway, after testing and trying, i found out that ksoap interact perfectly with axis1_1RC2, and the jboss version that i am currently using (3.2.1) seems to use a different version of axis. when i copied the 1_1RC2 jars into jboss.net folder everything worked fine. i would be glad to startup with jboss.net using saaj, but i could not find any docs (and i wanted to try out to use struts along with webservices..). can you please point me to some jboss.net samples that uses saaj? with best regars marco mistroni -Original Message- From: ext Jung , Dr. Christoph [mailto:[EMAIL PROTECTED] Sent: 25 August, 2003 14:15 To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net questions/ SAAJ Marco, looks like you are not using server-side JBoss.net/Axis at all? The soap message (XML) is normally stored in the message body. It depends on the client/service/server configuration, whether SOAPAction headers are used to allow parseless routing/preprocessing. So you should rather ask the ksoap guys how to enable SOAPAction (if possible anyway). CGJ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 24. August 2003 12:32 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JBoss.net questions/ SAAJ hi all, has anyone ever tried to use SAAJ (ex JAXM) API with JBoss and J2ME (ksoap)? i am experiencing problems in retrieving the Envelope. i have written a J2ME client that sends SOAP messages to a backend component implemented using struts (Action class). the message sent by the J2ME client is the following: v:Envelope xmlns:i=http://www.w3.org/1999/XMLSchema-instance; xmlns:d=http://www.w3.org/1999/XMLSchema; xmlns:c=http://schemas.xmlsoap.org/soap/encoding/; xmlns:v=http://schemas.xmlsoap.org/soap/envelope/; v:Header / v:Body n0:agency id=o0 c:root=1 xmlns:n0=http://www.tgmm.com/agenciesdemo; name i:type=d:stringtestagency/name tel i:type=d:string12234/tel email i:type=d:string[EMAIL PROTECTED]/email contacted i:type=d:string01012003/contacted contactperson i:type=d:stringMyself/contactperson /n0:agency /v:Body /v:Envelope now, in the backend component i am writing the following code for getting the SOAP messge Enumeration enumeration = request.getHeaderNames(); MimeHeaders mimeHeaders = new MimeHeaders(); while (enumeration.hasMoreElements()) { String string1 = (String)enumeration.nextElement(); String string2 = request.getHeader(string1); mimeHeaders.addHeader(string1, string2); } System.err.println(Now instantianting message..); MessageFactory factory = MessageFactory.newInstance(); SOAPMessage message = factory.createMessage(mimeHeaders, stream); System.err.println(OK GOT THE MESSAGE..); SOAPPart soapPart = message.getSOAPPart(); System.err.println(OK GOT THE PART..); SOAPEnvelope envelope = soapPart.getEnvelope(); if(envelope== null) System.err.println(Envelope is null
RE: [JBoss-user] JBoss.net questions/ SAAJ
Dear Dr Jung, no i am not using JBoss.net/axis, or, well, i am not doing a RPC-style webservice, since the nature of my message exchange is that a 'structure' needs to be exchanged between the two clients. so, i have opted to use saaj api, and unfortunately only examples that i found about jboss.net was a rpc-style webservice. anyway, after testing and trying, i found out that ksoap interact perfectly with axis1_1RC2, and the jboss version that i am currently using (3.2.1) seems to use a different version of axis. when i copied the 1_1RC2 jars into jboss.net folder everything worked fine. i would be glad to startup with jboss.net using saaj, but i could not find any docs (and i wanted to try out to use struts along with webservices..). can you please point me to some jboss.net samples that uses saaj? with best regars marco mistroni -Original Message- From: ext Jung , Dr. Christoph [mailto:[EMAIL PROTECTED] Sent: 25 August, 2003 14:15 To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net questions/ SAAJ Marco, looks like you are not using server-side JBoss.net/Axis at all? The soap message (XML) is normally stored in the message body. It depends on the client/service/server configuration, whether SOAPAction headers are used to allow parseless routing/preprocessing. So you should rather ask the ksoap guys how to enable SOAPAction (if possible anyway). CGJ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 24. August 2003 12:32 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JBoss.net questions/ SAAJ hi all, has anyone ever tried to use SAAJ (ex JAXM) API with JBoss and J2ME (ksoap)? i am experiencing problems in retrieving the Envelope. i have written a J2ME client that sends SOAP messages to a backend component implemented using struts (Action class). the message sent by the J2ME client is the following: v:Envelope xmlns:i=http://www.w3.org/1999/XMLSchema-instance; xmlns:d=http://www.w3.org/1999/XMLSchema; xmlns:c=http://schemas.xmlsoap.org/soap/encoding/; xmlns:v=http://schemas.xmlsoap.org/soap/envelope/; v:Header / v:Body n0:agency id=o0 c:root=1 xmlns:n0=http://www.tgmm.com/agenciesdemo; name i:type=d:stringtestagency/name tel i:type=d:string12234/tel email i:type=d:string[EMAIL PROTECTED]/email contacted i:type=d:string01012003/contacted contactperson i:type=d:stringMyself/contactperson /n0:agency /v:Body /v:Envelope now, in the backend component i am writing the following code for getting the SOAP messge Enumeration enumeration = request.getHeaderNames(); MimeHeaders mimeHeaders = new MimeHeaders(); while (enumeration.hasMoreElements()) { String string1 = (String)enumeration.nextElement(); String string2 = request.getHeader(string1); mimeHeaders.addHeader(string1, string2); } System.err.println(Now instantianting message..); MessageFactory factory = MessageFactory.newInstance(); SOAPMessage message = factory.createMessage(mimeHeaders, stream); System.err.println(OK GOT THE MESSAGE..); SOAPPart soapPart = message.getSOAPPart(); System.err.println(OK GOT THE PART..); SOAPEnvelope envelope = soapPart.getEnvelope(); if(envelope== null) System.err.println(Envelope is null!); else { DOMSource source = (DOMSource)soapPart.getContent(); i keep on getting following printout from screen 13:25:10,927 ERROR [STDERR] Now instantianting message.. 13:25:10,977 ERROR [STDERR] OK GOT THE MESSAGE.. 13:25:10,977 ERROR [STDERR] OK GOT THE PART.. 13:25:11,007 ERROR [STDERR] Exception in reading stream: java.lang.NullPointerEx ception So, it seems that the code is failing when retrieving the Envelope.. anyone has done same thing and succeeded? if so, can you tell me what's wrong with the code? with best regards marco -Original Message- From: ext Jung , Dr. Christoph [mailto:[EMAIL PROTECTED] Sent: 18 August, 2003 11:10 To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net questions Hi Marco, of course you are free to use any client library that supports the SOAP1.2 standard in order to contact our server-side AXIS. I´m currently trying to get ksoap2 connected, but there are of course a lot of things to be sorted out manually (namespaces, deserialization, etc.) There is currently a JSR and a sort of reference implementation of IBM available which defines an appropriate JAXR subset to be useful on wireless devices. (Look on alphaworks for Wireless Web Service Toolkit). Best, CGJ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 17. August 2003 11:36 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JBoss.net questions hi all,
Re: [JBoss-user] JBoss.net questions
Well, if you've generated your testClient with the port you've set aside for TCPmon, then that would be the reason you can only connect when it's running. Look for URLs inside the code that point to the incorrect port, replace those with the port that JBoss is running on (8080) and you'll get it going then. -Neal On August 17, 2003 05:36 am, [EMAIL PROTECTED] wrote: hi all, i am trying to get acquainted with jboss.net samples. i followed what has been described at this very useful website http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jbo ss-net-HelloWorld.shtml and i encountered following behaviour. 1 - when i run the testClient WITHOUT running the tcpmon, i got the exception java.net.ConnectException: Connection refused: connect 2 - when instead i run the axis tcpmon, everything works fine. so, does it mean that if i want to run services on jboss-net i have to have tcpmon running? and,a more general question. i am writing a J2ME client that uses the kxml package in order to connect to j2ee applications running on jboss. i have read the docs that if i want to write a client for my jboss.net webservice, that client should have axis classes in its classpath. but i believe that axis package for J2ME does not exist (yet, i hope..). anyone can suggest me some workaround (other than using my own xml format, which i am already doing?)? thanx in advance and regards marco --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_0723 03_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss.net questions
Hi, yep! find the part in the code that was connecting to tcpmon port. thanx a lot! regards marco -Original Message- From: ext Neal Sanche [mailto:[EMAIL PROTECTED] Sent: 17 August, 2003 17:01 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss.net questions Well, if you've generated your testClient with the port you've set aside for TCPmon, then that would be the reason you can only connect when it's running. Look for URLs inside the code that point to the incorrect port, replace those with the port that JBoss is running on (8080) and you'll get it going then. -Neal On August 17, 2003 05:36 am, [EMAIL PROTECTED] wrote: hi all, i am trying to get acquainted with jboss.net samples. i followed what has been described at this very useful website http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jbo ss-net-HelloWorld.shtml and i encountered following behaviour. 1 - when i run the testClient WITHOUT running the tcpmon, i got the exception java.net.ConnectException: Connection refused: connect 2 - when instead i run the axis tcpmon, everything works fine. so, does it mean that if i want to run services on jboss-net i have to have tcpmon running? and,a more general question. i am writing a J2ME client that uses the kxml package in order to connect to j2ee applications running on jboss. i have read the docs that if i want to write a client for my jboss.net webservice, that client should have axis classes in its classpath. but i believe that axis package for J2ME does not exist (yet, i hope..). anyone can suggest me some workaround (other than using my own xml format, which i am already doing?)? thanx in advance and regards marco --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_0723 03_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet _072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss.net how to start
http://www.nsdev.org/jboss/stories/jboss-net.html http://drs.yahoo.com/S=2766679/K=jboss.net/v=2/SID=e/l=WS1/R=3/H=0/*-http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-netGuide.shtml [EMAIL PROTECTED] wrote: hi all, are there any free tutorial/examples on how to start using jboss.net? regards marco --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss.NET can't find serializer
I am in fact at this very moment working through the purchasing process of my company to obtain the 'excellent support of the JBoss group'. I expect to conclude that by the end of the day, meanwhile thanks for all your help. I'm definitely willing to contribute code and/or documentation to the project... but first I need to get a grasp on it. I apologize if I often fail to RTFM, it's just a symptom of working on a death-march project that has to be completed in a few short weeks. As for my problem, there is no such element in the web-service.xml, but, it's definitely in the fileset that's being processed by XDoclet (**/*.java) but I will do some more to verify that. N At 03:18 AM 3/27/2003, you wrote: So what, Look in your generated web-service.xml. If there is an element typeMapping qname=PPFacade type=java:com.fiserv.banklink.iLink.PositivePay.interfaces.CheckDataSoap serializer=org.apache.axis.encoding.ser.BeanSerializerFactory deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory encodingStyle=http://schemas.xmlsoap.org/soap/encoding// then you did everything right. If there is no such section then I guess that you most likely to forgot to include that class into the fileset processed by xdoclet. One thing that you cannot expect from OSS (unless buying the excellent support of JBoss Group) is that somebody sits beside you on your desktop and holds your hands and debugs your ant scripts. A minimum understanding of web-services is still required if you want to implement those. Thats why I suggest everyone to RTFAxisM, first. Once Jboss4 comes out and J2EE1.4 is a common standard, there will be common patterns that everybody knows about, but in the meantime I rather concentrate on getting these specs implemented before making the tools fool-proof. If you want to share your experiences, you are welcome to contribute some doco and helpful code. Either you can help to setup the grain, or you will have to choose a commercial product with a proprietary approach (good luck, then!). -Ursprüngliche Nachricht- Von: Nathan Hoover [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. März 2003 06:47 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JBoss.NET can't find serializer I am still getting java.io.IOException: No serializer found for class com.fiserv.banklink.iLink.PositivePay.interfaces.CheckDataSoap, even with having created the subclass and adding the @jboss-net tag. What to do? I get the feeling I am working against the grain, so to speak. This has to be a common pattern, returning data objects from beans. Is there a better way that I am missing? Thanks Nathan At 11:47 PM 3/26/2003, you wrote: Never mind, this was just idiocy on my part. I had never seen JBoss' not-found error before, and I didn't realize that someone had dropped the table (and consequently my row). It's still not working, but I'm working through the errors. N At 10:57 PM 3/26/2003, you wrote: So, I created a class like so: package com.fiserv.banklink.iLink.PositivePay.interfaces; /** * SOAP-capable Data object for Check. * @copyright BANKLINK 2003 * @author Nathan Hoover * @jboss-net:xml-schema urn=PPFacade */ public class CheckDataSoap extends CheckData {} which extends the CheckData class generated by XDoclet. Now I no longer receive the IOException and instead get the following new and interesting error: javax.ejb.TransactionRolledbackLocalException: Failure while creating a generator session bean: No such entity!; CausedByException is: Failure while creating a generator session bean: No such entity! Thanks again for your help, Nathan At 10:37 AM 3/26/2003, you wrote: I had envisioned an answer like this, and I thought it through already. I will just subclass the CheckData class generated by XDoclet and drop that line in the top. Thanks for your help! N At 10:18 AM 3/26/2003, you wrote: Nathan, for beans/value classes that you like to serialize, you have to add @jboss-net:xml-schema urn=QNAME in order to get them mapped in the web-service.xml Unfortunately, this will be a problem if the classes are generated by xdoclet. Can you try to add such a line to the header of the source (entity-bean?) that xdoclet uses to generate the value class? If you manage that it gets copied to the bean javadoc header and let it processed by jboss-net-xdoclet, then you have reached your goal. CGJ -Ursprüngliche Nachricht- Von: Nathan Hoover [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 25. März 2003 20:40 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: [JBoss-user] JBoss.NET error This worked for me (of course) and my problem with the JNDI name went away. Hopefully this jar will be included as part of the 3.2 release. I am now having a new problem: An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll Additional information: java.io.IOException: No serializer found for class
RE: RE: [JBoss-user] JBoss.NET and Axis SOAP Monitor
Hi, With the information of Dr Jung and putting the generated classes ( SoapMonitorApplet*.class) in jboss/server/config//deploy/jboss-net.sar/jboss-net.war, I had success starting Soap Monitor at: http://localhost:8080/jboss-net/SOAPMonitor luck __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss.NET and Axis SOAP Monitor
How can I use Axis SOAP Monitor with JBoss? Axis site says it should be in http://localhost:port/axis/SOAPMonitor, but there is nothing. And does anyone know what is wrong with jboss.org site? It seems to be down.. You have to set it up yourself. You need to add a servlet mapping into your web.xml for the SoapMonitorService (I think), add the SoapMonitorApplet into the root of your web app and specify the handlers on the service (or transport). I'm not sure how this will work given the classloading in jboss but you can certainly try it. The soap monitor service creates a server socket to which the applet connects. A better way to see what is happening is to use the tcpmon as a proxy, it's easy to set up the HTTP communication to proxy through it. The tcpmon will show you all the headers (authentication info) as well as any error response (the soap monitor does not handle faults). It also means you can do it on a per client basis if you wish. HTH, Kev Kevin Conner This is a personal e-mail. Any views or opinions presented are solely those of the author and do not necessarily represent those of Orchard Information Systems Ltd. --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss.net and holders?
For one, if you have structured types that you send around (most likely bean-like), then you have to register particular de/serializers for them in the web-service.xml (see the jboss.net testsuite which should contain an xdoclet-enabled HelloData JavaBean in the hello chapter that is passed around by the Hello EJB). I didn't think that you had to register a de/serializer for java beans, doesn't the Axis code check for this and uses the bean one one if the class is a bean? I can't remember if you have to call setDoAutoTypes in the type mapping before using this (we have our own type mapping that uses the BeanDe/serializers.) Call-by-reference emulation through returning changed argument values can be implemented using custom serializers, but is IMHO not supported by Jboss.net or Axis or even WSDL per default. Axis does support the notion of IN/OUT and OUT parameters, which is where these holders are used. There is code in RPCProvider's processMessage which appears to handle the creation of these holders, for IN/OUT and OUT parameters. Having said all that I do not allow the specification of these parameters so I have never exercised that code. My emitter automatically generates the OperationDesc structures and forces the parameters to IN. The generated WSDL should contain a response message containing more than one part. I believe the name of the IN/OUT parts should match the parts in the request message. I'm not sure how this is handled in the generated java, presumably the client also has a Holder that has its valud modified. BTW Christoph, did you get a chance to look at the exception ideas I sent a few weeks ago? Thanks, Kev Kevin Conner This is a personal e-mail. Any views or opinions presented are solely those of the author and do not necessarily represent those of Orchard Information Systems Ltd. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss.net via https?
On Wednesday 26 February 2003 03:25 pm, John Fawcett wrote: Hi, Is it possible to call webservices over https? I've looked through the Jboss book, and I think I am missing the method in all the (very interesting) detail... I would think all you'd have to do is configure Jetty within JBoss to have a JSSE listener, and you'd automatically have web services over https. I haven't tried web services specifically, but the procedure for enabling Jetty within JBoss to listen on HTTPS is pretty straightforward. You basically go into deploy/jbossweb.sar/META-INF/jboss-service.xml and uncomment and/or modify the SunJsseListener section following the Jetty FAQ. Once all of the configuration is done, you can try making calls to the wsdl URIs to see if they work through SSL. I would think it would work. -Neal --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Jboss.net via https?
Neal, Thanks, this worked well. Now I can browse to the ?wsdl uri in IE. Jetty was a breeze to configure. I am using jdk1.4.1, so to establish the keystore entry for jetty, I issued: keytool -genkey -keyalg RSA -storepass password -keypass password And changed jbossweb.sar/META-INF/jboss-service.xml to include the snippet: !-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- !-- Add a HTTPS SSL listener on port 8843 -- !-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- Call name=addListener Arg New class=org.mortbay.http.SunJsseListener Set name=Port8443/Set Set name=MinThreads5/Set Set name=MaxThreads100/Set Set name=MaxIdleTimeMs3/Set Set name=LowResourcePersistTimeMs2000/Set !--Set name=KeystoreSystemProperty name=jetty.home default=.//etc/demokeystore/Set-- Set name=Passwordpassword/Set Set name=KeyPasswordpassword/Set /New /Arg /Call Ultimately, I am consuming these webservices in a C# client. For HTTP, I've been using wsdl.exe to generate the classes from the jboss.net generated wsdl files. However, for https, wsdl.exe fails, citing the error: The underlying connection was closed: Could not establish trust relationship with remote server. On the first request IE, and the integrated webservice finder do-dad in .Net studio, ask the user to verify the cert from the server. I suppose the problem is wsdl.exe doesn't know how to accept a cert? Thanks for the help, fawce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neal Sanche Sent: Thursday, February 27, 2003 10:07 AM To: [EMAIL PROTECTED]; John Fawcett Subject: Re: [JBoss-user] Jboss.net via https? On Wednesday 26 February 2003 03:25 pm, John Fawcett wrote: Hi, Is it possible to call webservices over https? I've looked through the Jboss book, and I think I am missing the method in all the (very interesting) detail... I would think all you'd have to do is configure Jetty within JBoss to have a JSSE listener, and you'd automatically have web services over https. I haven't tried web services specifically, but the procedure for enabling Jetty within JBoss to listen on HTTPS is pretty straightforward. You basically go into deploy/jbossweb.sar/META-INF/jboss-service.xml and uncomment and/or modify the SunJsseListener section following the Jetty FAQ. Once all of the configuration is done, you can try making calls to the wsdl URIs to see if they work through SSL. I would think it would work. -Neal --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss.net wsdl error
ok let me try to do the change. Will let you know if it works. -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 12:12 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Unfortunately not, because xdoclet was not being so modular and extensible until 1.2. I think that the template formate and other things have changed too. But it should be easy to upgrade. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Februar 2003 19:11 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error hmm...we're not on xdoclet 1.2 now. Do you have the version for xdoclet 1.1.2? thanks, -joe ---Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:06 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error I guess your are using a static xdoclet module that has been placed under thirdParty by Frederick, right? Could you please try the attached xdoclet 1.2 plugin that is currently built in head. The semicolon thingy and the ejb-ref deprecation should have been fixed, otherwise, please file a bug. I will backport the stuff ASAP and maybe put that jar under downloads. CGJ -Ursprüngliche Nachricht- Von: John Fawcett [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. Februar 2003 23:45 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] jboss.net wsdl error I would suspect that we are either missing something or there is a bug in the class-level tag. Dr. Jung are you aware of any known problem with the class-level tag? Aught I log a bug? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Joe Hung Sent: Monday, February 10, 2003 5:17 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jboss.net wsdl error Someone pointed out that I should use per-method tag @jboss-net:web-method instead of a class level tag @jboss-net:web-service expose-all=true That solved the problem. The hello examples in the source bundle uses the class-level tag that's why I'm using it. I guess it would be worth to change the example code to use per-method tag... thanks, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 4:40 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Joe, I did get it. Will try to have a look today. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Februar 2003 18:52 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error did you get it? I sent the ear file to you directly (not this mailing list). thanks again, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:47 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error If you can send me the .wsr/.ear, I could try to debug the error. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works in this case. http://[hostname]/jboss-net/services/Administration?wsdl I was trying to find out the difference but without any luck. Any quick fix to help me moving? Thanks again! -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error What kind of service, i.e. which provider (javaprovider, ejbprovider, jmxprovider, etc.) do you use? Looks like there is a constant namespace used that is no more registered in the wsdl-engine per-default ... CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 01:38 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net wsdl error on JBoss3.2.0RC1 + tomcat. when I enter http://[hostname]/jboss-net/services/[service_name]?wsdl this is what happened. any clues? thanks, -joe == AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: null faultDetail
RE: [JBoss-user] jboss.net wsdl error
ok I changed to xdoclet 1.2 and it works. Here is another problem I observed: say I have a Hello web service. the first time I type the URL http://[servername]/jboss-net/services/Hello it gives me this ON THE BROWSER AXIS error Sorry, something seems to have gone wrong... here are the details: Exception - java.lang.NullPointerException STACK TRACE in jboss log 11:32:25,863 ERROR [AxisServlet] Exception: java.lang.NullPointerException at org.jboss.net.axis.server.EJBProvider.getServiceClass(EJBProvider.java:162) at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.jav a:535) at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPServ ice.java:322) at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java :477) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeploy ableItem.java:312) However if I type http://[servername]/jboss-net/services/Hello?wsdl shows the wsdl then http://[servername]/jboss-net/services/Hello it gives me this seems correct == Output from browser Hello Hi there, this is an AXIS service! Perhaps there will be a form for invoking the service here... == any ideas? thanks, -joe -Original Message- From: Joe Hung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:54 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jboss.net wsdl error ok let me try to do the change. Will let you know if it works. -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 12:12 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Unfortunately not, because xdoclet was not being so modular and extensible until 1.2. I think that the template formate and other things have changed too. But it should be easy to upgrade. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Februar 2003 19:11 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error hmm...we're not on xdoclet 1.2 now. Do you have the version for xdoclet 1.1.2? thanks, -joe ---Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:06 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error I guess your are using a static xdoclet module that has been placed under thirdParty by Frederick, right? Could you please try the attached xdoclet 1.2 plugin that is currently built in head. The semicolon thingy and the ejb-ref deprecation should have been fixed, otherwise, please file a bug. I will backport the stuff ASAP and maybe put that jar under downloads. CGJ -Ursprüngliche Nachricht- Von: John Fawcett [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. Februar 2003 23:45 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] jboss.net wsdl error I would suspect that we are either missing something or there is a bug in the class-level tag. Dr. Jung are you aware of any known problem with the class-level tag? Aught I log a bug? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Joe Hung Sent: Monday, February 10, 2003 5:17 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jboss.net wsdl error Someone pointed out that I should use per-method tag @jboss-net:web-method instead of a class level tag @jboss-net:web-service expose-all=true That solved the problem. The hello examples in the source bundle uses the class-level tag that's why I'm using it. I guess it would be worth to change the example code to use per-method tag... thanks, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 4:40 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Joe, I did get it. Will try to have a look today. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Februar 2003 18:52 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error did you get it? I sent the ear file to you directly (not this mailing list). thanks again, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:47 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error If you can send me the .wsr/.ear, I could try to debug the error. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works
RE: [JBoss-user] jboss.net wsdl error
Someone pointed out that I should use per-method tag @jboss-net:web-method instead of a class level tag @jboss-net:web-service expose-all=true That solved the problem. The hello examples in the source bundle uses the class-level tag that's why I'm using it. I guess it would be worth to change the example code to use per-method tag... thanks, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 4:40 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Joe, I did get it. Will try to have a look today. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Februar 2003 18:52 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error did you get it? I sent the ear file to you directly (not this mailing list). thanks again, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:47 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error If you can send me the .wsr/.ear, I could try to debug the error. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works in this case. http://[hostname]/jboss-net/services/Administration?wsdl I was trying to find out the difference but without any luck. Any quick fix to help me moving? Thanks again! -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error What kind of service, i.e. which provider (javaprovider, ejbprovider, jmxprovider, etc.) do you use? Looks like there is a constant namespace used that is no more registered in the wsdl-engine per-default ... CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 01:38 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net wsdl error on JBoss3.2.0RC1 + tomcat. when I enter http://[hostname]/jboss-net/services/[service_name]?wsdl this is what happened. any clues? thanks, -joe == AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: null faultDetail: stackTrace: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source) at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source) --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com
RE: [JBoss-user] jboss.net wsdl error
I would suspect that we are either missing something or there is a bug in the class-level tag. Dr. Jung are you aware of any known problem with the class-level tag? Aught I log a bug? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Joe Hung Sent: Monday, February 10, 2003 5:17 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jboss.net wsdl error Someone pointed out that I should use per-method tag @jboss-net:web-method instead of a class level tag @jboss-net:web-service expose-all=true That solved the problem. The hello examples in the source bundle uses the class-level tag that's why I'm using it. I guess it would be worth to change the example code to use per-method tag... thanks, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 4:40 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Joe, I did get it. Will try to have a look today. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Februar 2003 18:52 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error did you get it? I sent the ear file to you directly (not this mailing list). thanks again, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:47 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error If you can send me the .wsr/.ear, I could try to debug the error. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works in this case. http://[hostname]/jboss-net/services/Administration?wsdl I was trying to find out the difference but without any luck. Any quick fix to help me moving? Thanks again! -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error What kind of service, i.e. which provider (javaprovider, ejbprovider, jmxprovider, etc.) do you use? Looks like there is a constant namespace used that is no more registered in the wsdl-engine per-default ... CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 01:38 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net wsdl error on JBoss3.2.0RC1 + tomcat. when I enter http://[hostname]/jboss-net/services/[service_name]?wsdl this is what happened. any clues? thanks, -joe == AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: null faultDetail: stackTrace: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source) at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source) --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2
RE: [JBoss-user] jboss.net wsdl error
the other thing I noticed, the jboss xdoclet library gives me this in the web-service.xml parameter name=allowedMethods value=sayHello;/ so I changed the semicolon (;) to comma (,) in jboss-net.j, and the ?wsdl gives me method declaration instead of just the EJB decl. has it been fixed in the later release? again I'm on 3.2RC1. -joe -Original Message- From: John Fawcett [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 2:45 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] jboss.net wsdl error I would suspect that we are either missing something or there is a bug in the class-level tag. Dr. Jung are you aware of any known problem with the class-level tag? Aught I log a bug? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Joe Hung Sent: Monday, February 10, 2003 5:17 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jboss.net wsdl error Someone pointed out that I should use per-method tag @jboss-net:web-method instead of a class level tag @jboss-net:web-service expose-all=true That solved the problem. The hello examples in the source bundle uses the class-level tag that's why I'm using it. I guess it would be worth to change the example code to use per-method tag... thanks, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 4:40 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Joe, I did get it. Will try to have a look today. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Februar 2003 18:52 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error did you get it? I sent the ear file to you directly (not this mailing list). thanks again, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:47 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error If you can send me the .wsr/.ear, I could try to debug the error. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works in this case. http://[hostname]/jboss-net/services/Administration?wsdl I was trying to find out the difference but without any luck. Any quick fix to help me moving? Thanks again! -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error What kind of service, i.e. which provider (javaprovider, ejbprovider, jmxprovider, etc.) do you use? Looks like there is a constant namespace used that is no more registered in the wsdl-engine per-default ... CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 01:38 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net wsdl error on JBoss3.2.0RC1 + tomcat. when I enter http://[hostname]/jboss-net/services/[service_name]?wsdl this is what happened. any clues? thanks, -joe == AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: null faultDetail: stackTrace: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source) at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source) --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information
RE: [JBoss-user] jboss.net wsdl error
did you get it? I sent the ear file to you directly (not this mailing list). thanks again, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:47 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error If you can send me the .wsr/.ear, I could try to debug the error. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works in this case. http://[hostname]/jboss-net/services/Administration?wsdl I was trying to find out the difference but without any luck. Any quick fix to help me moving? Thanks again! -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error What kind of service, i.e. which provider (javaprovider, ejbprovider, jmxprovider, etc.) do you use? Looks like there is a constant namespace used that is no more registered in the wsdl-engine per-default ... CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 01:38 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net wsdl error on JBoss3.2.0RC1 + tomcat. when I enter http://[hostname]/jboss-net/services/[service_name]?wsdl this is what happened. any clues? thanks, -joe == AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: null faultDetail: stackTrace: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source) at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source) --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss.net wsr deployment on JBoss3.2RC1
am using jboss.net xdoclet module to generate descriptors. I found that it does not like view=both. (view=local works). -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:43 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsr deployment on JBoss3.2RC1 I guess your web-service.xml has a wrong entry for the jndiname of your bean. (Maybe that has to do with the ejb-ref thingy from your other question?). I recommend using the jboss.net xdoclet-module which does all that handling for you. CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. Februar 2003 21:56 An: [EMAIL PROTECTED] Betreff: [JBoss-user] jboss.net wsr deployment on JBoss3.2RC1 I deployed a wsr (Hello) within a .ear file in JBoss3.2RC1. When I use http://hostname/jboss-net/Hello?wsdl it gives me the following errors: any clues? thanks, -joe === STARTING OF EXCEPTION AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - org.apache.axis.ConfigurationException: Could not find home in JNDI AxisFault faultCode: {http://xml.apache.org/axis/}Server.generalException faultString: Could not find home in JNDI faultActor: null faultDetail: Could not find home in JNDI at org.jboss.net.axis.server.EJBProvider.getServiceClass(EJBProvider.java:180) at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider..ja v a:535) at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPServ ice.java:322) at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java :477) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeploy ableItem == --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss.net wsdl error
I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works in this case. http://[hostname]/jboss-net/services/Administration?wsdl I was trying to find out the difference but without any luck. Any quick fix to help me moving? Thanks again! -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error What kind of service, i.e. which provider (javaprovider, ejbprovider, jmxprovider, etc.) do you use? Looks like there is a constant namespace used that is no more registered in the wsdl-engine per-default ... CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 01:38 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net wsdl error on JBoss3.2.0RC1 + tomcat. when I enter http://[hostname]/jboss-net/services/[service_name]?wsdl this is what happened. any clues? thanks, -joe == AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: null faultDetail: stackTrace: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source) at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source) --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss.net error messages
I am using the jboss.net xdoclet module and I think those ejb-refs are generated from the module. I basically copy-n-paste the doclet tags from samples/Hello and created my own HelloBean. As long as it is benign it's ok with me. It would be nice to fix the warning though. cheers, -joe -Original Message- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:41 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net error messages The web-service.xml of jboss.net is a tiny extension to the axis wsdd that additionally allows to - deploy references to external web services - include some extended options into the service tags We once had the idea that web-service.xml should be designed quite along web-application.xml such that every web service deployment would get its own JNDI-namespace in which to place links (the ejb-refs) to the global namespace in order to easily rename beans, etc. without changing code in dependent applications. So you would deploy your ejbprovider against the local name of the bean and place an ejb-ref from the local name to the global name into the same web-service.xml file. But that is of course bullshit, since the web-service.xml should be generated and needs the correct global name in each case. And usually, no java code inside the .wsr is linked directly against global names but parameterised through the web-service.xml. So the feature has been deprecated, instead of ejb-refs, please place the global JNDI names into your web-service tags directly (or use the jboss-net xdoclet-module). Best, CGJ -Ursprüngliche Nachricht- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 00:20 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net error messages can anybody tell me what does this mean? I'm trying to deploy a .wsr in JBoss3.2.0RC1. thanks a lot! -joe = 15:08:02,915 WARN [AxisService] Web Service Deployment org.jboss.deployment.DeploymentInfo@2c653cc6 { url=file:/opt/jboss-3.2.0RC1_tomcat-4.1.18/server/all/tmp/deploy/server/all/ deploy/wmi.ear/37.wmi.ear-contents/wmi.wsr } deployer: org.jboss.net.axis.server.AxisService@5b675e status: Starting state: START_DEPLOYER watch: jar:file:/opt/jboss-3.2.0RC1_tomcat-4.1.18/server/all/tmp/deploy/server/all/ deploy/wmi.ear/37.wmi.ear-contents/wmi.wsr!/META-INF/web-service.xml lastDeployed: 1044400071052 lastModified: 1044400067000 mbeans: makes use of the deprecated ejb-ref feature. Please adjust any ejb-providing service tag inside your web-service.xml pointing to syl/wmi/Hello to use the absolute Hello instead. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss.net xdoclet generation of web-service.xml
At 11:29 15/01/2003 +, you wrote: Hi, I have a problem generating the web-service.xml using the xdoclet+xjavadoc jar files from sourceforge. The process correctly generates all interfaces and deployment descriptor except for the web-service.xml file. I've included the entries from both the Ant build file and Bean source code. Am I missing a tag . Bean /** * * @ejb:bean name=Hello * jndi-name=Hello * type=Stateless * view-type=both * @ejb:interface generate=local,remote * * @ejb:ejb-ref ejb-name=Hello * view-type=local * ref-name=Hello * @ejb:transaction type=Required * @ejb:transaction-type type=Container * * @jboss-net:web-service urn=Hello *expose-all=true * */ ANT ejbdoclet sourcepath=${src.dir}/main/src/ destdir=${generated.java.dir} classpath =${classpath} ejbspec=2.0 force=true fileset dir=${src.dir}/main/src/ include name=org/jboss/net/sample/hello/ejb/*.java / /fileset packageSubstitution packages=ejb substituteWith=interfaces/ remoteinterface destdir=${generated.java.dir}/ localinterface destdir=${generated.java.dir}/ homeinterface destdir=${generated.java.dir}/ localhomeinterface destdir=${generated.java.dir}/ deploymentdescriptor destdir=${generated.java.dir}/ejb/META-INF/ jboss version=2.4 xmlencoding=UTF-8 destdir=${generated.java.dir}/ejb/META-INF/ /ejbdoclet Cheers TC Technology Tel: 020 7574 8880 (ext 48120) Fax: 020 7574 8120 E-mail: [EMAIL PROTECTED] HBOS Treasury Services plc 33 Old Broad Street London EC2N 1HZ Tony, I believe you need to add the JBossNetSubTask to the jboss xdoclet modules. I've not done this yet myself, but should be soon. Even better I found an old email on this from Jason Essington on this from a while back last December 11th. He said that you need to build jboss.net, then you can use the appropriate jar which you find at: The appropriate jar built in the jboss.net module and after a build is located at: /jboss-head/jboss.net/output/lib/xdoclet-module-jboss-net.jar Then you can use it like this: the jbossnet subtask will be included in the xdoclet-jboss-module.jar file. the supported tags for session beans look something like: Class Level Tag * @jboss-net.web-service * urn=MyServiceName * expose-all=true * * @jboss-net.authentication * domain=SomeSecurityDomain * * @jboss-net.authorization * domain=SomeSecurityDomain * allowed-roles=niceGuy,niceGirl * denied-roles=badHax0r Method level tag * @jboss-net.web-method Entity beans have a class tag that look something like: * @jboss-net.xml-schema * urn=SomeURN * data-object=true If data-object=true is used then the bean's data object is serialized rather than the entity bean itself. hope this helps -jason cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss.net xdoclet generation of web-service.xml
There is a bug in the generation of web-service.xml for view-type=both. I submitted a patch a little while back, but I am not sure if Dr. Jung decided to commit it or not. The same patch included a change to put the fully qualified classname in the home and localhome tags, which I believe raised some concerns for Dr. Jung regarding the proper specification. You can find the patch on sourceforge. Hope this helps, fawce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 6:30 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] jboss.net xdoclet generation of web-service.xml Hi, I have a problem generating the web-service.xml using the xdoclet+xjavadoc jar files from sourceforge. The process correctly generates all interfaces and deployment descriptor except for the web-service.xml file. I've included the entries from both the Ant build file and Bean source code. Am I missing a tag . Bean /** * * @ejb:bean name=Hello * jndi-name=Hello * type=Stateless * view-type=both * @ejb:interface generate=local,remote * * @ejb:ejb-ref ejb-name=Hello * view-type=local * ref-name=Hello * @ejb:transaction type=Required * @ejb:transaction-type type=Container * * @jboss-net:web-service urn=Hello *expose-all=true * */ ANT ejbdoclet sourcepath=${src.dir}/main/src/ destdir=${generated.java.dir} classpath =${classpath} ejbspec=2.0 force=true fileset dir=${src.dir}/main/src/ include name=org/jboss/net/sample/hello/ejb/*.java / /fileset packageSubstitution packages=ejb substituteWith=interfaces/ remoteinterface destdir=${generated.java.dir}/ localinterface destdir=${generated.java.dir}/ homeinterface destdir=${generated.java.dir}/ localhomeinterface destdir=${generated.java.dir}/ deploymentdescriptor destdir=${generated.java.dir}/ejb/META-INF/ jboss version=2.4 xmlencoding=UTF-8 destdir=${generated.java.dir}/ejb/META-INF/ /ejbdoclet Cheers TC Technology Tel: 020 7574 8880 (ext 48120) Fax: 020 7574 8120 E-mail: [EMAIL PROTECTED] HBOS Treasury Services plc 33 Old Broad Street London EC2N 1HZ -- -- For more information on HBOS Treasury Services, please visit http://www.HBOSTS.com Or for details of our online FX Deposit services, please go to http://www.HBOSdeal.com HBOS Treasury Services plc is part of the HBOS Group, which also includes Halifax plc and Bank of Scotland. Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 2692890. Registered in England. Regulated by the Financial Services Authority. The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. This mail and any attachments have been scanned for viruses prior to leaving the HBOS Treasury Services plc network. HBOS Treasury Services plc will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. HBOS Treasury Services plc reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation. == --- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en ___ JBoss-user mailing list [EMAIL PROTECTED]
Re: [JBoss-user] jboss.net tutorial updates
Bruce, Thanks for the tutorial. I am not sure if it's too much to ask--but would it be possible if you zip the tutorial up and provide a download link to the zip? However, if you don't like my suggestion, please just ignore my message. Thanks, -- Derek - Original Message - From: Bruce Scharlau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 01, 2002 4:16 AM Subject: [JBoss-user] jboss.net tutorial updates Hi all, sorry this has been so slow in coming, but I'm sure you all know the story, so I won't elaborate ;-) Anyways, I've now amended the tutorials posted off of http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/ So there is a simple hello world version at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-He lloWorld.shtml And a more complex version with a jsp page and an ejb at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJ B-example.shtml Please let me know if any of you have problems with these pages. Also, as soon as I can I'll put up a better binary, which also includes cocoon2 support. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:scharlau;csd.abdn.ac.uk --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss.net - how to deploy web services
Hmm. Using JBoss 3.0.1, I tried deploying an ear file with just a wsr and I tried deploying just the wsr, and in both cases I do get error message in log file. Are you sure you got no errors? [EMAIL PROTECTED] wrote: I am trying to understand the different deployment options for web services using JBoss.net and am getting a bit lost. I have tried the JBoss.net forum but haven't gotten any feedback. I am using the example from http://www.csd.abdn.ac.uk/~bscharla/soap.html (thanks Bruce :-) and this is working great as is - ie packaged as an .ear containing the EJB jar, web app war and web service wsr. However I want to be able to 'bolt' the web service capabilitity onto existing EJBs - and package separately. To try this I have split the above example up and deployed the components separately (ie jar, war and wsr). The jar and war deploy fine and I can use the test page to hit the EJB using standard J2EE / RMI connectivity. However I can't get the web service to deploy. If I deploy the wsr I get a deployment error - it says I am trying to re-deploy something that is already deployed (even though it isn't). If I just deploy the web-service.xml file (which is all that's in the wsr anyway, that deploys with no errors - but doesn't work (ie the web service isn't available). I am not changing any of the files and the ear does work so I know it must be a packaging issue. Anyone know how this can be packaged and / or where I can look to find this out ? Thanks Matt --- Shine Technologies - A Passion For Excellence http://www.ShineTech.com --- --- In remembrance www.osdn.com/911/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-332-3363 --- In remembrance www.osdn.com/911/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Jboss.net web-service.dtd?
Conrad, I'm not sure, but I have had some success creating .wsr's with web-service.xml files that are identical to apache axis WSDD files. description: http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-guide.h tml#PublishingServices example: http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/samples/userguide /example3/deploy.wsdd Not quite a dtd, but a guide to what you can put in there, if that's what you're looking for... - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of conrad Sent: Friday, July 19, 2002 9:08 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Jboss.net web-service.dtd? Hi everyone Is there web-service.dtd available anywere? Cheers Conrad? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError
CGJ, Unfortunately, I need to get on with building a web service, rather than track down this challenging bug. I'll just use JRE 1.4.0_01 for now -- as you mentioned, it seems to be working well. Perhaps I can come back to this later. Thanks again for your help. - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matt Munz Sent: Thursday, July 18, 2002 9:26 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError CGJ, some more news but no solutions... Once you got [EMAIL PROTECTED]() return class1@yyy and afterwards class1@zzz, this would hint to such a problem. I think I almost understand what you're talking about. Do you know how I might get that pointer value? Also, it seems that [EMAIL PROTECTED](com.techtrader.modules.tools.bytecode.Code, false) never returns (throws LinkageError instead) when called from the loadClassLocally() method. I also tried compiling tt-bytecode.jar from the latest (tech trader) source, using the j2sdk 1.4.1 compiler. This apparently did not make a difference. - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr. Christoph Sent: Thursday, July 18, 2002 3:01 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError Matt, the behaviour is totally right, since ClassLoader.loadClass and hence loadClassLocally can be called both by the VM and by Java Code --- unless the class references returned would change for a particular classloader which would break the integrity and result in ClassCastExceptions and other weired stuff. Could you try to monitor the returned class pointers not the resolved names? Once you got [EMAIL PROTECTED]() return class1@yyy and afterwards class1@zzz, this would hint to such a problem. CGJ -Ursprüngliche Nachricht- Von: Matt Munz [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 17. Juli 2002 20:48 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError Hi all, Perhaps this is a classloading issue after all. I added the following sys out's to the UnifiedClassLoader to see what's going on. public Class loadClassLocally(String name, boolean resolve) throws ClassNotFoundException { System.out.println(!!!m getting class locally...); System.out.println(!!!m getting class locally. name: + name + , resolve: + resolve); return super.loadClass(name, resolve); } The output below, which occurs after I drop jboss-net.sar into the deploy folder, shows the names of the classes as they are loaded. A few classes are being loaded several times, including org.apache.commons.logging.LogFactory, com.techtrader.modules.tools.bytecode.BCEntity, and the problem class com.techtrader.modules.tools.bytecode.Code, which is loaded three times. I'm not too familiar with classloaders. Is this a problem? Should each class be loaded only once? Does this look familiar to any of you who have worked on the Classloader bugs (esp. the 1.4 ones)? 2002-07-17 14:26:31,672 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,672 INFO [STDOUT] !!!m getting class locally. name: java.util.AbstractCollection, resolve: false 2002-07-17 14:26:31,682 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,682 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.AxisFault, resolve: false 2002-07-17 14:26:31,682 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,682 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.InternalException, resolve: false 2002-07-17 14:26:31,682 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,682 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.session.Session, resolve: false 2002-07-17 14:26:31,692 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,692 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.client.AxisClient, resolve: false 2002-07-17 14:26:31,692 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,692 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.server.AxisServerFactory, resolve: false 2002-07-17 14:26:31,702 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,702 INFO [STDOUT] !!!m getting class locally. name: org.apache.commons.logging.LogFactory, resolve: false 2002-07-17 14:26:31,702 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,702 INFO [STDOUT] !!!m getting class locally. name: org.apache.commons.logging.LogFactory, resolve: false 2002-07-17 14:26:31,713 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,713 INFO [STDOUT] !!!m getting class locally. name: org.apache.commons.logging.LogConfigurationException, resolve: false 2002-07-17 14:26:31,713 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,723 INFO
RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError
[STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,863 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.configuration.FileProvider, resolve: false 2002-07-17 14:26:31,863 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,863 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.deployment.wsdd.WSDDDeployableItem, resolve: false 2002-07-17 14:26:31,873 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,873 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.deployment.DeployableItem, resolve: false 2002-07-17 14:26:31,873 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,873 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.deployment.wsdd.WSDDGlobalConfiguration, resolve: false 2002-07-17 14:26:31,873 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,873 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.utils.LockableHashtable, resolve: false 2002-07-17 14:26:31,883 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,883 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.utils.cache.ClassCache, resolve: false 2002-07-17 14:26:31,883 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,883 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.session.SimpleSession, resolve: false 2002-07-17 14:26:31,893 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:31,893 INFO [STDOUT] !!!m getting class locally. name: org.apache.axis.utils.JavaUtils, resolve: false 2002-07-17 14:26:32,223 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,223 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.BCEntity, resolve: false 2002-07-17 14:26:32,233 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,233 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.BCEntity, resolve: false 2002-07-17 14:26:32,243 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,243 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.visitor.VisitAcceptor, resolve: false 2002-07-17 14:26:32,243 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,243 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.Code, resolve: false 2002-07-17 14:26:32,253 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,253 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.Code, resolve: false 2002-07-17 14:26:32,253 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,253 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.Attribute, resolve: false 2002-07-17 14:26:32,263 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,263 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.Constants, resolve: false 2002-07-17 14:26:32,263 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,273 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.Code, resolve: false 2002-07-17 14:26:32,273 INFO [STDOUT] !!!m getting class locally... 2002-07-17 14:26:32,283 INFO [STDOUT] !!!m getting class locally. name: com.techtrader.modules.tools.bytecode.UnknownAttribute, resolve: false - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr. Christoph Sent: Wednesday, July 17, 2002 3:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError Matt, Thanks for YOUR patience with jboss.net ... Good luck. CGJ -Ursprüngliche Nachricht- Von: Matt Munz [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 16. Juli 2002 19:32 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError CGJ, Thanks for your patience with all my questions :) I guess the axis-beta3 migration is something which should be better done by me, because I can easily conclude necessary patches to make in jboss.net from diffing axis-beta1 to beta3. I figured that was the case. Maybe you could try to find out whether axis-3 still depends on the tt-bytecode that flawed in your configuration? It does. I'll try to provide a bug report on this to the Axis developers. Maybe you could try to get their sourcecode and find the exact problem why it causes this LinkageError while only analysing bytecode, not creating some. That's my next step. Even though tt-bytecode.jar may not be actively maintained, I'm sure the source is available... If I'm able to figure anything out, I'll let you know. - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr. Christoph Sent: Tuesday, July 16, 2002 10:41 AM To: '[EMAIL PROTECTED]' Subject: AW
Re: [JBoss-user] Jboss.net
At 05:26 PM 7/15/2002 +, you wrote: Hi everyone Is it possible to run jboss.net plugin with JBoss 3.0.1RC1? I walked through intructions on http://www.csd.abdn.ac.uk/~bscharla/soap.html and I get such error: 17:09:46,227 ERROR [MainDeployer] could not start deployment: file:/opt/jboss-3.0.1RC1/server/default/deploy/jboss-net.sar java.lang.NoSuchMethodError: org.jboss.deployment.DeploymentInfo.init(Ljava/net/URL;Lorg/jboss/deployment/DeploymentInfo;)V at org.jboss.net.axis.server.AxisService.startService(AxisService.java:265) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy6.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:384) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy3.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) Regards Conrad Conrad, what where you trying to do? The JBoss-3.0.1.RC1 already has the jboss.net.sar in it, ie it works with Jetty, and should run out of the box as it were. Or were you trying to get this RC version to work with Tomcat? If you were trying to get it to work with Tomcat, then it probably won't and you'll need to download the jboss-tomcat binary from the page above, or build your own following the instructions from that page. In any case, give me some more details and I'll see what I can do to help. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError
CGJ, I will see whether the prob still appears with the axis beta3 when integrating with jboss.net Sounds great. On the Todo list, I see this as task #58106, scheduled for completion on 7-15 (yesterday). Any estimate on when this will actually be done? Is this a one-person task, or is there room for assistance? - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr. Christoph Sent: Tuesday, July 16, 2002 3:56 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError Hi Matt, I have no idea about incompatibilities between the bytecode toolkit and JDK1.4, but I guess this is a likely source for your problem. Tt-bytecode (http://tt-bytecode.sourceforge.net/) is no longer active, anyway, so I guess that the axis guys will (or have already been?) replacing it by the successor SERP (http://serp.sourceforge.net/). I will see whether the prob still appears with the axis beta3 when integrating with jboss.net CGJ -Ursprüngliche Nachricht- Von: Matt Munz [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 15. Juli 2002 23:08 An: jboss-user Betreff: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError JBoss.net folks, Could you take a look at the following any help me figure out what's going on? Is there a problem with tt-bytecode.jar? - Matt Setup: w2k, jdk1.4.1, build from latest source. I made a copy of the default configuration and renamed it terminology. I then droped jboss-net.sar into the deploy folder. Output: 16:59:31,456 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@48288517 { url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/serv er/terminology/deploy/jboss-net.sar, deployedLastMod ified=0 } org.jboss.deployment.DeploymentException: Could not create deployment: file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3. 1.0alpha/server/terminology/deploy/jboss-net.sar; - nested throwable: (java.lang.LinkageError: duplicate class definition: com/tec htrader/modules/tools/bytecode/Code) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:634) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:599) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat cher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne r.java:381) at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen tScanner.java:576) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner. java:449) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan( AbstractDeploymentScanner.java:187) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab stractDeploymentScanner.java:197) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs tractDeploymentScanner.java:177) Caused by: java.lang.LinkageError: duplicate class definition: com/techtrader/modules/tools/bytecode/Code at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:22 6) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader. java:234) at org.jboss.mx.loading.UnifiedLoaderRepository.loadClassFromRepository(Unified LoaderRepository.java:507) at org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoaderReposito ry.java:179) at org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:28 3) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at
Re: [JBoss-user] Jboss.net
Conrad, what where you trying to do? The JBoss-3.0.1.RC1 already has the jboss.net.sar in it, ie it works with Jetty, and should run out of the box as it were. Or were you trying to get this RC version to work with Tomcat? If you were trying to get it to work with Tomcat, then it probably won't and you'll need to download the jboss-tomcat binary from the page above, or build your own following the instructions from that page. In any case, give me some more details and I'll see what I can do to help. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user Thanks Bruce I've found jboss-net.sar file in all configuration directory - yesterday wasn't my best day :-) I've tried to deploy it and and got some exceptions - in attached file - setup: jdk1.4, linux 2.4.18, JBoss-3.0.1RC1 (out of the box) Do you have any idea what am I doing wrong? Regards Conrad err Description: application/java-vm
Re: [JBoss-user] Jboss.net
At 03:41 PM 7/16/2002 +, you wrote: Conrad, what where you trying to do? The JBoss-3.0.1.RC1 already has the jboss.net.sar in it, ie it works with Jetty, and should run out of the box as it were. Or were you trying to get this RC version to work with Tomcat? If you were trying to get it to work with Tomcat, then it probably won't and you'll need to download the jboss-tomcat binary from the page above, or build your own following the instructions from that page. In any case, give me some more details and I'll see what I can do to help. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user Thanks Bruce I've found jboss-net.sar file in all configuration directory - yesterday wasn't my best day :-) I've tried to deploy it and and got some exceptions - in attached file - setup: jdk1.4, linux 2.4.18, JBoss-3.0.1RC1 (out of the box) Do you have any idea what am I doing wrong? Regards Conrad Conrad, I'm not sure what went wrong. I downloaded a copy of jboss-3.0.1RC1 and it worked fine. I also noted that now there is only the 'server/default' option without a lib directory under it, so maybe you're missing a jar from the server classpath, and that is what is throwing your server off. Try a newer build and see what happens. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError
CGJ, Thanks for your patience with all my questions :) I guess the axis-beta3 migration is something which should be better done by me, because I can easily conclude necessary patches to make in jboss.net from diffing axis-beta1 to beta3. I figured that was the case. Maybe you could try to find out whether axis-3 still depends on the tt-bytecode that flawed in your configuration? It does. I'll try to provide a bug report on this to the Axis developers. Maybe you could try to get their sourcecode and find the exact problem why it causes this LinkageError while only analysing bytecode, not creating some. That's my next step. Even though tt-bytecode.jar may not be actively maintained, I'm sure the source is available... If I'm able to figure anything out, I'll let you know. - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr. Christoph Sent: Tuesday, July 16, 2002 10:41 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError Matt, Our current tasks are pretty much one-person things simply because we are not too many :-( You are welcome to step in and help out. Although I guess the axis-beta3 migration is something which should be better done by me, because I can easily conclude necessary patches to make in jboss.net from diffing axis-beta1 to beta3. Maybe you could try to find out whether axis-3 still depends on the tt-bytecode that flawed in your configuration? Maybe you could try to get their sourcecode and find the exact problem why it causes this LinkageError while only analysing bytecode, not creating some. Or maybe there is some other task that attracts you? You are warmly welcome in each case. CGJ -Ursprüngliche Nachricht- Von: Matt Munz [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 16. Juli 2002 15:05 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError CGJ, I will see whether the prob still appears with the axis beta3 when integrating with jboss.net Sounds great. On the Todo list, I see this as task #58106, scheduled for completion on 7-15 (yesterday). Any estimate on when this will actually be done? Is this a one-person task, or is there room for assistance? - Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr. Christoph Sent: Tuesday, July 16, 2002 3:56 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError Hi Matt, I have no idea about incompatibilities between the bytecode toolkit and JDK1.4, but I guess this is a likely source for your problem. Tt-bytecode (http://tt-bytecode.sourceforge.net/) is no longer active, anyway, so I guess that the axis guys will (or have already been?) replacing it by the successor SERP (http://serp.sourceforge.net/). I will see whether the prob still appears with the axis beta3 when integrating with jboss.net CGJ -Ursprüngliche Nachricht- Von: Matt Munz [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 15. Juli 2002 23:08 An: jboss-user Betreff: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError JBoss.net folks, Could you take a look at the following any help me figure out what's going on? Is there a problem with tt-bytecode.jar? - Matt Setup: w2k, jdk1.4.1, build from latest source. I made a copy of the default configuration and renamed it terminology. I then droped jboss-net.sar into the deploy folder. Output: 16:59:31,456 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@48288517 { url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/serv er/terminology/deploy/jboss-net.sar, deployedLastMod ified=0 } org.jboss.deployment.DeploymentException: Could not create deployment: file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3. 1.0alpha/server/terminology/deploy/jboss-net.sar; - nested throwable: (java.lang.LinkageError: duplicate class definition: com/tec htrader/modules/tools/bytecode/Code) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:634) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:599) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat cher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
Re: [JBoss-user] jboss.net
At 09:16 AM 7/10/2002 +0200, you wrote: I have to build and to install jboss.net on jboss, using Windows 2000Nt pro. Viewing the instructions on jboss site, I do not understand where I have tu put the folder jboss.net and where the folder build stays. Can you help me? thank Roberto Podesta' Roberto, you'll find a guide on setting up jboss+tomcat (or jetty) + jboss.net (ie Axis) at http://www.csd.abdn.ac.uk/~bscharla/soap.html From their you can either follow the instructions on building your own system or download some pre-built binaries that I've put there. If you use the binaries, then please be sure to have set up your environment per the prerequisites on this page http://www.csd.abdn.ac.uk/~bscharla/JBossTomcatInstall.html . That should ensure that the binaries run out of the box. Let me know if you have any problems. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss.net: AXIS engine could not find a targetservice to invoke
If you use SOAP, you might need to manually update the wsdl-file to fill the soapaction-fields with the same action as specified elsewhere in the file (name of your methods). On Tue, 2002-06-11 at 11:33, Thomas Phan wrote: Hi, Thanks Frederick, and boostcom.no for your answers to my previous post. Now, I implemented a session EJB, and deployed it using a .WSR within a .EAR. JBoss 3 Final starts up with no error msg, but the web service doesn't function. Other than configuring the web-service.xml, I have no control, such as viewing the generated code for the stub, and the serializer, to my web service, Region. Do I need any custom (or Axis generated) code in the .WSR? I wrote a M$ .NET client, but got the following error msg. My client code works if I re-write the session bean code as a Java class, and deploy it using the standalone Axis. Since the whole thing is quiet new, may I know more about JBoss.net's structure (its file distribution structure) comparing to the standalone Axis? Thanks very much --- M$ .NET error msg (using the WSDL produced by org.apache.axis.wsdl.Java2WSDL) = An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll Additional information: The AXIS engine could not find a target service to invoke! targetService is Region --- Axis Loaded === 15:46:37,557 INFO [Server] JBoss (MX MicroKernel) [3.0.0 Date:200205311035] Started in 0m:50s:192ms 15:46:50,205 INFO [Jetty] JBossAxisServlet: init --- Region Deployed === request: http://localhost:8080/axis/services/Region reply: /axis/services/Region Hi there, this is an AXIS service! Perhaps there will be a form for invoking the service here... --- Attempt to get WSDL === request: http://localhost:8080/axis/services/Region?wsdl reply: AXIS error Sorry, something seems to have gone wrong... here are the details: The AXIS engine could not find a target service to invoke! targetService is Region --- web-service.xml === ?xml version=1.0 encoding=UTF-8? !-- This Web Service Descriptor has been generated by XDoclet/Jbossnet -- deployment name=esb xmlns=http://xml.apache.org/axis/wsdd/; targetNamespace=http://services.esb; xmlns:esb=http://services.esb; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; service name=Region provider=Handler parameter name=handlerClass value=org.jboss.net.axis.server.EJBProvider/ parameter name=beanJndiName value=Region/ parameter name=allowedMethods value=*/ requestFlow name=RegionRequest handler type=java:org.jboss.net.axis.server.TransactionRequestHandler/ /requestFlow responseFlow name=RegionResponse handler type=java:org.jboss.net.axis.server.SerialisationResponseHandler/ handler type=java:org.jboss.net.axis.server.TransactionResponseHandler/ /responseFlow /service /deployment --- RegionBean.java === package esb.ejb; import javax.ejb.CreateException; import javax.ejb.SessionBean; import javax.ejb.SessionContext; /** * @ejb:bean name=Region * jndi-name=Region * type=Stateless * view-type=local * @ejb:ejb-ref ejb-name=Region * view-type=local * ref-name=Region * @ejb:transaction type=Required * @ejb:transaction-type type=Container * * @jboss-net:web-service urn=Region *expose-all=true */ public class RegionBean implements SessionBean { /** * @ejb:interface-method view-type=local */ public Integer createRegion(RegionData regionData) { TerritoriesData[] territoriesData = regionData.getTerritoriesData(); System.out.println(create: + regionData.getRegionId() + , + regionData.getRegionDescription()); if (territoriesData != null) { for (int i = 0; i territoriesData.length; i += 1) { System.out.println(territoriesData: + territoriesData[i].getTerritoryId() + , + territoriesData[i].getTerritoryDescription()); } } return new Integer(1); } /** * @ejb:interface-method view-type=local */ public void setRegion(RegionData regionData) { TerritoriesData[] territoriesData = regionData.getTerritoriesData(); System.out.println(set: + regionData.getRegionId() + , + regionData.getRegionDescription()); if (territoriesData != null) { for (int i = 0; i territoriesData.length; i += 1) { System.out.println(territoriesData: + territoriesData[i].getTerritoryId() + , + territoriesData[i].getTerritoryDescription()); } } } /** * @ejb:interface-method view-type=local */ public RegionData getRegion(Integer regionId) { System.out.println(get: +
Re: [JBoss-user] JBoss.net installation/deployment using xdoclet
At 01:46 AM 6/11/2002, Thomas Phan wrote: Now, I got the server deployed. Does xdoclet possible to generate the WSDL file as well. I'm going to write a C# client. Do I need to do, java My apologies, but I haven't worked with the java2wsdl feature yet, and so don't have an answer, perhaps someone else can pipe up. I don't know what city you are based in, but in Atlanta we have an XML users group (http://www.xmlaug.com) with a special Web Services working group that meets every other week. They also have some presentations by Chris Haddad, a consultant and president of the group, posted on the web site on the subject. Some of the guys at Bravepoint (http://www.bravepoint.com), a consulting company, might be able to help you. They have described work they have done connecting dot net to J2EE. In addition, you may want to have a look at the Java One slides from Mar: http://servlet.java.sun.com/javaone/sf2002/conf/sessions/index.en.jsp . Presentation TS-3154 might have some useful pointers at the very end. Hope that helps. Frederick N. Brier ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss.net installation/deployment using xdoclet
Hi Frederick, Thanks, you already answered a lot of my unknowns. It's nice to know that you'll work on the java2wsdl feature later :) With xdoclet, implementing a web service in jboss.net will be as easy as implementing a local method later. A feature request, I hope that the AXIS (de-)serializer will be generated into xdoclet's dataobject/ tag I'm in Hong Kong, so I've missed, and will miss a lot of wonderful meetings. But I always like to hear about new techonolgy, thanks for the sites - Original Message - From: Frederick N. Brier [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Thomas Phan [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 9:03 PM Subject: Re: [JBoss-user] JBoss.net installation/deployment using xdoclet At 01:46 AM 6/11/2002, Thomas Phan wrote: Now, I got the server deployed. Does xdoclet possible to generate the WSDL file as well. I'm going to write a C# client. Do I need to do, java My apologies, but I haven't worked with the java2wsdl feature yet, and so don't have an answer, perhaps someone else can pipe up. I don't know what city you are based in, but in Atlanta we have an XML users group (http://www.xmlaug.com) with a special Web Services working group that meets every other week. They also have some presentations by Chris Haddad, a consultant and president of the group, posted on the web site on the subject. Some of the guys at Bravepoint (http://www.bravepoint.com), a consulting company, might be able to help you. They have described work they have done connecting dot net to J2EE. In addition, you may want to have a look at the Java One slides from Mar: http://servlet.java.sun.com/javaone/sf2002/conf/sessions/index.en.jsp . Presentation TS-3154 might have some useful pointers at the very end. Hope that helps. Frederick N. Brier ___ Multimillion Dollar Computer Inventory Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss.net installation/deployment using xdoclet
My apologies. These comments are in reference to the 3.1Alpha in CVS. Not the 3.0 Final. I wasn't aware that this code was in there. The Hello example is still in a bit of flux, which is why its not called by the parent build file. If you don't see the jboss.net MBean using the port 8082 interface, then maybe, unfortunately, the axis-config.xml has an error. I just fixed it. If that is not it, perhaps there is another issue. I don't know what port 8083 does. On the Hello World program, it is demonstration of Macromedia Flash/SOAP integration. It also uses a XDoclet extension that Dr. Jung wrote and I built into an xdoclet.jar which is in ./jboss-all/jboss.net/tools/lib. Unfortunately, because there is an XDoclet in ./jboss-all/tools/lib it, as a classpath overrides the build.xml for the Hello sample. So... if you want to temporarily remove the xdoclet.jar in the master directory. The sample will then build. Sorry, it is a hack. One of the goals of this sample is to show how a single build.xml file can cleanly generate all the interface sources, deployment descriptors and archives for an .ear: HelloSession.java, HelloLocal.java, HelloLocalHome.java, HelloUtil.java, web.xml, jboss-web.xml, web-service.xml, ejb-jar.xml, jboss.xml, application.xml, hello.jar, hello.wsr, hello.war, hello.ear. I was trying to avoid having a separate XDoclet subtask since I was planning on updating xdoclet. The build does work. There is no need for stubs, skeletons, or wsdl files. All of it is generated from one HelloBean.java file. Just copy the ./jboss.net/samples/Hello/output/lib/hello.ear into the deploy directory and it should work. Just request http://localhost:8080/hello . This Hello World program uses a JSP tag and page to embed the SOAP root context into the Flash plugin html elements. The HelloWorldForm.swf Flash program when you press the say hello button generates a SOAP message to the server, which goes through the servlet/axis engine to the EJB container and back out to your browser. One last note on the example. The version in CVS only works for IE. The version I am currently working on has Actionscript classes to support the SOAP communication. I will check that in as soon as I can bundle it as a Macromedia Flash Extension. I'm currently looking at upgrading the JBoss build process to use the latest version of XDoclet and its new extensible architecture. That way subtasks can just be copied as needed into the lib directory. Also be aware that in order to run the Flash SOAP service you need to make changes in the axis-config.xml (uncomment the FlashNamespaceHandler) and install-axis.xml (comment out the normal servlet, uncomment the flash servlet) files. Currently you can only run one Axis engine, but we are looking at changing that. Frederick N. Brier Multideck Corporation At 03:06 PM 6/10/2002, you wrote: Hi, I installed JBoss 3 final (Jetty), but doesn't find that JBoss.net is installed in the binary package. Unlike JBoss 3 RC 3, I get error 404 back from http://localhost:8080/axis/servlet/AxisServlet now. How may I set it to work? And what does port 8083 do? I deployed a few web services in Axis/Tomcat successfully. And I looked at the CVS's jboss-all/jboss.net/samples/Hello example. In this example, a special xdoclet.jar is used with the tag, @jboss-net:web-service urn=Hello expose-all=true in the session bean. I followed this example, and made my web-service.xml, and .wsr file using ANT. But I wonder about the stub/skeleton class, and the WSDL file? Where should they be stored? In the .wsr file? Should we create them manually using Axis' tool in advance? Where may I find more information? Thanks Thomas ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss.net installation/deployment using xdoclet
On Tue, Jun 11, 2002 at 03:06:43AM +0800, Thomas Phan wrote: Hi, I installed JBoss 3 final (Jetty), but doesn't find that JBoss.net is installed in the binary package. Unlike JBoss 3 RC 3, I get error 404 back from http://localhost:8080/axis/servlet/AxisServlet now. How may I set it to work? And what does port 8083 do? Check that jboss.net-service is deployed under the configuration you are using. I deployed a few web services in Axis/Tomcat successfully. And I looked at the CVS's jboss-all/jboss.net/samples/Hello example. In this example, a special xdoclet.jar is used with the tag, @jboss-net:web-service urn=Hello expose-all=true in the session bean. I followed this example, and made my web-service.xml, and .wsr file using ANT. But I wonder about the stub/skeleton class, and the WSDL file? Where should they be stored? In the .wsr file? Should we create them manually using Axis' tool in advance? Where may I find more information? Thanks Thomas ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- MVH Marius Kotsbak Boost communications AS ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss.net installation/deployment using xdoclet
Hi Frederick, Thanks. Yes, I got the Hello sample from the 3.1 source tree. Now, I got the server deployed. Does xdoclet possible to generate the WSDL file as well. I'm going to write a C# client. Do I need to do, java org.apache.axis.wsdl.Java2WSDL -o Hello.wsdl -lhttp://localhost:8080/axis/services/Hello; Hello, manually, so that I can add a Web Reference in C#? Just wonder, If my web service contains a complex type that requires a serializer/deserializer, such as, types schema xmlns=http://www.w3.org/2001/XMLSchema; targetNamespace=http://interfaces.esb; complexType name=RegionData sequence element name=regionId nillable=true type=SOAP-ENC:int/ element name=regionDescription nillable=true type=xsd:string/ element name=territoriesData nillable=true type=intf:ArrayOf_tns2_TerritoriesData/ /sequence /complexType complexType name=TerritoriesData sequence element name=territoryId nillable=true type=xsd:string/ element name=territoryDescription nillable=true type=xsd:string/ /sequence /complexType element name=RegionData nillable=true type=tns2:RegionData/ /schema schema xmlns=http://www.w3.org/2001/XMLSchema; targetNamespace=urn:Region complexType name=ArrayOf_tns2_TerritoriesData complexContent restriction base=SOAP-ENC:Array attribute ref=SOAP-ENC:arrayType wsdl:arrayType=tns2:TerritoriesData[]/ /restriction /complexContent /complexType /schema /types What should I do in JBoss.net? In Axis (without JBoss), Wsdl2java generates some new methods, equals, hashCode, getSerializer, and getDeserializer, in my serializable JavaBean (i.e. the xdoclet generated data bean; created by the dataobject/ tag) Thanks - Original Message - From: Frederick N. Brier [EMAIL PROTECTED] To: Thomas Phan [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 6:52 AM Subject: Re: [JBoss-user] JBoss.net installation/deployment using xdoclet My apologies. These comments are in reference to the 3.1Alpha in CVS. Not the 3.0 Final. I wasn't aware that this code was in there. The Hello example is still in a bit of flux, which is why its not called by the parent build file. If you don't see the jboss.net MBean using the port 8082 interface, then maybe, unfortunately, the axis-config.xml has an error. I just fixed it. If that is not it, perhaps there is another issue. I don't know what port 8083 does. On the Hello World program, it is demonstration of Macromedia Flash/SOAP integration. It also uses a XDoclet extension that Dr. Jung wrote and I built into an xdoclet.jar which is in ./jboss-all/jboss.net/tools/lib. Unfortunately, because there is an XDoclet in ./jboss-all/tools/lib it, as a classpath overrides the build.xml for the Hello sample. So... if you want to temporarily remove the xdoclet.jar in the master directory. The sample will then build. Sorry, it is a hack. One of the goals of this sample is to show how a single build.xml file can cleanly generate all the interface sources, deployment descriptors and archives for an .ear: HelloSession.java, HelloLocal.java, HelloLocalHome.java, HelloUtil.java, web.xml, jboss-web.xml, web-service.xml, ejb-jar.xml, jboss.xml, application.xml, hello.jar, hello.wsr, hello.war, hello.ear. I was trying to avoid having a separate XDoclet subtask since I was planning on updating xdoclet. The build does work. There is no need for stubs, skeletons, or wsdl files. All of it is generated from one HelloBean.java file. Just copy the ./jboss.net/samples/Hello/output/lib/hello.ear into the deploy directory and it should work. Just request http://localhost:8080/hello . This Hello World program uses a JSP tag and page to embed the SOAP root context into the Flash plugin html elements. The HelloWorldForm.swf Flash program when you press the say hello button generates a SOAP message to the server, which goes through the servlet/axis engine to the EJB container and back out to your browser. One last note on the example. The version in CVS only works for IE. The version I am currently working on has Actionscript classes to support the SOAP communication. I will check that in as soon as I can bundle it as a Macromedia Flash Extension. I'm currently looking at upgrading the JBoss build process to use the latest version of XDoclet and its new extensible architecture. That way subtasks can just be copied as needed into the lib directory. Also be aware that in order to run the Flash SOAP service you need to make changes in the axis-config.xml (uncomment the FlashNamespaceHandler) and install-axis.xml (comment out the normal servlet, uncomment the flash servlet) files. Currently you can only run one Axis engine, but we are looking at changing that. Frederick N. Brier Multideck Corporation At 03:06 PM 6/10/2002, you wrote: Hi, I installed JBoss 3 final (Jetty), but doesn't find that JBoss.net is installed in the binary package. Unlike