BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Want to sponsor BOB? 
Want to sponsor BOB? (Opens a new window)  

General Notice: Upcoming Events: PGHBOUG: Aug 23.

[BOBJ 6.x] Configuration Tool - Java Problem

Goto page 1, 2  Next
 
Search this topic... | Search Desktop Intelligence... | Search Box
Register or Login to Post    Forum Index -> Building Reports -> Desktop Intelligence  Previous TopicPrint TopicNext Topic
Author Message
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Mon Apr 16, 2018 7:17 am 
Post subject: Configuration Tool - Java Problem

Hello,

i still have a Problem.

Win10 - 64bit and BO 6.54

If i start the Configuration Tool, i get a Error Message: "jre\bin\javew" not found. I installed it under: C:\Bo
The configtool.bat Looks like:

Code:
setlocal
set JAVA=start jre\bin\javaw
set CONFIGTOOLCLASS=ConfigToolUI
rem set CONFIGTOOLCP=../classes/configToolUI.jar
set _PARAMS=
:getParams
if ""%1 == "" goto :doRun
set _PARAMS=%_PARAMS% %1
if ""%1 == ""-cmdline set JAVA=jre\bin\java
if ""%1 == ""-cmdline set CONFIGTOOLCLASS=ConfigToolInLine
if ""%1 == ""-cmdline set CONFIGTOOLCP=../classes/configToolInLine.jar
if ""%1 == ""-help set JAVA=jre\bin\java
shift
goto :getParams

:doRun
cd ..
set PATH=%CD%\jre\bin\hotspot;%PATH%
set BO_TRACE_CONFIGDIR=.
set BO_TRACE_LOGDIR=..\logs
%JAVA% -classpath "%CONFIGTOOLCP%;../classes/configToolCustomer.jar;../classes/configToolCommon.jar;../classes/configToolUI.jar;../classes/asf_java.jar;../classes/bo_orb.jar;../classes/ldapjdk.jar;../classes/ebi.jar;../classes/wiutils.jar;../classes/asgui.jar;../classes/crimson.jar;../classes/jaxp.jar;../classes" -DTP_ONE=%TP_ONE% -DASF_PI_ENABLED=%ASF_PI_ENABLED% com.bo.configtool.gui.%CONFIGTOOLCLASS% %_PARAMS%
set CTERRORLEVEL=%ERRORLEVEL%
cd scripts
set ERRORLEVEL=%CTERRORLEVEL%


Before the reinstall, it was working fine... But i can't remember, what i did Long time before.

Maybe someone can help me?
I know, it is a old Tool - but it works perfect. I want to change some in the key file...

BR
Steffen
Back to top
joepeters
Forum Fanatic
Forum Fanatic



Joined: 29 Aug 2002

Posts: 6372
Location: Connecticut, USA


flag
PostPosted: Mon Apr 16, 2018 11:44 am 
Post subject: Re: Configuration Tool - Java Problem

These lines:

Code:
set JAVA=start jre\bin\javaw
...
set PATH=%CD%\jre\bin\hotspot;%PATH%
...
%JAVA% -classpath


look suspicious. The path will not be recognized since the command line includes a directory reference. You may just need to change the first line to:
Code:
set JAVA=start javaw


but this assumes that the jre directory is underneath the current working directory. If not, you can hard-code the path:
Code:
set JAVA=start c:\bo\jre\binjavaw
Back to top
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Tue Apr 17, 2018 2:35 am 
Post subject: Re: Configuration Tool - Java Problem

Hello,

thank you for u Feedback.
I changed it and now Comes this message:


Quote:
Java Virtual Machine Launcher

Could not find the main class. Program will Exit




You have any idea?

BR
Steffen[/code]
Back to top
joepeters
Forum Fanatic
Forum Fanatic



Joined: 29 Aug 2002

Posts: 6372
Location: Connecticut, USA


flag
PostPosted: Tue Apr 17, 2018 7:49 am 
Post subject: Re: Configuration Tool - Java Problem

Probably because this line is commented out:
Code:
rem set CONFIGTOOLCP=../classes/configToolUI.jar
Back to top
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Tue Apr 17, 2018 7:55 am 
Post subject: Re: Configuration Tool - Java Problem

Hello,

no, it wasn't the solution.
Maybe it comes because of Java?

