[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence

creaturita do-not-reply at jboss.com
Fri Jun 26 07:01:27 EDT 2009


I am not using any EAR, I am deploying the EAR directly, should be an EAR  neccesary?

I deploy a war with the following:
-WebContent
-----META-INF
-----------MANIFEST.MF
WEB-INF
------lib
-----------sun-jaxws.xml
-----------web.xml

In web.xml I have the following:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
  <display-name>GatewayVademecum</display-name>
  
		<listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
  
  
		JAX-WS endpoint - Vademecum
		<display-name>ServicioVademecum</display-name>
		<servlet-name>VademecumPort</servlet-name>
		<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>

		<load-on-startup>1</load-on-startup>
  
  <servlet-mapping>
 		<servlet-name>VademecumPort</servlet-name>
 		<url-pattern>/ServicioVademecumService</url-pattern>
  </servlet-mapping>
</web-app>


This work in WebLogic, perhaps I am missing something


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240286#4240286

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240286



More information about the jboss-user mailing list