eclipse-ee4j / mojarra-jsf-extensions

Other
1 stars 3 forks source link

When using shale-remoting dynamic call with SWDP deploy, the request is answered twice. #73

Open glassfishrobot opened 17 years ago

glassfishrobot commented 17 years ago

I am using the SDK build 12 and have swdp installed and I deployed the bpcatalog. When using the http://localhost:8080/bp-jsf-example/faces/compB.jsp example which makes a dynamic call using shale-remoting the request is answered twice. I tested the same bits without the swdp installed and it works fine.

To reproduce:

XML Parsing Error: junk after document element Location: http://localhost:8080/bp-jsf-example/faces/bpui_compb_action/CompBBean/processMethod?itemId=test1A Line Number 1, Column 347:<![CDATA[test1A Lookup]]><![CDATA[The itemId that is performing this lookup is 'test1A'.

This popup is trigger through the onmouseover and onmouseout event handlers. This popup request is fulfilled using a JSF managed bean, that is called by the CompBPhaselistener]]>
<![CDATA[test1A Lookup]]><![CDATA[The itemId that is performing this lookup is 'test1A'.

This popup is trigger through the onmouseover and onmouseout event handlers. This popup request is fulfilled using a JSF managed bean, that is called by the CompBPhaselistener]]>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^

You will notice that the xml doc is in the response twice.

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 5 years ago
glassfishrobot commented 17 years ago

@glassfishrobot Commented Reported by basler

glassfishrobot commented 17 years ago

@glassfishrobot Commented basler said: Actually I don't use shale-remoting here, I am using just a phaselistener, but the afterphase method of com.sun.javaee.blueprints.components.ui.example.CompBPhaseListener is being called twice.

I instrumented the code and I am getting the following in the log

[#|2007-04-20T15:52:56.250-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=37;_ThreadName=httpSSLWorkerThread-8080-1;| PhaseListener - Root ID /bpui_compb_action/CompBBean/processMethod|#]

[#|2007-04-20T15:52:56.250-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=37;_ThreadName=httpSSLWorkerThread-8080-1;| Method expression to call = #

{CompBBean.processMethod}|#]

[#|2007-04-20T15:52:56.250-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=37;_ThreadName=httpSSLWorkerThread-8080-1;| PhaseListener - Root ID /bpui_compb_action/CompBBean/processMethod|#]

[#|2007-04-20T15:52:56.250-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=37;_ThreadName=httpSSLWorkerThread-8080-1;| Method expression to call = #{CompBBean.processMethod}

|#]

I made sure that no other application is deploy on the instance of the appserver, but I can't figure out why the phaselistener is being called twice.

glassfishrobot commented 17 years ago

@glassfishrobot Commented basler said: To reproduce this bug you want to use the SDK update2 preview2 build 13 that is located at http://javaweb.sfbay.sun.com/java/re/javaeesdk/5.0_03/promoted/preview2/b13/bundles/.

Please note, that the SDK is using SWDP rev 1.

glassfishrobot commented 17 years ago

@glassfishrobot Commented Was assigned to jsf-extensions-issues

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JSF_EXTENSIONS-73