cancel
Showing results for 
Search instead for 
Did you mean: 

BO report on I phone error

rajdeep_singh
Participant
0 Kudos

HI guys,

I have installed the catalog browser War file on my server which runs both BO and TOmcat.

After deploying when i click on the Catalog browser link i get a blank page .

Could you guys , please help me out on this.

Regards,

Raj

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Where did you install? webapps?

Also did you adjust the memory settings. You need to change the memory settings to 512 M

Arun

rajdeep_singh
Participant
0 Kudos

Hi Arun,

My current server runs both i.e bo xi3.1 and also the tomcat.

I have deployed the warfile under webapps. I have not made much changes to the memory part.

If required how do i change it to 512M as you have mentioned?

Kindly let me know the needful.

Regards,

Raj.

Former Member
0 Kudos

I assume you are using Windows, then

add the next two lines to

<tomcat install dir>\bin\catalina.bat:

rem -


Change memory settings -


set JAVA_OPTS=%JAVA_OPTS% -Xmx512M

Hope this helps.

Former Member
0 Kudos

Sorry it should be

rem -


Change memory settings -


rajdeep_singh
Participant
0 Kudos

Hi Arun,

Yes , i am using windows.

I am now able to locate catalina.bat file on my server, in my bin folder. Should i exactly copy paste these two line at the bottom of the document bat file.

Could you plese helpme with this?

Regards,

Raj.

Edited by: singhrjd on Sep 14, 2011 5:59 PM

Former Member
0 Kudos

You have to write like below.

dash is the dash on keyboard. I am not able to display that on this text field.

rem dash dash dah Change memory settings dash dash dash dash dash......

then write the other two lines i gave you in the previous mail

When you download the catalog browser, you get an installation doc, which you can refer too.

Arun

rajdeep_singh
Participant
0 Kudos

Hi Arun,

My catallina.bat file looks like as detailed below.Where should i add these line which you have mentioned.

@echo off

if "%OS%" == "Windows_NT" setlocal

rem -


rem Start/Stop Script for the CATALINA Server

rem

rem Environment Variable Prequisites

rem

rem CATALINA_HOME May point at your Catalina "build" directory.

rem

rem CATALINA_BASE (Optional) Base directory for resolving dynamic portions

rem of a Catalina installation. If not present, resolves to

rem the same directory that CATALINA_HOME points to.

rem

rem CATALINA_OPTS (Optional) Java runtime options used when the "start",

rem "stop", or "run" command is executed.

rem

rem CATALINA_TMPDIR (Optional) Directory path location of temporary directory

rem the JVM should use (java.io.tmpdir). Defaults to

rem %CATALINA_BASE%\temp.

rem

rem JAVA_HOME Must point at your Java Development Kit installation.

rem Required to run the with the "debug" argument.

rem

rem JRE_HOME Must point at your Java Development Kit installation.

rem Defaults to JAVA_HOME if empty.

rem

rem JAVA_OPTS (Optional) Java runtime options used when the "start",

rem "stop", or "run" command is executed.

rem

rem JSSE_HOME (Optional) May point at your Java Secure Sockets Extension

rem (JSSE) installation, whose JAR files will be added to the

rem system class path used to start Tomcat.

rem

rem JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"

rem command is executed. The default is "dt_shmem".

rem

rem JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"

rem command is executed. The default is "jdbconn".

rem

rem $Id: catalina.bat 355227 2005-12-08 21:44:16Z keith $

rem -


rem Guess CATALINA_HOME if not defined

set CURRENT_DIR=%cd%

if not "%CATALINA_HOME%" == "" goto gotHome

set CATALINA_HOME=%CURRENT_DIR%

if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

cd ..

set CATALINA_HOME=%cd%

cd %CURRENT_DIR%

:gotHome

if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

echo The CATALINA_HOME environment variable is not defined correctly

echo This environment variable is needed to run this program

goto end

:okHome

rem Get standard environment variables

if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"

rem Get standard Java environment variables

