JSP IOverload cannot be resolved to a type

Hi,
I am stuck on this java error “IOverload cannot be resolved to a type”
I created a jsp file to change dynamically the database connection of connected user using (IOverload and IUniverse) on BOXI3 it works fine.
Now i’m trying to do the same on BI4.1 and i have faced many problems that I solved but still stuck on this error.

These are my steps:

I changed this parameter to allow jsp modifications
	-Folder : tomcat/webapps/BOE/WEB-INF/internal
	-File : global.properties
	-line : precompiled.jsp.files.use=true --> false

I added some code in BILaunchpad

	Folder : tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.InfoView/web/jsp/listing
	File : main.jsp
	Line : in <div id="bannerContent"> I added a combo box and "on change" I call change.jsp

I created change.jsp (this is a sample code that throw the error)

	Folder : tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.InfoView/web/
	File : change.jsp
	Lines :
			<%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoObject" %>
			<%@ page import="com.businessobjects.sdk.plugin.desktop.overload.*"%>

			<html>
			<body>
			<%
				IOverload A = null;
				IInfoObject B = null;
			%>
			</body>
			</html>

I added an exclude line for change.jsp in web.xml

	Folder : tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.InfoView/web/WEB-INF	
	File : web.xml
	line : 
	    <init-param>
            <param-name>excludeUrl234</param-name>
            <param-value>/change.</param-value>
        </init-param>

I added the jar file of overload and universe classes to lib folder

	Folder : tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.InfoView/web/WEB-INF/lib
	File : SL_plugins.jar

I modified the MANIFEST.MF to add the SL_plugins.jar but i added it with notepad

Folder : tomcat/webapps/BOE/WEB-INF/eclipse/plugins/webpath.InfoView/META-INF
File : MANIFEST.MF
line : ,web/WEB-INF/lib/SL_plugins.jar (the lines are limited to 70 caracter so i did the same)

I’m not a good java developper, and i don’t use eclipse,
for each modification i did the same in the tomcat work folder and restart it
and also i delete the proxytemp folder before restarting

i know that this is not the good way,
but still belive that this is also a solution, just need you help to make it work

thanks


manrabie (BOB member since 2004-11-09)

You need to make sure that the correct library files are in the Build Path for your application. Here are the ones that I use by default in all of my apps:

bcm.jar
biarengine.jar
biplugins.jar
ceaspect.jar
cecore.jar
celib.jar
ceplugins_core.jar
ceplugins_cr.jar
cesession.jar
corbaidl.jar
ebus405.jar
logging.jar
TraceLog.jar
sdk.core.jar
sdk.core.server.common.jar
sdk.core.server.corba.jar
sdk.core.server.jar
sdk.core.session.cms.jar
sdk.core.session.jar
external/shared-objects.jar
dsl_sdk_commands.jar
dsl_sdk_requests.jar
dsl_sdk_server.jar
dsl_sdk_services.jar
SL_plugins.jar
CrystalReportsSDK.jar
cereports.jar
crlov.jar
CrystalEnterpriseRepository.jar
aspectjrt.jar
certjFIPS.jar
com.sap.js.passport.api.jar
cryptojFIPS.jar
derby.jar
freessl201.jar
log4j.jar
ssljFIPS.jar
guice-1.0.jar

There are dependencies between many of the files, which is why you need to include all of these in the Build Path.

-Dell


hilfy :us: (BOB member since 2007-04-16)