Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Grouper UI In Weblogic 9.x

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Grouper UI In Weblogic 9.x


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: Monica Crawford <>
  • Cc:
  • Subject: Re: [grouper-users] Grouper UI In Weblogic 9.x
  • Date: Wed, 30 Aug 2006 12:15:48 +0100



--On 28 August 2006 16:22 -0500 Monica Crawford
<>
wrote:

Hi Gary,

Thanks so much. I can run the below w/in the with Weblogic 9.2 and JBoss
4.0.2 containers. I followed the upgrades to accommodate a 2.4 servlet
spec and 2.0 jsp spec. and made the grouper-el rtexpvalue I also noticed
that it worked in weblogic when I compiled the files against the
servlet-api.jar (2.4 jar file).
That's good to hear.

FYI, the shipped grouper-ui, it works as is under a 2.3/1/1 servlet
spec/jsp spec for JBoss 4.0.2 but not for Weblogic 9.X. BEA says the
issue w/ struts-el and WL 9.X is solvable only if you upgrade to 2.4.
There are moves afoot to see if Grouper (and Signet) should move to requiring JDK1.5. If that happens it would be logical to move to the 2.4 Servlet spec, so hopefully, it will become a non-issue in future.

Monica




GW Brown, Information Systems and Computing wrote:
Hi Monica,

Following your recipe and making some additional changes to
grouper-el.tld, I have the UI working with Tomcat 5.5 using the 2.4
servlet API. I've attached the tld file. My additional changes involved
modifying:

<rtexprvalue>false</rtexprvalue>

to

<rtexprvalue>true</rtexprvalue>

Would you check whether that allows you to run the UI? If not, it may be
a Weblogic specific issue. I can try and install Weblogic with a
developer license, but that may take a while to setup.

If this change does fix your problem, I'll have a look at the best way
of supporting the 2.3 and 2.4 specs. By now I expect most people will be
using a 2.4 capable container, but we can canvas this list to confirm
that. If it is the case, and the working group are in agreement, I'll
change the default to the 2.4 spec with instructions or a build option
to support the 2.3 api.

Regards,

Gary




--On 10 August 2006 22:19 -0500 Monica Crawford
<>
wrote:

Hi Gary,

Thanks for the help. I've attached two files. One explains the things
that should change for the 2.4 servlet deployment descriptor and support
for jsp 2.0. The other is the 2.4 deployment descriptor taken from the
grouper-qs that is altered to use 2.4.

Some more details if your interested:
By spec a 2.4 servlet container should support a 2.3 deployment
descriptor. Weblogic 9.x will support a 2.3 servlet descriptor just
fine w/ jstl 1.0 uri references for the <@taglib> jsp refs (the jar
file is still 1.1). This works great as long as el is not used in
tiles. Tiles-el seems to be the main source of pain in weblogic 9.x.

<Thinking out loud here...> things I can think of that might work (yet
to try) include:
- keep a 2.3 deployment descriptor, but somehow find another mechanism
besides tiles-el - (maybe use the beanname?) Is it possible to remove
all el references from tiles? We still need to test if it is affecting
all struts-el (html, bean, etc)
- keep a 2.3 deployment descriptor, maybe create a custom tag to
wrap/resolve the tiles specific el issues before hitting the page.
- use a 2.4/jsp 2.0 environment, need to evaluate the impact. How many
grouper users are still on 2.3/1.2 envs? What is the protocol for
deciding things like this? This may be way out-of-scope but an
alternative.

Let me know if there are additional questions.....

Monica


GW Brown, Information Systems and Computing wrote:
Hi Monica,

I haven't tried getting the Grouper UI to run against servlet 2.4/jsp
2.0 - I have deliberately avoided taking advantage of any new features
so that there aren't any backward compatability issues.

I don't have a Weblogic instance to work against, but I'll have a go at
setting up the UI for Tomcat servlet 2.4/jsp 2.0 and see what errors
occur. If you would send me your 2.4 deployment descriptor that will
help me get started.

Regards,

Gary

--On 09 August 2006 17:24 -0500 Monica Crawford
<>
wrote:

Hi folks,

Is there intended support for Grouper UI running against a Servlet
2.4/JSP 2.0 deployment descriptor?

I'm trying to get the Weblogic 9.x (servlet 2.4/jsp 2.0) environment
to run grouper-qs and I run into errors starting with template.jsp.
There are a couple of things happening; an infinite loop in the
LoginCheckFilter if the document.location.replace("error.do") isn't
commented out, and the main issue - EL evaluation in the tiles tag
attributes isn't happening.

Seeking an answer I find this post
http://forums.bea.com/bea/message.jspa?messageID=600020538&tstart=0
and try to convert the grouper-qs ui webapp to use the 2.4 deployment
descriptor with some hopeful success but alas keep running into
various errors regarding the taglibs on the include.jsp. Even after
updating JSTL/Standard jars to 1.1 dtd references, it appears that
the taglib definitions in include.jsp aren't being 'included' in
subsequent jsps even if I use a dynamic include. Each new thing I
'fix' seems to open a new issue.

I'm sure I'm missing something rather simple. Any ideas for a cure? I
can recreate the EL problem with a rather simple webapp, but can't
recreate the include.jsp taglib issue. Let me know what additional
info
you might need to further investigate.

--




----------------------
GW Brown, Information Systems and Computing


--
Monica Crawford
University of Wisconsin-Madison
Division of Information Technology
1210 West Dayton Street, Rm 3159
Madison, Wisconsin 53706
608.890.0782



----------------------
GW Brown, Information Systems and Computing




Archive powered by MHonArc 2.6.16.

Top of Page