cancel
Showing results for 
Search instead for 
Did you mean: 

4.0 Web Custom Properties Aren't Being Used

DellSC
Active Contributor
0 Kudos

I am in the process of configuring a BOIP 4.0 SP 5 Patch 7 system for a client.  The system has two clustered CMS/app servers and two separate web servers behind a load balancer.

On the web servers, I've set up some custom properties files to do things like set the cluster information, show the Authentication drop-down on the BILaunchpad login screen, etc.  Here's the contents of the BILaunchpad.properties file

authentication.default=secEnterprise

authentication.visible=true

cms.default=@BOE40DEV

cms.visible=true

The files are located in the WebApps\BOE\WEB-INF\Config\Custom folder of both the Tomcat6 and SAP BusinessObjects Enterprise XI 4.0\warfiles folders.

After creating the files, I stopped Tomcat, deleted the Tomcat6\work\Catalina folder, and restarted Tomcat. 

The updates I made to set the cluster information in the Custom PlatformServices.properties file do seem to be working as I am able to log in to the cluster instead of going to a specific server.  However, when I go to BILaunchpad, the Authentication drop-down is not appearing on the login screen unless I go to the Default BILaunchpad.properties file and change authentication.visible there.

I saw this situation with another client recently, but only on their Dev system - QA and Production worked correctly.  My concern is that when this happens, I've also been unable to get manual AD authentication working for the server.  I still have to configure AD authentication for my current client, so I'm not yet sure if that's the case here.

Has anyone seen this before and is there something I can do to get this working?  Thanks!

-Dell

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dell,

Could happen if .xml configuration (like server.xml) backed up prior to the patch update are simply copied over the new ones as opposed to comparing them and updating custom entries.

First place to look would be your stdout.log and stderr.log in your Tomcat logging to see if its starting up correctly and/or picking up any errors.

Regds,

Ryan

DellSC
Active Contributor
0 Kudos

I haven't made any changes to server.xml or web.xml at this point.

Contents of stdout.log:

2013-05-09 14:42:23 Commons Daemon procrun stdout initialized

log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).

log4j:WARN Please initialize the log4j system properly.

com.businessobjects.webpath.rebean3ws.Activator

log4j:WARN No appenders could be found for logger (org.apache.axis2.deployment.WarBasedAxisConfigurator).

log4j:WARN Please initialize the log4j system properly.

Contents of Stderr.log:

2013-05-09 14:42:23 Commons Daemon procrun stderr initialized

May 9, 2013 2:42:25 PM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Windows\SysWOW64\;E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\

May 9, 2013 2:42:25 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

May 9, 2013 2:42:25 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 927 ms

May 9, 2013 2:42:25 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

May 9, 2013 2:42:25 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.35

May 9, 2013 2:42:25 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor AdminTools.xml

May 9, 2013 2:42:26 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor BOE.xml

May 9, 2013 2:44:16 PM com.sun.faces.config.ConfigureListener contextInitialized

INFO: Initializing Mojarra (1.2_12-b01-FCS) for context '/BOE'

May 9, 2013 2:44:19 PM com.sun.faces.spi.InjectionProviderFactory createInstance

INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

May 9, 2013 2:44:33 PM org.apache.cxf.transport.servlet.CXFNonSpringServlet loadBusNoConfig

INFO: Load the bus without application context

May 9, 2013 2:44:34 PM org.apache.cxf.transport.servlet.AbstractCXFServlet replaceDestinationFactory

INFO: Replaced the http destination factory with servlet transport factory

May 9, 2013 2:44:36 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass

INFO: Creating Service {urn:services-businessobjects-com:coresdk:wsgateway}Gateway from class com.businessobjects.services.coresdk.wsgateway.GatewayPort

May 9, 2013 2:44:37 PM org.apache.cxf.endpoint.ServerImpl initDestination

INFO: Setting the server's publish address to be /Gateway

May 9, 2013 2:44:39 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor BusinessProcessBI.xml

May 9, 2013 2:44:40 PM org.apache.catalina.startup.ContextConfig validateSecurityRoles

INFO: WARNING: Security role name noaccess used in an <auth-constraint> without being defined in a <security-role>

May 9, 2013 2:44:41 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor clientapi.xml

May 9, 2013 2:44:42 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor dswsbobje.xml

May 9, 2013 2:44:43 PM org.apache.catalina.startup.ContextConfig validateSecurityRoles

INFO: WARNING: Security role name noaccess used in an <auth-constraint> without being defined in a <security-role>

May 9, 2013 2:44:43 PM org.apache.catalina.startup.ContextConfig validateSecurityRoles

INFO: WARNING: Security role name SAPRole used in an <auth-constraint> without being defined in a <security-role>

May 9, 2013 2:44:48 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor explorer.xml

May 9, 2013 2:44:49 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor explorer_help.xml

May 9, 2013 2:44:49 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor host-manager.xml

May 9, 2013 2:44:49 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor manager.xml

May 9, 2013 2:44:49 PM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory docs

May 9, 2013 2:44:49 PM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory ROOT

May 9, 2013 2:44:49 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

May 9, 2013 2:44:49 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 144011 ms

I don't see anything obvious in either of these.

-Dell

Former Member
0 Kudos

Dell,

I compared these to our server startup logs and they are almost identical so no issues there.

One test I did try was to copy the default bilaunchpad.properties file into the custom folder and then make changes to it, instead of creating a new one from scratch.

Looking at the BI 4 Admin guide section 17.2 advises against making any modifications to the default file so make sure your default file is the original state with no changes.

As always restart Tomcat after any chages and wait for the server startup entry in stderr.log before testing. Also try clearing browser cache or try from a different client machine/browser to make sure its not loading the old settings.

Regds,

Ryan

DellSC
Active Contributor
0 Kudos

Ryan,

I have done all of this - I did it before I posted in the first place and I've just re-done it again to make sure.  For some reason Tomcat is just not picking up the custom properties.

-Dell