I couldn't found the Problem... icon_neutral.gif

BR
Steffen
Back to top
joepeters
Forum Fanatic
Forum Fanatic



Joined: 29 Aug 2002

Posts: 6372
Location: Connecticut, USA


flag
PostPosted: Tue Apr 17, 2018 8:04 am 
Post subject: Re: Configuration Tool - Java Problem

The error means that Java is not able to find the "ConfigToolUI" class in the classpath. This means that there is no jar containing ConfigToolUI.class, or (more likely) the classpath doesn't include the jar.
Back to top
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Tue Apr 17, 2018 8:28 am 
Post subject: Re: Configuration Tool - Java Problem

Ok...
Is it a Problem with the Jave JRE or do i have reinstall BO?
I have no environment variables for Java.

Maybe is it the reason?
Back to top
joepeters
Forum Fanatic
Forum Fanatic



Joined: 29 Aug 2002

Posts: 6372
Location: Connecticut, USA


flag
PostPosted: Tue Apr 17, 2018 9:19 am 
Post subject: Re: Configuration Tool - Java Problem

It's finding java.exe (that's what's generating the error). It's not finding the right jars. They should be in a "classes" folder under the CWD.

Did you change the file structure, or the CWD?
Back to top
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Wed Apr 18, 2018 12:38 am 
Post subject: Re: Configuration Tool - Java Problem

Good morning,

the files are under: C:\BO\classes
I did not Change anything...
Thank you for your Patience.

BR
Steffen
Back to top
joepeters
Forum Fanatic
Forum Fanatic



Joined: 29 Aug 2002

Posts: 6372
Location: Connecticut, USA


flag
PostPosted: Wed Apr 18, 2018 7:35 am 
Post subject: Re: Configuration Tool - Java Problem

Which directory is configtool.bat in?
Back to top
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Wed Apr 18, 2018 9:53 am 
Post subject: Re: Configuration Tool - Java Problem

C:\BO\bin\scripts\configtool.bat
Back to top
joepeters
Forum Fanatic
Forum Fanatic



Joined: 29 Aug 2002

Posts: 6372
Location: Connecticut, USA


flag
PostPosted: Wed Apr 18, 2018 1:58 pm 
Post subject: Re: Configuration Tool - Java Problem

Ok, that's good. Is there any more text after the "Program will exit" message?
Back to top
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Wed Apr 18, 2018 11:42 pm 
Post subject: Re: Configuration Tool - Java Problem

No, only this: Java Virtual Machine Launcher

I think it comes from Java - there are many postings on Google.
But i don't know how to fix it icon_sad.gif.
Back to top
joepeters
Forum Fanatic
Forum Fanatic



Joined: 29 Aug 2002

Posts: 6372
Location: Connecticut, USA


flag
PostPosted: Thu Apr 19, 2018 7:07 am 
Post subject: Re: Configuration Tool - Java Problem

That message can have multiple causes, but generally the stack trace will be displayed which will give more info.

One possible cause is a mismatch between the JRE being used and the package. Back to your original problem -- the installer should have installed the JRE, but apparently something went screwy with that since the first problem you had was a missing JRE. What happened to it?
Back to top
Steffen11
Forum Member
Forum Member



Joined: 16 Feb 2011

Posts: 19



PostPosted: Fri Apr 20, 2018 12:45 am 
Post subject: Re: Configuration Tool - Java Problem

Hello,

now it works, i copied all Java file in classes and all file from classe zu Java.

But now i get the Message:

Code:

You must have administrator's rights (or the equivalent) to launch the Configuration Tool. To configure the Business Objects server as a service, the following rights must be assigned to the user who launches the Configuration Tool and to the account used to start the service: "Act as part of the operating system" and "Log on as a service"
To add these rights, go to the Windows Control Panel > Administrative Tools > Local Security Policy


I found these Option and i added my user name - but the message doesn't move icon_sad.gif.


BR and nice weekend
Steffen
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> Building Reports -> Desktop Intelligence  Previous TopicPrint TopicNext Topic
Page 1 of 2 All times are GMT - 5 Hours
Goto page 1, 2  Next
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0329 seconds using 17 queries. (SQL 0.0026 Parse 0.0010 Other 0.0294)
CCBot/2.0 (http://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo