[JBoss-user] [JBossWS] - Works in WebLogic 9.1, but not JBoss 4.0.3SP1
Hi, I am deploying a simple WS that was developed totally by hand (i.e., all the DD were). Works perfectly in WL, but doesn't work right in JBoss. I am using jboss-4.0.3SP1. Here is the WSDL: | | ?xml version=1.0 encoding=UTF-8? | wsdl:definitions |xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; |xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; |xmlns:xsd=http://www.w3.org/2001/XMLSchema; |xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; |xmlns=http://schemas.xmlsoap.org/wsdl/; |targetNamespace=http://corexml.org/ws/HelloWorld; |xmlns:hw=http://corexml.org/ws/HelloWorld; | |!-- logPing messages -- |wsdl:message name=logAccessRequest/ |wsdl:message name=logAccessResponse/ | |!-- sayHello messages -- |wsdl:message name=greetRequest | wsdl:part name=nameOfPerson type=xsd:string/ |/wsdl:message |wsdl:message name=greetResponse | wsdl:part name=greeting type=xsd:string/ |/wsdl:message | |!-- Abstract method definitions of the Web Service | Protocols and bindings are not specified. -- |wsdl:portType name=HelloWorldPortType | !-- logAccess operation -- | wsdl:operation name=logAccess | wsdl:input name=request message=hw:logAccessRequest/ | wsdl:output name=response message=hw:logAccessResponse/ | /wsdl:operation | | !-- greet operation -- | wsdl:operation name=greet | wsdl:input name=request message=hw:greetRequest/ | wsdl:output name=response message=hw:greetResponse/ | /wsdl:operation |/wsdl:portType | |!-- Transportation protocol and WS protocol binding to | abtract WS defined before. -- |wsdl:binding name=HelloWorldPortBinding type=hw:HelloWorldPortType | wsdlsoap:binding | style=rpc | transport=http://schemas.xmlsoap.org/soap/http/ | wsdl:operation name=logAccess | wsdlsoap:operation soapAction=logAccess/ | wsdl:input name=request | wsdlsoap:body |use=literal |namespace=http://corexml.org/ws/HelloWorld/ | /wsdl:input | wsdl:output name=response | wsdlsoap:body |use=literal |namespace=http://corexml.org/ws/HelloWorld/ | /wsdl:output | /wsdl:operation | | wsdl:operation name=greet | wsdlsoap:operation soapAction=greet/ | wsdl:input name=request | wsdlsoap:body |use=literal |namespace=http://corexml.org/ws/HelloWorld/ | /wsdl:input | | wsdl:output name=response | wsdlsoap:body |use=literal |namespace=http://corexml.org/ws/HelloWorld/ | /wsdl:output | /wsdl:operation |/wsdl:binding | |!-- Define physical port location -- |wsdl:service name=HelloWorldService | wsdl:port name=HelloWorldPort binding=hw:HelloWorldPortBinding | wsdlsoap:address | location=http://localhost:8080/ws/HelloWorldWS/ | /wsdl:port |/wsdl:service | /wsdl:definitions | I used heavyweight jaxrpc mapping to expose operation names that are different from the actual method names in the SEI. I am using the JSE way, not EJB. Here is the jaxrpc mapping file: | ?xml version=1.0 encoding=UTF-8 ? | java-wsdl-mapping version=1.1 | xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:hw=http://corexml.org/ws/HelloWorld; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation= | http://java.sun.com/xml/ns/j2ee | http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd; | package-mapping | package-typecorexml.ws.impl.generated/package-type | namespaceURIhttp://corexml.org/ws/HelloWorld/namespaceURI | /package-mapping | service-interface-mapping | service-interface | corexml.ws.impl.generated.HelloWorldService | /service-interface | wsdl-service-namehw:HelloWorldService/wsdl-service-name | /service-interface-mapping | service-endpoint-interface-mapping | service-endpoint-interface | corexml.ws.endpoint.HelloWorldEndpoint | /service-endpoint-interface | wsdl-port-typehw:HelloWorldPortType/wsdl-port-type | wsdl-bindinghw:HelloWorldPortBinding/wsdl-binding | service-endpoint-method-mapping | java-method-namelogPing/java-method-name | !-- Note: no namespace as operation is already part of | hw:HelloWorldPortType, so no namespace is needed. -- | wsdl-operationlogAccess/wsdl-operation | wsdl-return-value-mapping
[JBoss-user] [EJB/JBoss] - Re: How Dynamic Proxy works...
The JNDI will give you smart proxies? Are you trying to answer my question or give me more questions to ask? Could you explain this for me? I am only guessing when I ask: what if JNDI is not JBoss' JNDI, but a 3rth vendor? Or are you saying that JBoss' EJB container sticks those smart proxies onto the JNDI tree instead of the stubs? So, what are those smart proxies then? Some sort of generic stubs that take care of marshaling and unmarshaling for you, while passing the call to the EJB object? Thanks, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3864370#3864370 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864370 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How to find JBoss' implementation classes
Hi, I downloaded the source code for the JBoss AS, but I can't seem to find classes that implement regular J2EE interfaces... Am I missing something? Where can I find them? I am trying to link those classes in my Eclipse so I can right-click and Open Declaration and see JBoss' implementation of it. Thanks, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3864373#3864373 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864373 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How Dynamic Proxy works...
Hi, I was reading about JBoss does not require the developer to ejbc the EJBs and deploy the client with the compiled stub in the classpath. 1) Is my understand correct? 2) I understand that this is called dynamic proxy. How exactly does this work? The client HAS TO have the stub in the end somehow. How does the client know to get it? There is no remote aware code in the client as is, I am not following how this works. Please explain. Thank you, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3864107#3864107 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864107 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - EJB instance swapping question
Hi, I am hoping someone can clarify this one for me. I was reading O'Reilly's Enterprise JavaBeans book and was a bit confused by the following... It describes how there is such a thing as an EJB object. Remote and local interfaces are implemented by this object adding container specific code that handles transactions, security and so on. This EJB object also either extends the bean class or simply copies the code of the developer written bean class into itself. Now, comes along instance pooling and the book explains that this is done by associating a bean instance with this EJB object. So, the object is always around (or a number of them are around) and the container keeps associating the a bean instance from the bean instance pool with this EJB object whenever it is needed. What I don't understand is how this is possible. Two possibilities are given as to how vendors might implement the relationship between the EJB object and the bean instance. I described those 2 above. In both cases, the code of the bean becomes PART of the EJB object, whether through inheritance or through just coping and pasting the code from the bean into the EJB object class. How is it then possible to swap instances of the bean when it appears that the EJB object already contains that instance behavior within it? I could have understood this if EJB object would use some sort of a Factory pattern to get a handle on an instance of the bean, but that's not what it's doing in either implementation. I'd appreciate your help on this one. Thanks, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3860664#3860664 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860664 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Docs for 4.0
Is someone going to finally reply to a post about where the docs for pay are for 4.0 version? Sometimes I wonder if anyone is even paying attention to any of these posts... Thanks, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855724#3855724 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855724 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - JBoss 4.0 documentation
Where is JBoss 4.0 docs? I was about to download the docs for 4.0 when I saw that the jboss.org pages were redesigned, but now I can't find the docs for 4.0 and only see docs for 3.2. Where are they? Thanks, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855121#3855121 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855121 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Where is Getting Started for 4.0?
Hi, Before the jboss.org website was redesigned I know I saw a document on getting started using JBoss 4.0... Now, that it is redesigned, I can't find ANY docs on JBoss 4.0. I only see 3.2. Could someone provide the link to the free and NOT free docs for JBoss 4.0? Thanks, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855136#3855136 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855136 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Strange message on startup
Hi, One of the messages I get when standing up the server is pasted below. I hope someone can help me out figuring this one out. I am just a beginner in JBoss. (using 3.2.3) Thanks, Yaakov - 16:42:19,803 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/deploy/manag ement/web-console.war 16:42:19,803 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompl eteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.mq:service=InvocationLayer,type=HTTP state: CONFIGURED I Depend On: jboss.mq:service=Invoker jboss.web:service=WebServer Depends On Me: , ObjectName: jboss.mq:service=DestinationManager state: CONFIGURED I Depend On: jboss.mq:service=MessageCache jboss.mq:service=PersistenceManager jboss.mq:service=StateManager Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq.destination:service=Queue,name=A jboss.mq.destination:service=Queue,name=B jboss.mq.destination:service=Queue,name=C jboss.mq.destination:service=Queue,name=D jboss.mq.destination:service=Queue,name=ex jboss.mq:service=SecurityManager jboss.mq.destination:service=Queue,name=DLQ , ObjectName: jboss.mq:service=PersistenceManager state: CONFIGURED I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager , ObjectName: jboss.mq.destination:service=Topic,name=testTopic state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=securedTopic state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=testQueue state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=A state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=B state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=C state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=D state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=ex state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: , ObjectName: jboss.mq:service=Invoker state: CONFIGURED I Depend On: jboss.mq:service=TracingInterceptor Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP jboss.mq:service=InvocationLayer,type=JVM jboss.mq:service=InvocationLayer,type=OIL jboss.mq:service=InvocationLayer,type=OIL2 jboss.mq:service=InvocationLayer,type=RMI jboss.mq:service=InvocationLayer,type=UIL2 , ObjectName: jboss.mq:service=TracingInterceptor state: CONFIGURED I Depend On: jboss.mq:service=SecurityManager Depends On Me: jboss.mq:service=Invoker , ObjectName: jboss.mq:service=SecurityManager state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq:service=TracingInterceptor jboss.mq.destination:service=Queue,name=DLQ , ObjectName: jboss.mq.destination:service=Queue,name=DLQ state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=JVM state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=OIL state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=OIL2 state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=RMI state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: ] 16:42:19,813
[JBoss-user] [Security JAAS/JBoss] - Server (physical) role declaration
Hi, I know you can do this in Weblogic, so you should be able to do this in JBoss. Basically, I have security roles defined in web.xml. I want those logical role names mapped to physical role names on the server. In weblogic, there is a weblogic.xml that goes with web.xml that has something like this: weblogic-web-app security-role-assignment role-namemanager/role-name principal-nameAdmin/principal-name /security-role-assignment security-role-assignment role-nameregularUser/role-name principal-nameUser/principal-name /security-role-assignment . What is the parallel in JBoss for this? Thanks, Yaakov. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822784#3822784 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822784 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user