[Issue 1293] New - java.lang.IllegalStateException: Servlet [CoordinatorPortTypeImpl] and Servlet [CompletionCoordinatorPortTypeImpl] have the same url pattern: [/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76

View: New views
5 Messages — Rating Filter:   Alert me  

[Issue 1293] New - java.lang.IllegalStateException: Servlet [CoordinatorPortTypeImpl] and Servlet [CompletionCoordinatorPortTypeImpl] have the same url pattern: [/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76

by msreekanth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=1293
                 Issue #|1293
                 Summary|java.lang.IllegalStateException: Servlet [CoordinatorP
                        |ortTypeImpl] and Servlet [CompletionCoordinatorPortTyp
                        |eImpl] have the same url pattern: [/WSATCoordinator]at
                        | org.glassfish.apf.AnnotationInfo@15c9b76
               Component|wsit
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|transaction
             Assigned to|m_potociar
             Reported by|msreekanth






------- Additional comments from msreekanth@... Mon Nov  2 13:20:23 +0000 2009 -------
Environment: Gf V3 build 71(May be reproducible in earlier versions too)
Metro 2.0 Nightlies

Steps to reproduce:
===================
1)Create a webservice using Netbeans 6.8
2)Create a webservice client for the above service
3)Try to use a webserviceFeature class in the client.
4)As of now Netbeans imports internal api classes instead of actual class like
com.sun.xml.internal.ws.developer.BindingTypeFeature instead of
com.sun.xml.ws.developer.BindingTypeFeature
5)So added webservices-osgi.jar to the client projects compile time libraries
and then try to deploy the client application.
6)Then I see this exception:


SEVERE: Servlet [CoordinatorPortTypeImpl] and Servlet
[CompletionCoordinatorPortTypeImpl] have the same url pattern: [/WSATCoordinator]
SEVERE: Exception while deploying the app
java.lang.IllegalStateException: Servlet [CoordinatorPortTypeImpl] and Servlet
[CompletionCoordinatorPortTypeImpl] have the same url pattern:
[/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76
       at
com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:478)
       at
com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:420)
       at
com.sun.enterprise.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:309)
       at
com.sun.enterprise.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:81)
       at
com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:397)
       at
com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:373)
       at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:238)
       at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:247)
       at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:208)
       at
com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:148)
       at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:118)
       at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:41)
       at
com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:590)
       at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:532)
       at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
       at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
       at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
       at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
       at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
       at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1159)
       at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
       at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1218)
       at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1207)
       at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
       at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
       at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
       at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
       at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
       at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
       at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
       at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951)
       at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
       at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
       at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
       at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
       at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
       at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
       at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
       at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
       at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431)
       at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
       at java.lang.Thread.run(Thread.java:619)
Caused by: Servlet [CoordinatorPortTypeImpl] and Servlet
[CompletionCoordinatorPortTypeImpl] have the same url pattern:
[/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76
       at
org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
       at
org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
       at
org.glassfish.apf.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
       at
org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:188)
       at
org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
       at
com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:581)
       at
com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:433)
       ... 41 more
Caused by: java.lang.IllegalArgumentException: Servlet [CoordinatorPortTypeImpl]
and Servlet [CompletionCoordinatorPortTypeImpl] have the same url pattern:
[/WSATCoordinator]
       at
com.sun.enterprise.deployment.WebBundleDescriptor.addWebComponentDescriptor(WebBundleDescriptor.java:344)
       at
org.glassfish.webservices.annotation.handlers.WebServiceHandler.processAnnotation(WebServiceHandler.java:412)
       at
org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
       ... 47 more


Also I could not build the client app with internal api ie class[2] being used
as the I see the below exception when  I say build:

Compiling 7 source files to
/home/sreekanth/NetBeansProjects/WsFeatureTestServiceClient/build/web/WEB-INF/classes
/home/sreekanth/NetBeansProjects/WsFeatureTestServiceClient/src/java/simple/client/TestClient.java:9:
package com.sun.xml.internal.ws.api.client does not exist
import com.sun.xml.internal.ws.api.client.SelectOptimalEncodingFeature;
/home/sreekanth/NetBeansProjects/WsFeatureTestServiceClient/src/java/simple/client/TestClient.java:50:
cannot find symbol
symbol  : class SelectOptimalEncodingFeature
location: class simple.client.TestClient
               simple.server.PingServiec port = service.getPingServiecPort(new
SelectOptimalEncodingFeature());
2 errors
/home/sreekanth/NetBeansProjects/WsFeatureTestServiceClient/nbproject/build-impl.xml:413:
The following error occurred while executing this line:
/home/sreekanth/NetBeansProjects/WsFeatureTestServiceClient/nbproject/build-impl.xml:232:
Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 6 seconds)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 1293] java.lang.IllegalStateException: Servlet [CoordinatorPortTypeImpl] and Servlet [CompletionCoordinatorPortTypeImpl] have the same url pattern: [/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76

by msreekanth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=1293






------- Additional comments from msreekanth@... Mon Nov  2 13:22:59 +0000 2009 -------
Created an attachment (id=1037)
Client and service Netbeans projects


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 1293] java.lang.IllegalStateException: Servlet [CoordinatorPortTypeImpl] and Servlet [CompletionCoordinatorPortTypeImpl] have the same url pattern: [/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76

by msreekanth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=1293



User msreekanth changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'ritzmann'
--------------------------------------------------------------------------------
                 Summary|java.lang.IllegalStateExce|java.lang.IllegalStateExce
                        |ption: Servlet [Coordinato|ption: Servlet [Coordinato
                        |rPortTypeImpl] and Servlet|rPortTypeImpl] and Servlet
                        | [CompletionCoordinatorPor| [CompletionCoordinatorPor
                        |tTypeImpl] have the same u|tTypeImpl] have the same u
                        |rl pattern: [/WSATCoordina|rl pattern: [/WSATCoordina
                        |tor]at org.glassfish.apf.A|tor]at org.glassfish.apf.A
                        |nnotationInfo@15c9b76     |nnotationInfo@15c9b76
--------------------------------------------------------------------------------




------- Additional comments from msreekanth@... Mon Nov  2 13:24:14 +0000 2009 -------
Adding Fabian to cc list

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 1293] java.lang.IllegalStateException: Servlet [CoordinatorPortTypeImpl] and Servlet [CompletionCoordinatorPortTypeImpl] have the same url pattern: [/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76

by m_potociar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=1293



User m_potociar changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |WONTFIX
--------------------------------------------------------------------------------




------- Additional comments from m_potociar@... Mon Nov  2 16:02:48 +0000 2009 -------
Resolving as invalid, because of following reasons:

You should not add an OSGi version of Metro into your application. If really
needed, use non-OSGI version (webservices-rt.jar) instead.


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 1293] java.lang.IllegalStateException: Servlet [CoordinatorPortTypeImpl] and Servlet [CompletionCoordinatorPortTypeImpl] have the same url pattern: [/WSATCoordinator]at org.glassfish.apf.AnnotationInfo@15c9b76

by m_potociar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=1293



User m_potociar changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|RESOLVED                  |REOPENED
--------------------------------------------------------------------------------
                Keywords|                          |metro2.0-waived
--------------------------------------------------------------------------------
              Resolution|WONTFIX                   |
--------------------------------------------------------------------------------




------- Additional comments from m_potociar@... Mon Nov  2 16:20:54 +0000 2009 -------
Ok, so now I can see we have the same issue with non-OSGi version of Metro rt
lib. Reopening the issue and waving it for Metro-2.0 so that we can revisit it
after the release.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...