Hi,
I'm trying to work through the tutorial at ...
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-CreatingPracticeApplication(HelloWorld...)
But, so far I haven't been able to get a successful result. Every time
I try to display the result page, I get nothing. Just a blank web
page. In the log, it seems like the request is being process normally,
except that the following warning message comes up....
ControlServlet.java:220:WARN ] Communication error with the client while
processing the request: /practice/control/person
I'm assuming that this warning message is indicating there was a problem
communicating back to the browser. Googling the message, I saw
discussions that this message occurs when the connection to the browser
is lost, for whatever reason.
Here is the portion of log that appears when the request is submitted...
[java] 2014-04-19 09:15:03,977 (http-bio-0.0.0.0-8080-exec-1)
[ControlEventListener.java:65 :INFO ] Creating session:
94F48236EDB5D113D633528DEC16CCC7.jvm1
[java] 2014-04-19 09:15:03,984 (http-bio-0.0.0.0-8080-exec-1)
[ ControlServlet.java:140:INFO ] [[[person(Domain:http://localhost)]
Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
[java] 2014-04-19 09:15:03,986 (http-bio-0.0.0.0-8080-exec-1)
[ VisitHandler.java:232:INFO ] Found visitorId [10000] in cookie
[java] 2014-04-19 09:15:03,997 (http-bio-0.0.0.0-8080-exec-1)
[ SequenceUtil.java:349:INFO ] Got bank of sequenced IDs for
[Visit]; curSeqId=11300, maxSeqId=11400, bankSize=100
[java] 2014-04-19 09:15:04,005 (http-bio-0.0.0.0-8080-exec-1) [
ConfigXMLReader.java:116:INFO ] controller loaded: 0.001s, 1 requests, 1
views in jndi:/0.0.0.0/practice/WEB-INF/controller.xml
[java] 2014-04-19 09:15:04,009 (http-bio-0.0.0.0-8080-exec-1) [
ConfigXMLReader.java:116:INFO ] controller loaded: 0.0s, 39 requests, 19
views in
file:/E:/Java/Eclipse/workspace-ofbiz/ofbiz-release13.07%20(Custom)/framework/common/webcommon/WEB-INF/common-controller.xml
[java] 2014-04-19 09:15:04,011 (http-bio-0.0.0.0-8080-exec-1) [
ConfigXMLReader.java:116:INFO ] controller loaded: 0.0s, 0 requests, 0
views in
file:/E:/Java/Eclipse/workspace-ofbiz/ofbiz-release13.07%20(Custom)/framework/common/webcommon/WEB-INF/handlers-controller.xml
[java] 2014-04-19 09:15:04,013 (http-bio-0.0.0.0-8080-exec-1)
[ RequestHandler.java:310:INFO ] This is the first request in this
visit. sessionId=94F48236EDB5D113D633528DEC16CCC7.jvm1
[java] 2014-04-19 09:15:04,017 (http-bio-0.0.0.0-8080-exec-1)
[ RequestHandler.java:814:INFO ] Rendering View [person],
sessionId=94F48236EDB5D113D633528DEC16CCC7.jvm1
[java] 2014-04-19 09:15:04,018 (http-bio-0.0.0.0-8080-exec-1)
[ UtilJ2eeCompat.java:69 :INFO ] serverInfo: apache tomcat/7.0.52
[java] 2014-04-19 09:15:04,018 (http-bio-0.0.0.0-8080-exec-1)
[ UtilJ2eeCompat.java:78 :INFO ] Apache Tomcat detected, using
response.getWriter to write text out instead of response.getOutputStream
[java] 2014-04-19 09:15:04,262 (http-bio-0.0.0.0-8080-exec-1)
[ AbstractEngine.java:66 :INFO ] Loaded Service Locations:
{entity-sync-http=http://localhost:8080/webtools/control/httpService,
eedcc-test=http://localhost:8080/webtools/control/httpService,
main-soap=http://localhost:8080/webtools/control/SOAPService,
rita-rmi=rmi://localhost:1099/RMIDispatcher,
main-http=http://localhost:8080/webtools/control/httpService,
entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
main-rmi=rmi://localhost:1099/RMIDispatcher}
[java] 2014-04-19 09:15:04,271 (http-bio-0.0.0.0-8080-exec-1) [
ServiceDispatcher.java:589:INFO ] Sync service
[practice/getUserPreferenceGroup] finished in [13] milliseconds
[java] 2014-04-19 09:15:04,276 (http-bio-0.0.0.0-8080-exec-1)
[ ControlServlet.java:220:WARN ] Communication error with the client
while processing the request: /practice/control/person
[java] 2014-04-19 09:15:04,282 (http-bio-0.0.0.0-8080-exec-1)
[ ServerHitBin.java:637:INFO ] Visit delegatorName=default,
ServerHitBin delegatorName=default
[java] 2014-04-19 09:15:04,286 (http-bio-0.0.0.0-8080-exec-1)
[ ControlServlet.java:324:INFO ] [[[person(Domain:http://localhost)]
Request Done- total:0.302,since last([person(Domain:ht...):0.302]]
Is there anyone that can offer guidance or suggestions as to why this is
happening and how to solve it? It would be much appreciated. Thanks.
Regards,
Eric
I'm trying to work through the tutorial at ...
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-CreatingPracticeApplication(HelloWorld...)
But, so far I haven't been able to get a successful result. Every time
I try to display the result page, I get nothing. Just a blank web
page. In the log, it seems like the request is being process normally,
except that the following warning message comes up....
ControlServlet.java:220:WARN ] Communication error with the client while
processing the request: /practice/control/person
I'm assuming that this warning message is indicating there was a problem
communicating back to the browser. Googling the message, I saw
discussions that this message occurs when the connection to the browser
is lost, for whatever reason.
Here is the portion of log that appears when the request is submitted...
[java] 2014-04-19 09:15:03,977 (http-bio-0.0.0.0-8080-exec-1)
[ControlEventListener.java:65 :INFO ] Creating session:
94F48236EDB5D113D633528DEC16CCC7.jvm1
[java] 2014-04-19 09:15:03,984 (http-bio-0.0.0.0-8080-exec-1)
[ ControlServlet.java:140:INFO ] [[[person(Domain:http://localhost)]
Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
[java] 2014-04-19 09:15:03,986 (http-bio-0.0.0.0-8080-exec-1)
[ VisitHandler.java:232:INFO ] Found visitorId [10000] in cookie
[java] 2014-04-19 09:15:03,997 (http-bio-0.0.0.0-8080-exec-1)
[ SequenceUtil.java:349:INFO ] Got bank of sequenced IDs for
[Visit]; curSeqId=11300, maxSeqId=11400, bankSize=100
[java] 2014-04-19 09:15:04,005 (http-bio-0.0.0.0-8080-exec-1) [
ConfigXMLReader.java:116:INFO ] controller loaded: 0.001s, 1 requests, 1
views in jndi:/0.0.0.0/practice/WEB-INF/controller.xml
[java] 2014-04-19 09:15:04,009 (http-bio-0.0.0.0-8080-exec-1) [
ConfigXMLReader.java:116:INFO ] controller loaded: 0.0s, 39 requests, 19
views in
file:/E:/Java/Eclipse/workspace-ofbiz/ofbiz-release13.07%20(Custom)/framework/common/webcommon/WEB-INF/common-controller.xml
[java] 2014-04-19 09:15:04,011 (http-bio-0.0.0.0-8080-exec-1) [
ConfigXMLReader.java:116:INFO ] controller loaded: 0.0s, 0 requests, 0
views in
file:/E:/Java/Eclipse/workspace-ofbiz/ofbiz-release13.07%20(Custom)/framework/common/webcommon/WEB-INF/handlers-controller.xml
[java] 2014-04-19 09:15:04,013 (http-bio-0.0.0.0-8080-exec-1)
[ RequestHandler.java:310:INFO ] This is the first request in this
visit. sessionId=94F48236EDB5D113D633528DEC16CCC7.jvm1
[java] 2014-04-19 09:15:04,017 (http-bio-0.0.0.0-8080-exec-1)
[ RequestHandler.java:814:INFO ] Rendering View [person],
sessionId=94F48236EDB5D113D633528DEC16CCC7.jvm1
[java] 2014-04-19 09:15:04,018 (http-bio-0.0.0.0-8080-exec-1)
[ UtilJ2eeCompat.java:69 :INFO ] serverInfo: apache tomcat/7.0.52
[java] 2014-04-19 09:15:04,018 (http-bio-0.0.0.0-8080-exec-1)
[ UtilJ2eeCompat.java:78 :INFO ] Apache Tomcat detected, using
response.getWriter to write text out instead of response.getOutputStream
[java] 2014-04-19 09:15:04,262 (http-bio-0.0.0.0-8080-exec-1)
[ AbstractEngine.java:66 :INFO ] Loaded Service Locations:
{entity-sync-http=http://localhost:8080/webtools/control/httpService,
eedcc-test=http://localhost:8080/webtools/control/httpService,
main-soap=http://localhost:8080/webtools/control/SOAPService,
rita-rmi=rmi://localhost:1099/RMIDispatcher,
main-http=http://localhost:8080/webtools/control/httpService,
entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
main-rmi=rmi://localhost:1099/RMIDispatcher}
[java] 2014-04-19 09:15:04,271 (http-bio-0.0.0.0-8080-exec-1) [
ServiceDispatcher.java:589:INFO ] Sync service
[practice/getUserPreferenceGroup] finished in [13] milliseconds
[java] 2014-04-19 09:15:04,276 (http-bio-0.0.0.0-8080-exec-1)
[ ControlServlet.java:220:WARN ] Communication error with the client
while processing the request: /practice/control/person
[java] 2014-04-19 09:15:04,282 (http-bio-0.0.0.0-8080-exec-1)
[ ServerHitBin.java:637:INFO ] Visit delegatorName=default,
ServerHitBin delegatorName=default
[java] 2014-04-19 09:15:04,286 (http-bio-0.0.0.0-8080-exec-1)
[ ControlServlet.java:324:INFO ] [[[person(Domain:http://localhost)]
Request Done- total:0.302,since last([person(Domain:ht...):0.302]]
Is there anyone that can offer guidance or suggestions as to why this is
happening and how to solve it? It would be much appreciated. Thanks.
Regards,
Eric