eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
381 stars 143 forks source link

EJB Webservices not available via mod_jk listener #12458

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 14 years ago

In Glassfish v2 it was possible to use EJB Webservices with the mod_jk listener, in v3 this does not work any more.

If you deploy an EAR that contains only web services and no WAR web applications, it will not even start the listener on port 8009.

If you deploy an EAR with both WAR web apps and EJB web services, the web apps will be available on both port 8080 and 8009/jk, but the web services will only be available on 8080. On 8009 you get a 404 error when trying to access the web services.

Environment

Operating System: All Platform: Linux

Affected Versions

[v3.0.1]

glassfishrobot commented 6 years ago
glassfishrobot commented 14 years ago

@glassfishrobot Commented batzee said: Created an attachment (id=4529) a very simple test case that contains a "hello world" webservice.

glassfishrobot commented 14 years ago

@glassfishrobot Commented batzee said: Are you planning this bugfix for 3.1 only? For us, it's a real showstopper bug. Will it be possible to fix it in 3.0 ?

glassfishrobot commented 14 years ago

@glassfishrobot Commented batzee said: Can you please have a look at this issue ?! It's a real showstopper for us!

glassfishrobot commented 14 years ago

@glassfishrobot Commented mleuschner said:

glassfishrobot commented 14 years ago

@glassfishrobot Commented @amyroh said: For reference -

Author: rlubke Date: 2010-09-03 21:36:32+0000 New Revision: 40454

Modified:

trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/GrizzlyService.java trunk/v3/web/web-core/src/main/java/org/apache/catalina/connector/Connector.java

trunk/v3/web/web-core/src/main/java/org/apache/catalina/connector/CoyoteAdapter.java trunk/v3/web/web-glue/src/main/java/com/sun/enterprise/web/WebConnector.java

glassfishrobot commented 14 years ago

@glassfishrobot Commented @rlubke said: Issue resolved.

glassfishrobot commented 14 years ago

@glassfishrobot Commented batzee said: This is the patch against 3.0.1 open source edition, in case anyone is interested.

Index: core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/GrizzlyProxy.java

— core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/GrizzlyProxy.java (Revision 41175) +++ core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/GrizzlyProxy.java (Arbeitskopie) @@ -357,7 +357,7 @@ }

Index: core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/GrizzlyService.java

— core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/GrizzlyService.java (Revision 41175) +++ core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/GrizzlyService.java (Arbeitskopie) @@ -354,10 +354,6 @@ */ public synchronized Future<Result> createNetworkProxy(NetworkListener listener) {

// create the proxy for the port. GrizzlyProxy proxy = new GrizzlyProxy(this, listener);

/**

glassfishrobot commented 14 years ago

@glassfishrobot Commented File: testejbws.ear Attached By: batzee

glassfishrobot commented 14 years ago

@glassfishrobot Commented Was assigned to bhaktimehta

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-12458

glassfishrobot commented 14 years ago

@glassfishrobot Commented Reported by batzee

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as fixed on Tuesday, September 28th 2010, 1:04:26 am