Team Site Proxy
Options
I am using a JSP to invoke a DCT using Open Window. The DCT has CGI callout to another JSP. The application server
is weblogic.
In the iw.cfg file
[iwproxy_external_remap]
_regex=^/sales_and_marketing/WORKAREA/wa/cma/(.*)$=http://10.79.2.198:7501/cma/$1
The DCT CGI URL is ==>
http://10.185.6.96/sales_and_marketing/WORKAREA/wa/cma/BzptCmaApiObjectRead.jsp
The very first time I click on the CGI Button is not able to invoke the second JSP "BzptCmaApiObjectRead.jsp"
Looking at the access_log in team site I see the error ==>
10.72.145.120 - - [05/Jun/2003:19:22:33 -0500] "POST /sales_and_marketing/WORKAREA/wa/cma/BzptCmaApiObjectRead.jsp HTTP/1.1" 200 2410
10.72.145.120 - - [05/Jun/2003:19:22:33 -0500] "POST /cma/cmaCommonSessionInitializer.do;jsessionid=2feadp7V5L1SATUgk3X1zU5V6YTYtCcSI5ME2ABD4wCF0Euc0VRY!-1886118648 HTTP/1.1" 302 5
10.72.145.120 - - [05/Jun/2003:19:22:33 -0500] "GET /sales_and_marketing/WORKAREA/wa/cma/cmaCommonSessionInitializer.do%3Bjsessionid%3D2feadp7V5L1SATUgk3X1zU5V6YTYtCcSI5ME2ABD4wCF0Euc0VRY%21-1886118648 HTTP/1.1" 404 1278
The jsessionID is coming from the cookie weblogic's cookie of the child window
If I click the CGI Button the second time it works
fine
The access_log displays
10.72.145.120 - - [05/Jun/2003:19:25:06 -0500] "POST /sales_and_marketing/WORKAREA/wa/cma/BzptCmaApiObjectRead.jsp HTTP/1.1" 200 2334
10.72.145.120 - - [05/Jun/2003:19:25:06 -0500] "POST /cma/cmaCommonSessionInitializer.do HTTP/1.1" 302 5
10.72.145.120 - - [05/Jun/2003:19:25:06 -0500] "GET /sales_and_marketing/WORKAREA/wa/cma/cmaCommonSessionInitializer.do HTTP/1.1" 200 6643
Please let me know if there is a solution for this
is weblogic.
In the iw.cfg file
[iwproxy_external_remap]
_regex=^/sales_and_marketing/WORKAREA/wa/cma/(.*)$=http://10.79.2.198:7501/cma/$1
The DCT CGI URL is ==>
http://10.185.6.96/sales_and_marketing/WORKAREA/wa/cma/BzptCmaApiObjectRead.jsp
The very first time I click on the CGI Button is not able to invoke the second JSP "BzptCmaApiObjectRead.jsp"
Looking at the access_log in team site I see the error ==>
10.72.145.120 - - [05/Jun/2003:19:22:33 -0500] "POST /sales_and_marketing/WORKAREA/wa/cma/BzptCmaApiObjectRead.jsp HTTP/1.1" 200 2410
10.72.145.120 - - [05/Jun/2003:19:22:33 -0500] "POST /cma/cmaCommonSessionInitializer.do;jsessionid=2feadp7V5L1SATUgk3X1zU5V6YTYtCcSI5ME2ABD4wCF0Euc0VRY!-1886118648 HTTP/1.1" 302 5
10.72.145.120 - - [05/Jun/2003:19:22:33 -0500] "GET /sales_and_marketing/WORKAREA/wa/cma/cmaCommonSessionInitializer.do%3Bjsessionid%3D2feadp7V5L1SATUgk3X1zU5V6YTYtCcSI5ME2ABD4wCF0Euc0VRY%21-1886118648 HTTP/1.1" 404 1278
The jsessionID is coming from the cookie weblogic's cookie of the child window
If I click the CGI Button the second time it works
fine
The access_log displays
10.72.145.120 - - [05/Jun/2003:19:25:06 -0500] "POST /sales_and_marketing/WORKAREA/wa/cma/BzptCmaApiObjectRead.jsp HTTP/1.1" 200 2334
10.72.145.120 - - [05/Jun/2003:19:25:06 -0500] "POST /cma/cmaCommonSessionInitializer.do HTTP/1.1" 302 5
10.72.145.120 - - [05/Jun/2003:19:25:06 -0500] "GET /sales_and_marketing/WORKAREA/wa/cma/cmaCommonSessionInitializer.do HTTP/1.1" 200 6643
Please let me know if there is a solution for this
Edited by skd1 on 06/05/03 06:55 PM (server time).
0
Comments
-
I suggest using [iwproxy_preconnect_remap], rather than external_remap.
I also suggest setting up your app server so it expects URL paths of the form
/iw-mount/archive/main/branch/WORKAREA/name/some/path
so that you can do the following rule:
[iwproxy_preconnect_remap]
_regex=^/(iw-mount/archive/main/sales_and_marketing/WORKAREA/wa/cma/.*)=http://10.79.2.198:7501/$1
This will help SCE to function.0 -
Gaa, just realized that SCE is irrelevant in this case. In any case,
external_remap is something to avoid.0 -
Why not have the callout go directly to the app server, instead?0
-
The intention was to directly call APP Server. When we directly call the APP server, JSP is not ble to write back to the DCT because of different domains (access denied). That is why we had to go to proxty route. I tried to put the regex in iwproxy_external_remap section but it still does not work. What is SCE by the way0
-
The problem was on the weblogic site and not on the team site proxy. Thank you for the help0
Categories
- All Categories
- 114 Developer Announcements
- 49 Articles
- 117 General Questions
- 126 Services
- 41 OpenText Hackathon
- 34 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 907 Cloud Fax and Notifications
- 80 Digital Asset Management
- 9.3K Documentum
- 28 eDOCS
- 155 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.