Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Issue with Integration with JRUN4
Pavan
Problem: IW Proxy redirects to external application server (JRUN4), but JRUN4 is not able to find the document root of the application.
Here is a detailed description of the problem:
I have a Branch called 'Branch1'.
Two workareas called 'W1' and W2'.
So, the Y: drive look as follow:
For 'W1':
Y:\default\main\Branch1\WORKAREA\W1\...
For 'W2':
Y:\default\main\Branch1\WORKAREA\W2\...
I have JRUN Server installed and running.
I created two web applications on JRUN called 'W1' and 'W2'. The Document root of these apps are
Y:\default\main\Branch1\WORKAREA\W1\
and
Y:\default\main\Branch1\WORKAREA\W2\
respectively.
I have created entry in iw.cfg for proxy redirection.
Now if user logs in Teamsite in W1 and W2 and click on XYZ.jsp to preview it, then they should be able to preview files in their respective folders.
But for some reason, it doesn't recognize the proper document root.
Thanks in advance !!
Pavan
Find more posts tagged with
Comments
Migrateduser
to troubleshoot:
- Try going to the page directly without TeamSite. for example, go to
http://host:8888/webapp1/test.jsp
in the browser directly, to see if it reads the docroot.
- If the page renders, then we can troubleshoot the TeamSite side further.
- If the page doesn't render, point the docroot of JRun to yet another directory on the filesystem that contains the same webapp, (somewhere else other than the Y:\ drive, e.g. c:\webapp), and and try viewing that page.
- If that works, then we can look at the difference between having a webapp on Y:\ drive and c:\ drive
- Iif it doesn't work, then JRun itself needs more work.
I'm not too familar with JRun so I can't give you specifics about JRun, but I'm assuming it's a Tomcat-like app server. The troubleshooting steps above are pretty generic for all integrations with app servers.
Pavan
Thanks for response !!
It works when I go to
http://host:8888/webapp1/test.jsp
in the browser directly.
Thanks
Pavan
Migrateduser
That's good. So just to verify, when the docroot of JRun is pointed to Y:\default\main\branch\WORAKREA\workarea, and in this workarea, there is a webapp that contains "test.jsp", you can go directly to
http://host:8888/webapp1/test.jsp
, and you are absolutely sure this test.jsp is indeed the one inside the workarea. And you checked once again you cannot render the same page from inside TeamSite. In this case, can you post your regex from your iw.cfg here?
Pavan
There was problem with my regex. It worked when I correct my regex.
Thanks a lot for the help !!