search cancel

JBoss reports on application compilation error "The import de cannot be resolved"


Article ID: 75011


Updated On:


CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On


We run a simple application protected with Agent for JBoss, and JBoss is unable to compile the application. Our Agent for JBoss is configured as a Global Module.

- WithGlobalModules.log :

JBWEB004061: An error occurred at line: 6 in the generated java file: 


The import de cannot be resolved 

JBWEB004060: An error occurred at line: 8 in the jsp file: /hello.jsp 

Logger cannot be resolved 

5: <%! 
6: public void log(String aStringValue) 
7: { 
8: Logger.getLogger().debug(aStringValue); 
9: }//eof log 
10: %> 
11: <html> 

How can we solve this?


To generate the Agent for JBoss code, we use obfuscation. This might provoke conflict with package name and path from other applications. This problem will be solved in R12.52 SP1 CR09 which is expected
to be released in Q2 2018


Agent for JBoss on JBoss 6.4.7 on RedHat 6.6 64bit 
Java version 1.8.0_92 with JCE patch 


Upgrade to Agent for JBoss 12.52SP1CR09 when available to solve this problem.

CA Single Sign-On fix strategy:

If you need to fix this while the CR09 has not been released yet, you can open a Support case to request a dev fix.