Skip to content

XAware Community - Sponsored by Sparxent

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Re:S1326 New Installer
#1932
jpeters (User)
XAware superuser
Posts: 280
User Offline Click here to see the profile of this user
Re:S1326 New Installer 2 Years, 2 Months ago Karma: 8  
Hi Tim,

In the new installer file, SetEnv.cmd, XAWARE_HOME and JAVA_HOME are appending install4j to the location. I typed in XAware_5.1.384 as the install directory.

IF NOT "%XAWARE_HOME%" == "" GOTO SET_JAVA
set XAWARE_HOME=C:\XAware_5.1.install4j

:SET_JAVA
IF "%JRE_HOME%" == "" GOTO SET_JAVA_HOME
set JAVA_HOME=%JRE_HOME%
GOTO SHOWENV

:SET_JAVA_HOME
IF NOT "%JAVA_HOME%" == "" GOTO DONE
set JAVA_HOME=C:\XAware_5.1.install4j\jre

Jeff...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1933
tferguson (User)
XAware expert
Posts: 493
User Offline Click here to see the profile of this user
Re:S1326 New Installer 2 Years, 2 Months ago Karma: 6  
Yep, honestly I thought that it was when the sf plugin was started it would copy the files. I agree it should be revisited.

-Tim
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1942
jpeters (User)
XAware superuser
Posts: 280
User Offline Click here to see the profile of this user
Re:S1326 New Installer 2 Years, 2 Months ago Karma: 8  
Hi Tim,

TOMCAT is not starting in build 393. Below are the installation steps:

Removed the JDK and JRE. Downloading and installing a new all-in-one TOMCAT with JDK

Receive the pop up box and select download. - OK

Selected the JDK and the embedded client libraries.
Install completes.

Results:
JDK gets installed in C:\Program Files\Java.
JRE gets installed in XAWARE_HOME and in C:\Program Files\Java.

The environment variable JRE_HOME is not set.
The environment variable JAVA_HOME is not set.

The start-tomcat.cmd does not start TOMCAT.
Note: Running from a command line gives the following error:

C:\XAware_5.1.393>start-tomcat.cmd

C:\XAware_5.1.393>call .\bin\SetEnv.cmd
XAWARE_HOME=C:\XAware_5.1.393
JAVA_HOME=C:\XAware_5.1.393\jre
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
C:\XAware_5.1.393\apache-tomcat-6.0.16\bin>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1943
tferguson (User)
XAware expert
Posts: 493
User Offline Click here to see the profile of this user
Re:S1326 New Installer 2 Years, 2 Months ago Karma: 6  
Hi Jeff,

I am going to put a message for downloading the JDK that you will have to setupyour JAVA_HOME variable for this it be used by JBoss and xaware. This issue with Tomcat has been fixed
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1944
jpeters (User)
XAware superuser
Posts: 280
User Offline Click here to see the profile of this user
Re:S1326 New Installer 2 Years, 2 Months ago Karma: 8  
Hi Tim,

Previously, you didn't need to set an environment variable before starting JBOSS. This was one of the nice out-of-box usability features. Is there some reason with the new installer that we can't set all the required variables in scripts. I thought xaware.cmd did all this, but it doesn't look like we are using this anymore.

Anyway...to make a long story short, I think we need to set the required parameters as we did in the past if possible.

Opinions?

Jeff...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1947
jpeters (User)
XAware superuser
Posts: 280
User Offline Click here to see the profile of this user
Re:S1326 New Installer 2 Years, 2 Months ago Karma: 8  
Hi Tim,

I opened Bug #2000319 and assigned it to you.

TOMCAT - start-tomcat returns error

C:\XAware_5.1.397>start-tomcat.cmd

C:\XAware_5.1.397>IF NOT "" == "" GOTO SET_JAVA

C:\XAware_5.1.397>set XAWARE_HOME=C:\XAware_5.1.397
The syntax of the command is incorrect.
C:\XAware_5.1.397>IF NOT " == "" GOTO DONE
C:\XAware_5.1.397>

Jeff
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
Commercial
Free Training
QuickStart Packages
Image 4 Title
Image 5 Title

Visit XAware.com