if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath

echo Cannot find %CATALINA_HOME%\bin\setclasspath.bat

echo This file is needed to run this program

goto end

:okSetclasspath

set BASEDIR=%CATALINA_HOME%

call "%CATALINA_HOME%\bin\setclasspath.bat" %1

if errorlevel 1 goto end

rem Add on extra jar files to CLASSPATH

if "%JSSE_HOME%" == "" goto noJsse

set CLASSPATH=%CLASSPATH%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\jsse.jar

:noJsse

set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar

if not "%CATALINA_BASE%" == "" goto gotBase

set CATALINA_BASE=%CATALINA_HOME%

:gotBase

if not "%CATALINA_TMPDIR%" == "" goto gotTmpdir

set CATALINA_TMPDIR=%CATALINA_BASE%\temp

:gotTmpdir

if not exist "%CATALINA_HOME%\bin\tomcat-juli.jar" goto noJuli

set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"

:noJuli

rem -


Execute The Requested Command -


echo Using CATALINA_BASE: %CATALINA_BASE%

echo Using CATALINA_HOME: %CATALINA_HOME%

echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%

if ""%1"" == ""debug"" goto use_jdk

echo Using JRE_HOME: %JRE_HOME%

goto java_dir_displayed

:use_jdk

echo Using JAVA_HOME: %JAVA_HOME%

:java_dir_displayed

set EXECJAVA=%RUNJAVA%

set MAINCLASS=org.apache.catalina.startup.Bootstrap

set ACTION=start

set SECURITY_POLICY_FILE=

set DEBUG_OPTS=

set JPDA=

if not ""%1"" == ""jpda"" goto noJpda

set JPDA=jpda

if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport

set JPDA_TRANSPORT=dt_shmem

:gotJpdaTransport

if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress

set JPDA_ADDRESS=jdbconn

:gotJpdaAddress

shift

:noJpda

if ""%1"" == ""debug"" goto doDebug

if ""%1"" == ""run"" goto doRun

if ""%1"" == ""start"" goto doStart

if ""%1"" == ""stop"" goto doStop

if ""%1"" == ""version"" goto doVersion

echo Usage: catalina ( commands ... )

echo commands:

echo debug Start Catalina in a debugger

echo debug -security Debug Catalina with a security manager

echo jpda start Start Catalina under JPDA debugger

echo run Start Catalina in the current window

echo run -security Start in the current window with security manager

echo start Start Catalina in a separate window

echo start -security Start in a separate window with security manager

echo stop Stop Catalina

echo version What version of tomcat are you running?

goto end

:doDebug

shift

set EXECJAVA=%RUNJDB%

set DEBUG_OPTS=-sourcepath "%CATALINA_HOME%\..\..\jakarta-tomcat-catalina\catalina\src\share"

if not ""%1"" == ""-security"" goto execCmd

shift

echo Using Security Manager

set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy

goto execCmd

:doRun

shift

if not ""%1"" == ""-security"" goto execCmd

shift

echo Using Security Manager

set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy

goto execCmd

:doStart

shift

if not "%OS%" == "Windows_NT" goto noTitle

set EXECJAVA=start "Tomcat" %RUNJAVA%

goto gotTitle

:noTitle

set EXECJAVA=start %RUNJAVA%

:gotTitle

if not ""%1"" == ""-security"" goto execCmd

shift

echo Using Security Manager

set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy

goto execCmd

:doStop

shift

set ACTION=stop

goto execCmd

:doVersion

%_EXECJAVA% -classpath "%CATALINA_HOME%\server\lib\catalina.jar" org.apache.catalina.util.ServerInfo

goto end

:execCmd

rem Get remaining unshifted command line arguments and save them in the

set CMD_LINE_ARGS=

:setArgs

