i working on upgrading application java7
running on glassfish 3.1.2.2
, java8
running on glassfish 4.1
. application packaged ear
-file, containing ejb-jar
, , war
. war
in turn contains webservices
.
in glassfish 3.1.2.2
, deploying ear
lead war
exposing number of webservices
. but, when deploy ear
in glassfish 4.1
, no webservice
exposed. when listing components ear
in glassfish
, war
not list webservices
(only web
) in 4.1
(but in 3.1.2.2
).
i have tried deploying war
-file standalone application, , when doing webservices
becomes available.
does know if there known bug regards deploying webservices
through ear
-file glassfish 4.1?
when comes changes, have upgraded dependencies, far know there nothing should affect this.
my application.xml
:
<?xml version="1.0" encoding="utf-8"?> <!doctype application public "-//sun microsystems, inc.//dtd j2ee application 1.3//en" "http://java.sun.com/dtd/application_1_3.dtd"> <application> <display-name>myapplication-ear</display-name> <description>myapplication</description> <module> <ejb>myapplication-ejb-5.2-snapshot.jar</ejb> </module> <module> <web> <web-uri>myapplication-war-5.2-snapshot.war</web-uri> <context-root>/myapplication-war</context-root> </web> </module> </application>
the problem old dependency:
<dependency> <groupid>com.sun.xml.ws</groupid> <artifactid>jaxws-rt</artifactid> <version>2.2.7</version> </dependency>
i removed because included in rt.jar in java installation. somehow glassfish didn't handle @ all, webservices didn't work , no traces of error in server.log
Comments
Post a Comment