[jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def
Okiee, I encountered this beast today as i was trying to get some hand on SEAM after i heard lots of good reviews. As mentioned in one of the posts here I 're-installed JBoss', using JEMS installer, using ption 'ejb3' on installer menu, previously i opted for option 'ALL'. And when i deployed example of 'booking' from SEAM it deployed sucessfully. Prior to this i had the above mentioned errors and i tried changing ejb-jar file as suggested above, but all those things didn't work. So if you reinstall JBoss using ejb3 option than it will be fine, it is also metoined on JBoss app server download page specifically. http://labs.jboss.com/portal/jbossas/download I hope this helps, sometimes trying to become smart can bite you badly, as i encountered :) Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958265#3958265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ejb-jar.xml for bookings example: hosed?
Okiee, I encountered this beast today as i was trying to get some hand on SEAM after i heard lots of good reviews. As mentioned in one of the posts here I 're-installed JBoss', using JEMS installer, using ption 'ejb3' on installer menu, previously i opted for option 'ALL'. And when i deployed example of 'booking' from SEAM it deployed sucessfully. Prior to this i had the above mentioned errors and i tried changing ejb-jar file as suggested above, but all those things didn't work. So if you reinstall JBoss using ejb3 option than it will be fine, it is also metoined on JBoss app server download page specifically. http://labs.jboss.com/portal/jbossas/download I hope this helps, sometimes trying to become smart can bite you badly, as i encountered :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958266#3958266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - SLSB Local Interface Exception - EjB 3.0 with jboss-4.0.4.GA
Hi I have started playing EJB 3.0 and i found this problem with SLSB local interface inovcation from client. Though my remote interface client works fine its only when i invoke local client i get an exception. Any ideas. This o/p is for remote interface which is working fine | [java] Name : $Proxy0 | [java] log4j:WARN No appenders could be found for logger (org.jboss.security.SecurityAssociation). | [java] log4j:WARN Please initialize the log4j system properly. | [java] Remote Bean: Sum returned from server is 30 | This o/p is for local interface which is the problem area. | | [java] Name : $Proxy1 | [java] Exception in thread "main" javax.ejb.EJBException: Invalid invocation of local interface (null container) | [java] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:75) | [java] at $Proxy1.add(Unknown Source) | I'm using EjB 3.0 with jboss-4.0.4.GA Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972197#3972197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: SLSB Local Interface Exception - EjB 3.0 with jboss-4.0.
Thanks for replying ... Here we go :) This is my Bean | @Stateless | | public class StoreAccessBean implements StoreAccessLocal, StoreAccessRemote { | public int add (int num1 , int num2) { | int sum = num1 + num2; | System.out.println ("I'm at server side Sum is " + sum); | return sum; | } | } | This is my interface | @Local | | public interface StoreAccessLocal { | public int add (int num1, int num2); | } | I havent added my remote interface code here. This is my calling client. | public static void main(String [] args) | { | try | { | Context jndiContext = getInitialContext(); | | Object ref = jndiContext.lookup("StoreAccessBean/remote"); | System.out.println ("Name : "+ ref.getClass().getName()); | StoreAccessRemote sa = (StoreAccessRemote)ref; | int sum = sa.add(10, 20); | System.out.println("Remote Bean: Sum returned from server is " + sum ); | // Until now it works fine | | // Problem area starts here | Object reflocal = jndiContext.lookup("StoreAccessBean/local"); | System.out.println ("Name : "+ reflocal.getClass().getName()); | StoreAccessLocal salocal = (StoreAccessLocal)reflocal; | System.out.println("I 'm fine until now "); | // Fails here | int sumlocal = salocal.add(10, 40); | | System.out.println("Local Bean: Sum returned from server is " + sumlocal ); | | I hope this helps in nailing down this problem. Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972484#3972484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: SLSB Local Interface Exception - EjB 3.0 with jboss-4.0.
Let me get my understanding here correct My understanding is . Remote is when client calls from a different JVM environment to a Bean which is in a seperate JVM. This is where Calls By Value comes in as everything has to be copied (part of serailization) to be sent across the wire. Where as Local means when both Client and Beans are in same JVM which means Call by reference is used. You can enlighten me please if this is wrong or nor correct. As to this error i thought i could change the setting in conf/standrdjboss.xml file where invoker proxy binding settings are. | | | entity-rmi-invoker | jboss:service=invoker,type=jrmp | org.jboss.proxy.ejb.ProxyFactory | | | | org.jboss.proxy.ejb.HomeInterceptor | org.jboss.proxy.SecurityInterceptor | org.jboss.proxy.TransactionInterceptor | org.jboss.invocation.InvokerInterceptor | org.jboss.invocation.MarshallingInvokerInterceptor | | - | and some for others as in this category | | - | | | | | I'm not sure in this version of JBoss which option to modify yet as currenty InvokerInterceptor is set to call by value, where as if i go by my understanding than if i change it to false than it should work as my client for both Remote and Local are in same JVM. Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972807#3972807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: SLSB Local Interface Exception - EjB 3.0 with jboss-4.0.
Thanks for yr prompty reply:) that clarifies something. When i say i'm accesing remote ejb interface and local ejb interface from a same cleint. I mean i have the same (only one) JVM on my pc and i'm accesing this from my pc. What i think is different is that my jboss is running inside Eclipse, which means it gets its own instnace of JVM. Where as my client runs from a command shell which means when it runs it uses or it gets a different instance of JVM. In that sense my shell based client becomes a remote (client) to jboss running in different jvm instance inside Eclipse. Is this right understanding. And if thsi is correct than my local ejb interface client will not run talk until i run both JBoss and Client in same JVM instance. Thanks for raising this and look forward to yr repsonse. Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972824#3972824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: SLSB Local Interface Exception - EjB 3.0 with jboss-4.0.
anonymous wrote : So unless your EJBs are being invoked by something that's also within | the container, it's a separate process and will need to be remote. :) | Thats is what is a happening. Thanks for yr help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973118#3973118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
This tutorial needs an update now as all tools used in this have moved on. I a.m looking for volunteers to upgrade this now, which will incorporate EJB3.0, SOA, JSF, Bit of SEAM. Tutorial will be using JBoss4.0, Eclipse/Netbeans (havent decided yet), and might or might not use any plugin (like JBoss -IDE, or Lomboz or WTP). So if there are enough volunteers to work than please contatc via this forum or vashistvishal at gmail dot com or my blog mentioned in my signature. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974071#3974071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: EJB 3 merge vs persist
What merge () does is - is to put back the detached entity back into persistence storage. So if in yr case- if yr entity was detached it will put it back to persistence which means you don't have to call persist again. For answer to part 2. - merge() method with throw an illegal Arguement Exception if its paramter is not an entity type. I hope this helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974755#3974755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Running a
Michael you will have to provide more deatils... on architecure and how things work. As far Hibernate is concerned, Since Jboss uses Hiberbate for its Peristence (as Part of EJB 3.0.. ) - which means yr business layer is POJO based it should be easily portable in JBoss with minor changes. With yr web fron end - what are you using Are you using Servlets/JSP or any other framework like Struts or myfaces, than it shouldnt be a problems as well porting to JBoss 4.0 You will have to provide more details though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974757#3974757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Wsconsume generated Stubs failing with JBoss-4.2.0
I have a problem with generating Stubs from WSDL using Wsconsume, part of WS tools used in JBoss-4.2 This is the wsdl which i'm using | http://www.myhome.com.au/insurance.doc.wsdl"; | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; | xmlns:tns="http://www.myhome.com.au/insurance.doc.wsdl"; | xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> | | http://www.w3.org/2001/XMLSchema"; | targetNamespace="http://www.myhome.com.au/insurance.doc.wsdl"; | xmlns:edm="http://www.myhome.com.au/insurance.doc.wsdl"; | xmlns:tns="http://localhost/insurance/pub/getMemberInfo";> | | http://localhost/insurance/pub/getMemberInfo"/> | | | | | | http://www.w3.org/2001/XMLSchema"; | targetNamespace="http://localhost/insurance/pub/getMemberInfo"; | xmlns:tns="http://localhost/insurance/pub/getMemberInfo"; | xmlns:edm="http://www.myhome.com.au/insurance.doc.wsdl";> | | http://www.myhome.com.au/insurance.doc.wsdl"/> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"/> | | | | | | | | | | | |
[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0
The comilation error i get is this ... whne i run wsconsume | :resources$ /cygdrive/d/javadev/jboss-4.2.0.GA/bin/wsconsume.sh -k -t -p au.com.tusc getMemberInfo.wsdl | warning: src-resolve: Cannot resolve the name 'edm:getMemberInfo' to a(n) 'e lement declaration' component. | line ? of file:/C:/cygwin/home/vishal/download/source.new/common/resources /getMemberInfo.wsdl#types?schema2 | au\com\tusc\EmploymentHistory.java | au\com\tusc\GetMemberInfoRequest.java | au\com\tusc\GetMemberInfoRequestType.java | au\com\tusc\GetMemberInfoResponse.java | au\com\tusc\GetMemberInfoResponseType.java | au\com\tusc\InsuranceServicesGetmemberinfo.java | au\com\tusc\InsuranceServicesGetmemberinfoService.java | au\com\tusc\MemberPackages.java | au\com\tusc\ObjectFactory.java | au\com\tusc\package-info.java | au\com\tusc\EmploymentHistory.java | au\com\tusc\GetMemberInfoRequest.java | au\com\tusc\GetMemberInfoRequestType.java | au\com\tusc\GetMemberInfoResponse.java | au\com\tusc\GetMemberInfoResponseType.java | au\com\tusc\InsuranceServicesGetmemberinfo.java | au\com\tusc\InsuranceServicesGetmemberinfoService.java | au\com\tusc\MemberPackages.java | au\com\tusc\ObjectFactory.java | au\com\tusc\package-info.java | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077616#4077616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0
Hi Thomas, Thanks for replying. I'm not sure what version JBossWS it is. I'm using JBoss-4.2.0.GA/ distribution, what version is shipped with it is not clear to me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077720#4077720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws-2.0.1 released
Hi Thomas, Links you have mentioned are not working, may be the site is down please check. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078100#4078100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0
Hi Thomas, I have got the new Web services stack (jbossws-2.0.1.GA) and deployed it in Jboss 4.2.1.GA and wsconsume fails with it as well I have validated my WSDL file (using WTP in Eclipse 3.3) as well and doesnt complain at all. To me its a bug in stack, which is generating wrong input paramaeter for the interface. It generates the right response for return type but fails with input type. This is what i get when i use wsconsume. [EMAIL PROTECTED]:resources$ ~/javadev/jboss-4.2.1.GA/bin/wsconsume.sh -p au.com.new201 -k getMemberInfo.wsdl JBossWS-Native stack deployed parsing WSDL... [WARNING] src-resolve: Cannot resolve the name 'edm:getMemberInfo' to a(n) 'element declaration' component. | line 52 of file:/C:/cygwin/home/vishal/download/source.new/common/resources/getMemberInfo.wsdl#types?schema2 | | generating code... | au\com\new201\EmploymentHistory.java | au\com\new201\GetMemberInfoRequest.java | au\com\new201\GetMemberInfoRequestType.java | au\com\new201\GetMemberInfoResponse.java | au\com\new201\GetMemberInfoResponseType.java | au\com\new201\InsuranceServicesGetmemberinfo.java | au\com\new201\InsuranceServicesGetmemberinfoService.java | au\com\new201\MemberPackages.java | au\com\new201\ObjectFactory.java | au\com\new201\package-info.java | [EMAIL PROTECTED]:resources$ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078557#4078557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - New Wiki site for JBossWS is down or not working since frida
New Wiki site for JBossWS is down since friday... I don't thisk it working. http://jbws.dyndns.org/mediawiki All the documentation (user guide,tutorial) for new release of JBossWS 2.0.1 is not accesible because of this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078571#4078571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0
Hi Thomas, It looks to me wsdl to java generation for complex types is not corrcet in JBoss ws stack at all. I'm certain now its a bug in implementation. I have tried to hack the wsdl to work properly but then it generates wrong soap packet or wrong interface (without wrappers) for client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080339#4080339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How to configure APache CXF with JBossws stack.
Are their any notes or instructions somewhere, where i can find how to configurs Apache CXF with Jbowss 2.0.1 stack. Anyone who has done this. Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080340#4080340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Axis vs Jboss compat issue
Have you been able to resolev this probelm. If yes than it will be good if you can share how... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080703#4080703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Chnaging JBoss JDBC connection pool size
One query - Is their any MAX limit set by JBoss 4.0.4 container on How Many Connection Pools (JDBC to Oracle) can be set. I know we can modify oracle-ds.xml for max and min, but is their any constraint on these esp max one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132725#4132725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Chnaging JBoss JDBC connection pool size
Do we know the default settings for these two attributes... Jboss -4.0.4 5000 The default is 3 for the blocking timeout 15 waht about idle time out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132726#4132726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM Enterprise Support
What version of SEAM is available under Support offered by Jboss. I'm proposing to use SEAM 2.0 CR2, if we come across any issues during development are there any support sevices available for this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095454#4095454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM Enterprise Support
Thanks Norman, When SEAM 2.0 will be released for production. I cant make out from the RoadMap when will it be. I'm assuming that once it becomes production distribution support will be available. So in a nutshell i'm looking for a timeframe for SEAM 2.0 to be available under support View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095461#4095461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What JSF implementation to use with SEAM
Another question : Will the new Richfaces 3.1.1 distribution works with old SEAM 1.2.1 This is a backup strategy i'm proposing just in case enterprise support for SEAM 2.0 is not available by Jan 2008. Please correct me if i'm wrong here This means I can still use Jboss-4.2.1 with SEAM 1.2.1 and Richfaces 3.1.1 and it will have Myfaces as its JSF implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095466#4095466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM Enterprise Support
Okie thank you very much. One thing is still not clear to me is WHEN SEAM 2.0 GA will be released. I cant make out from ROADMAP whats happening. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095845#4095845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM 1.2.1 Registration Example not rendering HTML action co
I'm using SEAM 1.2.1 with Jboss - 4.2.1 GA and followed these steps mentioned on wiki for getting myfaces to work with SEAM 1.2.1 http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces I havent got the backport-util-concurrent.jar as i couldnt download it but that doesnt have any impact on my scenario yet. After this i deployed the registration example bundled with SEAM 1.2.1 When i access the page I could see the labels only, no html action components are renderd on page like text box and button. Some how they are not rendered. I have tried Fierfox and IE both. Jboss server logs says nothing exciting | 19:28:58,652 INFO [Lifecycle] starting up: org.jboss.seam.security.identity | 19:43:11,047 INFO [Lifecycle] starting up: org.jboss.seam.security.identity | This is what i get in generated HTML. | http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | Register New UserUsernameReal NamePassword | Any help here will be great - this is a protype for SEAM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095977#4095977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file
Have you tried updating to New JBoss WS stack which is out now - JbossWs 2.0.1 GA. Just download that and deploy it and then see what do u get. You are using Doc Literal wrapped style of service. I would say use wsconsume ans wsprovide which comes in new jbossws stack and is more Jax Ws complaint as compared o the one shipped in Jboss4.0.4 If your consumer and provider are both using same stack then it should work seamlessly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081930#4081930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wsconsume schema type reference problem
I thnk by the look of it , the iisue is how yr mthod name and inpout raument name are different. According to new spech JSr-224 which is what is used for these tools, yr method name should be same as input arguement name. Please read the spec and you will discover more, new spec is very pedantic about these conventions. I have enclosed a WSDL for Doc/Lit wraped style of service to give you hints, this works with Wsconsume | | http://www.superpartners.com.au/matt.HelloWorld3"; | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; | xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:tns="http://www.superpartners.com.au/matt.HelloWorld3";> | | | http://www.w3.org/2001/XMLSchema"; | targetNamespace="http://www.superpartners.com.au/matt.HelloWorld3"; | xmlns:edm="http://www.superpartners.com.au/matt.HelloWorld3";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"; /> | | | | | | | | | | | | | | http://spthd01:5565/soap/DocLiteral"; /> | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081933#4081933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file
I'm not using any tools, this one is created by hand (WSDL file) and used wsconsume to generate stubs and have my server side in .NET. What you can do is follow this guide and examples. Also Jbossws stack binary (seperate download is avaialble) have some examples in it in tools directory i think, that will give you clues as well http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html You should firt try to create an implementation and don't worry about ant target yet just create an exploded war file (like test.war directory) under deploy directoty and put yr pojo based class as SEI and declare it as servlet in web.xml file for that war. Use the JAX -ws user guide mentioned above and look at some steps described here for directory structure and deploy. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS181HelloWorld dont create yr service/class file using this as this is not using annotations. Use the user guide examples for that I hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082110#4082110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wstools instead of wsconsume?
Well new tool sets provide wsconsume nd wsprovide are built for Jax-WS style of web services and are using annotations(JSR -181) which is part of Jax-WS spec (Jsr 224). Old tools like wstools are not using annotions for services, they are providing Jsr-109 based service and JAX-RPC (JSR 101) style web service. SO if you want to move to Jax-ws style of web service then use wscosnume and wsprovide, but if you want to continue in Jax-RPC style of web service then use wstools. I hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081931#4081931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - When JbossWS Wiki will be online
Guys any updates on JbossWS Wiki wil be back online View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081929#4081929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wsconsume - Problems regarding http://www.w3.org/2001/XM
Have a look at this... what i have posted http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118062 I have also experienced issues like this when generating stubs for clients. To resolve issues like this even with the newer stack i had to modify wsdl by hand for interoperability. The way i did is first i created a service and client within Jboss and see how it work and what SOAP packet goes on wire... Then do a same sort of thing on .NEt side and capture SOAP packet. Now try to send the SOAP packet what .NET expects, for that you will have to modify your wsdl by hand. Once you know the difference between .NET side generated WSDL and required by Jboss ws client stackyou cam modify other WSDLs. Some heavy lifting required to grasp the differences Mos of the issues i have come across is Because JAX-WS is pretty strict where as older stacks were not that strict in some conventions. All SOAP toolkit work fine within same envioronment but when used with other you normally have to fiddle with WSDL to make them work. Interoperability is their but with some modifications not just out of box yet. I hope this helps.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082859#4082859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file
For option 2 use this ... if it is just a basic authentication which i have been using on client side. Their are examples in JbossWS stack examples | | MattHelloWorld3Service service = new MattHelloWorld3Service(); | | MattHelloWorld3PortType port = service.getPort(MattHelloWorld3PortType.class) ; | | // Get the port and use binding provider for authentication | | BindingProvider bp = (BindingProvider) port; | | bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "test"); | | bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "test"); | | | HelloWorld memreq = new HelloWorld(); | | memreq.setId("Hellow Mathew"); | | I hope this helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083221#4083221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Ant task for wsconume, wsprovide ??
Since new wiki is not up and running. Would someone please tell me what is the ant task for wsconsume and wsprovide commands for Jbosws2.0.1 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083389#4083389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Ant task for wsconume, wsprovide ??
Thanks Richard, I was looking for this file in jbossws-src-2.0.1.GA which i downloaded to see the options which are required by ant task. I couldnt find the source code in this bundle. Is their any other src code bundle i should be looking at to see where these task file lives. The bundle i downloaded is uploaded on Aug 17 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083722#4083722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Ant task for wsconume, wsprovide ??
Okiee its not in src code native bundle 92.0.1) some how but, looked at repository. http://anonsvn.jboss.org/repos/jbossws/spi/trunk/src/main/java/org/jboss/wsf/spi/tools/ant/WSConsumeTask.java My next question is whet is the diffrence between option "sourcedestdir" and option "destdir" because when i make both of them point to same place it generates stubs, with same structure at two diferent places and and it looks they are linked because if you delete one structure other goes as well. How do i make it that, both are same at same place without duplication | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083743#4083743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Ant task for wsconume, wsprovide ??
Thanks a lot Richard for clearing the air, this will be helpful to others as well. I will try tomorrow and see how i go with it. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083975#4083975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Help with development environment
I wills say use ant, jboss 4.2.1 and jboss-ws 2.0.1.GA. If you use this in Eclipse or netbeans you should be fine Jboss-IDE - i'm not sure if they have anything for Jax-ws in it yet. I hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083979#4083979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Jar is not deployed onJBOSS
Put yr stack trace from app server and ant to see whats going on without its hard to help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084875#4084875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Migrating Jboss from server A to Server B
Same as Peter just tar it up yr distribution and untar on the target machine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085314#4085314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Necessary artifacts/descriptors for JAX-WS web service
Dont make a mistake of going back to JAX-RPC :-), embrace the change as it is for good. Documentation will be avialable their in future, have a look in examples bundled jboss-ws src 2.0.1 ga distribution yyou might find one. Any way thats my view,, if you still can get joy than post back and some one will be able to help you or use Jboss consulting servives View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085317#4085317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
I have put together a brief tutorial on JAX WS 2.0 in JBoss. This 3 part series can be found here. http://entips.blogspot.com/2007/10/j2ee-tutorial-on-webservices-using.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091316#4091316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - What JSF implementation to use with SEAM
I'm in a protoyping exercise for a company where we are looking for RICH UI application with AJAX support, easy to manage and develop aplication using J2EE. After reading lots of docs i'm bit confused so thought lets ask the community My questions are these : 1. What JSF implementation come by default with SEAM Is it : Myfaces Facelets Facelets JSF Or You can plug and play any. 1.1 If it you can plug and play which is the recommended JSF implementation for SEAM ? 2. What is the difference between Facelets and JSF Facelets. 3. What versions of Jboss it (SEAM) works with Is it : 4.2 >= Onwards Because of EJB 3.0 support Or You can use 4.0 and patch it for EJB 3.0 and it can work. 4. With new release of RichFaces (Ajax Library) which says it works out of the Box with Seam, which version of SEAM it works with? 4.1 And it (RichFaces) says it works with Jboss 4.0.4 onwards I'm assuming it will work with SEAM on Jboss - 4.2 Any clarifications on these questions will be a great help in finalizing my decisions and recommendations to the buisness. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095110#4095110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What JSF implementation to use with SEAM
Thanks Christian, That clears th air. So in a nust shell if I build a solution using Jboss SEAM 2.0 which icludes : JSF 2.0 RI - by default Add New RichFaces released this month -AJAX kit. All this Runs on Jboss -4.2.x I will be cooking with gas I say :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095202#4095202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Performance Issue with large chunk of data retreival.
Guys, I would like to get some opinion on performance issue we are facing. 1. We have a 2/3 tier J2EE application where we are using Struts, SLSB and just JDBC (wrapped in DAO's) in Jboss 4.04 on Windows, to extract data. 2. There are few reports which requires atleast for 2/3 years of transaction data where every day we add 300-500 records in DB. When we run these specific reports we get out of memery error. We can see why, it happens at Jdbc layer more often. Question is: 1. First How do you find the bottleneck in a system like this, any recomended specific tool. 2. How would you change/structure the specific DAO's in question to scale it (getting data of 10,00 records or more) 3. Any other appraoch, like removing JDBC wrapper DAO and using hibernate or caching.. Any suggestions... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136507#4136507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to verify Jboss has started ons stop on windows.
We have Jboss installed on Windows and is run as a windows service. We have a austosys (cron/scheduler) which runs a different machine (is unix) How do this process (austosys) communicates with Jboss to see if it has stopped cleanly and and started cleanly (with no excepetions in betweeen). How do we resolve this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137239#4137239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Performance Issue with large chunk of data retreival.
Thanks for yr reply. It does help. What you are proposing is right in terms on intermediate solution. some sort of paging mechanism where report data is done in page by, and probably curses approach on DB side. anyway what sort of products you have in mind.. anyy insights.. Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137246#4137246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss issue
Without a stack trace no body will be able to help you... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052810#4052810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user