[Design of JBoss Web Services] - Re: JBWS-1858 + JBWS-1797: when to generate wsdl?
by richard.opalka@jboss.com
"alessio.soldano(a)jboss.com" wrote :
| Thus according to me the main point here is not moving the wsdl generation later, it's instead reading the servlet context-params earlier, during the deployment. Of course we could do both the changes, but having those params available (for example as properties in the DeploymentInfo) before the UMDM is generated would be enough (and is required before the EndpointLifeCycleDeploymentAspect is run).
| What do you think about this?
Hi Alessio,
this is the cite from JBWS-1799 (Thomas investigation about this issue):
In AS42 the servlet context params are not exposed through the AS WebMetaData and are hence not available when during deploy time the wsdl is generated. For these containers and maybe generally it needs to be investigated whether we can generate the wsdl at Endpoint.start(). At that point the config-name has been corrected in ServerEndpointMetaData
according to this you should first investigate whether you are able to access context parameters during the deployment phase (using JBossAS deployment metadata objects). If it is doable, you will have no problems ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113296#4113296
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113296
18 years, 3 months
[Design of POJO Server] - Re: vfs issue?
by scott.stark@jboss.org
Ok, I have fixed the classpath issue. It was an error in how the lib jars were being checked for META-INF/persistence.xml descriptors that was preventing all jars from being added to the classpath. The SeamBookingExampleTestCase is still failing because of how the test is trying to obtain a deployment context. There is no reason for that. The test needs to be validating the deployed war can be accessed.
| java.io.InvalidClassException: org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContext; unable to create instance
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1706)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.readExternal(AbstractDeploymentUnit.java:449)
| at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentUnit.readExternal(AbstractVFSDeploymentUnit.java:126)
| at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
| at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:134)
| at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:244)
| at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:181)
| at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
| at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:86)
| at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
| at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
| at $Proxy1.invoke(Unknown Source)
| at org.jboss.test.deployers.AbstractDeploymentTest.invokeMainDeployer(AbstractDeploymentTest.java:79)
| at org.jboss.test.deployers.AbstractDeploymentTest.getDeploymentUnit(AbstractDeploymentTest.java:110)
| at org.jboss.test.deployers.AbstractDeploymentTest.assertDeployed(AbstractDeploymentTest.java:85)
| at org.jboss.test.deployers.AbstractDeploymentTest.assertDeployed(AbstractDeploymentTest.java:92)
| at org.jboss.test.deployers.seam.test.SeamExampleTestCase.testExample(SeamExampleTestCase.java:91)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113246#4113246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113246
18 years, 3 months