我想要安装这个就疯了。我编辑了我的xml配置并安装了mysql,java。由于某些原因,没有安装任何东西。
当我运行setup.sh脚本时,我得到了这个:
./setup.sh -u jobscheduler_install.xml
java -Dizpack.mode=privileged -jar "./jobscheduler_linux-x64.jar" jobscheduler_install.xml
[ Starting automated installation ]
什么都没发生。它只是回到标准提示符,没有创建任何内容。我在mysql中创建了数据库和用户。安装了Java:
java version "1.6.0_31"
OpenJDK Runtime Environment (IcedTea6 1.13.3) (6b31-1.13.3-1ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode).
我的安装xml文件:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<AutomatedInstallation langpack="eng">
<com.izforge.izpack.panels.UserInputPanel id="home">
<userInput/>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="licences">
<userInput>
<entry key="licenceOptions" value="GPL"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.HTMLLicencePanel id="gpl_licence"/>
<com.izforge.izpack.panels.HTMLLicencePanel id="commercial_licence"/>
<com.izforge.izpack.panels.TargetPanel id="target">
<installpath>/opt/jobScheduler</installpath>
</com.izforge.izpack.panels.TargetPanel>
<com.izforge.izpack.panels.UserPathPanel id="userpath">
<UserPathPanelElement>/opt/jobScheduler/var</UserPathPanelElement>
</com.izforge.izpack.panels.UserPathPanel>
<com.izforge.izpack.panels.PacksPanel id="package">
<pack index="0" name="Job Scheduler" selected="true"/>
<pack index="1" name="Update Service" selected="false"/>
<pack index="2" name="Database Support" selected="true"/>
<pack index="3" name="Housekeeping Jobs" selected="true"/>
</com.izforge.izpack.panels.PacksPanel>
<com.izforge.izpack.panels.UserInputPanel id="network">
<userInput>
<entry key="jettyHTTPSPort" value="8443"/>
<entry key="schedulerPort" value="4444"/>
<entry key="jettyHTTPPort" value="44440"/>
<entry key="launchScheduler" value="yes"/>
<entry key="schedulerAllowedHost" value="0.0.0.0"/>
<entry key="schedulerHost" value="My_hostname"/>
<entry key="schedulerId" value="My_hostname_4444"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="cluster">
<userInput>
<entry key="clusterOptions" value=""/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="smtp">
<userInput>
<entry key="mailFrom" value="scheduler@my_email.com"/>
<entry key="smtpAccount" value=""/>
<entry key="mailCc" value=""/>
<entry key="mailPort" value="25"/>
<entry key="mailTo" value="sysadmin@my_email.com"/>
<entry key="smtpPass" value=""/>
<entry key="mailServer" value="aspmx.l.google.com"/>
<entry key="mailBcc" value=""/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="email">
<userInput>
<entry key="mailOnError" value="yes"/>
<entry key="jobEvents" value="off"/>
<entry key="mailOnWarning" value="yes"/>
<entry key="mailOnSuccess" value="no"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="update">
<userInput/>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="database">
<userInput>
<entry key="databaseCreate" value="on"/>
<entry key="databaseDbms" value="mysql"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="dbconnection">
<userInput>
<entry key="databaseHost" value="my_hostname"/>
<entry key="databasePassword" value="my_password"/>
<entry key="databaseUser" value="scheduler"/>
<entry key="databaseSchema" value="jobScheduler"/>
<entry key="connectorMaria" value="yes"/>
<entry key="databasePort" value="my_port"/>
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="jdbc">
<userInput/>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.UserInputPanel id="cron">
<userInput/>
</com.izforge.izpack.panels.UserInputPanel>
<com.izforge.izpack.panels.InstallPanel id="install"/>
<com.izforge.izpack.panels.ProcessPanel id="process"/>
<com.izforge.izpack.panels.FinishPanel id="finish"/>
</AutomatedInstallation>
答案 0 :(得分:0)
问题原来是java。我不得不重新安装java并使用java 7.在初始安装java期间,必定要搞砸了。