-
1. Re: Web service not registered when server is up
ctomc Sep 24, 2012 10:30 AM (in response to nurfisya)Hi and welcome to forums.
What does your application.xml looks like?
what does jar tf <name-of-your-war> and jar tf <name-of-your-jar> outputs
--
tomaz
-
2. Re: Web service not registered when server is up
nurfisya Sep 24, 2012 10:46 AM (in response to ctomc)i put application.xml in Meta-INF inside the ear. below is the content
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6">
<display-name>AddressProcessorEAR</display-name>
<module>
<web>
<web-uri>AddressProcessor.war</web-uri>
<context-root>AddressProcessor</context-root>
</web>
</module>
<module>
<ejb>Maven-AddressProcessor.jar</ejb>
</module>
<library-directory>lib</library-directory>
</application>
-
3. Re: Web service not registered when server is up
nickarls Sep 25, 2012 1:57 AM (in response to nurfisya)The application is running (apart from the WS deployment)?
Tried a simple
@WebService
@Stateless
public class Pinger {
public void ping() {};
}
?
-
4. Re: Web service not registered when server is up
nurfisya Sep 25, 2012 9:51 AM (in response to ctomc)AddressProcessor.ear
META-INF/
META-INF/application.xml
lib/
AddressProcessor.war
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/lib/
WEB-INF/lib/Maven-AddressProcessor.jar
Am I missing anything?
-
5. Re: Web service not registered when server is up
nurfisya Sep 25, 2012 9:53 AM (in response to nurfisya)Maven-AddressProcessor.jar is the webservice that previously deployed successfull in Jboss AS 5
-
6. Re: Web service not registered when server is up
nurfisya Sep 26, 2012 10:29 PM (in response to ctomc)hi,
Do you have any reference on how to migrate web service from jboss 5 to jboss 7? I try ti find but all does not give a success to me. Hope you can help
-
7. Re: Web service not registered when server is up
sfcoy Sep 26, 2012 11:06 PM (in response to nurfisya)Your EAR structure is not consisent with your application.xml - it does not contain the Maven-AddressProcessor.jar module as you seem to have moved it to your WAR file.
If the rest of the EAR is otherwise empty you should consider ditching it and just deploy the WAR component.
Fo that matter, if the rest of the WAR is otherwise empty then consider deploying Maven-AddressProcessor.jar by itself.
-
8. Re: Web service not registered when server is up
nurfisya Sep 27, 2012 4:34 AM (in response to sfcoy)TQ for the info. I will look into it