if ""%1""=="""" goto doneSetArgs

set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

shift

goto setArgs

:doneSetArgs

call "D:/Program Files (x86)/Business Objects/Tomcat55\bin\bobjeEnv.PerformanceManagement.bat"

rem Execute Java with the applicable properties

if not "%JPDA%" == "" goto doJpda

if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity

%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

goto end

:doSecurity

%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

goto end

:doJpda

if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda

%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

goto end

:doSecurityJpda

%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

goto end

:end

Regards,

Raj

Edited by: singhrjd on Sep 14, 2011 6:11 PM

Former Member
0 Kudos

You can write anywhere in catalina file.

No preference.

Arun

rajdeep_singh
Participant
0 Kudos

Hi Arun,

I tried to increase the memory but stiill teh same output.

Is this because I am using the same server for both Bo and tomcat or the server requires internet connections?

The server which i am running these does not have Internet is this causing problems.?

Kindly advise.

Regards,

Raj.

Former Member
0 Kudos

You can use same server for BO and Mobile. Though not recommended by SAP, it will work fine. Internet is required, because you are using a browser.

A couple of things like - Have you started VAS and VMS is it running? Did you check in configuration manager and is Mobile server and tomcat running? Did you restart tomcat after catalog installation? Also how did configured the port? Did you mentioned external port and host name in VMS config file?Did you try accessing from iphone? If you try accessing from PC, then you would not get catalog browser opened completely.

All these matters, when you are configuring a mobile server application. I configured and my iphone is working now. I suggest you to check all the above one by one and give it a try. Let me know if you need any help.

Arun

rajdeep_singh
Participant
0 Kudos

Hi Arun,

In my case i am accessing the BO server Via remote connection which does not have internet.

If i try to set up the Catalog browser part on my original server(which has internet) i.e deploying the catalog browser war file and try to connect it to the Bo server will it work?

The other details you have mentioned are running fine but i havent configured my VMs for external port, it is now just configured for use with simulator.

Could you please guide ?

Regards,

Raj.

rajdeep_singh
Participant
0 Kudos

Hi Arun,

Below are my VMS and Vas Server details:

VERSION = 6.0

[server]

SERVER_ID=VMS_SERVER

[comm]

BINDTO_PORT=11711

MANAGEMENT_PORT=11712

[comm $ external]

ENABLED=default mds

[comm $ external $ default]

EXTERNAL_HOSTNAME=My_Mobile_Server_External_Name

EXTERNAL_PORT=My_Server_Port

CLIENT_TYPE=any

CLIENT_HOSTNAME=0.0.0.0

[comm $ external $ mds]

CLIENT_TYPE=mds

EXTERNAL_HOSTNAME=My_Mobile_Server_External_Name

  1. common across all auth servers

INCLUDE_CONFIG_FILe = config/cluster.config

VAS Server

VERSION = 6.0

[server]

SERVER_ID=AUTH_SERVER

[comm]

BINDTO_PORT = 11011

MANAGEMENT_PORT = 11012

[comm $ external]

ENABLED=default mds

[comm $ external $ default]

EXTERNAL_HOSTNAME=My_Mobile_Server_External_Name

EXTERNAL_PORT=My_Server_Port

CLIENT_TYPE=any

CLIENT_HOSTNAME=0.0.0.0

[comm $ external $ mds]

CLIENT_TYPE=mds

EXTERNAL_HOSTNAME=My_Mobile_Server_External_Name

  1. common across all auth servers

INCLUDE_CONFIG_FILe = config/cluster.config

[comm]

[comm $ mds]

HOST_PORT=corporate-bes:8080

Any changes I ned to make.?

Regards,

Raj

Former Member
0 Kudos

Hi Raj,

What is your external port? Try using IP address in the external host name.

Change external port to BINDTO PORT no.

Arun

Former Member
0 Kudos

Hi Raj,

Are you using firewall or proxy server?

Arun

rajdeep_singh
Participant
0 Kudos

HI Arun,

Apologies for my Late response.

The remote server which I am accessing uses proxy but I cannot run internet on it.

The firewall is also disabled.

Would Catalog browser work for Bi reports too?

Kindly suggest.

Regards,

Raj.