Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Dear All,

After login Knowage should show the default background pictures but it is showing me the blank page. 

Following is my server.xml file

-----------------------------------------------------

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<!--

  Licensed to the Apache Software Foundation (ASF) under one or more

  contributor license agreements.  See the NOTICE file distributed with

  this work for additional information regarding copyright ownership.

  The ASF licenses this file to You under the Apache License, Version 2.0

  (the "License"); you may not use this file except in compliance with

  the License.  You may obtain a copy of the License at


      http://www.apache.org/licenses/LICENSE-2.0


  Unless required by applicable law or agreed to in writing, software

  distributed under the License is distributed on an "AS IS" BASIS,

  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  See the License for the specific language governing permissions and

  limitations under the License.

--><!-- Note:  A "Server" is not itself a "Container", so you may not

     define subcomponents such as "Valves" at this level.

     Documentation at /docs/config/server.html

 --><Server port="8005" shutdown="SHUTDOWN">

    <Listener SSLEngine="on" className="org.apache.catalina.core.AprLifecycleListener"/>

   <Listener className="org.apache.catalina.core.JasperListener"/>

  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>

  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>

  <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>

    <Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/>

  

<Environment name="resource_path" type="java.lang.String" value="D:\BI\Knowage-Server-CE\resources"/>

<Environment name="service_url" type="java.lang.String" value="http://localhost:8080/knowage"/>

<Environment name="host_url" type="java.lang.String" value="http://192.168.1.10:8080"/>

<Environment name="sso_class" type="java.lang.String" value="it.eng.spagobi.services.common.FakeSsoService"/>

<Environment description="HMAC key" name="hmacKey" type="java.lang.String" value="abc123"/>

<Resource auth="Container" factory="de.myfoo.commonj.work.FooWorkManagerFactory" maxThreads="5" name="wm/SpagoWorkManager" type="commonj.work.WorkManager"/>

<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/knowage" password="iftikhar" type="javax.sql.DataSource" url="jdbc:mysql://192.168.1.10:3306/knowage_ce" username="knowagebi"/>

<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/foodmart" password="iftikhar" type="javax.sql.DataSource" url="jdbc:mysql://192.168.1.10:3306/foodmart_demo" username="knowagebi"/>

<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/ds_cache" password="iftikhar" type="javax.sql.DataSource" url="jdbc:mysql://192.168.1.10:3306/foodmart_demo" username="knowagebi"/>

</GlobalNamingResources>

  <Service name="Catalina">

    <Connector compressableMimeType="text/html,text/html;charset=UTF-8,text/xml,text/css,text/plain,application/json,application/json;charset=utf-8,application/xml,application/javascript,application/x-font-woff" compression="off" compressionMinSize="2048" connectionTimeout="20000" noCompressionUserAgents="gozilla, traviata" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>


      <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>

    <Engine defaultHost="192.168.1.10" name="Catalina" startStopThreads="0">

      <Realm className="org.apache.catalina.realm.LockOutRealm">

             <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>

      </Realm>

    <Host appBase="webapps" autoDeploy="true" name="192.168.1.10" startStopThreads="0" unpackWARs="true">

Environment Knowage 6.1.1, Windows 7 64bit, Tomcat, Chorme
in Workspace by (860 points)
Please add error messages and/or log with error. Without the errors is difficult to find the issue here...

1 Answer

+1 vote

Hi,

Are you using two distincts machine for the tomcat server process and the web browser client ?

In that case, you have to pay attention to the service_url and host_url names in your server.xml file.

Both need to resolve to something your web browser client will actually find the Knowage setup on.

If you use two different machines, say a windows web browser client and a linux ubuntu server, then you can't use localhost, which will refer to your web browser machine rather than the server.

Best regards,

Arnaud

by (260 points)
Thanks for reply,

I am using Windows server for Tomcat and for Client using another machine web browser that is windows based. I had changed the localhost with the server IP but still, it is showing the blank page. How can I check the log what is the error generating.

Thanks
Hi, a blank page can also happen when the MySQL Server / the knowage schema isn't reachable.
In that case, you can inspect the log files looking for exceptions!
what ip is the 192.168.1.10? Your virtual machine ip or you, your pc ip...?
...