Closed glassfishrobot closed 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 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 batzee said: Can you please have a look at this issue ?! It's a real showstopper for us!
@glassfishrobot Commented mleuschner said:
@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 @rlubke said: Issue resolved.
@glassfishrobot Commented batzee said: This is the patch against 3.0.1 open source edition, in case anyone is interested.
— 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 @@ }
—
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
if (ConfigBeansUtilities.toBoolean(listener.getJkEnabled())) { - return null; - }
- if (!Boolean.valueOf(listener.getEnabled())) { logger.info("Network listener " + listener.getName() + " on port " + listener.getPort() + @@ -367,7 +363,8 @@
// create the proxy for the port. GrizzlyProxy proxy = new GrizzlyProxy(this, listener);
if(!("light-weight-listener".equals(listener.getProtocol()))) {
Future<Result
else {
Unknown macro: {+ @Override+ public void run() { + + }+ }
)));
}
/**
Implementation of a request processor which delegates the processing to a @@ -501,8 +502,19 @@ request.updatePaths(md); }
Context ctx = (Context) request.getMappingData().context;
Object context = request.getMappingData().context;
if (context instanceof ContextRootInfo) { + // this block of code will be invoked when an AJP request is intended + // for an Adapter other than the CoyoteAdapter + final Adapter toInvoke = ((ContextRootInfo) context).getAdapter(); + toInvoke.service(req, res); + toInvoke.afterService(req, res); + return false; + }
Context ctx = (Context) context;
— web/web-core/pom.xml (Revision 41175) +++ web/web-core/pom.xml (Arbeitskopie) @@ -84,6 +84,10 @@
@glassfishrobot Commented File: testejbws.ear Attached By: batzee
@glassfishrobot Commented Was assigned to bhaktimehta
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-12458
@glassfishrobot Commented Reported by batzee
@glassfishrobot Commented Marked as fixed on Tuesday, September 28th 2010, 1:04:26 am
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]