tracker issue : CF-3206530

select a category, or use search below
(searches all categories and all time range)
Title:

Spring integration, spring security and jsp tags

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Michael Nimer / Michael Nimer (Michael Nimer)

Created: 06/05/2012

Components: Language, Java Integration

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Normal / Very few users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Problem Description:

If I configure Spring to run inside of the ColdFusion class loader, so I can use CFCPROXY when I try to use Spring JSP tags or Spring security I get errors

Steps to Reproduce:

Sync this project, and import and run the kitchensink sample
https://github.com/mnimer/palladium/tree/CFBugs2/samples/kitchensink

For the spring security error, click on the security link
/kitchensink/security/index.html

for the Themes error, click on the theme link
/kitchensink/themes/index.html

Actual Result:
The Themes error will error out on this line of code, with no exceptions I can find. 
<cfimport prefix="spring" taglib="/WEB-INF/spring.tld">


For the security error, I get this stack trace. Notice that the ColdFusion classloader is used, and I've confirmed the jar is in cfusion\lib
================================
java.lang.NoClassDefFoundError: org/springframework/security/access/intercept/aopalliance/MethodSecurityInterceptor
	org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser.registerMethodSecurityInterceptor(GlobalMethodSecurityBeanDefinitionParser.java:316)

================================


Expected Result:

In ColdFusion 9, these two samples would work if I don't try to use the ColdFusion class loader. However, if I do that I can't use the new CFCProxy class. So if I'm going to use CFCProxy, then I need to run my java application inside ColdFusion.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3206530

External Customer Info:
External Company:  
External Customer Name: mnimer
External Customer Email:  
External Test Config: Note: when you import the kitchensink maven project you'll need to do a few things



- edit the path property to an expanded cfusion.war folder

- install the cfusion.jar and bootstrap jar into you local maven repository

- download the latest jar for my Palladium project (https://github.com/mnimer/palladium/downloads) and add it to your local maven repository too. instructions are in the comments in the kitchensink pom.xml files

Attachments:

Comments:

I have downloaded the files from github, but looks like these files are missing. /kitchensink/security/index.html /kitchensink/themes/index.html Can you provide these files to repro this bug?
Comment by HariKrishna K.
19113 | January 21, 2014 07:22:57 AM GMT
As there is no response from the user, Closing the bug as Cannot Reproduce. If you are still facing the issue, please provide the repro case, will re-open the bug.
Comment by HariKrishna K.
19114 | December 03, 2014 01:05:06 AM GMT