[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
I've imported all the JBoss 4.2 JARs I can find into my build path in Eclipse. I still cannot see the @WebContext annotation. What do I need to import? Also, would it be possible to show an example of how to set the context root? Finally, how was the default context root derived in JBoss 4.0.5? Thanks!! Dan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041075#4041075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
I have a JBOSS_CLIENT_LIBS User Libraries setup for the eclipse workspace, and I added all jars under %JBOSS_HOME%/client JBOSSWS 1.2.1GA is included in the JBOSSAS 4.2 CR2, and the appropriate jars are in the client lib folder Web context eg. | @WebContext(contextRoot=/SomeContext) | From a previous post, this needs to be the same for all annotations within the same deployment although I haven't tested varations of the context root. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041080#4041080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
I discovered some interesting behavior. I created a stateless session bean (SLSB) with a @WebService annotation. I added an @WebMethod annotation to a method within my SLSB that returns an Entity Bean. JBoss 4.2.0CR2 then freezes up during startup when it tries to create the SLSB wsdl file. I assume that web service methods should only return Strings, Booleans, etc., but the Jboss behavior is not ideal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041157#4041157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
The CTS requires that the context root is derived in a certain (complicated way) Please explicitly define @WebContext.contextRoot for every ejb endpoint. Note, that all endpoints withain one deployment must share the same context root. http://jira.jboss.org/jira/browse/JBWS-1618 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039230#4039230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
It seems to work. A lot of thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039321#4039321 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
Your deployment seems to contain web service endpoint declarations that refer to different context-root's. These have to be declared outside the scope of the service impl. you posted. I.e. port-component declarations are one possibility. Could you post the deployment descriptor that belongs to this deployment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038821#4038821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
Structure: kyrian.ear ---kyrianWeb.war ---kyrianEJb.jar ---META-INF --- application.xml --- jboss-app.xml application.xml | ?xml version=1.0 encoding=UTF-8? | application id=Application_ID version=1.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd; | display-namekyrian/display-name | module id=EjbModule_1174398988979 | ejbkyrianEJB.jar/ejb | /module | module id=WebModule_1174673657682 | web | web-urikyrianAxis.war/web-uri | context-rootaxis/context-root | /web | /module | module id=WebModule_1174990194749 | web | web-urikyrianWeb.war/web-uri | context-rootmuvalesrv/context-root | /web | /module | /application | jboss-app.xml | !DOCTYPE jboss-app PUBLIC -//JBoss//DTD J2EE Application 1.4//EN | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd; | jboss-app | !-- |module | servicehibernate-service.xml/service |/module | -- |module | servicegnomo-scheduler-service.xml/service |/module | /jboss-app | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038869#4038869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
I'm seeing the same thing with JBOSSAS 4.2.0 RC2 but it only seems to fail when I declare more than one class with the @WebService annotation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038973#4038973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
I just installed jbossws-1.2.1.GA onto JBOSSAS 4.0.5 GA, and I'm getting the same exception. I wasn't getting this with the JBossWS-1.2.0.SP1 on 4.0.5GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038987#4038987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
Could it be that you have more than one ejb tagged @WebService within the jar? If yes, what do the annotations look like? Could it be that you have different context root's specified within the same ejb.jar? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038999#4038999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
The 2 classes are annotated as such (simplest configuratio causing a failure) | @Stateless | @WebService | public class EchoBean implements EchoRemote{ | And the other: | @Stateless | @WebService | public class foobar { | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039002#4039002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
I've commented this : /* @WebService( name = IAbsentismo, targetNamespace = http://org.muvale.negocio/ws/ifc;, serviceName = Absentismo) @SOAPBinding(style = SOAPBinding.Style.RPC) */ And it works perfectly. A lot of thanks, Marcial View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038521#4038521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user