I explicitly added the mssql driver to the CLASSPATH variable for
dbm.no.prompt, and continue to get the error.
See XML from build.xml specifically targeting sqljdbc.jar at the
beginning of the CLASSPATH for dbm.no.prompt:
<!-- ** dbm.no.prompt **
- Ideadbmaintenance - Tool (dbm)
if called internally just give param "-Dcommand="script DbInit...""
to run noninteractive.
Else this will ask how to maintenance.
This does no pause after execution.
================================================================ -->
<target name="dbm.no.prompt" depends="set.db.bin.path,
set.reddot.startup, set.poet.cfg, set.dbm.classpath, ask.for.command"
description=" - DataBaseMaintenance - Tool (dbm)." >
<!-- echo message="command = ${command}"/ -->
<!-- echo message="${reddot.startup} $
{de.reddot.idea.bb.db.Maintenance} ${command}"/ -->
<!-- echo message="Calling with args: ${reddot.startup} $
{de.reddot.idea.bb.db.Maintenance} ${command} -context cps" -->
<exec dir="${cwd}/../.." executable="${java.home}/bin/java">
<env key="CLASSPATH" path="/opt/bea/10/wlserver_10.0/server/lib/
sqljdbc.jar:${env.LSDBDRIVERCLASSPATH}:${dbm.classpath}"/>
<env key="PTINIFILE" path='${pathTo_poet.cfg}'/>
<env key="Path" path="${env.Path};${db.bin.path}"/>
<env key="LD_LIBRARY_PATH" path="${java.library.path}:$
{db.bin.path}"/>
<arg line=' -Xms128m -Xmx256m ${reddot.startup} $
{de.reddot.idea.bb.db.Maintenance} ${command} -context cps -dbdir $
{FODIR}/db'/>
</exec>
</target>
On Sep 25, 10:45 am, pete and repeat <[EMAIL PROTECTED]> wrote:
> I'm doing an install of liveserver under weblogic on linux, and I
> think I'm nearly there.
>
> It has been a little tricky thus far, but I've got CPS deployed and am
> able to run through the setup. I create the DB's, and am prompted to
> restart. By adding the MSSql JDBC driver to the rdesetenv.sh I was
> able to get most of the way through the second startup process until I
> get to the second phase, when it runs dbm.no.prompt. My suspicion is
> that somewhere in that ant script, something is clobbering the
> CLASSPATH. I tried dropping the driver into WEB-INF/opt/jakarta-ant/
> lib - with no success.
>
> Any thoughts?
>
> tia
>
> n00b
> 2008-09-25 10:35:18.598 [EXEC]:
> ===============[ rdesetenv.sh ]================
> 2008-09-25 10:35:18.599 [EXEC]:
> 2008-09-25 10:35:18.599 [EXEC]: Setting up RedDot LiveServer 4.0
> Environment
> 2008-09-25 10:35:18.599 [EXEC]: on lives01.nea.org
> ( Linux )
> 2008-09-25 10:35:18.600 [EXEC]: Use 512 MB Memory
> 2008-09-25 10:35:18.601 [EXEC]: JAVA_OPTS=-Xms256M -Xmx512M
> 2008-09-25 10:35:18.601 [EXEC]:
> 2008-09-25 10:35:18.601 [EXEC]:
> ===============================================
> 2008-09-25 10:35:18.601 [EXEC]:
> 2008-09-25 10:35:19.597 [EXEC]: Buildfile: build.xml
> 2008-09-25 10:35:20.549 [EXEC]:
> 2008-09-25 10:35:20.549 [EXEC]: move.default.database:
> 2008-09-25 10:35:20.653 [EXEC]:
> 2008-09-25 10:35:20.653 [EXEC]: do.move.default.database:
> 2008-09-25 10:35:21.110 [EXEC]:
> 2008-09-25 10:35:21.110 [EXEC]: BUILD SUCCESSFUL
> 2008-09-25 10:35:21.110 [EXEC]: Total time: 0 seconds
> 2008-09-25 10:35:21.920 ..[EXEC]: Initialising Licenses
> 2008-09-25 10:35:36.762 [EXEC]: done.
> 2008-09-25 10:35:36.763 [EXEC]: Registering Java Event method
> 2008-09-25 10:35:37.510 .[EXEC]: done.
> 2008-09-25 10:35:50.268 [EXEC]: Recreating local configuration
> 2008-09-25 10:35:52.512 .[EXEC]: done.
> 2008-09-25 10:36:03.759 [EXEC]: Creating regular users
> 2008-09-25 10:36:07.514 ....[EXEC]: done.
> 2008-09-25 10:36:58.000 ..[EXEC]:
> 2008-09-25 10:36:58.795 [EXEC]:
> ===============[ rdesetenv.sh ]================
> 2008-09-25 10:36:58.795 [EXEC]:
> 2008-09-25 10:36:58.795 [EXEC]: Setting up RedDot LiveServer 4.0
> Environment
> 2008-09-25 10:36:58.795 [EXEC]: on liveserver ( Linux )
> 2008-09-25 10:36:58.797 [EXEC]: Use 512 MB Memory
> 2008-09-25 10:36:58.798 [EXEC]: JAVA_OPTS=-Xms256M -Xmx512M
> 2008-09-25 10:36:58.798 [EXEC]:
> 2008-09-25 10:36:58.798 [EXEC]:
> ===============================================
> 2008-09-25 10:36:58.798 [EXEC]:
> 2008-09-25 10:37:00.115 [EXEC]: Buildfile: build.xml
> 2008-09-25 10:37:01.031 [EXEC]:
> 2008-09-25 10:37:01.031 [EXEC]: time:
> 2008-09-25 10:37:01.717 [EXEC]:
> 2008-09-25 10:37:01.717 [EXEC]: read.admin.data:
> 2008-09-25 10:37:01.721 [EXEC]:
> 2008-09-25 10:37:01.721 [EXEC]: init.admin.embedded:
> 2008-09-25 10:37:01.853 [EXEC]:
> 2008-09-25 10:37:01.854 [EXEC]: do.init.admin.embedded:
> 2008-09-25 10:37:01.890 [EXEC]:
> 2008-09-25 10:37:01.890 [EXEC]: localization:
> 2008-09-25 10:37:01.922 [EXEC]:
> 2008-09-25 10:37:01.922 [EXEC]: time:
> 2008-09-25 10:37:01.924 [EXEC]:
> 2008-09-25 10:37:01.925 [EXEC]: platform:
> 2008-09-25 10:37:02.441 [EXEC]:
> 2008-09-25 10:37:02.441 [EXEC]: set.db.bin.path:
> 2008-09-25 10:37:02.449 [EXEC]:
> 2008-09-25 10:37:02.449 [EXEC]: set.startup.conf:
> 2008-09-25 10:37:02.450 [EXEC]:
> 2008-09-25 10:37:02.450 [EXEC]: set.reddot.startup:
> 2008-09-25 10:37:02.450 [EXEC]:
> 2008-09-25 10:37:02.450 [EXEC]: set.poet.cfg:
> 2008-09-25 10:37:02.453 [EXEC]:
> 2008-09-25 10:37:02.453 [EXEC]: set.dbm.classpath:
> 2008-09-25 10:37:02.472 [EXEC]:
> 2008-09-25 10:37:02.472 [EXEC]: ask.for.command:
> 2008-09-25 10:37:02.473 [EXEC]:
> 2008-09-25 10:37:02.473 [EXEC]: dbm.no.prompt:
> 2008-09-25 10:37:03.569 [EXEC]: [exec] JCLLogFactoryMapping
> loaded
> 2008-09-25 10:37:05.380 [EXEC]: [exec] get log factory...
> 2008-09-25 10:37:09.951 [EXEC]: [exec] 2008-09-25 10:37:09.950
> Open Database 'RDEMASTER'
> 2008-09-25 10:37:10.885 [EXEC]: [exec] 2008-09-25 10:37:10.885
> Can not access/create database RDEMASTER error:DatabaseException:
> driver is not available
> 2008-09-25 10:37:10.887 [EXEC]: [exec] JDBC Driver class
> 'com.microsoft.sqlserver.jdbc.SQLServerDriver' is not available in the
> classpath
> 2008-09-25 10:37:10.891 [EXEC]: [exec] Exception in thread
> "Thread-CPS-1-18259532-Main Thread" java.lang.IllegalStateException:
> Can not access/create database RDEMASTER error:DatabaseException:
> driver is not available
> 2008-09-25 10:37:10.891 [EXEC]: [exec] JDBC Driver class
> 'com.microsoft.sqlserver.jdbc.SQLServerDriver' is not available in the
> classpath
> 2008-09-25 10:37:10.892 [EXEC]: [exec] at
> de.reddot.dbaccess.manager.StartupManager.config(StartupManager.java:
> 60)
> 2008-09-25 10:37:10.893 [EXEC]: [exec] at
> de.reddot.util.discovery.DiscoverSingleton.config(DiscoverSingleton.java:
> 210)
> 2008-09-25 10:37:10.894 [EXEC]: [exec] at
> de.reddot.util.discovery.DiscoverSingleton.config(DiscoverSingleton.java:
> 217)
> 2008-09-25 10:37:10.895 [EXEC]: [exec] at
> de.reddot.util.discovery.DiscoverSingleton.startServices(DiscoverSingleton.java:
> 98)
> 2008-09-25 10:37:10.896 [EXEC]: [exec] at
> de.reddot.util.discovery.DiscoverSingleton.startServices(DiscoverSingleton.java:
> 92)
> 2008-09-25 10:37:10.896 [EXEC]: [exec] at
> de.reddot.idea.bb.db.maintenance.Application.initStartup(Application.java:
> 202)
> 2008-09-25 10:37:10.897 [EXEC]: [exec] at
> de.reddot.idea.bb.db.maintenance.Application.go(Application.java:879)
> 2008-09-25 10:37:10.898 [EXEC]: [exec] at
> de.reddot.idea.bb.db.maintenance.Application.main(Application.java:
> 849)
> 2008-09-25 10:37:11.718 [EXEC]: [exec] Result: 1
> 2008-09-25 10:37:11.721 [EXEC]:
> 2008-09-25 10:37:11.721 [EXEC]: setup.run.once.embedded:
> 2008-09-25 10:37:11.724 [EXEC]: [echo] -- run.once --
> 2008-09-25 10:37:11.760 [EXEC]:
> 2008-09-25 10:37:11.760 [EXEC]: BUILD SUCCESSFUL
> 2008-09-25 10:37:11.760 [EXEC]: Total time: 11 seconds
> 2008-09-25 10:37:12.755 ..[EXEC]:
> 2008-09-25 10:37:13.305 [EXEC]:
> ===============[ rdesetenv.sh ]================
> 2008-09-25 10:37:13.305 [EXEC]:
> 2008-09-25 10:37:13.305 [EXEC]: Setting up RedDot LiveServer 4.0
> Environment
> 2008-09-25 10:37:13.305 [EXEC]: on lives01.nea.org
> ( Linux )
> 2008-09-25 10:37:13.305 [EXEC]: Use 512 MB Memory
> 2008-09-25 10:37:13.305 [EXEC]: JAVA_OPTS=-Xms256M -Xmx512M
> 2008-09-25 10:37:13.305 [EXEC]:
> 2008-09-25 10:37:13.305 [EXEC]:
> ===============================================
> 2008-09-25 10:37:13.305 [EXEC]:
> 2008-09-25 10:37:14.542 [EXEC]: Buildfile: build.xml
> 2008-09-25 10:37:15.440 [EXEC]:
> 2008-09-25 10:37:15.440 [EXEC]: enable.ptserver:
> 2008-09-25 10:37:15.583 [EXEC]:
> 2008-09-25 10:37:15.583 [EXEC]: modify.lsrepo:
> 2008-09-25 10:37:15.617 [EXEC]:
> 2008-09-25 10:37:15.618 [EXEC]: do.enable.ptserver:
> 2008-09-25 10:37:15.644 [EXEC]:
> 2008-09-25 10:37:15.645 [EXEC]: do.enable.ptserverexternal:
> 2008-09-25 10:37:16.087 [EXEC]:
> 2008-09-25 10:37:16.087 [EXEC]: BUILD SUCCESSFUL
> 2008-09-25 10:37:16.087 [EXEC]: Total time: 1 second
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---